Retry.Rd
A class for creating a Retry block
stepfunctions::Block
-> Retry
new()
Initialize a Retry block.
Retry$new( error_equals, interval_seconds = NULL, max_attempts = NULL, backoff_rate = NULL, ... )
error_equals
(list(str)): Non-empty list of strings, which match Error Names https://states-language.net/spec.html#error-names. When a state reports an error, the interpreter scans through the retries and, when the Error Name appears in the value of a retrier’s `error_equals` field, implements the retry policy described in that retrier.
interval_seconds
(int, optional): Positive integer representing the number of seconds before the first retry attempt. (default: 1)
max_attempts
(int, optional): Non-negative integer representing the maximum number of retry attempts. (default: 3)
backoff_rate
(float, optional): A number which is the multiplier that increases the retry interval on each attempt. (default: 2.0)
...
: Extra field names to pass to Block class
allowed_fields()
allowed extra fields
Retry$allowed_fields()
clone()
The objects of this class are cloneable with this method.
Retry$clone(deep = FALSE)
deep
Whether to make a deep clone.