123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2017-09-29",
- "endpointPrefix": "data.jobs.iot",
- "protocol": "rest-json",
- "serviceFullName": "AWS IoT Jobs Data Plane",
- "serviceId": "IoT Jobs Data Plane",
- "signatureVersion": "v4",
- "signingName": "iot-jobs-data",
- "uid": "iot-jobs-data-2017-09-29"
- },
- "operations": {
- "DescribeJobExecution": {
- "http": {
- "method": "GET",
- "requestUri": "/things/{thingName}/jobs/{jobId}"
- },
- "input": {
- "type": "structure",
- "required": [
- "jobId",
- "thingName"
- ],
- "members": {
- "jobId": {
- "location": "uri",
- "locationName": "jobId"
- },
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "includeJobDocument": {
- "location": "querystring",
- "locationName": "includeJobDocument",
- "type": "boolean"
- },
- "executionNumber": {
- "location": "querystring",
- "locationName": "executionNumber",
- "type": "long"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "execution": {
- "shape": "S7"
- }
- }
- }
- },
- "GetPendingJobExecutions": {
- "http": {
- "method": "GET",
- "requestUri": "/things/{thingName}/jobs"
- },
- "input": {
- "type": "structure",
- "required": [
- "thingName"
- ],
- "members": {
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "inProgressJobs": {
- "shape": "Sl"
- },
- "queuedJobs": {
- "shape": "Sl"
- }
- }
- }
- },
- "StartNextPendingJobExecution": {
- "http": {
- "method": "PUT",
- "requestUri": "/things/{thingName}/jobs/$next"
- },
- "input": {
- "type": "structure",
- "required": [
- "thingName"
- ],
- "members": {
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "statusDetails": {
- "shape": "Sa"
- },
- "stepTimeoutInMinutes": {
- "type": "long"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "execution": {
- "shape": "S7"
- }
- }
- }
- },
- "UpdateJobExecution": {
- "http": {
- "requestUri": "/things/{thingName}/jobs/{jobId}"
- },
- "input": {
- "type": "structure",
- "required": [
- "jobId",
- "thingName",
- "status"
- ],
- "members": {
- "jobId": {
- "location": "uri",
- "locationName": "jobId"
- },
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "status": {},
- "statusDetails": {
- "shape": "Sa"
- },
- "stepTimeoutInMinutes": {
- "type": "long"
- },
- "expectedVersion": {
- "type": "long"
- },
- "includeJobExecutionState": {
- "type": "boolean"
- },
- "includeJobDocument": {
- "type": "boolean"
- },
- "executionNumber": {
- "type": "long"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "executionState": {
- "type": "structure",
- "members": {
- "status": {},
- "statusDetails": {
- "shape": "Sa"
- },
- "versionNumber": {
- "type": "long"
- }
- }
- },
- "jobDocument": {}
- }
- }
- }
- },
- "shapes": {
- "S7": {
- "type": "structure",
- "members": {
- "jobId": {},
- "thingName": {},
- "status": {},
- "statusDetails": {
- "shape": "Sa"
- },
- "queuedAt": {
- "type": "long"
- },
- "startedAt": {
- "type": "long"
- },
- "lastUpdatedAt": {
- "type": "long"
- },
- "approximateSecondsBeforeTimedOut": {
- "type": "long"
- },
- "versionNumber": {
- "type": "long"
- },
- "executionNumber": {
- "type": "long"
- },
- "jobDocument": {}
- }
- },
- "Sa": {
- "type": "map",
- "key": {},
- "value": {}
- },
- "Sl": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "jobId": {},
- "queuedAt": {
- "type": "long"
- },
- "startedAt": {
- "type": "long"
- },
- "lastUpdatedAt": {
- "type": "long"
- },
- "versionNumber": {
- "type": "long"
- },
- "executionNumber": {
- "type": "long"
- }
- }
- }
- }
- }
- }
|