Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data RetryPolicy Source #
A RetryPolicy
object that includes information about the retry policy
settings.
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 continue until either the maximum number of attempts is
made or until the duration of the MaximumEventAgeInSeconds
is met.
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 continue until either the maximum number of attempts is
made or until the duration of the MaximumEventAgeInSeconds
is met.