4 ms·
It'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.
by inopinatus 10y ago
It'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.