Module aws_smithy_runtime_api::client::retries

source ·
Expand description

Retry handling and token bucket.

This code defines when and how failed requests should be retried. It also defines the behavior used to limit the rate that requests are sent.

Modules§

  • Classifiers for determining if a retry is necessary and related code.

Structs§

  • A retry classifier for testing purposes. This classifier always returns Some(RetryAction::Error(ErrorKind)) where ErrorKind is the value provided when creating this classifier.
  • A type to track the number of requests sent by the orchestrator for a given operation.
  • A shared retry strategy.

Enums§

  • Type of error that occurred when making a request.
  • An answer to the question “should I make a request attempt?”

Traits§

  • Decider for whether or not to attempt a request, and when.