Module classifiers

Source
Available on crate feature client only.
Expand description

Smithy retry classifiers.

Structs§

HttpStatusCodeClassifier
A retry classifier that will treat HTTP response with those status codes as retryable. The Default version will retry 500, 502, 503, and 504 errors.
ModeledAsRetryableClassifier
A retry classifier for checking if an error is modeled as retryable.
TransientErrorClassifier
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 classification result from the previous classifier (the ‘root’ classifier is passed None.)