Interface: aws.EndpointResolver
Overview
EndpointResolver is an endpoint resolver that can be used to provide or override an endpoint for the given service and region. API clients will attempt to use the EndpointResolver first to resolve an endpoint if available. If the EndpointResolver returns an EndpointNotFoundError error, API clients will fallback to attempting to resolve the endpoint using its internal default endpoint resolver.
Deprecated: The global endpoint resolution interface is deprecated. The API for endpoint resolution is now unique to each service and is set via the EndpointResolverV2 field on service client options. Setting a value for EndpointResolver on aws.Config or service client options will prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2. You may also encounter broken or unexpected behavior when using the old global interface with services that use many endpoint-related customizations such as S3.
Implemented By
EndpointResolverFunc, s3.EndpointResolverFunc, kms.EndpointResolverFunc, EndpointResolverWithOptionsFunc, endpoints.Resolver, endpoints.Resolver
Interface Method Summary collapse
Interface Method Details
ResolveEndpoint(service, region string) (Endpoint, error)
178 |
// File 'aws/endpoints.go', line 178
|