aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

Re-enable access to endpoints

Open Cyberax opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Yes, the old SDK provided access to the list of AWS endpoints. This is necessary to build generic UI that allows selection of an arbitrary region.

Describe the solution you'd like Move aws-sdk-go-v2/internal/endpoints/endpoints.go out of the internal package. This would also allow to remove duplicated endpoints.Partitions generated code from all the SDKs.

Describe alternatives you've considered There is no other clear way to obtain a list of all regions. It has to be hard-coded in the application and maintained as AWS adds new regions.

Cyberax avatar Apr 02 '21 15:04 Cyberax