libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.Types.IoTJobAbortCriteria

Description

 
Synopsis

Documentation

data IoTJobAbortCriteria Source #

Contains criteria that define when and how to cancel a job.

The deployment stops if the following conditions are true:

  1. The number of things that receive the deployment exceeds the minNumberOfExecutedThings.
  2. The percentage of failures with type failureType exceeds the thresholdPercentage.

See: newIoTJobAbortCriteria smart constructor.

Constructors

IoTJobAbortCriteria' 

Fields

Instances

Instances details
Eq IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

Read IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

Show IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

Generic IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

Associated Types

type Rep IoTJobAbortCriteria :: Type -> Type #

NFData IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

Methods

rnf :: IoTJobAbortCriteria -> () #

Hashable IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

ToJSON IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

FromJSON IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

type Rep IoTJobAbortCriteria Source # 
Instance details

Defined in Amazonka.GreengrassV2.Types.IoTJobAbortCriteria

type Rep IoTJobAbortCriteria = D1 ('MetaData "IoTJobAbortCriteria" "Amazonka.GreengrassV2.Types.IoTJobAbortCriteria" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "IoTJobAbortCriteria'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failureType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IoTJobExecutionFailureType) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IoTJobAbortAction)) :*: (S1 ('MetaSel ('Just "thresholdPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "minNumberOfExecutedThings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

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.