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 AwsJobAbortCriteria = AwsJobAbortCriteria' {}
- newAwsJobAbortCriteria :: AwsJobAbortCriteriaFailureType -> AwsJobAbortCriteriaAbortAction -> Double -> Natural -> AwsJobAbortCriteria
- awsJobAbortCriteria_failureType :: Lens' AwsJobAbortCriteria AwsJobAbortCriteriaFailureType
- awsJobAbortCriteria_action :: Lens' AwsJobAbortCriteria AwsJobAbortCriteriaAbortAction
- awsJobAbortCriteria_thresholdPercentage :: Lens' AwsJobAbortCriteria Double
- awsJobAbortCriteria_minNumberOfExecutedThings :: Lens' AwsJobAbortCriteria Natural
Documentation
data AwsJobAbortCriteria Source #
The criteria that determine when and how a job abort takes place.
See: newAwsJobAbortCriteria
smart constructor.
AwsJobAbortCriteria' | |
|
Instances
newAwsJobAbortCriteria Source #
:: AwsJobAbortCriteriaFailureType | |
-> AwsJobAbortCriteriaAbortAction | |
-> Double | |
-> Natural | |
-> AwsJobAbortCriteria |
Create a value of AwsJobAbortCriteria
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:AwsJobAbortCriteria'
, awsJobAbortCriteria_failureType
- The type of job execution failures that can initiate a job abort.
$sel:action:AwsJobAbortCriteria'
, awsJobAbortCriteria_action
- The type of job action to take to initiate the job abort.
$sel:thresholdPercentage:AwsJobAbortCriteria'
, awsJobAbortCriteria_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:AwsJobAbortCriteria'
, awsJobAbortCriteria_minNumberOfExecutedThings
- The minimum number of things which must receive job execution
notifications before the job can be aborted.
awsJobAbortCriteria_failureType :: Lens' AwsJobAbortCriteria AwsJobAbortCriteriaFailureType Source #
The type of job execution failures that can initiate a job abort.
awsJobAbortCriteria_action :: Lens' AwsJobAbortCriteria AwsJobAbortCriteriaAbortAction Source #
The type of job action to take to initiate the job abort.
awsJobAbortCriteria_thresholdPercentage :: Lens' AwsJobAbortCriteria 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).
awsJobAbortCriteria_minNumberOfExecutedThings :: Lens' AwsJobAbortCriteria Natural Source #
The minimum number of things which must receive job execution notifications before the job can be aborted.