Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APNInfo ¶
type APNInfo struct {
PartnerName string
Products []UserAgentProduct
}
func (APNInfo) BuildUserAgentString ¶
Builds the user-agent string for APN
type AssumeRole ¶
type CannotAssumeRoleError ¶
CannotAssumeRoleError occurs when AssumeRole cannot complete.
func (CannotAssumeRoleError) Error ¶
func (e CannotAssumeRoleError) Error() string
func (CannotAssumeRoleError) Unwrap ¶
func (e CannotAssumeRoleError) Unwrap() error
type Config ¶
type Config struct {
AccessKey string
APNInfo *APNInfo
AssumeRole *AssumeRole
CallerDocumentationURL string
CallerName string
DebugLogging bool
EC2MetadataServiceEndpoint string
EC2MetadataServiceEndpointMode string
HTTPProxy string
IamEndpoint string
Insecure bool
MaxRetries int
Profile string
Region string
SecretKey string
SkipCredsValidation bool
SkipEC2MetadataApiCheck bool
SkipRequestingAccountId bool
StsEndpoint string
StsRegion string
Token string
UseDualStackEndpoint bool
UseFIPSEndpoint bool
UserAgent UserAgentProducts
}
func (*Config) NewCannotAssumeRoleError ¶
func (c *Config) NewCannotAssumeRoleError(err error) CannotAssumeRoleError
func (*Config) NewNoValidCredentialSourcesError ¶
func (c *Config) NewNoValidCredentialSourcesError(err error) NoValidCredentialSourcesError
type NoValidCredentialSourcesError ¶
NoValidCredentialSourcesError occurs when all credential lookup methods have been exhausted without results.
func (NoValidCredentialSourcesError) Error ¶
func (e NoValidCredentialSourcesError) Error() string
func (NoValidCredentialSourcesError) Unwrap ¶
func (e NoValidCredentialSourcesError) Unwrap() error
type UserAgentProduct ¶
type UserAgentProducts ¶
type UserAgentProducts []UserAgentProduct
func (UserAgentProducts) BuildUserAgentString ¶
func (ua UserAgentProducts) BuildUserAgentString() string
Click to show internal directories.
Click to hide internal directories.