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 |
Synopsis
- data IoTJobAbortCriteria = IoTJobAbortCriteria' {}
- newIoTJobAbortCriteria :: IoTJobExecutionFailureType -> IoTJobAbortAction -> Double -> Natural -> IoTJobAbortCriteria
- ioTJobAbortCriteria_failureType :: Lens' IoTJobAbortCriteria IoTJobExecutionFailureType
- ioTJobAbortCriteria_action :: Lens' IoTJobAbortCriteria IoTJobAbortAction
- ioTJobAbortCriteria_thresholdPercentage :: Lens' IoTJobAbortCriteria Double
- ioTJobAbortCriteria_minNumberOfExecutedThings :: Lens' IoTJobAbortCriteria Natural
Documentation
data IoTJobAbortCriteria Source #
Contains criteria that define when and how to cancel a job.
The deployment stops if the following conditions are true:
- The number of things that receive the deployment exceeds the
minNumberOfExecutedThings
. - The percentage of failures with type
failureType
exceeds thethresholdPercentage
.
See: newIoTJobAbortCriteria
smart constructor.
IoTJobAbortCriteria' | |
|
Instances
newIoTJobAbortCriteria Source #
Create a value of IoTJobAbortCriteria
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:IoTJobAbortCriteria'
, ioTJobAbortCriteria_failureType
- The type of job deployment failure that can cancel a job.
$sel:action:IoTJobAbortCriteria'
, ioTJobAbortCriteria_action
- The action to perform when the criteria are met.
$sel:thresholdPercentage:IoTJobAbortCriteria'
, ioTJobAbortCriteria_thresholdPercentage
- The minimum percentage of failureType
failures that occur before the
job can cancel.
This parameter supports up to two digits after the decimal (for example,
you can specify 10.9
or 10.99
, but not 10.999
).
$sel:minNumberOfExecutedThings:IoTJobAbortCriteria'
, ioTJobAbortCriteria_minNumberOfExecutedThings
- The minimum number of things that receive the configuration before the
job can cancel.
ioTJobAbortCriteria_failureType :: Lens' IoTJobAbortCriteria IoTJobExecutionFailureType Source #
The type of job deployment failure that can cancel a job.
ioTJobAbortCriteria_action :: Lens' IoTJobAbortCriteria IoTJobAbortAction Source #
The action to perform when the criteria are met.
ioTJobAbortCriteria_thresholdPercentage :: Lens' IoTJobAbortCriteria Double Source #
The minimum percentage of failureType
failures that occur before the
job can cancel.
This parameter supports up to two digits after the decimal (for example,
you can specify 10.9
or 10.99
, but not 10.999
).
ioTJobAbortCriteria_minNumberOfExecutedThings :: Lens' IoTJobAbortCriteria Natural Source #
The minimum number of things that receive the configuration before the job can cancel.