Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialScope ¶
CredentialScope is the credential scope of a region and service
type Endpoint ¶
type Endpoint struct {
// True if the endpoint cannot be resolved for this partition/region/service
Unresolveable aws.Ternary
Hostname string
Protocols []string
CredentialScope CredentialScope
SignatureVersions []string `json:"signatureVersions"`
}
Endpoint is a service endpoint description
type Options ¶
type Options struct {
// Disable usage of HTTPS (TLS / SSL)
DisableHTTPS bool
}
Options provide configuration needed to direct how endpoints are resolved.
type Partition ¶
type Partition struct {
ID string
RegionRegex *regexp.Regexp
PartitionEndpoint string
IsRegionalized bool
Defaults Endpoint
Endpoints Endpoints
}
Partition is an AWS partition description for a service and its' region endpoints.
type Partitions ¶
type Partitions []Partition
Partitions is a slice of partition
func (Partitions) ResolveEndpoint ¶
ResolveEndpoint resolves a service endpoint for the given region and options.
Click to show internal directories.
Click to hide internal directories.