package endpoints

Import Path
	github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 (on go.dev)

Dependency Relation
	imports 5 packages, and imported by one package

Involved Source Files endpoints.go go_module_metadata.go
Package-Level Type Names (total 10, all are exported)
/* sort exporteds by: | */
CredentialScope is the credential scope of a region and service Region string Service string
DefaultKey is a compound map key of a variant and other values. ServiceVariant ServiceVariant Variant EndpointVariant
Endpoint is a service endpoint description CredentialScope CredentialScope Indicates that this endpoint is deprecated. Hostname string Protocols []string SignatureVersions []string True if the endpoint cannot be resolved for this partition/region/service IsZero returns whether the endpoint structure is an empty (zero) value.
EndpointKey is a compound map key of a region and associated variant value. Region string ServiceVariant ServiceVariant Variant EndpointVariant
Endpoints is a map of service config regions to endpoints
EndpointVariant is a bit field to describe the endpoints attributes. func Options.GetEndpointVariant() (v EndpointVariant) const DualStackVariant const FIPSVariant
Options provide configuration needed to direct how endpoints are resolved. Disable usage of HTTPS (TLS / SSL) LogDeprecated indicates that deprecated endpoints should be logged to the provided logger. Logger is a logging implementation that log events should be sent to. ResolvedRegion is the resolved region string. If provided (non-zero length) it takes priority over the region name passed to the ResolveEndpoint call. ServiceVariant is a bitfield of service specified endpoint variant data. Instruct the resolver to use a service endpoint that supports dual-stack. If a service does not have a dual-stack endpoint an error will be returned by the resolver. Instruct the resolver to use a service endpoint that supports FIPS. If a service does not have a FIPS endpoint an error will be returned by the resolver. GetEndpointVariant returns the EndpointVariant for the variant associated options. func Partition.ResolveEndpoint(region string, options Options) (resolved aws.Endpoint, err error) func Partitions.ResolveEndpoint(region string, opts Options) (aws.Endpoint, error)
Partition is an AWS partition description for a service and its' region endpoints. Defaults map[DefaultKey]Endpoint Endpoints Endpoints ID string IsRegionalized bool PartitionEndpoint string RegionRegex *regexp.Regexp ResolveEndpoint resolves and service endpoint for the given region and options.
Partitions is a slice of partition ResolveEndpoint resolves a service endpoint for the given region and options.
ServiceVariant is a bit field to describe the service endpoint attributes.
Package-Level Functions (total 2, neither is exported)
Package-Level Variables (total 2, neither is exported)
Package-Level Constants (total 5, in which 2 are exported)
DualStackVariant indicates that the endpoint is DualStack capable.
FIPSVariant indicates that the endpoint is FIPS capable.