Configure retries to increase reliability.
Query
on specific network errors and HTTP status codes (502, 503, 504, 429). We don’t retry after the body is consumed. The default retry strategy is Backoff and Jitter
. You can read more about our default retry strategy on the AWS Architecture Blog.
enabled
: Enables the retry mechanism for GraphQL query operations.
algorithm
: Select the algorithm for the retry. Currently, only backoff_jitter
is supported. Additional fields depend on the algorithm selection:
max_attempts
: The maximum number of attempts before the operation is considered a failure.
interval
: The time duration between each retry attempt. Increase with every retry.
max_duration
: The maximum allowable duration between retries (random).