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 JobExecution = JobExecution' {
- status :: Maybe JobExecutionStatus
- jobId :: Maybe Text
- lastUpdatedAt :: Maybe Integer
- approximateSecondsBeforeTimedOut :: Maybe Integer
- queuedAt :: Maybe Integer
- jobDocument :: Maybe Text
- statusDetails :: Maybe (HashMap Text Text)
- executionNumber :: Maybe Integer
- versionNumber :: Maybe Integer
- startedAt :: Maybe Integer
- thingName :: Maybe Text
- newJobExecution :: JobExecution
- jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus)
- jobExecution_jobId :: Lens' JobExecution (Maybe Text)
- jobExecution_lastUpdatedAt :: Lens' JobExecution (Maybe Integer)
- jobExecution_approximateSecondsBeforeTimedOut :: Lens' JobExecution (Maybe Integer)
- jobExecution_queuedAt :: Lens' JobExecution (Maybe Integer)
- jobExecution_jobDocument :: Lens' JobExecution (Maybe Text)
- jobExecution_statusDetails :: Lens' JobExecution (Maybe (HashMap Text Text))
- jobExecution_executionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecution_versionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecution_startedAt :: Lens' JobExecution (Maybe Integer)
- jobExecution_thingName :: Lens' JobExecution (Maybe Text)
Documentation
data JobExecution Source #
Contains data about a job execution.
See: newJobExecution
smart constructor.
JobExecution' | |
|
Instances
newJobExecution :: JobExecution Source #
Create a value of JobExecution
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:JobExecution'
, jobExecution_status
- The status of the job execution. Can be one of: "QUEUED",
"IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or
"REMOVED".
$sel:jobId:JobExecution'
, jobExecution_jobId
- The unique identifier you assigned to this job when it was created.
$sel:lastUpdatedAt:JobExecution'
, jobExecution_lastUpdatedAt
- The time, in milliseconds since the epoch, when the job execution was
last updated.
$sel:approximateSecondsBeforeTimedOut:JobExecution'
, jobExecution_approximateSecondsBeforeTimedOut
- The estimated number of seconds that remain before the job execution
status will be changed to TIMED_OUT
.
$sel:queuedAt:JobExecution'
, jobExecution_queuedAt
- The time, in milliseconds since the epoch, when the job execution was
enqueued.
$sel:jobDocument:JobExecution'
, jobExecution_jobDocument
- The content of the job document.
$sel:statusDetails:JobExecution'
, jobExecution_statusDetails
- A collection of name/value pairs that describe the status of the job
execution.
$sel:executionNumber:JobExecution'
, jobExecution_executionNumber
- A number that identifies a particular job execution on a particular
device. It can be used later in commands that return or update job
execution information.
$sel:versionNumber:JobExecution'
, jobExecution_versionNumber
- The version of the job execution. Job execution versions are incremented
each time they are updated by a device.
$sel:startedAt:JobExecution'
, jobExecution_startedAt
- The time, in milliseconds since the epoch, when the job execution was
started.
$sel:thingName:JobExecution'
, jobExecution_thingName
- The name of the thing that is executing the job.
jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus) Source #
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
jobExecution_jobId :: Lens' JobExecution (Maybe Text) Source #
The unique identifier you assigned to this job when it was created.
jobExecution_lastUpdatedAt :: Lens' JobExecution (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was last updated.
jobExecution_approximateSecondsBeforeTimedOut :: Lens' JobExecution (Maybe Integer) Source #
The estimated number of seconds that remain before the job execution
status will be changed to TIMED_OUT
.
jobExecution_queuedAt :: Lens' JobExecution (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was enqueued.
jobExecution_jobDocument :: Lens' JobExecution (Maybe Text) Source #
The content of the job document.
jobExecution_statusDetails :: Lens' JobExecution (Maybe (HashMap Text Text)) Source #
A collection of name/value pairs that describe the status of the job execution.
jobExecution_executionNumber :: Lens' JobExecution (Maybe Integer) Source #
A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
jobExecution_versionNumber :: Lens' JobExecution (Maybe Integer) Source #
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
jobExecution_startedAt :: Lens' JobExecution (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was started.
jobExecution_thingName :: Lens' JobExecution (Maybe Text) Source #
The name of the thing that is executing the job.