Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data JobSummary = JobSummary' {}
- newJobSummary :: JobSummary
- jobSummary_status :: Lens' JobSummary (Maybe JobStatus)
- jobSummary_jobId :: Lens' JobSummary (Maybe Text)
- jobSummary_lastUpdatedAt :: Lens' JobSummary (Maybe UTCTime)
- jobSummary_jobArn :: Lens' JobSummary (Maybe Text)
- jobSummary_createdAt :: Lens' JobSummary (Maybe UTCTime)
- jobSummary_thingGroupId :: Lens' JobSummary (Maybe Text)
- jobSummary_completedAt :: Lens' JobSummary (Maybe UTCTime)
- jobSummary_targetSelection :: Lens' JobSummary (Maybe TargetSelection)
Documentation
data JobSummary Source #
The job summary.
See: newJobSummary
smart constructor.
JobSummary' | |
|
Instances
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_status :: Lens' JobSummary (Maybe JobStatus) Source #
The job summary status.
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_jobArn :: Lens' JobSummary (Maybe Text) Source #
The job ARN.
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.