v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1443725.1 KB

Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.

put/things/{thingName}/jobs/$next

Path parameters

thingNamestring required

The name of the thing associated with the device.

Request body

statusDetailsobject

A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.

stepTimeoutInMinutesinteger

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 <code>UpdateJobExecution</code>, setting the status to <code>IN_PROGRESS</code> and specifying a new timeout value in field <code>stepTimeoutInMinutes</code>) the job execution status will be automatically set to <code>TIMED_OUT</code>. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (<code>CreateJob</code> using field <code>timeoutConfig</code>).

Response

Success