@aws-sdk/client-glacier 3.32.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/Glacier.js +1 -2
  3. package/{dist/cjs → dist-cjs}/GlacierClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AbortMultipartUploadCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/AbortVaultLockCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/AddTagsToVaultCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CompleteMultipartUploadCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CompleteVaultLockCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateVaultCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteArchiveCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteVaultAccessPolicyCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteVaultCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteVaultNotificationsCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DescribeJobCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DescribeVaultCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/GetDataRetrievalPolicyCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/GetJobOutputCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/GetVaultAccessPolicyCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/GetVaultLockCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetVaultNotificationsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/InitiateJobCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/InitiateMultipartUploadCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/InitiateVaultLockCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/ListMultipartUploadsCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/ListPartsCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/ListProvisionedCapacityCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/ListTagsForVaultCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/ListVaultsCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/PurchaseProvisionedCapacityCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromVaultCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/SetDataRetrievalPolicyCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/SetVaultAccessPolicyCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/SetVaultNotificationsCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/UploadArchiveCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/UploadMultipartPartCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  38. package/{dist/cjs → dist-cjs}/index.js +0 -1
  39. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  40. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  41. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  42. package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -2
  43. package/{dist/cjs → dist-cjs}/pagination/ListMultipartUploadsPaginator.js +1 -2
  44. package/{dist/cjs → dist-cjs}/pagination/ListPartsPaginator.js +1 -2
  45. package/{dist/cjs → dist-cjs}/pagination/ListVaultsPaginator.js +1 -2
  46. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -1
  47. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  48. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  49. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  51. package/{dist/cjs → dist-cjs}/waiters/waitForVaultExists.js +2 -3
  52. package/{dist/cjs → dist-cjs}/waiters/waitForVaultNotExists.js +2 -3
  53. package/{dist/es → dist-es}/Glacier.js +2 -43
  54. package/dist-es/GlacierClient.js +39 -0
  55. package/dist-es/commands/AbortMultipartUploadCommand.js +39 -0
  56. package/dist-es/commands/AbortVaultLockCommand.js +39 -0
  57. package/{dist/es → dist-es}/commands/AddTagsToVaultCommand.js +4 -35
  58. package/dist-es/commands/CompleteMultipartUploadCommand.js +39 -0
  59. package/dist-es/commands/CompleteVaultLockCommand.js +39 -0
  60. package/dist-es/commands/CreateVaultCommand.js +39 -0
  61. package/dist-es/commands/DeleteArchiveCommand.js +39 -0
  62. package/{dist/es → dist-es}/commands/DeleteVaultAccessPolicyCommand.js +4 -36
  63. package/dist-es/commands/DeleteVaultCommand.js +39 -0
  64. package/dist-es/commands/DeleteVaultNotificationsCommand.js +39 -0
  65. package/dist-es/commands/DescribeJobCommand.js +39 -0
  66. package/dist-es/commands/DescribeVaultCommand.js +39 -0
  67. package/{dist/es → dist-es}/commands/GetDataRetrievalPolicyCommand.js +4 -32
  68. package/dist-es/commands/GetJobOutputCommand.js +39 -0
  69. package/{dist/es → dist-es}/commands/GetVaultAccessPolicyCommand.js +4 -35
  70. package/dist-es/commands/GetVaultLockCommand.js +39 -0
  71. package/dist-es/commands/GetVaultNotificationsCommand.js +39 -0
  72. package/{dist/es → dist-es}/commands/InitiateJobCommand.js +4 -34
  73. package/dist-es/commands/InitiateMultipartUploadCommand.js +39 -0
  74. package/dist-es/commands/InitiateVaultLockCommand.js +39 -0
  75. package/dist-es/commands/ListJobsCommand.js +39 -0
  76. package/dist-es/commands/ListMultipartUploadsCommand.js +39 -0
  77. package/dist-es/commands/ListPartsCommand.js +39 -0
  78. package/{dist/es → dist-es}/commands/ListProvisionedCapacityCommand.js +4 -31
  79. package/{dist/es → dist-es}/commands/ListTagsForVaultCommand.js +4 -32
  80. package/dist-es/commands/ListVaultsCommand.js +39 -0
  81. package/{dist/es → dist-es}/commands/PurchaseProvisionedCapacityCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/RemoveTagsFromVaultCommand.js +4 -33
  83. package/{dist/es → dist-es}/commands/SetDataRetrievalPolicyCommand.js +4 -35
  84. package/{dist/es → dist-es}/commands/SetVaultAccessPolicyCommand.js +4 -35
  85. package/dist-es/commands/SetVaultNotificationsCommand.js +39 -0
  86. package/dist-es/commands/UploadArchiveCommand.js +39 -0
  87. package/dist-es/commands/UploadMultipartPartCommand.js +39 -0
  88. package/{dist/es → dist-es}/endpoints.js +1 -2
  89. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  90. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  91. package/{dist/es → dist-es}/models/models_0.js +0 -247
  92. package/dist-es/pagination/Interfaces.js +1 -0
  93. package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +17 -30
  94. package/{dist/es → dist-es}/pagination/ListMultipartUploadsPaginator.js +17 -30
  95. package/{dist/es → dist-es}/pagination/ListPartsPaginator.js +17 -30
  96. package/{dist/es → dist-es}/pagination/ListVaultsPaginator.js +17 -30
  97. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +840 -846
  98. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  99. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  100. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  101. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  102. package/{dist/es → dist-es}/waiters/waitForVaultExists.js +9 -19
  103. package/{dist/es → dist-es}/waiters/waitForVaultNotExists.js +9 -19
  104. package/{dist/types → dist-types}/Glacier.d.ts +2 -2
  105. package/{dist/types → dist-types}/GlacierClient.d.ts +8 -8
  106. package/{dist/types → dist-types}/commands/AbortMultipartUploadCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/AbortVaultLockCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/AddTagsToVaultCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/CompleteMultipartUploadCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/CompleteVaultLockCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/CreateVaultCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/DeleteArchiveCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DeleteVaultAccessPolicyCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/DeleteVaultCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/DeleteVaultNotificationsCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/DescribeJobCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DescribeVaultCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/GetDataRetrievalPolicyCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/GetJobOutputCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/GetVaultAccessPolicyCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/GetVaultLockCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/GetVaultNotificationsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/InitiateJobCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/InitiateMultipartUploadCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/InitiateVaultLockCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/ListMultipartUploadsCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/ListPartsCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/ListProvisionedCapacityCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/ListTagsForVaultCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/ListVaultsCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/RemoveTagsFromVaultCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/SetDataRetrievalPolicyCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/SetVaultAccessPolicyCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/SetVaultNotificationsCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/UploadArchiveCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/UploadMultipartPartCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  140. package/{index.ts → dist-types/index.d.ts} +0 -0
  141. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  142. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  143. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  144. package/{dist/types → dist-types}/pagination/ListJobsPaginator.d.ts +1 -1
  145. package/{dist/types → dist-types}/pagination/ListMultipartUploadsPaginator.d.ts +1 -1
  146. package/{dist/types → dist-types}/pagination/ListPartsPaginator.d.ts +1 -1
  147. package/{dist/types → dist-types}/pagination/ListVaultsPaginator.d.ts +1 -1
  148. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  149. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  150. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  151. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  152. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  153. package/{dist/types → dist-types}/ts3.4/Glacier.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/GlacierClient.d.ts +8 -8
  155. package/{dist/types → dist-types}/ts3.4/commands/AbortMultipartUploadCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/AbortVaultLockCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/AddTagsToVaultCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/CompleteVaultLockCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/CreateVaultCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/commands/DeleteVaultCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/ts3.4/commands/DescribeJobCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/commands/DescribeVaultCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/commands/GetJobOutputCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/commands/GetVaultLockCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/ts3.4/commands/GetVaultNotificationsCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/ts3.4/commands/InitiateJobCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/ts3.4/commands/InitiateVaultLockCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/ts3.4/commands/ListJobsCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/ts3.4/commands/ListMultipartUploadsCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/ts3.4/commands/ListPartsCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForVaultCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/ts3.4/commands/ListVaultsCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/ts3.4/commands/SetVaultNotificationsCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/ts3.4/commands/UploadArchiveCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/commands/UploadMultipartPartCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  189. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  190. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  191. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  192. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  193. package/{dist/types → dist-types}/ts3.4/pagination/ListJobsPaginator.d.ts +1 -1
  194. package/{dist/types → dist-types}/ts3.4/pagination/ListMultipartUploadsPaginator.d.ts +1 -1
  195. package/{dist/types → dist-types}/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
  196. package/{dist/types → dist-types}/ts3.4/pagination/ListVaultsPaginator.d.ts +1 -1
  197. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  198. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  199. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  200. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  201. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  202. package/{dist/types → dist-types}/ts3.4/waiters/waitForVaultExists.d.ts +2 -2
  203. package/{dist/types → dist-types}/ts3.4/waiters/waitForVaultNotExists.d.ts +2 -2
  204. package/{dist/types → dist-types}/waiters/waitForVaultExists.d.ts +2 -2
  205. package/{dist/types → dist-types}/waiters/waitForVaultNotExists.d.ts +2 -2
  206. package/package.json +56 -53
  207. package/Glacier.ts +0 -1789
  208. package/GlacierClient.ts +0 -431
  209. package/commands/AbortMultipartUploadCommand.ts +0 -111
  210. package/commands/AbortVaultLockCommand.ts +0 -107
  211. package/commands/AddTagsToVaultCommand.ts +0 -99
  212. package/commands/CompleteMultipartUploadCommand.ts +0 -131
  213. package/commands/CompleteVaultLockCommand.ts +0 -107
  214. package/commands/CreateVaultCommand.ts +0 -117
  215. package/commands/DeleteArchiveCommand.ts +0 -120
  216. package/commands/DeleteVaultAccessPolicyCommand.ts +0 -100
  217. package/commands/DeleteVaultCommand.ts +0 -113
  218. package/commands/DeleteVaultNotificationsCommand.ts +0 -106
  219. package/commands/DescribeJobCommand.ts +0 -117
  220. package/commands/DescribeVaultCommand.ts +0 -111
  221. package/commands/GetDataRetrievalPolicyCommand.ts +0 -96
  222. package/commands/GetJobOutputCommand.ts +0 -130
  223. package/commands/GetVaultAccessPolicyCommand.ts +0 -99
  224. package/commands/GetVaultLockCommand.ts +0 -121
  225. package/commands/GetVaultNotificationsCommand.ts +0 -109
  226. package/commands/InitiateJobCommand.ts +0 -98
  227. package/commands/InitiateMultipartUploadCommand.ts +0 -127
  228. package/commands/InitiateVaultLockCommand.ts +0 -128
  229. package/commands/ListJobsCommand.ts +0 -129
  230. package/commands/ListMultipartUploadsCommand.ts +0 -119
  231. package/commands/ListPartsCommand.ts +0 -115
  232. package/commands/ListProvisionedCapacityCommand.ts +0 -95
  233. package/commands/ListTagsForVaultCommand.ts +0 -96
  234. package/commands/ListVaultsCommand.ts +0 -112
  235. package/commands/PurchaseProvisionedCapacityCommand.ts +0 -97
  236. package/commands/RemoveTagsFromVaultCommand.ts +0 -97
  237. package/commands/SetDataRetrievalPolicyCommand.ts +0 -99
  238. package/commands/SetVaultAccessPolicyCommand.ts +0 -99
  239. package/commands/SetVaultNotificationsCommand.ts +0 -131
  240. package/commands/UploadArchiveCommand.ts +0 -134
  241. package/commands/UploadMultipartPartCommand.ts +0 -153
  242. package/dist/cjs/Glacier.js.map +0 -1
  243. package/dist/cjs/GlacierClient.js.map +0 -1
  244. package/dist/cjs/commands/AbortMultipartUploadCommand.js.map +0 -1
  245. package/dist/cjs/commands/AbortVaultLockCommand.js.map +0 -1
  246. package/dist/cjs/commands/AddTagsToVaultCommand.js.map +0 -1
  247. package/dist/cjs/commands/CompleteMultipartUploadCommand.js.map +0 -1
  248. package/dist/cjs/commands/CompleteVaultLockCommand.js.map +0 -1
  249. package/dist/cjs/commands/CreateVaultCommand.js.map +0 -1
  250. package/dist/cjs/commands/DeleteArchiveCommand.js.map +0 -1
  251. package/dist/cjs/commands/DeleteVaultAccessPolicyCommand.js.map +0 -1
  252. package/dist/cjs/commands/DeleteVaultCommand.js.map +0 -1
  253. package/dist/cjs/commands/DeleteVaultNotificationsCommand.js.map +0 -1
  254. package/dist/cjs/commands/DescribeJobCommand.js.map +0 -1
  255. package/dist/cjs/commands/DescribeVaultCommand.js.map +0 -1
  256. package/dist/cjs/commands/GetDataRetrievalPolicyCommand.js.map +0 -1
  257. package/dist/cjs/commands/GetJobOutputCommand.js.map +0 -1
  258. package/dist/cjs/commands/GetVaultAccessPolicyCommand.js.map +0 -1
  259. package/dist/cjs/commands/GetVaultLockCommand.js.map +0 -1
  260. package/dist/cjs/commands/GetVaultNotificationsCommand.js.map +0 -1
  261. package/dist/cjs/commands/InitiateJobCommand.js.map +0 -1
  262. package/dist/cjs/commands/InitiateMultipartUploadCommand.js.map +0 -1
  263. package/dist/cjs/commands/InitiateVaultLockCommand.js.map +0 -1
  264. package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
  265. package/dist/cjs/commands/ListMultipartUploadsCommand.js.map +0 -1
  266. package/dist/cjs/commands/ListPartsCommand.js.map +0 -1
  267. package/dist/cjs/commands/ListProvisionedCapacityCommand.js.map +0 -1
  268. package/dist/cjs/commands/ListTagsForVaultCommand.js.map +0 -1
  269. package/dist/cjs/commands/ListVaultsCommand.js.map +0 -1
  270. package/dist/cjs/commands/PurchaseProvisionedCapacityCommand.js.map +0 -1
  271. package/dist/cjs/commands/RemoveTagsFromVaultCommand.js.map +0 -1
  272. package/dist/cjs/commands/SetDataRetrievalPolicyCommand.js.map +0 -1
  273. package/dist/cjs/commands/SetVaultAccessPolicyCommand.js.map +0 -1
  274. package/dist/cjs/commands/SetVaultNotificationsCommand.js.map +0 -1
  275. package/dist/cjs/commands/UploadArchiveCommand.js.map +0 -1
  276. package/dist/cjs/commands/UploadMultipartPartCommand.js.map +0 -1
  277. package/dist/cjs/endpoints.js.map +0 -1
  278. package/dist/cjs/index.js.map +0 -1
  279. package/dist/cjs/models/index.js.map +0 -1
  280. package/dist/cjs/models/models_0.js.map +0 -1
  281. package/dist/cjs/package.json +0 -95
  282. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  283. package/dist/cjs/pagination/ListJobsPaginator.js.map +0 -1
  284. package/dist/cjs/pagination/ListMultipartUploadsPaginator.js.map +0 -1
  285. package/dist/cjs/pagination/ListPartsPaginator.js.map +0 -1
  286. package/dist/cjs/pagination/ListVaultsPaginator.js.map +0 -1
  287. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  288. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  289. package/dist/cjs/runtimeConfig.js.map +0 -1
  290. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  291. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  292. package/dist/cjs/waiters/waitForVaultExists.js.map +0 -1
  293. package/dist/cjs/waiters/waitForVaultNotExists.js.map +0 -1
  294. package/dist/es/Glacier.js.map +0 -1
  295. package/dist/es/GlacierClient.js +0 -85
  296. package/dist/es/GlacierClient.js.map +0 -1
  297. package/dist/es/commands/AbortMultipartUploadCommand.js +0 -82
  298. package/dist/es/commands/AbortMultipartUploadCommand.js.map +0 -1
  299. package/dist/es/commands/AbortVaultLockCommand.js +0 -78
  300. package/dist/es/commands/AbortVaultLockCommand.js.map +0 -1
  301. package/dist/es/commands/AddTagsToVaultCommand.js.map +0 -1
  302. package/dist/es/commands/CompleteMultipartUploadCommand.js +0 -102
  303. package/dist/es/commands/CompleteMultipartUploadCommand.js.map +0 -1
  304. package/dist/es/commands/CompleteVaultLockCommand.js +0 -78
  305. package/dist/es/commands/CompleteVaultLockCommand.js.map +0 -1
  306. package/dist/es/commands/CreateVaultCommand.js +0 -88
  307. package/dist/es/commands/CreateVaultCommand.js.map +0 -1
  308. package/dist/es/commands/DeleteArchiveCommand.js +0 -91
  309. package/dist/es/commands/DeleteArchiveCommand.js.map +0 -1
  310. package/dist/es/commands/DeleteVaultAccessPolicyCommand.js.map +0 -1
  311. package/dist/es/commands/DeleteVaultCommand.js +0 -84
  312. package/dist/es/commands/DeleteVaultCommand.js.map +0 -1
  313. package/dist/es/commands/DeleteVaultNotificationsCommand.js +0 -77
  314. package/dist/es/commands/DeleteVaultNotificationsCommand.js.map +0 -1
  315. package/dist/es/commands/DescribeJobCommand.js +0 -88
  316. package/dist/es/commands/DescribeJobCommand.js.map +0 -1
  317. package/dist/es/commands/DescribeVaultCommand.js +0 -82
  318. package/dist/es/commands/DescribeVaultCommand.js.map +0 -1
  319. package/dist/es/commands/GetDataRetrievalPolicyCommand.js.map +0 -1
  320. package/dist/es/commands/GetJobOutputCommand.js +0 -101
  321. package/dist/es/commands/GetJobOutputCommand.js.map +0 -1
  322. package/dist/es/commands/GetVaultAccessPolicyCommand.js.map +0 -1
  323. package/dist/es/commands/GetVaultLockCommand.js +0 -92
  324. package/dist/es/commands/GetVaultLockCommand.js.map +0 -1
  325. package/dist/es/commands/GetVaultNotificationsCommand.js +0 -80
  326. package/dist/es/commands/GetVaultNotificationsCommand.js.map +0 -1
  327. package/dist/es/commands/InitiateJobCommand.js.map +0 -1
  328. package/dist/es/commands/InitiateMultipartUploadCommand.js +0 -98
  329. package/dist/es/commands/InitiateMultipartUploadCommand.js.map +0 -1
  330. package/dist/es/commands/InitiateVaultLockCommand.js +0 -99
  331. package/dist/es/commands/InitiateVaultLockCommand.js.map +0 -1
  332. package/dist/es/commands/ListJobsCommand.js +0 -100
  333. package/dist/es/commands/ListJobsCommand.js.map +0 -1
  334. package/dist/es/commands/ListMultipartUploadsCommand.js +0 -90
  335. package/dist/es/commands/ListMultipartUploadsCommand.js.map +0 -1
  336. package/dist/es/commands/ListPartsCommand.js +0 -86
  337. package/dist/es/commands/ListPartsCommand.js.map +0 -1
  338. package/dist/es/commands/ListProvisionedCapacityCommand.js.map +0 -1
  339. package/dist/es/commands/ListTagsForVaultCommand.js.map +0 -1
  340. package/dist/es/commands/ListVaultsCommand.js +0 -83
  341. package/dist/es/commands/ListVaultsCommand.js.map +0 -1
  342. package/dist/es/commands/PurchaseProvisionedCapacityCommand.js.map +0 -1
  343. package/dist/es/commands/RemoveTagsFromVaultCommand.js.map +0 -1
  344. package/dist/es/commands/SetDataRetrievalPolicyCommand.js.map +0 -1
  345. package/dist/es/commands/SetVaultAccessPolicyCommand.js.map +0 -1
  346. package/dist/es/commands/SetVaultNotificationsCommand.js +0 -102
  347. package/dist/es/commands/SetVaultNotificationsCommand.js.map +0 -1
  348. package/dist/es/commands/UploadArchiveCommand.js +0 -96
  349. package/dist/es/commands/UploadArchiveCommand.js.map +0 -1
  350. package/dist/es/commands/UploadMultipartPartCommand.js +0 -115
  351. package/dist/es/commands/UploadMultipartPartCommand.js.map +0 -1
  352. package/dist/es/endpoints.js.map +0 -1
  353. package/dist/es/index.js +0 -44
  354. package/dist/es/index.js.map +0 -1
  355. package/dist/es/models/index.js +0 -2
  356. package/dist/es/models/index.js.map +0 -1
  357. package/dist/es/models/models_0.js.map +0 -1
  358. package/dist/es/package.json +0 -95
  359. package/dist/es/pagination/Interfaces.js +0 -2
  360. package/dist/es/pagination/Interfaces.js.map +0 -1
  361. package/dist/es/pagination/ListJobsPaginator.js.map +0 -1
  362. package/dist/es/pagination/ListMultipartUploadsPaginator.js.map +0 -1
  363. package/dist/es/pagination/ListPartsPaginator.js.map +0 -1
  364. package/dist/es/pagination/ListVaultsPaginator.js.map +0 -1
  365. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  366. package/dist/es/runtimeConfig.browser.js.map +0 -1
  367. package/dist/es/runtimeConfig.js.map +0 -1
  368. package/dist/es/runtimeConfig.native.js.map +0 -1
  369. package/dist/es/runtimeConfig.shared.js.map +0 -1
  370. package/dist/es/waiters/waitForVaultExists.js.map +0 -1
  371. package/dist/es/waiters/waitForVaultNotExists.js.map +0 -1
  372. package/endpoints.ts +0 -91
  373. package/jest.config.js +0 -4
  374. package/models/models_0.ts +0 -2898
  375. package/pagination/Interfaces.ts +0 -7
  376. package/pagination/ListJobsPaginator.ts +0 -54
  377. package/pagination/ListMultipartUploadsPaginator.ts +0 -58
  378. package/pagination/ListPartsPaginator.ts +0 -54
  379. package/pagination/ListVaultsPaginator.ts +0 -54
  380. package/protocols/Aws_restJson1.ts +0 -5188
  381. package/runtimeConfig.browser.ts +0 -42
  382. package/runtimeConfig.native.ts +0 -16
  383. package/runtimeConfig.shared.ts +0 -16
  384. package/runtimeConfig.ts +0 -47
  385. package/tsconfig.es.json +0 -12
  386. package/tsconfig.json +0 -32
  387. package/waiters/waitForVaultExists.ts +0 -42
  388. package/waiters/waitForVaultNotExists.ts +0 -42
