Package-level declarations
Types
Gets details of a job execution, without any state transition: jobId may be JobId.NEXT (the literal $next), which reads the device's next pending execution - the oldest IN_PROGRESS one, else the oldest QUEUED one - and, being read-only, is safe to poll on every connect. With $next and nothing pending the service answers 200 with an empty document, surfaced here as a null DescribedJobExecution.execution (the AWS docs imply this by leaving the response's execution member optional).
Gets every job execution for the thing which is not in a terminal state.
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.
Updates the status of a job execution. A device may only set IN_PROGRESS, SUCCEEDED, FAILED or REJECTED. When expectedVersion does not match the stored version the update is rejected with 409; the AWS docs call this "a VersionMismatch error" but the service model declares no such exception, so it surfaces under the operation's only declared 409, InvalidStateTransitionException. When statusDetails is not specified the stored details are unchanged; when specified they replace the stored map. includeJobExecutionState and includeJobDocument both default to false on the server.