libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.AwsJobAbortCriteria

Description

 
Synopsis

Documentation

data AwsJobAbortCriteria Source #

The criteria that determine when and how a job abort takes place.

See: newAwsJobAbortCriteria smart constructor.

Constructors

AwsJobAbortCriteria' 

Fields

Instances

Instances details
Eq AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

Read AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

Show AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

Generic AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

Associated Types

type Rep AwsJobAbortCriteria :: Type -> Type #

NFData AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

Methods

rnf :: AwsJobAbortCriteria -> () #

Hashable AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

ToJSON AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

type Rep AwsJobAbortCriteria Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobAbortCriteria

type Rep AwsJobAbortCriteria = D1 ('MetaData "AwsJobAbortCriteria" "Amazonka.IoT.Types.AwsJobAbortCriteria" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AwsJobAbortCriteria'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failureType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AwsJobAbortCriteriaFailureType) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AwsJobAbortCriteriaAbortAction)) :*: (S1 ('MetaSel ('Just "thresholdPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "minNumberOfExecutedThings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newAwsJobAbortCriteria Source #

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.