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 |
Synopsis
- data AbortCriteria = AbortCriteria' {}
- newAbortCriteria :: JobExecutionFailureType -> AbortAction -> Double -> Natural -> AbortCriteria
- abortCriteria_failureType :: Lens' AbortCriteria JobExecutionFailureType
- abortCriteria_action :: Lens' AbortCriteria AbortAction
- abortCriteria_thresholdPercentage :: Lens' AbortCriteria Double
- abortCriteria_minNumberOfExecutedThings :: Lens' AbortCriteria Natural
Documentation
data AbortCriteria Source #
The criteria that determine when and how a job abort takes place.
See: newAbortCriteria
smart constructor.
AbortCriteria' | |
|
Instances
:: JobExecutionFailureType | |
-> AbortAction | |
-> Double | |
-> Natural | |
-> AbortCriteria |
Create a value of AbortCriteria
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:AbortCriteria'
, abortCriteria_failureType
- The type of job execution failures that can initiate a job abort.
$sel:action:AbortCriteria'
, abortCriteria_action
- The type of job action to take to initiate the job abort.
$sel:thresholdPercentage:AbortCriteria'
, abortCriteria_thresholdPercentage
- The minimum percentage of job execution failures that must occur to
initiate the job abort.
Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
$sel:minNumberOfExecutedThings:AbortCriteria'
, abortCriteria_minNumberOfExecutedThings
- The minimum number of things which must receive job execution
notifications before the job can be aborted.
abortCriteria_failureType :: Lens' AbortCriteria JobExecutionFailureType Source #
The type of job execution failures that can initiate a job abort.
abortCriteria_action :: Lens' AbortCriteria AbortAction Source #
The type of job action to take to initiate the job abort.
abortCriteria_thresholdPercentage :: Lens' AbortCriteria Double Source #
The minimum percentage of job execution failures that must occur to initiate the job abort.
Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
abortCriteria_minNumberOfExecutedThings :: Lens' AbortCriteria Natural Source #
The minimum number of things which must receive job execution notifications before the job can be aborted.