AwsRetryPolicy
The standard policy for AWS service clients that defines which error conditions are retryable and how. This policy will evaluate the following exceptions as retryable:
Any ServiceException with an
sdkErrorMetadata.errorCodeof:BandwidthLimitExceededEC2ThrottledExceptionIDPCommunicationErrorLimitExceededExceptionPriorRequestNotCompleteProvisionedThroughputExceededExceptionRequestLimitExceededRequestThrottledRequestThrottledExceptionRequestTimeoutRequestTimeoutExceptionSlowDownThrottledExceptionThrottlingThrottlingExceptionTooManyRequestsExceptionTransactionInProgressExceptionAny ServiceException with an
sdkErrorMetadata.statusCodeof:500 (Internal Service Error)
502 (Bad Gateway)
503 (Service Unavailable)
504 (Gateway Timeout)
If none of those conditions match, this policy delegates to StandardRetryPolicy. See that class's documentation for more information about how it evaluates exceptions.