Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedRetryer ¶ added in v1.9.0
type AccessDeniedRetryer struct {
*ConnectionErrRetryer
}
AccessDeniedRetryer wraps the ConnectionErrRetryer with extra logic that retries AccessDenied exceptions TODO: This could be refactored slightly for a more composable type of Retryer where each caller can pick different retry strategies depending on their needs
func NewAccessDeniedRetryer ¶ added in v1.9.0
func NewAccessDeniedRetryer(maxRetries int) *AccessDeniedRetryer
func (AccessDeniedRetryer) ShouldRetry ¶ added in v1.9.0
func (r AccessDeniedRetryer) ShouldRetry(req *request.Request) bool
type ConnectionErrRetryer ¶
type ConnectionErrRetryer struct {
client.DefaultRetryer
}
ConnectionErrRetryer wraps the SDK's built in DefaultRetryer adding customization to retry `connection reset by peer` errors. Not that this retryer should be used for either idempotent operations, or for operations where performing duplicate requests to AWS is acceptable. See also: https://github.com/aws/aws-sdk-go/issues/3027#issuecomment-567269161
func NewConnectionErrRetryer ¶
func NewConnectionErrRetryer(maxRetries int) *ConnectionErrRetryer
func (ConnectionErrRetryer) ShouldRetry ¶
func (r ConnectionErrRetryer) ShouldRetry(req *request.Request) bool
Click to show internal directories.
Click to hide internal directories.