Devices can communicate with AWS IoT Jobs using HTTP Signature Version 4 on
port 443. This is the method used by the AWS SDKs and CLI. For more
information about those tools, see AWS CLI
Command Reference:iot-jobs-data or AWS
SDKs and Tools
The following commands are available for devices executing the jobs. For information about using API operations with the MQTT protocol, see Jobs device MQTT API operations.
Gets the list of all jobs that aren't in a terminal state, for a specified thing.
Gets and starts the next pending job execution for a thing (with a status
of IN_PROGRESS
or QUEUED
).
-
Any job executions with status
IN_PROGRESS
are returned first. -
Job executions are returned in the order in which they were created.
-
If the next pending job execution is
QUEUED
, its status changes toIN_PROGRESS
and the job execution's status details are set as specified. -
If the next pending job execution is already
IN_PROGRESS
, its status details don't change. -
If no job executions are pending, the response doesn't include the
execution
field. -
Optionally, you can create a step timer by setting a value for the
stepTimeoutInMinutes
property. If you don't update the value of this property by runningUpdateJobExecution
, the job execution times out when the step timer expires.
Gets detailed information about a job execution.
You can set the jobId
to $next
to return the next
pending job execution for a thing. The job's execution status must be
QUEUED
or IN_PROGRESS
.
Updates the status of a job execution. Optionally, you can create a step
timer by setting a value for the stepTimeoutInMinutes
property.
If you don't update the value of this property by running
UpdateJobExecution
again, the job execution times out when
the step timer expires.