| 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 |
Amazonka.IoT.Types.RetryCriteria
Description
Synopsis
Documentation
data RetryCriteria Source #
The criteria that determines how many retries are allowed for each failure type for a job.
See: newRetryCriteria smart constructor.
Constructors
| RetryCriteria' | |
Fields
| |
Instances
Arguments
| :: RetryableFailureType | |
| -> Natural | |
| -> RetryCriteria |
Create a value of RetryCriteria 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:failureType:RetryCriteria', retryCriteria_failureType - The type of job execution failures that can initiate a job retry.
$sel:numberOfRetries:RetryCriteria', retryCriteria_numberOfRetries - The number of retries allowed for a failure type for the job.
retryCriteria_failureType :: Lens' RetryCriteria RetryableFailureType Source #
The type of job execution failures that can initiate a job retry.
retryCriteria_numberOfRetries :: Lens' RetryCriteria Natural Source #
The number of retries allowed for a failure type for the job.