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
- describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer)
- describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool)
- describeJobExecution_jobId :: Lens' DescribeJobExecution Text
- describeJobExecution_thingName :: Lens' DescribeJobExecution Text
- describeJobExecutionResponse_execution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution)
- describeJobExecutionResponse_httpStatus :: Lens' DescribeJobExecutionResponse Int
- getPendingJobExecutions_thingName :: Lens' GetPendingJobExecutions Text
- getPendingJobExecutionsResponse_inProgressJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary])
- getPendingJobExecutionsResponse_queuedJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary])
- getPendingJobExecutionsResponse_httpStatus :: Lens' GetPendingJobExecutionsResponse Int
- startNextPendingJobExecution_statusDetails :: Lens' StartNextPendingJobExecution (Maybe (HashMap Text Text))
- startNextPendingJobExecution_stepTimeoutInMinutes :: Lens' StartNextPendingJobExecution (Maybe Integer)
- startNextPendingJobExecution_thingName :: Lens' StartNextPendingJobExecution Text
- startNextPendingJobExecutionResponse_execution :: Lens' StartNextPendingJobExecutionResponse (Maybe JobExecution)
- startNextPendingJobExecutionResponse_httpStatus :: Lens' StartNextPendingJobExecutionResponse Int
- updateJobExecution_executionNumber :: Lens' UpdateJobExecution (Maybe Integer)
- updateJobExecution_expectedVersion :: Lens' UpdateJobExecution (Maybe Integer)
- updateJobExecution_includeJobDocument :: Lens' UpdateJobExecution (Maybe Bool)
- updateJobExecution_includeJobExecutionState :: Lens' UpdateJobExecution (Maybe Bool)
- updateJobExecution_statusDetails :: Lens' UpdateJobExecution (Maybe (HashMap Text Text))
- updateJobExecution_stepTimeoutInMinutes :: Lens' UpdateJobExecution (Maybe Integer)
- updateJobExecution_jobId :: Lens' UpdateJobExecution Text
- updateJobExecution_thingName :: Lens' UpdateJobExecution Text
- updateJobExecution_status :: Lens' UpdateJobExecution JobExecutionStatus
- updateJobExecutionResponse_executionState :: Lens' UpdateJobExecutionResponse (Maybe JobExecutionState)
- updateJobExecutionResponse_jobDocument :: Lens' UpdateJobExecutionResponse (Maybe Text)
- updateJobExecutionResponse_httpStatus :: Lens' UpdateJobExecutionResponse Int
- jobExecution_approximateSecondsBeforeTimedOut :: Lens' JobExecution (Maybe Integer)
- jobExecution_executionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecution_jobDocument :: Lens' JobExecution (Maybe Text)
- jobExecution_jobId :: Lens' JobExecution (Maybe Text)
- jobExecution_lastUpdatedAt :: Lens' JobExecution (Maybe Integer)
- jobExecution_queuedAt :: Lens' JobExecution (Maybe Integer)
- jobExecution_startedAt :: Lens' JobExecution (Maybe Integer)
- jobExecution_status :: Lens' JobExecution (Maybe JobExecutionStatus)
- jobExecution_statusDetails :: Lens' JobExecution (Maybe (HashMap Text Text))
- jobExecution_thingName :: Lens' JobExecution (Maybe Text)
- jobExecution_versionNumber :: Lens' JobExecution (Maybe Integer)
- jobExecutionState_status :: Lens' JobExecutionState (Maybe JobExecutionStatus)
- jobExecutionState_statusDetails :: Lens' JobExecutionState (Maybe (HashMap Text Text))
- jobExecutionState_versionNumber :: Lens' JobExecutionState (Maybe Integer)
- jobExecutionSummary_executionNumber :: Lens' JobExecutionSummary (Maybe Integer)
- jobExecutionSummary_jobId :: Lens' JobExecutionSummary (Maybe Text)
- jobExecutionSummary_lastUpdatedAt :: Lens' JobExecutionSummary (Maybe Integer)
- jobExecutionSummary_queuedAt :: Lens' JobExecutionSummary (Maybe Integer)
- jobExecutionSummary_startedAt :: Lens' JobExecutionSummary (Maybe Integer)
- jobExecutionSummary_versionNumber :: Lens' JobExecutionSummary (Maybe Integer)
Operations
DescribeJobExecution
describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer) Source #
Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.
describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool) Source #
Optional. When set to true, the response contains the job document. The default is false.
describeJobExecution_jobId :: Lens' DescribeJobExecution Text Source #
The unique identifier assigned to this job when it was created.
describeJobExecution_thingName :: Lens' DescribeJobExecution Text Source #
The thing name associated with the device the job execution is running on.
describeJobExecutionResponse_execution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution) Source #
Contains data about a job execution.
describeJobExecutionResponse_httpStatus :: Lens' DescribeJobExecutionResponse Int Source #
The response's http status code.
GetPendingJobExecutions
getPendingJobExecutions_thingName :: Lens' GetPendingJobExecutions Text Source #
The name of the thing that is executing the job.
getPendingJobExecutionsResponse_inProgressJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary]) Source #
A list of JobExecutionSummary objects with status IN_PROGRESS.
getPendingJobExecutionsResponse_queuedJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary]) Source #
A list of JobExecutionSummary objects with status QUEUED.
getPendingJobExecutionsResponse_httpStatus :: Lens' GetPendingJobExecutionsResponse Int Source #
The response's http status code.
StartNextPendingJobExecution
startNextPendingJobExecution_statusDetails :: Lens' StartNextPendingJobExecution (Maybe (HashMap Text Text)) Source #
A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
startNextPendingJobExecution_stepTimeoutInMinutes :: Lens' StartNextPendingJobExecution (Maybe Integer) Source #
Specifies the amount of time this device has to finish execution of this
job. If the job execution status is not set to a terminal state before
this timer expires, or before the timer is reset (by calling
UpdateJobExecution
, setting the status to IN_PROGRESS
and specifying
a new timeout value in field stepTimeoutInMinutes
) the job execution
status will be automatically set to TIMED_OUT
. Note that setting this
timeout has no effect on that job execution timeout which may have been
specified when the job was created (CreateJob
using field
timeoutConfig
).
startNextPendingJobExecution_thingName :: Lens' StartNextPendingJobExecution Text Source #
The name of the thing associated with the device.
startNextPendingJobExecutionResponse_execution :: Lens' StartNextPendingJobExecutionResponse (Maybe JobExecution) Source #
A JobExecution object.
startNextPendingJobExecutionResponse_httpStatus :: Lens' StartNextPendingJobExecutionResponse Int Source #
The response's http status code.
UpdateJobExecution
updateJobExecution_executionNumber :: Lens' UpdateJobExecution (Maybe Integer) Source #
Optional. A number that identifies a particular job execution on a particular device.
updateJobExecution_expectedVersion :: Lens' UpdateJobExecution (Maybe Integer) Source #
Optional. The expected current version of the job execution. Each time you update the job execution, its version is incremented. If the version of the job execution stored in Jobs does not match, the update is rejected with a VersionMismatch error, and an ErrorResponse that contains the current job execution status data is returned. (This makes it unnecessary to perform a separate DescribeJobExecution request in order to obtain the job execution status data.)
updateJobExecution_includeJobDocument :: Lens' UpdateJobExecution (Maybe Bool) Source #
Optional. When set to true, the response contains the job document. The default is false.
updateJobExecution_includeJobExecutionState :: Lens' UpdateJobExecution (Maybe Bool) Source #
Optional. When included and set to true, the response contains the JobExecutionState data. The default is false.
updateJobExecution_statusDetails :: Lens' UpdateJobExecution (Maybe (HashMap Text Text)) Source #
Optional. A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
updateJobExecution_stepTimeoutInMinutes :: Lens' UpdateJobExecution (Maybe Integer) Source #
Specifies the amount of time this device has to finish execution of this
job. If the job execution status is not set to a terminal state before
this timer expires, or before the timer is reset (by again calling
UpdateJobExecution
, setting the status to IN_PROGRESS
and specifying
a new timeout value in this field) the job execution status will be
automatically set to TIMED_OUT
. Note that setting or resetting this
timeout has no effect on that job execution timeout which may have been
specified when the job was created (CreateJob
using field
timeoutConfig
).
updateJobExecution_jobId :: Lens' UpdateJobExecution Text Source #
The unique identifier assigned to this job when it was created.
updateJobExecution_thingName :: Lens' UpdateJobExecution Text Source #
The name of the thing associated with the device.
updateJobExecution_status :: Lens' UpdateJobExecution JobExecutionStatus Source #
The new status for the job execution (IN_PROGRESS, FAILED, SUCCESS, or REJECTED). This must be specified on every update.
updateJobExecutionResponse_executionState :: Lens' UpdateJobExecutionResponse (Maybe JobExecutionState) Source #
A JobExecutionState object.
updateJobExecutionResponse_jobDocument :: Lens' UpdateJobExecutionResponse (Maybe Text) Source #
The contents of the Job Documents.
updateJobExecutionResponse_httpStatus :: Lens' UpdateJobExecutionResponse Int Source #
The response's http status code.
Types
JobExecution
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_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_jobDocument :: Lens' JobExecution (Maybe Text) Source #
The content of the job document.
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_queuedAt :: Lens' JobExecution (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was enqueued.
jobExecution_startedAt :: Lens' JobExecution (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was started.
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_statusDetails :: Lens' JobExecution (Maybe (HashMap Text Text)) Source #
A collection of name/value pairs that describe the status of the job execution.
jobExecution_thingName :: Lens' JobExecution (Maybe Text) Source #
The name of the thing that is executing the job.
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.
JobExecutionState
jobExecutionState_status :: Lens' JobExecutionState (Maybe JobExecutionStatus) Source #
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
jobExecutionState_statusDetails :: Lens' JobExecutionState (Maybe (HashMap Text Text)) Source #
A collection of name/value pairs that describe the status of the job execution.
jobExecutionState_versionNumber :: Lens' JobExecutionState (Maybe Integer) Source #
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
JobExecutionSummary
jobExecutionSummary_executionNumber :: Lens' JobExecutionSummary (Maybe Integer) Source #
A number that identifies a particular job execution on a particular device.
jobExecutionSummary_jobId :: Lens' JobExecutionSummary (Maybe Text) Source #
The unique identifier you assigned to this job when it was created.
jobExecutionSummary_lastUpdatedAt :: Lens' JobExecutionSummary (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was last updated.
jobExecutionSummary_queuedAt :: Lens' JobExecutionSummary (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution was enqueued.
jobExecutionSummary_startedAt :: Lens' JobExecutionSummary (Maybe Integer) Source #
The time, in milliseconds since the epoch, when the job execution started.
jobExecutionSummary_versionNumber :: Lens' JobExecutionSummary (Maybe Integer) Source #
The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives an update from a device.