Allow setting BaseEndpoint
on config.LoadOptions
#2422
Labels
feature-request
A feature should be added or improved.
p1
This is a high priority issue
v1-v2-inconsistency
v1-v2-inconsistency Behavior has changed from v1 to v2, or feature is missing altogether
Describe the feature
The
config.SharedConfig
andconfig.EnvConfig
structs both have a parameterBaseEndpoint
that sets a common endpoint URL for all services.config.LoadOptions
does not have the corresponding parameter.Also add the corresponding
config.WithBaseEndpoint
functional option.Use Case
While an endpoint resolver could be configured with a base endpoint, adding
BaseEndpoint
would make a more consistent interface, as well as allowing the SDK to handle the override logic including service-specific endpoints and ignoring configured endpoints.Proposed Solution
No response
Other Information
No response
Acknowledgements
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.24.0
github.com/aws/aws-sdk-go-v2/config v1.26.1
Go version used
go version go1.21.0 darwin/arm64
The text was updated successfully, but these errors were encountered: