Reputation: 18825
So its easy to get the Amazon EC2 region endpoints simply via an API call (DescribeRegions)
But how do I do this with the SimpleDB API, there is no obvious (to me) call. (and the endpoints are different, so I can't just use the EC2 one's)
Edit: Oh, I'm using the .NET API
Upvotes: 1
Views: 2486
Reputation: 7200
It seems that the mapping for all new domains is direct - so you special case a few (EU, us east), then for new ones the endpoint will match the s3 endpoint. But is that in the docs?
It worked for me when tokyo was announced. Code went right on working and allowed it as an endpoint.
Upvotes: 0
Reputation: 7888
There are no SimpleDB API calls similiar to DescribeRegions. The documentation is the only source for the public endpoints. Currently there are 4 of them:
Here is a direct link to the doc page that maintains the most up to date list of these endpoints. If new ones are added, you'll know by looking here:
http://docs.amazonwebservices.com/AmazonSimpleDB/latest/DeveloperGuide/Endpoints.html
Upvotes: 4