@@ -1,128 +0,0 @@
1
- import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
2
- import { InitiateVaultLockInput, InitiateVaultLockOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1InitiateVaultLockCommand,
5
- serializeAws_restJson1InitiateVaultLockCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface InitiateVaultLockCommandInput extends InitiateVaultLockInput {}
21
- export interface InitiateVaultLockCommandOutput extends InitiateVaultLockOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation initiates the vault locking process by doing the following:</p>
25
- * <ul>
26
- * <li>
27
- * <p>Installing a vault lock policy on the specified vault.</p>
28
- * </li>
29
- * <li>
30
- * <p>Setting the lock state of vault lock to <code>InProgress</code>.</p>
31
- * </li>
32
- * <li>
33
- * <p>Returning a lock ID, which is used to complete the vault locking
34
- * process.</p>
35
- * </li>
36
- * </ul>
37
- *
38
- * <p>You can set one vault lock policy for each vault and this policy can be up to 20 KB
39
- * in size. For more information about vault lock policies, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock-policy.html">Amazon Glacier Access Control with
40
- * Vault Lock Policies</a>. </p>
41
- * <p>You must complete the vault locking process within 24 hours after the vault lock
42
- * enters the <code>InProgress</code> state. After the 24 hour window ends, the lock ID
43
- * expires, the vault automatically exits the <code>InProgress</code> state, and the vault
44
- * lock policy is removed from the vault. You call <a>CompleteVaultLock</a> to
45
- * complete the vault locking process by setting the state of the vault lock to
46
- * <code>Locked</code>. </p>
47
- * <p>After a vault lock is in the <code>Locked</code> state, you cannot initiate a new
48
- * vault lock for the vault.</p>
49
- *
50
- * <p>You can abort the vault locking process by calling <a>AbortVaultLock</a>.
51
- * You can get the state of the vault lock by calling <a>GetVaultLock</a>. For more
52
- * information about the vault locking process, <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html">Amazon Glacier Vault
53
- * Lock</a>.</p>
54
- *
55
- * <p>If this operation is called when the vault lock is in the <code>InProgress</code>
56
- * state, the operation returns an <code>AccessDeniedException</code> error. When the vault
57
- * lock is in the <code>InProgress</code> state you must call <a>AbortVaultLock</a>
58
- * before you can initiate a new vault lock policy. </p>
59
- * @example
60
- * Use a bare-bones client and the command you need to make an API call.
61
- * ```javascript
62
- * import { GlacierClient, InitiateVaultLockCommand } from "@aws-sdk/client-glacier"; // ES Modules import
63
- * // const { GlacierClient, InitiateVaultLockCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
64
- * const client = new GlacierClient(config);
65
- * const command = new InitiateVaultLockCommand(input);
66
- * const response = await client.send(command);
67
- * ```
68
- *
69
- * @see {@link InitiateVaultLockCommandInput} for command's `input` shape.
70
- * @see {@link InitiateVaultLockCommandOutput} for command's `response` shape.
71
- * @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
72
- *
73
- */
74
- export class InitiateVaultLockCommand extends $Command<
75
- InitiateVaultLockCommandInput,
76
- InitiateVaultLockCommandOutput,
77
- GlacierClientResolvedConfig
78
- > {
79
- // Start section: command_properties
80
- // End section: command_properties
81
-
82
- constructor(readonly input: InitiateVaultLockCommandInput) {
83
- // Start section: command_constructor
84
- super();
85
- // End section: command_constructor
86
- }
87
-
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(
92
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
93
- configuration: GlacierClientResolvedConfig,
94
- options?: __HttpHandlerOptions
95
- ): Handler<InitiateVaultLockCommandInput, InitiateVaultLockCommandOutput> {
96
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
97
-
98
- const stack = clientStack.concat(this.middlewareStack);
99
-
100
- const { logger } = configuration;
101
- const clientName = "GlacierClient";
102
- const commandName = "InitiateVaultLockCommand";
103
- const handlerExecutionContext: HandlerExecutionContext = {
104
- logger,
105
- clientName,
106
- commandName,
107
- inputFilterSensitiveLog: InitiateVaultLockInput.filterSensitiveLog,
108
- outputFilterSensitiveLog: InitiateVaultLockOutput.filterSensitiveLog,
109
- };
110
- const { requestHandler } = configuration;
111
- return stack.resolve(
112
- (request: FinalizeHandlerArguments<any>) =>
113
- requestHandler.handle(request.request as __HttpRequest, options || {}),
114
- handlerExecutionContext
115
- );
116
- }
117
-
118
- private serialize(input: InitiateVaultLockCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
119
- return serializeAws_restJson1InitiateVaultLockCommand(input, context);
120
- }
121
-
122
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<InitiateVaultLockCommandOutput> {
123
- return deserializeAws_restJson1InitiateVaultLockCommand(output, context);
124
- }
125
-
126
- // Start section: command_body_extra
127
- // End section: command_body_extra
128
- }
@@ -1,129 +0,0 @@
1
- import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
2
- import { ListJobsInput, ListJobsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListJobsCommand,
5
- serializeAws_restJson1ListJobsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListJobsCommandInput extends ListJobsInput {}
21
- export interface ListJobsCommandOutput extends ListJobsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation lists jobs for a vault, including jobs that are in-progress and jobs
25
- * that have recently finished. The List Job operation returns a list of these jobs sorted by job initiation
26
- * time.</p>
27
- *
28
- * <note>
29
- * <p>Amazon Glacier retains recently completed jobs for a period before deleting them;
30
- * however, it eventually removes completed jobs. The output of completed jobs can be
31
- * retrieved. Retaining completed jobs for a period of time after they have completed
32
- * enables you to get a job output in the event you miss the job completion notification or
33
- * your first attempt to download it fails. For example, suppose you start an archive
34
- * retrieval job to download an archive. After the job completes, you start to download the
35
- * archive but encounter a network error. In this scenario, you can retry and download the
36
- * archive while the job exists.</p>
37
- * </note>
38
- *
39
- * <p>The List Jobs operation supports pagination. You should always check the response <code>Marker</code> field.
40
- * If there are no more jobs to list, the <code>Marker</code> field is set to <code>null</code>. If there are more jobs to list,
41
- * the <code>Marker</code> field is set to a non-null value, which you can use to continue the pagination of the list.
42
- * To return a list of jobs that begins at a specific job,
43
- * set the marker request parameter to the <code>Marker</code> value for that job that you obtained from a previous List Jobs request.</p>
44
- *
45
- * <p>You can set a maximum limit for the number of jobs returned in the response by
46
- * specifying the <code>limit</code> parameter in the request. The default limit is 50. The
47
- * number of jobs returned might be fewer than the limit, but the number of returned jobs
48
- * never exceeds the limit.</p>
49
- *
50
- * <p>Additionally, you can filter the jobs list returned by specifying the optional
51
- * <code>statuscode</code> parameter or <code>completed</code> parameter, or both. Using
52
- * the <code>statuscode</code> parameter, you can specify to return only jobs that match
53
- * either the <code>InProgress</code>, <code>Succeeded</code>, or <code>Failed</code> status.
54
- * Using the <code>completed</code> parameter, you can specify to return only jobs that were
55
- * completed (<code>true</code>) or jobs that were not completed
56
- * (<code>false</code>).</p>
57
- *
58
- * <p>For more information about using this operation,
59
- * see the documentation for the underlying REST API <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-jobs-get.html">List Jobs</a>. </p>
60
- * @example
61
- * Use a bare-bones client and the command you need to make an API call.
62
- * ```javascript
63
- * import { GlacierClient, ListJobsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
64
- * // const { GlacierClient, ListJobsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
65
- * const client = new GlacierClient(config);
66
- * const command = new ListJobsCommand(input);
67
- * const response = await client.send(command);
68
- * ```
69
- *
70
- * @see {@link ListJobsCommandInput} for command's `input` shape.
71
- * @see {@link ListJobsCommandOutput} for command's `response` shape.
72
- * @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
73
- *
74
- */
75
- export class ListJobsCommand extends $Command<
76
- ListJobsCommandInput,
77
- ListJobsCommandOutput,
78
- GlacierClientResolvedConfig
79
- > {
80
- // Start section: command_properties
81
- // End section: command_properties
82
-
83
- constructor(readonly input: ListJobsCommandInput) {
84
- // Start section: command_constructor
85
- super();
86
- // End section: command_constructor
87
- }
88
-
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(
93
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
94
- configuration: GlacierClientResolvedConfig,
95
- options?: __HttpHandlerOptions
96
- ): Handler<ListJobsCommandInput, ListJobsCommandOutput> {
97
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
98
-
99
- const stack = clientStack.concat(this.middlewareStack);
100
-
101
- const { logger } = configuration;
102
- const clientName = "GlacierClient";
103
- const commandName = "ListJobsCommand";
104
- const handlerExecutionContext: HandlerExecutionContext = {
105
- logger,
106
- clientName,
107
- commandName,
108
- inputFilterSensitiveLog: ListJobsInput.filterSensitiveLog,
109
- outputFilterSensitiveLog: ListJobsOutput.filterSensitiveLog,
110
- };
111
- const { requestHandler } = configuration;
112
- return stack.resolve(
113
- (request: FinalizeHandlerArguments<any>) =>
114
- requestHandler.handle(request.request as __HttpRequest, options || {}),
115
- handlerExecutionContext
116
- );
117
- }
118
-
119
- private serialize(input: ListJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
120
- return serializeAws_restJson1ListJobsCommand(input, context);
121
- }
122
-
123
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListJobsCommandOutput> {
124
- return deserializeAws_restJson1ListJobsCommand(output, context);
125
- }
126
-
127
- // Start section: command_body_extra
128
- // End section: command_body_extra
129
- }
@@ -1,119 +0,0 @@
1
- import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
2
- import { ListMultipartUploadsInput, ListMultipartUploadsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListMultipartUploadsCommand,
5
- serializeAws_restJson1ListMultipartUploadsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListMultipartUploadsCommandInput extends ListMultipartUploadsInput {}
21
- export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation lists in-progress multipart uploads for the specified vault. An
25
- * in-progress multipart upload is a multipart upload that has been initiated by an <a>InitiateMultipartUpload</a> request, but has not yet been completed or aborted.
26
- * The list returned in the List Multipart Upload response has no guaranteed order. </p>
27
- *
28
- * <p>The List Multipart Uploads operation supports pagination. By default, this operation
29
- * returns up to 50 multipart uploads in the response. You should always check the response
30
- * for a <code>marker</code> at which to continue the list; if there are no more items the
31
- * <code>marker</code> is <code>null</code>. To return a list of multipart uploads that
32
- * begins at a specific upload, set the <code>marker</code> request parameter to the value you
33
- * obtained from a previous List Multipart Upload request. You can also limit the number of
34
- * uploads returned in the response by specifying the <code>limit</code> parameter in the
35
- * request.</p>
36
- *
37
- * <p>Note the difference between this operation and listing parts (<a>ListParts</a>). The List Multipart Uploads operation lists all multipart uploads
38
- * for a vault and does not require a multipart upload ID. The List Parts operation requires a
39
- * multipart upload ID since parts are associated with a single upload.</p>
40
- *
41
- * <p>An AWS account has full permission to perform all operations (actions). However, AWS
42
- * Identity and Access Management (IAM) users don't have any permissions by default. You must
43
- * grant them explicit permission to perform specific actions. For more information, see
44
- * <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
45
- * AWS Identity and Access Management (IAM)</a>.</p>
46
- *
47
- * <p>For conceptual information and the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working
48
- * with Archives in Amazon S3 Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-uploads.html">List Multipart Uploads
49
- * </a> in the <i>Amazon Glacier Developer Guide</i>.</p>
50
- * @example
51
- * Use a bare-bones client and the command you need to make an API call.
52
- * ```javascript
53
- * import { GlacierClient, ListMultipartUploadsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
54
- * // const { GlacierClient, ListMultipartUploadsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
55
- * const client = new GlacierClient(config);
56
- * const command = new ListMultipartUploadsCommand(input);
57
- * const response = await client.send(command);
58
- * ```
59
- *
60
- * @see {@link ListMultipartUploadsCommandInput} for command's `input` shape.
61
- * @see {@link ListMultipartUploadsCommandOutput} for command's `response` shape.
62
- * @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
63
- *
64
- */
65
- export class ListMultipartUploadsCommand extends $Command<
66
- ListMultipartUploadsCommandInput,
67
- ListMultipartUploadsCommandOutput,
68
- GlacierClientResolvedConfig
69
- > {
70
- // Start section: command_properties
71
- // End section: command_properties
72
-
73
- constructor(readonly input: ListMultipartUploadsCommandInput) {
74
- // Start section: command_constructor
75
- super();
76
- // End section: command_constructor
77
- }
78
-
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(
83
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
84
- configuration: GlacierClientResolvedConfig,
85
- options?: __HttpHandlerOptions
86
- ): Handler<ListMultipartUploadsCommandInput, ListMultipartUploadsCommandOutput> {
87
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
88
-
89
- const stack = clientStack.concat(this.middlewareStack);
90
-
91
- const { logger } = configuration;
92
- const clientName = "GlacierClient";
93
- const commandName = "ListMultipartUploadsCommand";
94
- const handlerExecutionContext: HandlerExecutionContext = {
95
- logger,
96
- clientName,
97
- commandName,
98
- inputFilterSensitiveLog: ListMultipartUploadsInput.filterSensitiveLog,
99
- outputFilterSensitiveLog: ListMultipartUploadsOutput.filterSensitiveLog,
100
- };
101
- const { requestHandler } = configuration;
102
- return stack.resolve(
103
- (request: FinalizeHandlerArguments<any>) =>
104
- requestHandler.handle(request.request as __HttpRequest, options || {}),
105
- handlerExecutionContext
106
- );
107
- }
108
-
109
- private serialize(input: ListMultipartUploadsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
110
- return serializeAws_restJson1ListMultipartUploadsCommand(input, context);
111
- }
112
-
113
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListMultipartUploadsCommandOutput> {
114
- return deserializeAws_restJson1ListMultipartUploadsCommand(output, context);
115
- }
116
-
117
- // Start section: command_body_extra
118
- // End section: command_body_extra
119
- }
@@ -1,115 +0,0 @@
1
- import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
2
- import { ListPartsInput, ListPartsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListPartsCommand,
5
- serializeAws_restJson1ListPartsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListPartsCommandInput extends ListPartsInput {}
21
- export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation lists the parts of an archive that have been uploaded in a specific
25
- * multipart upload. You can make this request at any time during an in-progress multipart
26
- * upload before you complete the upload (see <a>CompleteMultipartUpload</a>. List
27
- * Parts returns an error for completed uploads. The list returned in the List Parts response
28
- * is sorted by part range. </p>
29
- *
30
- * <p>The List Parts operation supports pagination. By default, this operation returns up
31
- * to 50 uploaded parts in the response. You should always check the response for a
32
- * <code>marker</code> at which to continue the list; if there are no more items the
33
- * <code>marker</code> is <code>null</code>. To return a list of parts that begins at a
34
- * specific part, set the <code>marker</code> request parameter to the value you obtained from
35
- * a previous List Parts request. You can also limit the number of parts returned in the
36
- * response by specifying the <code>limit</code> parameter in the request. </p>
37
- *
38
- * <p>An AWS account has full permission to perform all operations (actions). However, AWS
39
- * Identity and Access Management (IAM) users don't have any permissions by default. You must
40
- * grant them explicit permission to perform specific actions. For more information, see
41
- * <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
42
- * AWS Identity and Access Management (IAM)</a>.</p>
43
- * <p>For conceptual information and the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working
44
- * with Archives in Amazon S3 Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-parts.html">List Parts</a> in the
45
- * <i>Amazon Glacier Developer Guide</i>.</p>
46
- * @example
47
- * Use a bare-bones client and the command you need to make an API call.
48
- * ```javascript
49
- * import { GlacierClient, ListPartsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
50
- * // const { GlacierClient, ListPartsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
51
- * const client = new GlacierClient(config);
52
- * const command = new ListPartsCommand(input);
53
- * const response = await client.send(command);
54
- * ```
55
- *
56
- * @see {@link ListPartsCommandInput} for command's `input` shape.
57
- * @see {@link ListPartsCommandOutput} for command's `response` shape.
58
- * @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
59
- *
60
- */
61
- export class ListPartsCommand extends $Command<
62
- ListPartsCommandInput,
63
- ListPartsCommandOutput,
64
- GlacierClientResolvedConfig
65
- > {
66
- // Start section: command_properties
67
- // End section: command_properties
68
-
69
- constructor(readonly input: ListPartsCommandInput) {
70
- // Start section: command_constructor
71
- super();
72
- // End section: command_constructor
73
- }
74
-
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(
79
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
80
- configuration: GlacierClientResolvedConfig,
81
- options?: __HttpHandlerOptions
82
- ): Handler<ListPartsCommandInput, ListPartsCommandOutput> {
83
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
84
-
85
- const stack = clientStack.concat(this.middlewareStack);
86
-
87
- const { logger } = configuration;
88
- const clientName = "GlacierClient";
89
- const commandName = "ListPartsCommand";
90
- const handlerExecutionContext: HandlerExecutionContext = {
91
- logger,
92
- clientName,
93
- commandName,
94
- inputFilterSensitiveLog: ListPartsInput.filterSensitiveLog,
95
- outputFilterSensitiveLog: ListPartsOutput.filterSensitiveLog,
96
- };
97
- const { requestHandler } = configuration;
98
- return stack.resolve(
99
- (request: FinalizeHandlerArguments<any>) =>
100
- requestHandler.handle(request.request as __HttpRequest, options || {}),
101
- handlerExecutionContext
102
- );
103
- }
104
-
105
- private serialize(input: ListPartsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
106
- return serializeAws_restJson1ListPartsCommand(input, context);
107
- }
108
-
109
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPartsCommandOutput> {
110
- return deserializeAws_restJson1ListPartsCommand(output, context);
111
- }
112
-
113
- // Start section: command_body_extra
114
- // End section: command_body_extra
115
- }
@@ -1,95 +0,0 @@
1
- import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
2
- import { ListProvisionedCapacityInput, ListProvisionedCapacityOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListProvisionedCapacityCommand,
5
- serializeAws_restJson1ListProvisionedCapacityCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListProvisionedCapacityCommandInput extends ListProvisionedCapacityInput {}
21
- export interface ListProvisionedCapacityCommandOutput extends ListProvisionedCapacityOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation lists the provisioned capacity units for the specified AWS
25
- * account.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GlacierClient, ListProvisionedCapacityCommand } from "@aws-sdk/client-glacier"; // ES Modules import
30
- * // const { GlacierClient, ListProvisionedCapacityCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
31
- * const client = new GlacierClient(config);
32
- * const command = new ListProvisionedCapacityCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListProvisionedCapacityCommandInput} for command's `input` shape.
37
- * @see {@link ListProvisionedCapacityCommandOutput} for command's `response` shape.
38
- * @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListProvisionedCapacityCommand extends $Command<
42
- ListProvisionedCapacityCommandInput,
43
- ListProvisionedCapacityCommandOutput,
44
- GlacierClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListProvisionedCapacityCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: GlacierClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListProvisionedCapacityCommandInput, ListProvisionedCapacityCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "GlacierClient";
69
- const commandName = "ListProvisionedCapacityCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListProvisionedCapacityInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListProvisionedCapacityOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListProvisionedCapacityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListProvisionedCapacityCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProvisionedCapacityCommandOutput> {
90
- return deserializeAws_restJson1ListProvisionedCapacityCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }