Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route53 param validation for MaxItems #243

Closed
jamesls opened this issue Feb 28, 2014 · 0 comments · Fixed by aws/aws-cli#689
Closed

Route53 param validation for MaxItems #243

jamesls opened this issue Feb 28, 2014 · 0 comments · Fixed by aws/aws-cli#689
Assignees
Labels
bug This issue is a confirmed bug.

Comments

@jamesls
Copy link
Member

jamesls commented Feb 28, 2014

This is from the CLI but the param validation is coming from botocore:

$ aws route53 list-resource-record-sets --hosted-zone-id /hostedzone/ABCD --max-items 1

Invalid value ('1') for param string:MaxItems of type string

Traceback:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/awscli/clidriver.py", line 188, in main
    return command_table[parsed_args.command](remaining, parsed_args)
  File "/usr/local/lib/python2.7/site-packages/awscli/clidriver.py", line 332, in __call__
    return command_table[parsed_args.operation](remaining, parsed_globals)
  File "/usr/local/lib/python2.7/site-packages/awscli/clidriver.py", line 441, in __call__
    self._operation_object, call_parameters, parsed_globals)
  File "/usr/local/lib/python2.7/site-packages/awscli/clidriver.py", line 532, in invoke
    **parameters)
  File "/usr/local/lib/python2.7/site-packages/botocore/operation.py", line 62, in call
    params = self.build_parameters(**kwargs)
  File "/usr/local/lib/python2.7/site-packages/botocore/operation.py", line 169, in build_parameters
    built_params)
  File "/usr/local/lib/python2.7/site-packages/botocore/parameters.py", line 107, in build_parameter
    self.validate(value)
  File "/usr/local/lib/python2.7/site-packages/botocore/parameters.py", line 292, in validate
    param=self)
ValidationError: Invalid value ('1') for param string:MaxItems of type string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants