Versions in this module Expand all Collapse all v1 v1.0.4 Oct 27, 2021 Changes in this version + const SDKName + const SDKVersion + const UseServiceDefaultRetries + var ErrMissingEndpoint = awserr.New("MissingEndpoint", "'Endpoint' configuration is required for this service", ...) + var ErrMissingRegion = awserr.New("MissingRegion", "could not find region configuration", nil) + func Bool(v bool) *bool + func BoolMap(src map[string]bool) map[string]*bool + func BoolSlice(src []bool) []*bool + func BoolValue(v *bool) bool + func BoolValueMap(src map[string]*bool) map[string]bool + func BoolValueSlice(src []*bool) []bool + func Float64(v float64) *float64 + func Float64Map(src map[string]float64) map[string]*float64 + func Float64Slice(src []float64) []*float64 + func Float64Value(v *float64) float64 + func Float64ValueMap(src map[string]*float64) map[string]float64 + func Float64ValueSlice(src []*float64) []float64 + func Int(v int) *int + func Int64(v int64) *int64 + func Int64Map(src map[string]int64) map[string]*int64 + func Int64Slice(src []int64) []*int64 + func Int64Value(v *int64) int64 + func Int64ValueMap(src map[string]*int64) map[string]int64 + func Int64ValueSlice(src []*int64) []int64 + func IntMap(src map[string]int) map[string]*int + func IntSlice(src []int) []*int + func IntValue(v *int) int + func IntValueMap(src map[string]*int) map[string]int + func IntValueSlice(src []*int) []int + func IsReaderSeekable(r io.Reader) bool + func MillisecondsTimeValue(v *int64) time.Time + func SecondsTimeValue(v *int64) time.Time + func SeekerLen(s io.Seeker) (int64, error) + func SleepWithContext(ctx Context, dur time.Duration) error + func String(v string) *string + func StringMap(src map[string]string) map[string]*string + func StringSlice(src []string) []*string + func StringValue(v *string) string + func StringValueMap(src map[string]*string) map[string]string + func StringValueSlice(src []*string) []string + func Time(v time.Time) *time.Time + func TimeMap(src map[string]time.Time) map[string]*time.Time + func TimeSlice(src []time.Time) []*time.Time + func TimeUnixMilli(t time.Time) int64 + func TimeValue(v *time.Time) time.Time + func TimeValueMap(src map[string]*time.Time) map[string]time.Time + func TimeValueSlice(src []*time.Time) []time.Time + func URLHostname(url *url.URL) string + type Config struct + Credentials *credentials.Credentials + CredentialsChainVerboseErrors *bool + DisableComputeChecksums *bool + DisableEndpointHostPrefix *bool + DisableParamValidation *bool + DisableRestProtocolURICleaning *bool + DisableSSL *bool + EC2MetadataDisableTimeoutOverride *bool + EnableEndpointDiscovery *bool + Endpoint *string + EndpointResolver endpoints.Resolver + EnforceShouldRetryCheck *bool + HTTPClient *http.Client + LogLevel *LogLevelType + Logger Logger + MaxRetries *int + Region *string + Retryer RequestRetryer + S3Disable100Continue *bool + S3DisableContentMD5Validation *bool + S3ForcePathStyle *bool + S3UseAccelerate *bool + SleepDelay func(time.Duration) + UseDualStack *bool + func NewConfig() *Config + func (c *Config) Copy(cfgs ...*Config) *Config + func (c *Config) MergeIn(cfgs ...*Config) + func (c *Config) WithCredentials(creds *credentials.Credentials) *Config + func (c *Config) WithCredentialsChainVerboseErrors(verboseErrs bool) *Config + func (c *Config) WithDisableComputeChecksums(disable bool) *Config + func (c *Config) WithDisableEndpointHostPrefix(t bool) *Config + func (c *Config) WithDisableParamValidation(disable bool) *Config + func (c *Config) WithDisableSSL(disable bool) *Config + func (c *Config) WithEC2MetadataDisableTimeoutOverride(enable bool) *Config + func (c *Config) WithEndpoint(endpoint string) *Config + func (c *Config) WithEndpointDiscovery(t bool) *Config + func (c *Config) WithEndpointResolver(resolver endpoints.Resolver) *Config + func (c *Config) WithHTTPClient(client *http.Client) *Config + func (c *Config) WithLogLevel(level LogLevelType) *Config + func (c *Config) WithLogger(logger Logger) *Config + func (c *Config) WithMaxRetries(max int) *Config + func (c *Config) WithRegion(region string) *Config + func (c *Config) WithS3Disable100Continue(disable bool) *Config + func (c *Config) WithS3DisableContentMD5Validation(enable bool) *Config + func (c *Config) WithS3ForcePathStyle(force bool) *Config + func (c *Config) WithS3UseAccelerate(enable bool) *Config + func (c *Config) WithSleepDelay(fn func(time.Duration)) *Config + func (c *Config) WithUseDualStack(enable bool) *Config + type Context = context.Context + func BackgroundContext() Context + type JSONValue map[string]interface + type LogLevelType uint + const LogDebug + const LogDebugWithEventStreamBody + const LogDebugWithHTTPBody + const LogDebugWithRequestErrors + const LogDebugWithRequestRetries + const LogDebugWithSigning + const LogOff + func LogLevel(l LogLevelType) *LogLevelType + func (l *LogLevelType) AtLeast(v LogLevelType) bool + func (l *LogLevelType) Matches(v LogLevelType) bool + func (l *LogLevelType) Value() LogLevelType + type Logger interface + Log func(...interface{}) + func NewDefaultLogger() Logger + type LoggerFunc func(...interface{}) + func (f LoggerFunc) Log(args ...interface{}) + type ReaderSeekerCloser struct + func ReadSeekCloser(r io.Reader) ReaderSeekerCloser + func (r ReaderSeekerCloser) Close() error + func (r ReaderSeekerCloser) GetLen() (int64, error) + func (r ReaderSeekerCloser) HasLen() (int, bool) + func (r ReaderSeekerCloser) IsSeeker() bool + func (r ReaderSeekerCloser) Read(p []byte) (int, error) + func (r ReaderSeekerCloser) Seek(offset int64, whence int) (int64, error) + type RequestRetryer interface + type WriteAtBuffer struct + GrowthCoeff float64 + func NewWriteAtBuffer(buf []byte) *WriteAtBuffer + func (b *WriteAtBuffer) Bytes() []byte + func (b *WriteAtBuffer) WriteAt(p []byte, pos int64) (n int, err error)