aws-sdk-java
aws-sdk-java copied to clipboard
There should be a region endpoint that allows all regions to be retrieved without an SDK update.
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.