123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2015-05-28",
- "endpointPrefix": "data-ats.iot",
- "protocol": "rest-json",
- "serviceFullName": "AWS IoT Data Plane",
- "serviceId": "IoT Data Plane",
- "signatureVersion": "v4",
- "signingName": "iotdata",
- "uid": "iot-data-2015-05-28"
- },
- "operations": {
- "DeleteThingShadow": {
- "http": {
- "method": "DELETE",
- "requestUri": "/things/{thingName}/shadow"
- },
- "input": {
- "type": "structure",
- "required": [
- "thingName"
- ],
- "members": {
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "shadowName": {
- "location": "querystring",
- "locationName": "name"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "payload"
- ],
- "members": {
- "payload": {
- "type": "blob"
- }
- },
- "payload": "payload"
- }
- },
- "GetRetainedMessage": {
- "http": {
- "method": "GET",
- "requestUri": "/retainedMessage/{topic}"
- },
- "input": {
- "type": "structure",
- "required": [
- "topic"
- ],
- "members": {
- "topic": {
- "location": "uri",
- "locationName": "topic"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "topic": {},
- "payload": {
- "type": "blob"
- },
- "qos": {
- "type": "integer"
- },
- "lastModifiedTime": {
- "type": "long"
- },
- "userProperties": {
- "type": "blob"
- }
- }
- }
- },
- "GetThingShadow": {
- "http": {
- "method": "GET",
- "requestUri": "/things/{thingName}/shadow"
- },
- "input": {
- "type": "structure",
- "required": [
- "thingName"
- ],
- "members": {
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "shadowName": {
- "location": "querystring",
- "locationName": "name"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "payload": {
- "type": "blob"
- }
- },
- "payload": "payload"
- }
- },
- "ListNamedShadowsForThing": {
- "http": {
- "method": "GET",
- "requestUri": "/api/things/shadow/ListNamedShadowsForThing/{thingName}"
- },
- "input": {
- "type": "structure",
- "required": [
- "thingName"
- ],
- "members": {
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "nextToken": {
- "location": "querystring",
- "locationName": "nextToken"
- },
- "pageSize": {
- "location": "querystring",
- "locationName": "pageSize",
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "results": {
- "type": "list",
- "member": {}
- },
- "nextToken": {},
- "timestamp": {
- "type": "long"
- }
- }
- }
- },
- "ListRetainedMessages": {
- "http": {
- "method": "GET",
- "requestUri": "/retainedMessage"
- },
- "input": {
- "type": "structure",
- "members": {
- "nextToken": {
- "location": "querystring",
- "locationName": "nextToken"
- },
- "maxResults": {
- "location": "querystring",
- "locationName": "maxResults",
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "retainedTopics": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "topic": {},
- "payloadSize": {
- "type": "long"
- },
- "qos": {
- "type": "integer"
- },
- "lastModifiedTime": {
- "type": "long"
- }
- }
- }
- },
- "nextToken": {}
- }
- }
- },
- "Publish": {
- "http": {
- "requestUri": "/topics/{topic}"
- },
- "input": {
- "type": "structure",
- "required": [
- "topic"
- ],
- "members": {
- "topic": {
- "location": "uri",
- "locationName": "topic"
- },
- "qos": {
- "location": "querystring",
- "locationName": "qos",
- "type": "integer"
- },
- "retain": {
- "location": "querystring",
- "locationName": "retain",
- "type": "boolean"
- },
- "payload": {
- "type": "blob"
- },
- "userProperties": {
- "jsonvalue": true,
- "location": "header",
- "locationName": "x-amz-mqtt5-user-properties"
- },
- "payloadFormatIndicator": {
- "location": "header",
- "locationName": "x-amz-mqtt5-payload-format-indicator"
- },
- "contentType": {
- "location": "querystring",
- "locationName": "contentType"
- },
- "responseTopic": {
- "location": "querystring",
- "locationName": "responseTopic"
- },
- "correlationData": {
- "location": "header",
- "locationName": "x-amz-mqtt5-correlation-data"
- },
- "messageExpiry": {
- "location": "querystring",
- "locationName": "messageExpiry",
- "type": "long"
- }
- },
- "payload": "payload"
- }
- },
- "UpdateThingShadow": {
- "http": {
- "requestUri": "/things/{thingName}/shadow"
- },
- "input": {
- "type": "structure",
- "required": [
- "thingName",
- "payload"
- ],
- "members": {
- "thingName": {
- "location": "uri",
- "locationName": "thingName"
- },
- "shadowName": {
- "location": "querystring",
- "locationName": "name"
- },
- "payload": {
- "type": "blob"
- }
- },
- "payload": "payload"
- },
- "output": {
- "type": "structure",
- "members": {
- "payload": {
- "type": "blob"
- }
- },
- "payload": "payload"
- }
- }
- },
- "shapes": {}
- }
|