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

Description

 
Synopsis

Documentation

data JobSummary Source #

The job summary.

See: newJobSummary smart constructor.

Constructors

JobSummary' 

Fields

  • status :: Maybe JobStatus

    The job summary status.

  • jobId :: Maybe Text

    The unique identifier you assigned to this job when it was created.

  • lastUpdatedAt :: Maybe POSIX

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

  • jobArn :: Maybe Text

    The job ARN.

  • createdAt :: Maybe POSIX

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

  • thingGroupId :: Maybe Text

    The ID of the thing group.

  • completedAt :: Maybe POSIX

    The time, in seconds since the epoch, when the job completed.

  • targetSelection :: Maybe TargetSelection

    Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.

Instances

Instances details
Eq JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Read JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Show JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Generic JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Associated Types

type Rep JobSummary :: Type -> Type #

NFData JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Methods

rnf :: JobSummary -> () #

Hashable JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

FromJSON JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

type Rep JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

newJobSummary :: JobSummary Source #

Create a value of JobSummary 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:JobSummary', jobSummary_status - The job summary status.

$sel:jobId:JobSummary', jobSummary_jobId - The unique identifier you assigned to this job when it was created.

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

$sel:jobArn:JobSummary', jobSummary_jobArn - The job ARN.

$sel:createdAt:JobSummary', jobSummary_createdAt - The time, in seconds since the epoch, when the job was created.

$sel:thingGroupId:JobSummary', jobSummary_thingGroupId - The ID of the thing group.

$sel:completedAt:JobSummary', jobSummary_completedAt - The time, in seconds since the epoch, when the job completed.

$sel:targetSelection:JobSummary', jobSummary_targetSelection - Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.

jobSummary_jobId :: Lens' JobSummary (Maybe Text) Source #

The unique identifier you assigned to this job when it was created.

jobSummary_lastUpdatedAt :: Lens' JobSummary (Maybe UTCTime) Source #

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

jobSummary_createdAt :: Lens' JobSummary (Maybe UTCTime) Source #

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

jobSummary_thingGroupId :: Lens' JobSummary (Maybe Text) Source #

The ID of the thing group.

jobSummary_completedAt :: Lens' JobSummary (Maybe UTCTime) Source #

The time, in seconds since the epoch, when the job completed.

jobSummary_targetSelection :: Lens' JobSummary (Maybe TargetSelection) Source #

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.