mediastore-data-2017-09-01.min.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2017-09-01",
  5. "endpointPrefix": "data.mediastore",
  6. "protocol": "rest-json",
  7. "serviceAbbreviation": "MediaStore Data",
  8. "serviceFullName": "AWS Elemental MediaStore Data Plane",
  9. "serviceId": "MediaStore Data",
  10. "signatureVersion": "v4",
  11. "signingName": "mediastore",
  12. "uid": "mediastore-data-2017-09-01"
  13. },
  14. "operations": {
  15. "DeleteObject": {
  16. "http": {
  17. "method": "DELETE",
  18. "requestUri": "/{Path+}"
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "Path"
  24. ],
  25. "members": {
  26. "Path": {
  27. "location": "uri",
  28. "locationName": "Path"
  29. }
  30. }
  31. },
  32. "output": {
  33. "type": "structure",
  34. "members": {}
  35. }
  36. },
  37. "DescribeObject": {
  38. "http": {
  39. "method": "HEAD",
  40. "requestUri": "/{Path+}"
  41. },
  42. "input": {
  43. "type": "structure",
  44. "required": [
  45. "Path"
  46. ],
  47. "members": {
  48. "Path": {
  49. "location": "uri",
  50. "locationName": "Path"
  51. }
  52. }
  53. },
  54. "output": {
  55. "type": "structure",
  56. "members": {
  57. "ETag": {
  58. "location": "header",
  59. "locationName": "ETag"
  60. },
  61. "ContentType": {
  62. "location": "header",
  63. "locationName": "Content-Type"
  64. },
  65. "ContentLength": {
  66. "location": "header",
  67. "locationName": "Content-Length",
  68. "type": "long"
  69. },
  70. "CacheControl": {
  71. "location": "header",
  72. "locationName": "Cache-Control"
  73. },
  74. "LastModified": {
  75. "location": "header",
  76. "locationName": "Last-Modified",
  77. "type": "timestamp"
  78. }
  79. }
  80. }
  81. },
  82. "GetObject": {
  83. "http": {
  84. "method": "GET",
  85. "requestUri": "/{Path+}"
  86. },
  87. "input": {
  88. "type": "structure",
  89. "required": [
  90. "Path"
  91. ],
  92. "members": {
  93. "Path": {
  94. "location": "uri",
  95. "locationName": "Path"
  96. },
  97. "Range": {
  98. "location": "header",
  99. "locationName": "Range"
  100. }
  101. }
  102. },
  103. "output": {
  104. "type": "structure",
  105. "required": [
  106. "StatusCode"
  107. ],
  108. "members": {
  109. "Body": {
  110. "shape": "Se"
  111. },
  112. "CacheControl": {
  113. "location": "header",
  114. "locationName": "Cache-Control"
  115. },
  116. "ContentRange": {
  117. "location": "header",
  118. "locationName": "Content-Range"
  119. },
  120. "ContentLength": {
  121. "location": "header",
  122. "locationName": "Content-Length",
  123. "type": "long"
  124. },
  125. "ContentType": {
  126. "location": "header",
  127. "locationName": "Content-Type"
  128. },
  129. "ETag": {
  130. "location": "header",
  131. "locationName": "ETag"
  132. },
  133. "LastModified": {
  134. "location": "header",
  135. "locationName": "Last-Modified",
  136. "type": "timestamp"
  137. },
  138. "StatusCode": {
  139. "location": "statusCode",
  140. "type": "integer"
  141. }
  142. },
  143. "payload": "Body"
  144. }
  145. },
  146. "ListItems": {
  147. "http": {
  148. "method": "GET"
  149. },
  150. "input": {
  151. "type": "structure",
  152. "members": {
  153. "Path": {
  154. "location": "querystring",
  155. "locationName": "Path"
  156. },
  157. "MaxResults": {
  158. "location": "querystring",
  159. "locationName": "MaxResults",
  160. "type": "integer"
  161. },
  162. "NextToken": {
  163. "location": "querystring",
  164. "locationName": "NextToken"
  165. }
  166. }
  167. },
  168. "output": {
  169. "type": "structure",
  170. "members": {
  171. "Items": {
  172. "type": "list",
  173. "member": {
  174. "type": "structure",
  175. "members": {
  176. "Name": {},
  177. "Type": {},
  178. "ETag": {},
  179. "LastModified": {
  180. "type": "timestamp"
  181. },
  182. "ContentType": {},
  183. "ContentLength": {
  184. "type": "long"
  185. }
  186. }
  187. }
  188. },
  189. "NextToken": {}
  190. }
  191. }
  192. },
  193. "PutObject": {
  194. "http": {
  195. "method": "PUT",
  196. "requestUri": "/{Path+}"
  197. },
  198. "input": {
  199. "type": "structure",
  200. "required": [
  201. "Body",
  202. "Path"
  203. ],
  204. "members": {
  205. "Body": {
  206. "shape": "Se"
  207. },
  208. "Path": {
  209. "location": "uri",
  210. "locationName": "Path"
  211. },
  212. "ContentType": {
  213. "location": "header",
  214. "locationName": "Content-Type"
  215. },
  216. "CacheControl": {
  217. "location": "header",
  218. "locationName": "Cache-Control"
  219. },
  220. "StorageClass": {
  221. "location": "header",
  222. "locationName": "x-amz-storage-class"
  223. },
  224. "UploadAvailability": {
  225. "location": "header",
  226. "locationName": "x-amz-upload-availability"
  227. }
  228. },
  229. "payload": "Body"
  230. },
  231. "output": {
  232. "type": "structure",
  233. "members": {
  234. "ContentSHA256": {},
  235. "ETag": {},
  236. "StorageClass": {}
  237. }
  238. },
  239. "authtype": "v4-unsigned-body"
  240. }
  241. },
  242. "shapes": {
  243. "Se": {
  244. "type": "blob",
  245. "streaming": true
  246. }
  247. }
  248. }