iot-data-2015-05-28.min.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2015-05-28",
  5. "endpointPrefix": "data-ats.iot",
  6. "protocol": "rest-json",
  7. "serviceFullName": "AWS IoT Data Plane",
  8. "serviceId": "IoT Data Plane",
  9. "signatureVersion": "v4",
  10. "signingName": "iotdata",
  11. "uid": "iot-data-2015-05-28"
  12. },
  13. "operations": {
  14. "DeleteThingShadow": {
  15. "http": {
  16. "method": "DELETE",
  17. "requestUri": "/things/{thingName}/shadow"
  18. },
  19. "input": {
  20. "type": "structure",
  21. "required": [
  22. "thingName"
  23. ],
  24. "members": {
  25. "thingName": {
  26. "location": "uri",
  27. "locationName": "thingName"
  28. },
  29. "shadowName": {
  30. "location": "querystring",
  31. "locationName": "name"
  32. }
  33. }
  34. },
  35. "output": {
  36. "type": "structure",
  37. "required": [
  38. "payload"
  39. ],
  40. "members": {
  41. "payload": {
  42. "type": "blob"
  43. }
  44. },
  45. "payload": "payload"
  46. }
  47. },
  48. "GetRetainedMessage": {
  49. "http": {
  50. "method": "GET",
  51. "requestUri": "/retainedMessage/{topic}"
  52. },
  53. "input": {
  54. "type": "structure",
  55. "required": [
  56. "topic"
  57. ],
  58. "members": {
  59. "topic": {
  60. "location": "uri",
  61. "locationName": "topic"
  62. }
  63. }
  64. },
  65. "output": {
  66. "type": "structure",
  67. "members": {
  68. "topic": {},
  69. "payload": {
  70. "type": "blob"
  71. },
  72. "qos": {
  73. "type": "integer"
  74. },
  75. "lastModifiedTime": {
  76. "type": "long"
  77. },
  78. "userProperties": {
  79. "type": "blob"
  80. }
  81. }
  82. }
  83. },
  84. "GetThingShadow": {
  85. "http": {
  86. "method": "GET",
  87. "requestUri": "/things/{thingName}/shadow"
  88. },
  89. "input": {
  90. "type": "structure",
  91. "required": [
  92. "thingName"
  93. ],
  94. "members": {
  95. "thingName": {
  96. "location": "uri",
  97. "locationName": "thingName"
  98. },
  99. "shadowName": {
  100. "location": "querystring",
  101. "locationName": "name"
  102. }
  103. }
  104. },
  105. "output": {
  106. "type": "structure",
  107. "members": {
  108. "payload": {
  109. "type": "blob"
  110. }
  111. },
  112. "payload": "payload"
  113. }
  114. },
  115. "ListNamedShadowsForThing": {
  116. "http": {
  117. "method": "GET",
  118. "requestUri": "/api/things/shadow/ListNamedShadowsForThing/{thingName}"
  119. },
  120. "input": {
  121. "type": "structure",
  122. "required": [
  123. "thingName"
  124. ],
  125. "members": {
  126. "thingName": {
  127. "location": "uri",
  128. "locationName": "thingName"
  129. },
  130. "nextToken": {
  131. "location": "querystring",
  132. "locationName": "nextToken"
  133. },
  134. "pageSize": {
  135. "location": "querystring",
  136. "locationName": "pageSize",
  137. "type": "integer"
  138. }
  139. }
  140. },
  141. "output": {
  142. "type": "structure",
  143. "members": {
  144. "results": {
  145. "type": "list",
  146. "member": {}
  147. },
  148. "nextToken": {},
  149. "timestamp": {
  150. "type": "long"
  151. }
  152. }
  153. }
  154. },
  155. "ListRetainedMessages": {
  156. "http": {
  157. "method": "GET",
  158. "requestUri": "/retainedMessage"
  159. },
  160. "input": {
  161. "type": "structure",
  162. "members": {
  163. "nextToken": {
  164. "location": "querystring",
  165. "locationName": "nextToken"
  166. },
  167. "maxResults": {
  168. "location": "querystring",
  169. "locationName": "maxResults",
  170. "type": "integer"
  171. }
  172. }
  173. },
  174. "output": {
  175. "type": "structure",
  176. "members": {
  177. "retainedTopics": {
  178. "type": "list",
  179. "member": {
  180. "type": "structure",
  181. "members": {
  182. "topic": {},
  183. "payloadSize": {
  184. "type": "long"
  185. },
  186. "qos": {
  187. "type": "integer"
  188. },
  189. "lastModifiedTime": {
  190. "type": "long"
  191. }
  192. }
  193. }
  194. },
  195. "nextToken": {}
  196. }
  197. }
  198. },
  199. "Publish": {
  200. "http": {
  201. "requestUri": "/topics/{topic}"
  202. },
  203. "input": {
  204. "type": "structure",
  205. "required": [
  206. "topic"
  207. ],
  208. "members": {
  209. "topic": {
  210. "location": "uri",
  211. "locationName": "topic"
  212. },
  213. "qos": {
  214. "location": "querystring",
  215. "locationName": "qos",
  216. "type": "integer"
  217. },
  218. "retain": {
  219. "location": "querystring",
  220. "locationName": "retain",
  221. "type": "boolean"
  222. },
  223. "payload": {
  224. "type": "blob"
  225. },
  226. "userProperties": {
  227. "jsonvalue": true,
  228. "location": "header",
  229. "locationName": "x-amz-mqtt5-user-properties"
  230. },
  231. "payloadFormatIndicator": {
  232. "location": "header",
  233. "locationName": "x-amz-mqtt5-payload-format-indicator"
  234. },
  235. "contentType": {
  236. "location": "querystring",
  237. "locationName": "contentType"
  238. },
  239. "responseTopic": {
  240. "location": "querystring",
  241. "locationName": "responseTopic"
  242. },
  243. "correlationData": {
  244. "location": "header",
  245. "locationName": "x-amz-mqtt5-correlation-data"
  246. },
  247. "messageExpiry": {
  248. "location": "querystring",
  249. "locationName": "messageExpiry",
  250. "type": "long"
  251. }
  252. },
  253. "payload": "payload"
  254. }
  255. },
  256. "UpdateThingShadow": {
  257. "http": {
  258. "requestUri": "/things/{thingName}/shadow"
  259. },
  260. "input": {
  261. "type": "structure",
  262. "required": [
  263. "thingName",
  264. "payload"
  265. ],
  266. "members": {
  267. "thingName": {
  268. "location": "uri",
  269. "locationName": "thingName"
  270. },
  271. "shadowName": {
  272. "location": "querystring",
  273. "locationName": "name"
  274. },
  275. "payload": {
  276. "type": "blob"
  277. }
  278. },
  279. "payload": "payload"
  280. },
  281. "output": {
  282. "type": "structure",
  283. "members": {
  284. "payload": {
  285. "type": "blob"
  286. }
  287. },
  288. "payload": "payload"
  289. }
  290. }
  291. },
  292. "shapes": {}
  293. }