Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data RetryPolicy Source #
A RetryPolicy
object that includes information about the retry policy
settings, including the maximum age of an event, and the maximum number
of times EventBridge Scheduler will try to deliver the event to a
target.
See: newRetryPolicy
smart constructor.
RetryPolicy' | |
|
Instances
newRetryPolicy :: RetryPolicy Source #
Create a value of RetryPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maximumEventAgeInSeconds:RetryPolicy'
, retryPolicy_maximumEventAgeInSeconds
- The maximum amount of time, in seconds, to continue to make retry
attempts.
$sel:maximumRetryAttempts:RetryPolicy'
, retryPolicy_maximumRetryAttempts
- The maximum number of retry attempts to make before the request fails.
Retry attempts with exponential backoff continue until either the
maximum number of attempts is made or until the duration of the
MaximumEventAgeInSeconds
is reached.
retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural) Source #
The maximum amount of time, in seconds, to continue to make retry attempts.
retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural) Source #
The maximum number of retry attempts to make before the request fails.
Retry attempts with exponential backoff continue until either the
maximum number of attempts is made or until the duration of the
MaximumEventAgeInSeconds
is reached.