We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given an existing AMI:
aws ec2 modify-image-attribute \ --image-id ami-d00dbeef --launch-permission '{"add":[{"user_id":"123456789012"}]}'
returns the error:
{ "Response": { "Errors": { "Error": { "Message": "Value (<bound method ListParameter) for parameter QueryStringParameter is invalid. Invalid or illegal XML character specified", "Code": "InvalidParameterValue" } }, "RequestID": "232bab5b-71d4-4bdd-b6df-0e58a3c199ed" } }
Attempting to use the other method (as half-documented in the help) gives a different error:
aws ec2 modify-image-attribute \ --image-id ami-d00dbeef \ --operation-type add --user-ids 0123456789012 "Error": { "Message": "An internal error has occurred", "Code": "InternalError" }
Note this error occurs whether you use a single user ID, or a list (of the form '["0123456789012"]' )
'["0123456789012"]'
The text was updated successfully, but these errors were encountered:
The first issue is the result of a bug in botocore which was fixed in boto/botocore@bd47fc7.
The second issue is a bit more mysterious and we are still investigating. Thanks for reporting it.
Sorry, something went wrong.
For the second issue, I have found that this incantation does work:
aws ec2 modify-image-attribute \ --image-id ami-d00dbeef \ --operation-type add --user-ids 0123456789012 \ --attribute launchPermission
Does that work for you?
Yes, thanks -- using awscli 0.7.0 all is well
Merge pull request aws#53 from kyleknap/reduce-callbacks
2aebc01
Accept multiple callbacks to aggregate
No branches or pull requests
Given an existing AMI:
returns the error:
Attempting to use the other method (as half-documented in the help) gives a different error:
Note this error occurs whether you use a single user ID, or a list (of the form
'["0123456789012"]'
)The text was updated successfully, but these errors were encountered: