Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data JobExecution = JobExecution' {
- approximateSecondsBeforeTimedOut :: Maybe Integer
- executionNumber :: Maybe Integer
- forceCanceled :: Maybe Bool
- jobId :: Maybe Text
- lastUpdatedAt :: Maybe POSIX
- queuedAt :: Maybe POSIX
- startedAt :: Maybe POSIX
- status :: Maybe JobExecutionStatus
- statusDetails :: Maybe JobExecutionStatusDetails
- thingArn :: Maybe Text
- versionNumber :: Maybe Integer
- newJobExecution :: JobExecution
- jobExecution_approximateSecondsBeforeTimedOut :: Lens' JobExecution (Maybe Integer)
- jobExecution_executionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecution_forceCanceled :: Lens' JobExecution (Maybe Bool)
- jobExecution_jobId :: Lens' JobExecution (Maybe Text)
- jobExecution_lastUpdatedAt :: Lens' JobExecution (Maybe UTCTime)
- jobExecution_queuedAt :: Lens' JobExecution (Maybe UTCTime)
- jobExecution_startedAt :: Lens' JobExecution (Maybe UTCTime)
- jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus)
- jobExecution_statusDetails :: Lens' JobExecution (Maybe JobExecutionStatusDetails)
- jobExecution_thingArn :: Lens' JobExecution (Maybe Text)
- jobExecution_versionNumber :: Lens' JobExecution (Maybe Integer)
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: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: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:forceCanceled:JobExecution'
, jobExecution_forceCanceled
- Will be true
if the job execution was canceled with the optional
force
parameter set to true
.
$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:queuedAt:JobExecution'
, jobExecution_queuedAt
- The time, in seconds since the epoch, when the job execution was queued.
$sel:startedAt:JobExecution'
, jobExecution_startedAt
- The time, in seconds since the epoch, when the job execution started.
$sel:status:JobExecution'
, jobExecution_status
- The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED,
TIMED_OUT, CANCELED, or REJECTED).
$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:versionNumber:JobExecution'
, jobExecution_versionNumber
- The version of the job execution. Job execution versions are incremented
each time they are updated by a device.
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_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_forceCanceled :: Lens' JobExecution (Maybe Bool) Source #
Will be true
if the job execution was canceled with the optional
force
parameter set to true
.
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_queuedAt :: Lens' JobExecution (Maybe UTCTime) Source #
The time, in seconds since the epoch, when the job execution was queued.
jobExecution_startedAt :: Lens' JobExecution (Maybe UTCTime) Source #
The time, in seconds since the epoch, when the job execution started.
jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus) Source #
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
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_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.