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 BatchRetryStrategy Source #
The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.
See: newBatchRetryStrategy
smart constructor.
Instances
newBatchRetryStrategy :: BatchRetryStrategy Source #
Create a value of BatchRetryStrategy
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:attempts:BatchRetryStrategy'
, batchRetryStrategy_attempts
- The number of times to move a job to the RUNNABLE
status. If the value
of attempts
is greater than one, the job is retried on failure the
same number of attempts as the value.
batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Natural) Source #
The number of times to move a job to the RUNNABLE
status. If the value
of attempts
is greater than one, the job is retried on failure the
same number of attempts as the value.