Struct: retry.Attempt
import "../ibm-cos-sdk-go-v2/aws/retry"
Overview
Attempt is a Smithy Finalize middleware that handles retry attempts using the provided Retryer implementation.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
-
LogAttempts bool
Enable the logging of retry attempts performed by the SDK.
-
OperationMeter metrics.Meter
A Meter instance for recording retry-related metrics.
Method Summary collapse
-
func (r *Attempt) ID() string { return "Retry" }
ID returns the middleware identifier.
Structure Field Details
LogAttempts bool
Enable the logging of retry attempts performed by the SDK. This will include logging retry attempts, unretryable errors, and when max attempts are reached.
OperationMeter metrics.Meter
A Meter instance for recording retry-related metrics.
Method Details
func (r *Attempt) ID() string { return "Retry" }
ID returns the middleware identifier
70 71 72 73 74 75 76 77 |
// File 'aws/retry/middleware.go', line 70
|