Struct: defaults.Configuration
Overview
Configuration is the set of SDK configuration options that are determined based on the configured DefaultsMode.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
-
ConnectTimeout *time.Duration
ConnectTimeout is the maximum amount of time a dial will wait for a connect to complete.
-
RetryMode aws.RetryMode
RetryMode is the configuration’s default retry mode API clients should use for constructing a Retryer.
-
TLSNegotiationTimeout *time.Duration
TLSNegotiationTimeout specifies the maximum amount of time waiting to wait for a TLS handshake.
Method Summary collapse
-
func (c *Configuration) GetConnectTimeout() (time.Duration, bool)
GetConnectTimeout returns the ConnectTimeout value, returns false if the value is not set.
-
func (c *Configuration) GetTLSNegotiationTimeout() (time.Duration, bool)
GetTLSNegotiationTimeout returns the TLSNegotiationTimeout value, returns false if the value is not set.
Structure Field Details
ConnectTimeout *time.Duration
ConnectTimeout is the maximum amount of time a dial will wait for a connect to complete.
RetryMode aws.RetryMode
RetryMode is the configuration’s default retry mode API clients should use for constructing a Retryer.
TLSNegotiationTimeout *time.Duration
TLSNegotiationTimeout specifies the maximum amount of time waiting to wait for a TLS handshake.
Method Details
func (c *Configuration) GetConnectTimeout() (time.Duration, bool)
GetConnectTimeout returns the ConnectTimeout value, returns false if the value is not set.
29 30 31 32 33 34 |
// File 'aws/defaults/configuration.go', line 29
|
func (c *Configuration) GetTLSNegotiationTimeout() (time.Duration, bool)
GetTLSNegotiationTimeout returns the TLSNegotiationTimeout value, returns false if the value is not set.
37 38 39 40 41 42 |
// File 'aws/defaults/configuration.go', line 37
|