boto / botocore

The low-level, core functionality of boto3 and the AWS CLI.
Apache License 2.0
1.48k stars 1.08k forks source link

miss "xmlnamespace" field in cloudsearch.json file #125

Closed yupeng0921 closed 9 years ago

yupeng0921 commented 11 years ago

When I use awscli tool run describe-domains command, I always get such error:

$ aws cloudsearch describe-domains --domain-name imdb-movies --region us-west-2 'Service' object has no attribute 'xmlnamespace'

I think the problem is the cloudsearch.json file miss the xmlnamespace field, and when I add this field, the 'aws cloudsearch describe-domains' command works better:

diff --git a/botocore/data/aws/cloudsearch.json b/botocore/data/aws/cloudsearch.json index 971f437..a299ee6 100644 --- a/botocore/data/aws/cloudsearch.json +++ b/botocore/data/aws/cloudsearch.json @@ -5,6 +5,7 @@ "signature_version": "v2", "service_full_name": "Amazon CloudSearch", "endpoint_prefix": "cloudsearch",

yupeng0921 commented 11 years ago

It seems my patch format become chaos when post it to this web site.

And the files in data directory are generated automatically, so I think we should add this line to botocore/services/cloudsearch.json:

"xmlnamespace": "http://cloudsearch.amazonaws.com/doc/2011-02-01/",

jamesls commented 9 years ago

Closing out old issue. Should be fixed now.