Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + const ISO8601BasicFormat + const ISO8601BasicFormatShort + const Route53Signature + const V2Signature + const V4Signature + var APNortheast = Region + var APSoutheast = Region + var APSoutheast2 = Region + var EUCentral = Region + var EUWest = Region + var Regions = map[string]Region + var RetryingClient = NewClient(retryingTransport) + var SAEast = Region + var USEast = Region + var USGovWest = Region + var USWest = Region + var USWest2 = Region + func AvailabilityZone() string + func Encode(s string) string + func ExpBackoff(try int) + func GetInstanceCredentials() (cred credentials, err error) + func GetMetaData(path string) (contents []byte, err error) + func InstanceId() string + func InstanceRegion() string + func InstanceType() string + func LinearBackoff(try int) + func MakeParams(action string) map[string]string + func NewClient(rt *ResilientTransport) *http.Client + func ServerLocalIp() string + func ServerPublicIp() string + type AWSService interface + BuildError func(r *http.Response) error + Query func(method, path string, params map[string]string) (*http.Response, error) + type Attempt struct + func (a *Attempt) HasNext() bool + func (a *Attempt) Next() bool + type AttemptStrategy struct + Delay time.Duration + Min int + Total time.Duration + func (s AttemptStrategy) Start() *Attempt + type Auth struct + AccessKey string + SecretKey string + func CredentialFileAuth(filePath string, profile string, expiration time.Duration) (auth Auth, err error) + func EnvAuth() (auth Auth, err error) + func GetAuth(accessKey string, secretKey, token string, expiration time.Time) (auth Auth, err error) + func NewAuth(accessKey, secretKey, token string, expiration time.Time) *Auth + func (a *Auth) Expiration() time.Time + func (a *Auth) Token() string + type BaseResponse struct + ResponseMetadata ResponseMetadata + type DeadlineFunc func() time.Time + type DefaultRetryPolicy struct + func (policy DefaultRetryPolicy) Delay(target string, r *http.Response, err error, numRetries int) time.Duration + func (policy DefaultRetryPolicy) ShouldRetry(target string, r *http.Response, err error, numRetries int) bool + type DynamoDBRetryPolicy struct + func (policy DynamoDBRetryPolicy) Delay(target string, r *http.Response, err error, numRetries int) time.Duration + func (policy DynamoDBRetryPolicy) ShouldRetry(target string, r *http.Response, err error, numRetries int) bool + type Error struct + Code string + Message string + RequestId string + StatusCode int + Type string + func (err *Error) Error() string + func (err *Error) ErrorCode() string + type ErrorResponse struct + Errors Error + RequestId string + type NeverRetryPolicy struct + func (policy NeverRetryPolicy) Delay(target string, r *http.Response, err error, numRetries int) time.Duration + func (policy NeverRetryPolicy) ShouldRetry(target string, r *http.Response, err error, numRetries int) bool + type Region struct + AutoScalingEndpoint string + CloudFormationEndpoint string + CloudWatchServicepoint ServiceInfo + DynamoDBEndpoint string + EC2Endpoint string + ELBEndpoint string + ElastiCacheEndpoint string + IAMEndpoint string + KinesisEndpoint string + Name string + RDSEndpoint ServiceInfo + S3BucketEndpoint string + S3Endpoint string + S3LocationConstraint bool + S3LowercaseBucket bool + SDBEndpoint string + SESEndpoint string + SNSEndpoint string + SQSEndpoint string + STSEndpoint string + func GetRegion(regionName string) (region Region) + type ResilientTransport struct + Deadline DeadlineFunc + DialTimeout time.Duration + MaxTries int + ShouldRetry RetryableFunc + Wait WaitFunc + func (t *ResilientTransport) RoundTrip(req *http.Request) (*http.Response, error) + type ResponseMetadata struct + RequestId string + type RetryPolicy interface + Delay func(target string, r *http.Response, err error, numRetries int) time.Duration + ShouldRetry func(target string, r *http.Response, err error, numRetries int) bool + type RetryableFunc func(*http.Request, *http.Response, error) bool + type Route53Signer struct + func NewRoute53Signer(auth Auth) *Route53Signer + func (s *Route53Signer) Sign(req *http.Request) + type Service struct + func NewService(auth Auth, service ServiceInfo) (s *Service, err error) + func (s *Service) BuildError(r *http.Response) error + func (s *Service) Query(method, path string, params map[string]string) (resp *http.Response, err error) + type ServiceError interface + ErrorCode func() string + type ServiceInfo struct + Endpoint string + Signer uint + type Signer interface + Sign func(method, path string, params map[string]string) + type V2Signer struct + func NewV2Signer(auth Auth, service ServiceInfo) (*V2Signer, error) + func (s *V2Signer) Sign(method, path string, params map[string]string) + type V4Signer struct + IncludeXAmzContentSha256 bool + func NewV4Signer(auth Auth, serviceName string, region Region) *V4Signer + func (s *V4Signer) Sign(req *http.Request) + type WaitFunc func(try int)