StandardRetryPolicy
A basic retry policy for Smithy clients that defines which error conditions are retryable and how. This policy will evaluate the following exceptions as retryable:
Any ServiceException with an
sdkErrorMetadata.errorType
of:ErrorType.Server (such as internal service errors)
ErrorType.Client (such as an invalid request, a resource not found, access denied, etc.)
Any SdkBaseException where
sdkErrorMetadata.isRetryable
istrue
(such as a client-side timeout, networking/socket error, etc.)Any SdkBaseException where
sdkErrorMetadata.isThrottling
istrue
(such as making too many requests in a short amount of time)