package endpoints
import "github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints"
Index ¶
- func GetDNSSuffix(id string) (string, error)
- func GetDNSSuffixFromRegion(region string) (string, error)
- type Options
- type Resolver
Functions ¶
func GetDNSSuffix ¶
GetDNSSuffix returns the dnsSuffix URL component for the given partition id
func GetDNSSuffixFromRegion ¶
GetDNSSuffixFromRegion returns the dnsSuffix URL component for the given partition id
Types ¶
type Options ¶
type Options struct { DisableHTTPS bool }
Options is the endpoint resolver configuration options
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver S3 endpoint resolver
func New ¶
func New() *Resolver
New returns a new Resolver
func (*Resolver) ResolveEndpoint ¶
func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error)
ResolveEndpoint resolves the service endpoint for the given region and options
Source Files ¶
- Version
- v1.15.1
- Published
- Sep 10, 2021
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 hours ago –
Tools for package owners.