Available on crate feature
client only.Expand description
Smithy retry classifiers.
Structs§
- Http
Status Code Classifier - A retry classifier that will treat HTTP response with those status codes as retryable.
The
Defaultversion will retry 500, 502, 503, and 504 errors. - Modeled
AsRetryable Classifier - A retry classifier for checking if an error is modeled as retryable.
- Transient
Error Classifier - Classifies response, timeout, and connector errors as retryable or not.
Functions§
- run_
classifiers_ on_ ctx - Given an iterator of retry classifiers and an interceptor context, run retry classifiers on the
context. Each classifier is passed the
RetryActionaccumulated by the previously-run classifiers (the first classifier is passedRetryAction::NoActionIndicated) viaClassifyRetry::classify_retry_v2, so a later classifier may refine an earlier verdict.