# Functions
AddRetryMiddlewares adds retry middleware to operation middleware stack.
AddWithErrorCodes returns a Retryer with additional error codes considered for determining if the error should be retried.
AddWithMaxAttempts returns a Retryer with MaxAttempts set to the value specified.
AddWithMaxBackoffDelay returns a retryer wrapping the passed in retryer overriding the RetryDelay behavior for a alternate minimum initial backoff delay.
GetAttemptResults retrieves attempts results from middleware metadata.
NewAdaptiveMode returns an initialized AdaptiveMode retry strategy.
NewAttemptMiddleware returns a new Attempt retry middleware.
NewExponentialJitterBackoff returns an ExponentialJitterBackoff configured for the max backoff.
NewStandard initializes a standard retry behavior with defaults that can be overridden via functional options.
# Constants
DefaultMaxAttempts is the maximum of attempts for an API request.
DefaultMaxBackoff is the maximum back off delay between attempts.
Default retry token quota values.
DefaultRequestCost is the cost of a single request from the adaptive rate limited token bucket.
Default retry token quota values.
Default retry token quota values.
Default retry token quota values.
# Variables
DefaultRetryableErrorCodes provides the set of API error codes that should be retried.
DefaultRetryableHTTPStatusCodes is the default set of HTTP status codes the SDK should consider as retryable errors.
DefaultRetryables provides the set of retryable checks that are used by default.
DefaultThrottleErrorCodes provides the set of API error codes that are considered throttle errors.
DefaultThrottles provides the set of errors considered throttle errors that are checked by default.
DefaultTimeouts provides the set of timeout checks that are used by default.
# Structs
AdaptiveMode provides an experimental retry strategy that expands on the Standard retry strategy, adding client attempt rate limits.
AdaptiveModeOptions provides the functional options for configuring the adaptive retry mode, and delay behavior.
AddRetryMiddlewaresOptions is the set of options that can be passed to AddRetryMiddlewares for configuring retry associated middleware.
Attempt is a Smithy Finalize middleware that handles retry attempts using the provided Retryer implementation.
AttemptResult represents attempt result returned by a single request attempt.
AttemptResults represents struct containing metadata returned by all request attempts.
ExponentialJitterBackoff provides backoff delays with jitter based on the number of attempts.
MaxAttemptsError provides the error when the maximum number of attempts have been exceeded.
MetricsHeader attaches SDK request metric header for retries to the transport.
NoRetryCanceledError detects if the error was an request canceled error and returns if so.
RetryableConnectionError determines if the underlying error is an HTTP connection and returns if it should be retried.
RetryableError is an IsErrorRetryable implementation which uses the optional interface Retryable on the error value to determine if the error is retryable.
RetryableErrorCode determines if an attempt should be retried based on the API error code.
RetryableHTTPStatusCode provides a IsErrorRetryable based on HTTP status codes.
Standard is the standard retry pattern for the SDK.
StandardOptions provides the functional options for configuring the standard retryable, and delay behavior.
ThrottleErrorCode determines if an attempt should be retried based on the API error code.
TimeouterError provides the IsErrorTimeout implementation for determining if an error is a timeout based on type with the Timeout method.
# Interfaces
BackoffDelayer provides the interface for determining the delay to before another request attempt, that previously failed.
IsErrorRetryable provides the interface of an implementation to determine if a error as the result of an operation is retryable.
IsErrorThrottle provides the interface of an implementation to determine if a error response from an operation is a throttling error.
IsErrorTimeout provides the interface of an implementation to determine if a error matches.
RateLimiter provides the interface for limiting the rate of attempt retries allowed by the retryer.
# Type aliases
BackoffDelayerFunc provides a wrapper around a function to determine the backoff delay of an attempt retry.
IsErrorRetryableFunc wraps a function with the IsErrorRetryable interface.
IsErrorRetryables is a collection of checks to determine of the error is retryable.
IsErrorThrottleFunc wraps a function with the IsErrorThrottle interface.
IsErrorThrottles is a collection of checks to determine of the error a throttle error.
IsErrorTimeoutFunc wraps a function with the IsErrorTimeout interface.
IsErrorTimeouts is a collection of checks to determine of the error is retryable.
RequestCloner is a function that can take an input request type and clone the request for use in a subsequent retry attempt.