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 POSIX
- approximateSecondsBeforeTimedOut :: Maybe Integer
- queuedAt :: Maybe POSIX
- statusDetails :: Maybe JobExecutionStatusDetails
- thingArn :: Maybe Text
- executionNumber :: Maybe Integer
- versionNumber :: Maybe Integer
- startedAt :: Maybe POSIX
- forceCanceled :: Maybe Bool
- newJobExecution :: JobExecution
- jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus)
- jobExecution_jobId :: Lens' JobExecution (Maybe Text)
- jobExecution_lastUpdatedAt :: Lens' JobExecution (Maybe UTCTime)
- jobExecution_approximateSecondsBeforeTimedOut :: Lens' JobExecution (Maybe Integer)
- jobExecution_queuedAt :: Lens' JobExecution (Maybe UTCTime)
- jobExecution_statusDetails :: Lens' JobExecution (Maybe JobExecutionStatusDetails)
- jobExecution_thingArn :: Lens' JobExecution (Maybe Text)
- jobExecution_executionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecution_versionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecution_startedAt :: Lens' JobExecution (Maybe UTCTime)
- jobExecution_forceCanceled :: Lens' JobExecution (Maybe Bool)
Documentation
data JobExecution Source #
The job execution object represents the execution of a job on a particular device.
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 (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED,
TIMED_OUT, CANCELED, or REJECTED).
$sel:jobId:JobExecution'
, jobExecution_jobId
- The unique identifier you assigned to the job when it was created.
$sel:lastUpdatedAt:JobExecution'
, jobExecution_lastUpdatedAt
- The time, in seconds 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
. The timeout interval can be
anywhere between 1 minute and 7 days (1 to 10080 minutes). The actual
job execution timeout can occur up to 60 seconds later than the
estimated duration. This value will not be included if the job execution
has reached a terminal status.
$sel:queuedAt:JobExecution'
, jobExecution_queuedAt
- The time, in seconds since the epoch, when the job execution was queued.
$sel:statusDetails:JobExecution'
, jobExecution_statusDetails
- A collection of name/value pairs that describe the status of the job
execution.
$sel:thingArn:JobExecution'
, jobExecution_thingArn
- The ARN of the thing on which the job execution is running.
$sel:executionNumber:JobExecution'
, jobExecution_executionNumber
- A string (consisting of the digits "0" through "9") which identifies
this particular job execution on this particular device. It can be used
in commands which 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 seconds since the epoch, when the job execution started.
$sel:forceCanceled:JobExecution'
, jobExecution_forceCanceled
- Will be true
if the job execution was canceled with the optional
force
parameter set to true
.
jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus) Source #
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
jobExecution_jobId :: Lens' JobExecution (Maybe Text) Source #
The unique identifier you assigned to the job when it was created.
jobExecution_lastUpdatedAt :: Lens' JobExecution (Maybe UTCTime) Source #
The time, in seconds 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
. The timeout interval can be
anywhere between 1 minute and 7 days (1 to 10080 minutes). The actual
job execution timeout can occur up to 60 seconds later than the
estimated duration. This value will not be included if the job execution
has reached a terminal status.
jobExecution_queuedAt :: Lens' JobExecution (Maybe UTCTime) Source #
The time, in seconds since the epoch, when the job execution was queued.
jobExecution_statusDetails :: Lens' JobExecution (Maybe JobExecutionStatusDetails) Source #
A collection of name/value pairs that describe the status of the job execution.
jobExecution_thingArn :: Lens' JobExecution (Maybe Text) Source #
The ARN of the thing on which the job execution is running.
jobExecution_executionNumber :: Lens' JobExecution (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 in commands which 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 UTCTime) Source #
The time, in seconds since the epoch, when the job execution started.
jobExecution_forceCanceled :: Lens' JobExecution (Maybe Bool) Source #
Will be true
if the job execution was canceled with the optional
force
parameter set to true
.