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.AwsJobTimeoutConfig

Description

 
Synopsis

Documentation

data AwsJobTimeoutConfig Source #

Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.

See: newAwsJobTimeoutConfig smart constructor.

Constructors

AwsJobTimeoutConfig' 

Fields

  • inProgressTimeoutInMinutes :: Maybe Integer

    Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT status.

Instances

Instances details
Eq AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

Read AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

Show AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

Generic AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

Associated Types

type Rep AwsJobTimeoutConfig :: Type -> Type #

NFData AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

Methods

rnf :: AwsJobTimeoutConfig -> () #

Hashable AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

ToJSON AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

type Rep AwsJobTimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.AwsJobTimeoutConfig

type Rep AwsJobTimeoutConfig = D1 ('MetaData "AwsJobTimeoutConfig" "Amazonka.IoT.Types.AwsJobTimeoutConfig" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AwsJobTimeoutConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "inProgressTimeoutInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newAwsJobTimeoutConfig :: AwsJobTimeoutConfig Source #

Create a value of AwsJobTimeoutConfig 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:inProgressTimeoutInMinutes:AwsJobTimeoutConfig', awsJobTimeoutConfig_inProgressTimeoutInMinutes - Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT status.

awsJobTimeoutConfig_inProgressTimeoutInMinutes :: Lens' AwsJobTimeoutConfig (Maybe Integer) Source #

Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT status.