3 ms·
I really wish there was an API that allowed me to just get a list of all available regions including their descriptive names. As it stands, when AWS adds a reg
by hoodoof 10y ago
I really wish there was an API that allowed me to just get a list of all available regions including their descriptive names.
As it stands, when AWS adds a region I have to make manual updates to update my systems.
AWS has APIs for everything else, why not a comprehensive API for regions and their descriptive names?
EDIT: for the downvoters - please specify exactly the REST API call that I make to get regions and their abbreviated and descriptive names. I'd be happy even to see the API in the JavaScript SDK. It doesn't exist.
- inopinatus 10y agoIt's in the SDKs. e.g. https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-core/endpoints.json https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-core... Icky and totally unsupported alternative: scrape the console. Look for meta name="awsc-mezz-data" in the response.
- hoodoof 10y agoMaybe in the Ruby SDK, not in the JavaScript SDK. http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EC2.html#describeRegions-property http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EC2.h... And anyway, this is not something that should be in the SDK, it's a core part of the AWS system and thus the data should come from a core API not an SDK which requires updating.
- QUFB 10y agoSeems to be one: $ aws ec2 describe-regions REGIONS ec2.ap-south-1.amazonaws.com ap-south-1 REGIONS ec2.eu-west-1.amazonaws.com eu-west-1 REGIONS ec2.ap-northeast-2.amazonaws.com ap-northeast-2 REGIONS ec2.ap-northeast-1.amazonaws.com ap-northeast-1 REGIONS ec2.sa-east-1.amazonaws.com sa-east-1 REGIONS ec2.ap-southeast-1.amazonaws.com ap-southeast-1 REGIONS ec2.ap-southeast-2.amazonaws.com ap-southeast-2 REGIONS ec2.eu-central-1.amazonaws.com eu-central-1 REGIONS ec2.us-east-1.amazonaws.com us-east-1 REGIONS ec2.us-east-2.amazonaws.com us-east-2 REGIONS ec2.us-west-1.amazonaws.com us-west-1 REGIONS ec2.us-west-2.amazonaws.com us-west-2
- inopinatus 10y agoI think the OP wants the mapping of "us-east-1": "US East (N. Virginia)" &c.
- toomuchtodo 10y agoI'd be happy to serve this as a read only endpoint if you'd like.
- bowmessage 10y agocan i have write access too?