Versions in this module Expand all Collapse all v0 v0.5.3 May 28, 2015 Changes in this version + const DefaultRetries + const SDKName + const SDKVersion + var DefaultChainCredentials = credentials.NewChainCredentials([]credentials.Provider{ ... }) + var DefaultConfig = &Config + var ErrMissingEndpoint = fmt.Errorf("`Endpoint' configuration is required for this service") + var ErrMissingRegion = fmt.Errorf("could not find region configuration") + func AfterRetryHandler(r *Request) + func Boolean(v bool) *bool + func BuildContentLength(r *Request) + func Double(v float64) *float64 + func Long(v int64) *int64 + func SendHandler(r *Request) + func String(v string) *string + func Time(t time.Time) *time.Time + func UserAgentHandler(r *Request) + func ValidateEndpointHandler(r *Request) + func ValidateParameters(r *Request) + func ValidateResponseHandler(r *Request) + type APIError struct + Code string + Message string + RequestID string + StatusCode int + func Error(e error) *APIError + func (e APIError) Error() string + type Config struct + Credentials *credentials.Credentials + DisableComputeChecksums bool + DisableParamValidation bool + DisableSSL bool + Endpoint string + HTTPClient *http.Client + LogHTTPBody bool + LogLevel uint + Logger io.Writer + ManualSend bool + MaxRetries int + Region string + S3ForcePathStyle bool + func (c Config) Copy() Config + func (c Config) Merge(newcfg *Config) *Config + type HandlerList struct + func (l *HandlerList) Clear() + func (l *HandlerList) Len() int + func (l *HandlerList) PushBack(f ...func(*Request)) + func (l *HandlerList) PushFront(f ...func(*Request)) + func (l *HandlerList) Run(r *Request) + type Handlers struct + AfterRetry HandlerList + Build HandlerList + Retry HandlerList + Send HandlerList + Sign HandlerList + Unmarshal HandlerList + UnmarshalError HandlerList + UnmarshalMeta HandlerList + Validate HandlerList + ValidateResponse HandlerList + func (h *Handlers) Clear() + type Operation struct + HTTPMethod string + HTTPPath string + Name string + type ReaderSeekerCloser struct + func ReadSeekCloser(r io.Reader) ReaderSeekerCloser + func (r ReaderSeekerCloser) Close() error + func (r ReaderSeekerCloser) Read(p []byte) (int, error) + func (r ReaderSeekerCloser) Seek(offset int64, whence int) (int64, error) + type Request struct + Body io.ReadSeeker + Data interface{} + Error error + ExpireTime time.Duration + HTTPRequest *http.Request + HTTPResponse *http.Response + Handlers Handlers + Operation *Operation + Params interface{} + RequestID string + RetryCount uint + RetryDelay time.Duration + Retryable SettableBool + Time time.Time + func NewRequest(service *Service, operation *Operation, params interface{}, data interface{}) *Request + func (r *Request) Build() error + func (r *Request) DataFilled() bool + func (r *Request) ParamsFilled() bool + func (r *Request) Presign(expireTime time.Duration) (string, error) + func (r *Request) Send() error + func (r *Request) SetBufferBody(buf []byte) + func (r *Request) SetReaderBody(reader io.ReadSeeker) + func (r *Request) SetStringBody(s string) + func (r *Request) Sign() error + func (r *Request) WillRetry() bool + type Service struct + APIVersion string + Config *Config + DefaultMaxRetries uint + Endpoint string + Handlers Handlers + JSONVersion string + ManualSend bool + RetryRules func(*Request) time.Duration + ServiceName string + ShouldRetry func(*Request) bool + SigningName string + SigningRegion string + TargetPrefix string + func NewService(config *Config) *Service + func (s *Service) AddDebugHandlers() + func (s *Service) Initialize() + func (s *Service) MaxRetries() uint + type SettableBool struct + func SetBool(value bool) SettableBool + func (b *SettableBool) Get() bool + func (b *SettableBool) GoString() string + func (b *SettableBool) IsSet() bool + func (b *SettableBool) Reset() + func (b *SettableBool) Set(value bool) + func (b *SettableBool) String() string