Versions in this module Expand all Collapse all v2 v2.23.1 Jul 3, 2023 Changes in this version + const GlobalRegionID + var DefaultAWSPartitionID = endpoints.AwsPartitionID + var DefaultRegionID = endpoints.UsEast1RegionID + var RESecretHeader = regexp.MustCompile(`(?m:^([^:]*(Auth|Security)[^:]*):.*$)`) + func DumpRequest(r *http.Request) string + func DumpResponse(r *http.Response) string + func HideSecureHeaders(dump []byte) []byte + type Account struct + func NewAccount(creds Credentials, endpoints config.CustomEndpoints) (*Account, error) + func (a *Account) Alias() string + func (a *Account) Aliases() []string + func (a *Account) ID() string + func (a *Account) ResourceTypeToServiceType(regionName, resourceType string) string + type Credentials struct + AccessKeyID string + AssumeRoleArn string + Credentials *credentials.Credentials + CustomEndpoints config.CustomEndpoints + Profile string + SecretAccessKey string + SessionToken string + func (c *Credentials) HasAwsCredentials() bool + func (c *Credentials) HasKeys() bool + func (c *Credentials) HasProfile() bool + func (c *Credentials) NewSession(region, serviceType string) (*session.Session, error) + func (c *Credentials) Validate() error + type ErrSkipRequest string + func (err ErrSkipRequest) Error() string + type ErrUnknownEndpoint string + func (err ErrUnknownEndpoint) Error() string