amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.Types.JobExecutionSummary

Description

 
Synopsis

Documentation

data JobExecutionSummary Source #

The job execution summary.

See: newJobExecutionSummary smart constructor.

Constructors

JobExecutionSummary' 

Fields

  • executionNumber :: Maybe Integer

    A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.

  • lastUpdatedAt :: Maybe POSIX

    The time, in seconds since the epoch, when the job execution was last updated.

  • queuedAt :: Maybe POSIX

    The time, in seconds since the epoch, when the job execution was queued.

  • retryAttempt :: Maybe Int

    The number that indicates how many retry attempts have been completed for this job on this device.

  • startedAt :: Maybe POSIX

    The time, in seconds since the epoch, when the job execution started.

  • status :: Maybe JobExecutionStatus

    The status of the job execution.

Instances

Instances details
FromJSON JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

Generic JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

Associated Types

type Rep JobExecutionSummary :: Type -> Type #

Read JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

Show JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

NFData JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

Methods

rnf :: JobExecutionSummary -> () #

Eq JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

Hashable JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

type Rep JobExecutionSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobExecutionSummary

type Rep JobExecutionSummary = D1 ('MetaData "JobExecutionSummary" "Amazonka.IoT.Types.JobExecutionSummary" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "JobExecutionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "executionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "queuedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "retryAttempt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobExecutionStatus))))))

newJobExecutionSummary :: JobExecutionSummary Source #

Create a value of JobExecutionSummary 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:executionNumber:JobExecutionSummary', jobExecutionSummary_executionNumber - A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.

$sel:lastUpdatedAt:JobExecutionSummary', jobExecutionSummary_lastUpdatedAt - The time, in seconds since the epoch, when the job execution was last updated.

$sel:queuedAt:JobExecutionSummary', jobExecutionSummary_queuedAt - The time, in seconds since the epoch, when the job execution was queued.

$sel:retryAttempt:JobExecutionSummary', jobExecutionSummary_retryAttempt - The number that indicates how many retry attempts have been completed for this job on this device.

$sel:startedAt:JobExecutionSummary', jobExecutionSummary_startedAt - The time, in seconds since the epoch, when the job execution started.

$sel:status:JobExecutionSummary', jobExecutionSummary_status - The status of the job execution.

jobExecutionSummary_executionNumber :: Lens' JobExecutionSummary (Maybe Integer) Source #

A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.

jobExecutionSummary_lastUpdatedAt :: Lens' JobExecutionSummary (Maybe UTCTime) Source #

The time, in seconds since the epoch, when the job execution was last updated.

jobExecutionSummary_queuedAt :: Lens' JobExecutionSummary (Maybe UTCTime) Source #

The time, in seconds since the epoch, when the job execution was queued.

jobExecutionSummary_retryAttempt :: Lens' JobExecutionSummary (Maybe Int) Source #

The number that indicates how many retry attempts have been completed for this job on this device.

jobExecutionSummary_startedAt :: Lens' JobExecutionSummary (Maybe UTCTime) Source #

The time, in seconds since the epoch, when the job execution started.