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

Description

 
Synopsis

Documentation

data TimeoutConfig 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: newTimeoutConfig smart constructor.

Constructors

TimeoutConfig' 

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 TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

Read TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

Show TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

Generic TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

Associated Types

type Rep TimeoutConfig :: Type -> Type #

NFData TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

Methods

rnf :: TimeoutConfig -> () #

Hashable TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

ToJSON TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

FromJSON TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

type Rep TimeoutConfig Source # 
Instance details

Defined in Amazonka.IoT.Types.TimeoutConfig

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

newTimeoutConfig :: TimeoutConfig Source #

Create a value of TimeoutConfig 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:TimeoutConfig', timeoutConfig_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.

timeoutConfig_inProgressTimeoutInMinutes :: Lens' TimeoutConfig (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.