Documentation
¶
Index ¶
Constants ¶
View Source
const ( GlobalRegionID = "global" DefaultRegionID = endpoints.UsEast1RegionID )
Variables ¶
View Source
var (
RESecretHeader = regexp.MustCompile(`(?m:^([^:]*(Auth|Security)[^:]*):.*$)`)
)
Functions ¶
func DumpRequest ¶
func DumpResponse ¶
func HideSecureHeaders ¶
Types ¶
type Account ¶
type Account struct {
Credentials
// contains filtered or unexported fields
}
func NewAccount ¶
func NewAccount(creds Credentials) (*Account, error)
type Credentials ¶
type Credentials struct {
Profile string
AccessKeyID string
SecretAccessKey string
SessionToken string
// contains filtered or unexported fields
}
func (*Credentials) HasKeys ¶
func (c *Credentials) HasKeys() bool
func (*Credentials) HasProfile ¶
func (c *Credentials) HasProfile() bool
func (*Credentials) NewSession ¶
func (c *Credentials) NewSession(region string) (*session.Session, error)
func (*Credentials) Validate ¶
func (c *Credentials) Validate() error
type ErrSkipRequest ¶
type ErrSkipRequest string
func (ErrSkipRequest) Error ¶
func (err ErrSkipRequest) Error() string
type ErrUnknownEndpoint ¶
type ErrUnknownEndpoint string
func (ErrUnknownEndpoint) Error ¶
func (err ErrUnknownEndpoint) Error() string
Click to show internal directories.
Click to hide internal directories.