ebs-2019-11-02.min.json 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2019-11-02",
  5. "endpointPrefix": "ebs",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceAbbreviation": "Amazon EBS",
  9. "serviceFullName": "Amazon Elastic Block Store",
  10. "serviceId": "EBS",
  11. "signatureVersion": "v4",
  12. "uid": "ebs-2019-11-02"
  13. },
  14. "operations": {
  15. "CompleteSnapshot": {
  16. "http": {
  17. "requestUri": "/snapshots/completion/{snapshotId}",
  18. "responseCode": 202
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "SnapshotId",
  24. "ChangedBlocksCount"
  25. ],
  26. "members": {
  27. "SnapshotId": {
  28. "location": "uri",
  29. "locationName": "snapshotId"
  30. },
  31. "ChangedBlocksCount": {
  32. "location": "header",
  33. "locationName": "x-amz-ChangedBlocksCount",
  34. "type": "integer"
  35. },
  36. "Checksum": {
  37. "location": "header",
  38. "locationName": "x-amz-Checksum"
  39. },
  40. "ChecksumAlgorithm": {
  41. "location": "header",
  42. "locationName": "x-amz-Checksum-Algorithm"
  43. },
  44. "ChecksumAggregationMethod": {
  45. "location": "header",
  46. "locationName": "x-amz-Checksum-Aggregation-Method"
  47. }
  48. }
  49. },
  50. "output": {
  51. "type": "structure",
  52. "members": {
  53. "Status": {}
  54. }
  55. }
  56. },
  57. "GetSnapshotBlock": {
  58. "http": {
  59. "method": "GET",
  60. "requestUri": "/snapshots/{snapshotId}/blocks/{blockIndex}"
  61. },
  62. "input": {
  63. "type": "structure",
  64. "required": [
  65. "SnapshotId",
  66. "BlockIndex",
  67. "BlockToken"
  68. ],
  69. "members": {
  70. "SnapshotId": {
  71. "location": "uri",
  72. "locationName": "snapshotId"
  73. },
  74. "BlockIndex": {
  75. "location": "uri",
  76. "locationName": "blockIndex",
  77. "type": "integer"
  78. },
  79. "BlockToken": {
  80. "location": "querystring",
  81. "locationName": "blockToken"
  82. }
  83. }
  84. },
  85. "output": {
  86. "type": "structure",
  87. "members": {
  88. "DataLength": {
  89. "location": "header",
  90. "locationName": "x-amz-Data-Length",
  91. "type": "integer"
  92. },
  93. "BlockData": {
  94. "shape": "Se"
  95. },
  96. "Checksum": {
  97. "location": "header",
  98. "locationName": "x-amz-Checksum"
  99. },
  100. "ChecksumAlgorithm": {
  101. "location": "header",
  102. "locationName": "x-amz-Checksum-Algorithm"
  103. }
  104. },
  105. "payload": "BlockData"
  106. }
  107. },
  108. "ListChangedBlocks": {
  109. "http": {
  110. "method": "GET",
  111. "requestUri": "/snapshots/{secondSnapshotId}/changedblocks"
  112. },
  113. "input": {
  114. "type": "structure",
  115. "required": [
  116. "SecondSnapshotId"
  117. ],
  118. "members": {
  119. "FirstSnapshotId": {
  120. "location": "querystring",
  121. "locationName": "firstSnapshotId"
  122. },
  123. "SecondSnapshotId": {
  124. "location": "uri",
  125. "locationName": "secondSnapshotId"
  126. },
  127. "NextToken": {
  128. "location": "querystring",
  129. "locationName": "pageToken"
  130. },
  131. "MaxResults": {
  132. "location": "querystring",
  133. "locationName": "maxResults",
  134. "type": "integer"
  135. },
  136. "StartingBlockIndex": {
  137. "location": "querystring",
  138. "locationName": "startingBlockIndex",
  139. "type": "integer"
  140. }
  141. }
  142. },
  143. "output": {
  144. "type": "structure",
  145. "members": {
  146. "ChangedBlocks": {
  147. "type": "list",
  148. "member": {
  149. "type": "structure",
  150. "members": {
  151. "BlockIndex": {
  152. "type": "integer"
  153. },
  154. "FirstBlockToken": {},
  155. "SecondBlockToken": {}
  156. },
  157. "sensitive": true
  158. }
  159. },
  160. "ExpiryTime": {
  161. "type": "timestamp"
  162. },
  163. "VolumeSize": {
  164. "type": "long"
  165. },
  166. "BlockSize": {
  167. "type": "integer"
  168. },
  169. "NextToken": {}
  170. }
  171. }
  172. },
  173. "ListSnapshotBlocks": {
  174. "http": {
  175. "method": "GET",
  176. "requestUri": "/snapshots/{snapshotId}/blocks"
  177. },
  178. "input": {
  179. "type": "structure",
  180. "required": [
  181. "SnapshotId"
  182. ],
  183. "members": {
  184. "SnapshotId": {
  185. "location": "uri",
  186. "locationName": "snapshotId"
  187. },
  188. "NextToken": {
  189. "location": "querystring",
  190. "locationName": "pageToken"
  191. },
  192. "MaxResults": {
  193. "location": "querystring",
  194. "locationName": "maxResults",
  195. "type": "integer"
  196. },
  197. "StartingBlockIndex": {
  198. "location": "querystring",
  199. "locationName": "startingBlockIndex",
  200. "type": "integer"
  201. }
  202. }
  203. },
  204. "output": {
  205. "type": "structure",
  206. "members": {
  207. "Blocks": {
  208. "type": "list",
  209. "member": {
  210. "type": "structure",
  211. "members": {
  212. "BlockIndex": {
  213. "type": "integer"
  214. },
  215. "BlockToken": {}
  216. }
  217. },
  218. "sensitive": true
  219. },
  220. "ExpiryTime": {
  221. "type": "timestamp"
  222. },
  223. "VolumeSize": {
  224. "type": "long"
  225. },
  226. "BlockSize": {
  227. "type": "integer"
  228. },
  229. "NextToken": {}
  230. }
  231. }
  232. },
  233. "PutSnapshotBlock": {
  234. "http": {
  235. "method": "PUT",
  236. "requestUri": "/snapshots/{snapshotId}/blocks/{blockIndex}",
  237. "responseCode": 201
  238. },
  239. "input": {
  240. "type": "structure",
  241. "required": [
  242. "SnapshotId",
  243. "BlockIndex",
  244. "BlockData",
  245. "DataLength",
  246. "Checksum",
  247. "ChecksumAlgorithm"
  248. ],
  249. "members": {
  250. "SnapshotId": {
  251. "location": "uri",
  252. "locationName": "snapshotId"
  253. },
  254. "BlockIndex": {
  255. "location": "uri",
  256. "locationName": "blockIndex",
  257. "type": "integer"
  258. },
  259. "BlockData": {
  260. "shape": "Se"
  261. },
  262. "DataLength": {
  263. "location": "header",
  264. "locationName": "x-amz-Data-Length",
  265. "type": "integer"
  266. },
  267. "Progress": {
  268. "location": "header",
  269. "locationName": "x-amz-Progress",
  270. "type": "integer"
  271. },
  272. "Checksum": {
  273. "location": "header",
  274. "locationName": "x-amz-Checksum"
  275. },
  276. "ChecksumAlgorithm": {
  277. "location": "header",
  278. "locationName": "x-amz-Checksum-Algorithm"
  279. }
  280. },
  281. "payload": "BlockData"
  282. },
  283. "output": {
  284. "type": "structure",
  285. "members": {
  286. "Checksum": {
  287. "location": "header",
  288. "locationName": "x-amz-Checksum"
  289. },
  290. "ChecksumAlgorithm": {
  291. "location": "header",
  292. "locationName": "x-amz-Checksum-Algorithm"
  293. }
  294. }
  295. },
  296. "authtype": "v4-unsigned-body"
  297. },
  298. "StartSnapshot": {
  299. "http": {
  300. "requestUri": "/snapshots",
  301. "responseCode": 201
  302. },
  303. "input": {
  304. "type": "structure",
  305. "required": [
  306. "VolumeSize"
  307. ],
  308. "members": {
  309. "VolumeSize": {
  310. "type": "long"
  311. },
  312. "ParentSnapshotId": {},
  313. "Tags": {
  314. "shape": "Sw"
  315. },
  316. "Description": {},
  317. "ClientToken": {
  318. "idempotencyToken": true
  319. },
  320. "Encrypted": {
  321. "type": "boolean"
  322. },
  323. "KmsKeyArn": {
  324. "shape": "S13"
  325. },
  326. "Timeout": {
  327. "type": "integer"
  328. }
  329. }
  330. },
  331. "output": {
  332. "type": "structure",
  333. "members": {
  334. "Description": {},
  335. "SnapshotId": {},
  336. "OwnerId": {},
  337. "Status": {},
  338. "StartTime": {
  339. "type": "timestamp"
  340. },
  341. "VolumeSize": {
  342. "type": "long"
  343. },
  344. "BlockSize": {
  345. "type": "integer"
  346. },
  347. "Tags": {
  348. "shape": "Sw"
  349. },
  350. "ParentSnapshotId": {},
  351. "KmsKeyArn": {
  352. "shape": "S13"
  353. },
  354. "SseType": {}
  355. }
  356. }
  357. }
  358. },
  359. "shapes": {
  360. "Se": {
  361. "type": "blob",
  362. "sensitive": true,
  363. "streaming": true
  364. },
  365. "Sw": {
  366. "type": "list",
  367. "member": {
  368. "type": "structure",
  369. "members": {
  370. "Key": {},
  371. "Value": {}
  372. }
  373. }
  374. },
  375. "S13": {
  376. "type": "string",
  377. "sensitive": true
  378. }
  379. }
  380. }