libZSservicesZSamazonka-iot-jobs-dataplaneZSamazonka-iot-jobs-dataplane
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.IoTJobsData.Types.JobExecutionState

Description

 
Synopsis

Documentation

data JobExecutionState Source #

Contains data about the state of a job execution.

See: newJobExecutionState smart constructor.

Constructors

JobExecutionState' 

Fields

Instances

Instances details
Eq JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

Read JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

Show JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

Generic JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

Associated Types

type Rep JobExecutionState :: Type -> Type #

NFData JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

Methods

rnf :: JobExecutionState -> () #

Hashable JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

FromJSON JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

type Rep JobExecutionState Source # 
Instance details

Defined in Amazonka.IoTJobsData.Types.JobExecutionState

type Rep JobExecutionState = D1 ('MetaData "JobExecutionState" "Amazonka.IoTJobsData.Types.JobExecutionState" "libZSservicesZSamazonka-iot-jobs-dataplaneZSamazonka-iot-jobs-dataplane" 'False) (C1 ('MetaCons "JobExecutionState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobExecutionStatus)) :*: (S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "versionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newJobExecutionState :: JobExecutionState Source #

Create a value of JobExecutionState 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:status:JobExecutionState', jobExecutionState_status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

$sel:statusDetails:JobExecutionState', jobExecutionState_statusDetails - A collection of name/value pairs that describe the status of the job execution.

$sel:versionNumber:JobExecutionState', jobExecutionState_versionNumber - The version of the job execution. Job execution versions are incremented each time they are updated by a device.

jobExecutionState_status :: Lens' JobExecutionState (Maybe JobExecutionStatus) Source #

The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

jobExecutionState_statusDetails :: Lens' JobExecutionState (Maybe (HashMap Text Text)) Source #

A collection of name/value pairs that describe the status of the job execution.

jobExecutionState_versionNumber :: Lens' JobExecutionState (Maybe Integer) Source #

The version of the job execution. Job execution versions are incremented each time they are updated by a device.