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

Description

 
Synopsis

Documentation

data JobSummary Source #

The job summary.

See: newJobSummary smart constructor.

Constructors

JobSummary' 

Fields

  • completedAt :: Maybe POSIX

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

  • createdAt :: Maybe POSIX

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

  • isConcurrent :: Maybe Bool

    Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.

  • jobArn :: Maybe Text

    The job ARN.

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

  • status :: Maybe JobStatus

    The job summary status.

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

    We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.

  • thingGroupId :: Maybe Text

    The ID of the thing group.

Instances

Instances details
FromJSON 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 #

Read JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Show JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

NFData JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Methods

rnf :: JobSummary -> () #

Eq JobSummary Source # 
Instance details

Defined in Amazonka.IoT.Types.JobSummary

Hashable 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:completedAt:JobSummary', jobSummary_completedAt - The time, in seconds since the epoch, when the job completed.

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

$sel:isConcurrent:JobSummary', jobSummary_isConcurrent - Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.

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

$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:status:JobSummary', jobSummary_status - The job summary status.

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

We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.

$sel:thingGroupId:JobSummary', jobSummary_thingGroupId - 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_createdAt :: Lens' JobSummary (Maybe UTCTime) Source #

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

jobSummary_isConcurrent :: Lens' JobSummary (Maybe Bool) Source #

Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.

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

We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.

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

The ID of the thing group.