The following commands are available over the MQTT and HTTPS protocols. Use these API operations on the data plane for devices executing the jobs.
Jobs device MQTT and HTTPS data typesThe following data types are used to communicate with the AWS IoT Jobs service over the MQTT and HTTPS protocols.
The JobExecution
object represents the execution of a job on a device. The following example shows the syntax:
When you use the MQTT and HTTP data plane API operations, the JobExecution
data type contains a JobDocument
field. Your devices can use this information to retrieve the job document from a job execution.
{
"jobId" : "string",
"thingName" : "string",
"jobDocument" : "string",
"status": "QUEUED|IN_PROGRESS|FAILED|SUCCEEDED|CANCELED|TIMED_OUT|REJECTED|REMOVED",
"statusDetails": {
"string": "string"
},
"queuedAt" : "timestamp",
"startedAt" : "timestamp",
"lastUpdatedAt" : "timestamp",
"versionNumber" : "number",
"executionNumber": long
}
For more information, see JobExecution
or job-execution
.
The JobExecutionState
contains information about the state of a job execution. The following example shows the syntax:
{
"status": "QUEUED|IN_PROGRESS|FAILED|SUCCEEDED|CANCELED|TIMED_OUT|REJECTED|REMOVED",
"statusDetails": {
"string": "string"
...
}
"versionNumber": "number"
}
For more information, see JobExecutionState
or job-execution-state
.
Contains a subset of information about a job execution. The following example shows the syntax:
{
"jobId": "string",
"queuedAt": timestamp,
"startedAt": timestamp,
"lastUpdatedAt": timestamp,
"versionNumber": "number",
"executionNumber": long
}
For more information, see JobExecutionSummary
or job-execution-summary
.
Jobs management and control API and data types
Jobs device MQTT API operations
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4