StartNextPendingJobExecution

data class StartNextPendingJobExecution(val thingName: ThingName, val statusDetails: Map<String, String>? = null, val stepTimeoutInMinutes: Long? = null) : IotJobsDataPlaneAction<StartedJobExecution> (source)

Gets and starts the device's next pending job execution: a QUEUED pick transitions to IN_PROGRESS. With nothing pending the service answers 200 with an empty document, surfaced here as a null StartedJobExecution.execution.

The $next path segment is sent unencoded; the AWS auth filter percent-encodes the path afterwards, so encoding it here as well would put %2524 on the wire.

Constructors

Link copied to clipboard
constructor(thingName: ThingName, statusDetails: Map<String, String>? = null, stepTimeoutInMinutes: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toRequest(): Request
Link copied to clipboard
open override fun toResult(response: Response): Result<StartedJobExecution, RemoteFailure>