Struct: retry.ThrottleErrorCode
import "../ibm-cos-sdk-go-v2/aws/retry"
Overview
ThrottleErrorCode determines if an attempt should be retried based on the API error code.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, retry.IsErrorThrottle, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
Method Summary collapse
-
func (r ThrottleErrorCode) IsErrorThrottle(err error) aws.Ternary
IsErrorThrottle return if the error is a throttle error based on the error codes.
Structure Field Details
Codes map[string]struct{}
Method Details
func (r ThrottleErrorCode) IsErrorThrottle(err error) aws.Ternary
IsErrorThrottle return if the error is a throttle error based on the error codes. Returns unknown if the error doesn’t have a code or it is unknown.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
// File 'aws/retry/throttle_error.go', line 46
|