aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

There should be a region endpoint that allows all regions to be retrieved without an SDK update.

Open rdifalco opened this issue 8 years ago • 13 comments

We have code that iterates all regions and (for example) calls describe instance on each for a given credential. The SDK should provide region enums as a convenience, not a necessity. All clients should work with new regions that show up. Partition files should be pulled from an URL instead of json baked into the SDK build. Then RegionUtils.getRegions() would return all current regions (or at least as current as the last time that process started). If the regions URL is not available then it could fall back onto the baked-in JSON partition files.

rdifalco avatar Dec 15 '16 17:12 rdifalco