@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,2898 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { Readable } from "stream";
3
-
4
- /**
5
- * <p>Provides options to abort a multipart upload identified by the upload ID.</p>
6
- *
7
- * <p>For information about the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html">Abort Multipart
8
- * Upload</a>. For conceptual information, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working with Archives in
9
- * Amazon S3 Glacier</a>.</p>
10
- */
11
- export interface AbortMultipartUploadInput {
12
- /**
13
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
14
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
15
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
16
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
17
- * ('-') in the ID.</p>
18
- */
19
- accountId: string | undefined;
20
-
21
- /**
22
- * <p>The name of the vault.</p>
23
- */
24
- vaultName: string | undefined;
25
-
26
- /**
27
- * <p>The upload ID of the multipart upload to delete.</p>
28
- */
29
- uploadId: string | undefined;
30
- }
31
-
32
- export namespace AbortMultipartUploadInput {
33
- /**
34
- * @internal
35
- */
36
- export const filterSensitiveLog = (obj: AbortMultipartUploadInput): any => ({
37
- ...obj,
38
- });
39
- }
40
-
41
- /**
42
- * <p>Returned if a parameter of the request is incorrectly specified.</p>
43
- */
44
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
45
- name: "InvalidParameterValueException";
46
- $fault: "client";
47
- /**
48
- * <p>Client</p>
49
- */
50
- type?: string;
51
-
52
- /**
53
- * <p>400 Bad Request</p>
54
- */
55
- code?: string;
56
-
57
- /**
58
- * <p>Returned if a parameter of the request is incorrectly specified.</p>
59
- */
60
- message?: string;
61
- }
62
-
63
- export namespace InvalidParameterValueException {
64
- /**
65
- * @internal
66
- */
67
- export const filterSensitiveLog = (obj: InvalidParameterValueException): any => ({
68
- ...obj,
69
- });
70
- }
71
-
72
- /**
73
- * <p>Returned if a required header or parameter is missing from the request.</p>
74
- */
75
- export interface MissingParameterValueException extends __SmithyException, $MetadataBearer {
76
- name: "MissingParameterValueException";
77
- $fault: "client";
78
- /**
79
- * <p>Client.</p>
80
- */
81
- type?: string;
82
-
83
- /**
84
- * <p>400 Bad Request</p>
85
- */
86
- code?: string;
87
-
88
- /**
89
- * <p>Returned if no authentication data is found for the request.</p>
90
- */
91
- message?: string;
92
- }
93
-
94
- export namespace MissingParameterValueException {
95
- /**
96
- * @internal
97
- */
98
- export const filterSensitiveLog = (obj: MissingParameterValueException): any => ({
99
- ...obj,
100
- });
101
- }
102
-
103
- /**
104
- * <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
105
- * exist.</p>
106
- */
107
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
108
- name: "ResourceNotFoundException";
109
- $fault: "client";
110
- /**
111
- * <p>Client</p>
112
- */
113
- type?: string;
114
-
115
- /**
116
- * <p>404 Not Found</p>
117
- */
118
- code?: string;
119
-
120
- /**
121
- * <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
122
- * exist.</p>
123
- */
124
- message?: string;
125
- }
126
-
127
- export namespace ResourceNotFoundException {
128
- /**
129
- * @internal
130
- */
131
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
132
- ...obj,
133
- });
134
- }
135
-
136
- /**
137
- * <p>Returned if the service cannot complete the request.</p>
138
- */
139
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
140
- name: "ServiceUnavailableException";
141
- $fault: "server";
142
- /**
143
- * <p>Server</p>
144
- */
145
- type?: string;
146
-
147
- /**
148
- * <p>500 Internal Server Error</p>
149
- */
150
- code?: string;
151
-
152
- /**
153
- * <p>Returned if the service cannot complete the request.</p>
154
- */
155
- message?: string;
156
- }
157
-
158
- export namespace ServiceUnavailableException {
159
- /**
160
- * @internal
161
- */
162
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
163
- ...obj,
164
- });
165
- }
166
-
167
- /**
168
- * <p>The input values for <code>AbortVaultLock</code>.</p>
169
- */
170
- export interface AbortVaultLockInput {
171
- /**
172
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
173
- * account ID associated with the credentials used to sign the request. You can either specify
174
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon
175
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
176
- * If you specify your account ID, do not include any hyphens ('-') in the ID.</p>
177
- */
178
- accountId: string | undefined;
179
-
180
- /**
181
- * <p>The name of the vault.</p>
182
- */
183
- vaultName: string | undefined;
184
- }
185
-
186
- export namespace AbortVaultLockInput {
187
- /**
188
- * @internal
189
- */
190
- export const filterSensitiveLog = (obj: AbortVaultLockInput): any => ({
191
- ...obj,
192
- });
193
- }
194
-
195
- export enum Type {
196
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
197
- CanonicalUser = "CanonicalUser",
198
- Group = "Group",
199
- }
200
-
201
- /**
202
- * <p>Contains information about the grantee.</p>
203
- */
204
- export interface Grantee {
205
- /**
206
- * <p>Type of grantee</p>
207
- */
208
- Type: Type | string | undefined;
209
-
210
- /**
211
- * <p>Screen name of the grantee.</p>
212
- */
213
- DisplayName?: string;
214
-
215
- /**
216
- * <p>URI of the grantee group.</p>
217
- */
218
- URI?: string;
219
-
220
- /**
221
- * <p>The canonical user ID of the grantee.</p>
222
- */
223
- ID?: string;
224
-
225
- /**
226
- * <p>Email address of the grantee.</p>
227
- */
228
- EmailAddress?: string;
229
- }
230
-
231
- export namespace Grantee {
232
- /**
233
- * @internal
234
- */
235
- export const filterSensitiveLog = (obj: Grantee): any => ({
236
- ...obj,
237
- });
238
- }
239
-
240
- export enum Permission {
241
- FULL_CONTROL = "FULL_CONTROL",
242
- READ = "READ",
243
- READ_ACP = "READ_ACP",
244
- WRITE = "WRITE",
245
- WRITE_ACP = "WRITE_ACP",
246
- }
247
-
248
- /**
249
- * <p>Contains information about a grant.</p>
250
- */
251
- export interface Grant {
252
- /**
253
- * <p>The grantee.</p>
254
- */
255
- Grantee?: Grantee;
256
-
257
- /**
258
- * <p>Specifies the permission given to the grantee. </p>
259
- */
260
- Permission?: Permission | string;
261
- }
262
-
263
- export namespace Grant {
264
- /**
265
- * @internal
266
- */
267
- export const filterSensitiveLog = (obj: Grant): any => ({
268
- ...obj,
269
- });
270
- }
271
-
272
- export enum ActionCode {
273
- ArchiveRetrieval = "ArchiveRetrieval",
274
- InventoryRetrieval = "InventoryRetrieval",
275
- Select = "Select",
276
- }
277
-
278
- /**
279
- * <p>The input values for <code>AddTagsToVault</code>.</p>
280
- */
281
- export interface AddTagsToVaultInput {
282
- /**
283
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
284
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
285
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
286
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
287
- * ('-') in the ID.</p>
288
- */
289
- accountId: string | undefined;
290
-
291
- /**
292
- * <p>The name of the vault.</p>
293
- */
294
- vaultName: string | undefined;
295
-
296
- /**
297
- * <p>The tags to add to the vault. Each tag is composed of a key and a value. The value
298
- * can be an empty string.</p>
299
- */
300
- Tags?: { [key: string]: string };
301
- }
302
-
303
- export namespace AddTagsToVaultInput {
304
- /**
305
- * @internal
306
- */
307
- export const filterSensitiveLog = (obj: AddTagsToVaultInput): any => ({
308
- ...obj,
309
- });
310
- }
311
-
312
- /**
313
- * <p>Returned if the request results in a vault or account limit being exceeded.</p>
314
- */
315
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
316
- name: "LimitExceededException";
317
- $fault: "client";
318
- /**
319
- * <p>Client</p>
320
- */
321
- type?: string;
322
-
323
- /**
324
- * <p>400 Bad Request</p>
325
- */
326
- code?: string;
327
-
328
- /**
329
- * <p>Returned if the request results in a vault limit or tags limit being exceeded.</p>
330
- */
331
- message?: string;
332
- }
333
-
334
- export namespace LimitExceededException {
335
- /**
336
- * @internal
337
- */
338
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
339
- ...obj,
340
- });
341
- }
342
-
343
- /**
344
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
345
- * <p>For information about the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-post.html">Upload Archive</a>. For
346
- * conceptual information, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working with Archives in
347
- * Amazon S3 Glacier</a>.</p>
348
- */
349
- export interface ArchiveCreationOutput {
350
- /**
351
- * <p>The relative URI path of the newly added archive resource.</p>
352
- */
353
- location?: string;
354
-
355
- /**
356
- * <p>The checksum of the archive computed by Amazon S3 Glacier.</p>
357
- */
358
- checksum?: string;
359
-
360
- /**
361
- * <p>The ID of the archive. This value is also included as part of the location.</p>
362
- */
363
- archiveId?: string;
364
- }
365
-
366
- export namespace ArchiveCreationOutput {
367
- /**
368
- * @internal
369
- */
370
- export const filterSensitiveLog = (obj: ArchiveCreationOutput): any => ({
371
- ...obj,
372
- });
373
- }
374
-
375
- export enum CannedACL {
376
- AuthenticatedRead = "authenticated-read",
377
- AwsExecRead = "aws-exec-read",
378
- BucketOwnerFullControl = "bucket-owner-full-control",
379
- BucketOwnerRead = "bucket-owner-read",
380
- Private = "private",
381
- PublicRead = "public-read",
382
- PublicReadWrite = "public-read-write",
383
- }
384
-
385
- /**
386
- * <p>Provides options to complete a multipart upload operation. This informs Amazon
387
- * Glacier that all the archive parts have been uploaded and Amazon S3 Glacier (Glacier) can now assemble
388
- * the archive from the uploaded parts. After assembling and saving the archive to the vault,
389
- * Glacier returns the URI path of the newly created archive resource.</p>
390
- */
391
- export interface CompleteMultipartUploadInput {
392
- /**
393
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
394
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
395
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
396
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
397
- * ('-') in the ID.</p>
398
- */
399
- accountId: string | undefined;
400
-
401
- /**
402
- * <p>The name of the vault.</p>
403
- */
404
- vaultName: string | undefined;
405
-
406
- /**
407
- * <p>The upload ID of the multipart upload.</p>
408
- */
409
- uploadId: string | undefined;
410
-
411
- /**
412
- * <p>The total size, in bytes, of the entire archive. This value should be the sum of all
413
- * the sizes of the individual parts that you uploaded.</p>
414
- */
415
- archiveSize?: string;
416
-
417
- /**
418
- * <p>The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash
419
- * of the individual parts. If the value you specify in the request does not match the SHA256
420
- * tree hash of the final assembled archive as computed by Amazon S3 Glacier (Glacier),
421
- * Glacier returns an error and the request fails.</p>
422
- */
423
- checksum?: string;
424
- }
425
-
426
- export namespace CompleteMultipartUploadInput {
427
- /**
428
- * @internal
429
- */
430
- export const filterSensitiveLog = (obj: CompleteMultipartUploadInput): any => ({
431
- ...obj,
432
- });
433
- }
434
-
435
- /**
436
- * <p>The input values for <code>CompleteVaultLock</code>.</p>
437
- */
438
- export interface CompleteVaultLockInput {
439
- /**
440
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
441
- * account ID associated with the credentials used to sign the request. You can either specify
442
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon
443
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
444
- * If you specify your account ID, do not include any hyphens ('-') in the ID.</p>
445
- */
446
- accountId: string | undefined;
447
-
448
- /**
449
- * <p>The name of the vault.</p>
450
- */
451
- vaultName: string | undefined;
452
-
453
- /**
454
- * <p>The <code>lockId</code> value is the lock ID obtained from a <a>InitiateVaultLock</a> request.</p>
455
- */
456
- lockId: string | undefined;
457
- }
458
-
459
- export namespace CompleteVaultLockInput {
460
- /**
461
- * @internal
462
- */
463
- export const filterSensitiveLog = (obj: CompleteVaultLockInput): any => ({
464
- ...obj,
465
- });
466
- }
467
-
468
- /**
469
- * <p>Provides options to create a vault.</p>
470
- */
471
- export interface CreateVaultInput {
472
- /**
473
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
474
- * account ID associated with the credentials used to sign the request. You can either specify
475
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon S3
476
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
477
- * If you specify your account ID, do not include any hyphens ('-') in the ID.</p>
478
- */
479
- accountId: string | undefined;
480
-
481
- /**
482
- * <p>The name of the vault.</p>
483
- */
484
- vaultName: string | undefined;
485
- }
486
-
487
- export namespace CreateVaultInput {
488
- /**
489
- * @internal
490
- */
491
- export const filterSensitiveLog = (obj: CreateVaultInput): any => ({
492
- ...obj,
493
- });
494
- }
495
-
496
- /**
497
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
498
- */
499
- export interface CreateVaultOutput {
500
- /**
501
- * <p>The URI of the vault that was created.</p>
502
- */
503
- location?: string;
504
- }
505
-
506
- export namespace CreateVaultOutput {
507
- /**
508
- * @internal
509
- */
510
- export const filterSensitiveLog = (obj: CreateVaultOutput): any => ({
511
- ...obj,
512
- });
513
- }
514
-
515
- export enum FileHeaderInfo {
516
- Ignore = "IGNORE",
517
- None = "NONE",
518
- Use = "USE",
519
- }
520
-
521
- /**
522
- * <p>Contains information about the comma-separated value (CSV) file to select from.</p>
523
- */
524
- export interface CSVInput {
525
- /**
526
- * <p>Describes the first line of input. Valid values are <code>None</code>,
527
- * <code>Ignore</code>, and <code>Use</code>.</p>
528
- */
529
- FileHeaderInfo?: FileHeaderInfo | string;
530
-
531
- /**
532
- * <p>A single character used to indicate that a row should be ignored when the character is
533
- * present at the start of that row.</p>
534
- */
535
- Comments?: string;
536
-
537
- /**
538
- * <p>A single character used for escaping the quotation-mark character inside an already
539
- * escaped value.</p>
540
- */
541
- QuoteEscapeCharacter?: string;
542
-
543
- /**
544
- * <p>A value used to separate individual records from each other.</p>
545
- */
546
- RecordDelimiter?: string;
547
-
548
- /**
549
- * <p>A value used to separate individual fields from each other within a record.</p>
550
- */
551
- FieldDelimiter?: string;
552
-
553
- /**
554
- * <p>A value used as an escape character where the field delimiter is part of the
555
- * value.</p>
556
- */
557
- QuoteCharacter?: string;
558
- }
559
-
560
- export namespace CSVInput {
561
- /**
562
- * @internal
563
- */
564
- export const filterSensitiveLog = (obj: CSVInput): any => ({
565
- ...obj,
566
- });
567
- }
568
-
569
- export enum QuoteFields {
570
- Always = "ALWAYS",
571
- AsNeeded = "ASNEEDED",
572
- }
573
-
574
- /**
575
- * <p>Contains information about the comma-separated value (CSV) file that the job results
576
- * are stored in.</p>
577
- */
578
- export interface CSVOutput {
579
- /**
580
- * <p>A value that indicates whether all output fields should be contained within quotation
581
- * marks.</p>
582
- */
583
- QuoteFields?: QuoteFields | string;
584
-
585
- /**
586
- * <p>A single character used for escaping the quotation-mark character inside an already
587
- * escaped value.</p>
588
- */
589
- QuoteEscapeCharacter?: string;
590
-
591
- /**
592
- * <p>A value used to separate individual records from each other.</p>
593
- */
594
- RecordDelimiter?: string;
595
-
596
- /**
597
- * <p>A value used to separate individual fields from each other within a record.</p>
598
- */
599
- FieldDelimiter?: string;
600
-
601
- /**
602
- * <p>A value used as an escape character where the field delimiter is part of the
603
- * value.</p>
604
- */
605
- QuoteCharacter?: string;
606
- }
607
-
608
- export namespace CSVOutput {
609
- /**
610
- * @internal
611
- */
612
- export const filterSensitiveLog = (obj: CSVOutput): any => ({
613
- ...obj,
614
- });
615
- }
616
-
617
- /**
618
- * <p>Data retrieval policy rule.</p>
619
- */
620
- export interface DataRetrievalRule {
621
- /**
622
- * <p>The type of data retrieval policy to set.</p>
623
- * <p>Valid values: BytesPerHour|FreeTier|None</p>
624
- */
625
- Strategy?: string;
626
-
627
- /**
628
- * <p>The maximum number of bytes that can be retrieved in an hour.</p>
629
- * <p>This field is required only if the value of the Strategy field is
630
- * <code>BytesPerHour</code>. Your PUT operation will be rejected if the Strategy field is
631
- * not set to <code>BytesPerHour</code> and you set this field.</p>
632
- */
633
- BytesPerHour?: number;
634
- }
635
-
636
- export namespace DataRetrievalRule {
637
- /**
638
- * @internal
639
- */
640
- export const filterSensitiveLog = (obj: DataRetrievalRule): any => ({
641
- ...obj,
642
- });
643
- }
644
-
645
- /**
646
- * <p>Data retrieval policy.</p>
647
- */
648
- export interface DataRetrievalPolicy {
649
- /**
650
- * <p>The policy rule. Although this is a list type, currently there must be only one rule,
651
- * which contains a Strategy field and optionally a BytesPerHour field.</p>
652
- */
653
- Rules?: DataRetrievalRule[];
654
- }
655
-
656
- export namespace DataRetrievalPolicy {
657
- /**
658
- * @internal
659
- */
660
- export const filterSensitiveLog = (obj: DataRetrievalPolicy): any => ({
661
- ...obj,
662
- });
663
- }
664
-
665
- /**
666
- * <p>Provides options for deleting an archive from an Amazon S3 Glacier vault.</p>
667
- */
668
- export interface DeleteArchiveInput {
669
- /**
670
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
671
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
672
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
673
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
674
- * ('-') in the ID.</p>
675
- */
676
- accountId: string | undefined;
677
-
678
- /**
679
- * <p>The name of the vault.</p>
680
- */
681
- vaultName: string | undefined;
682
-
683
- /**
684
- * <p>The ID of the archive to delete.</p>
685
- */
686
- archiveId: string | undefined;
687
- }
688
-
689
- export namespace DeleteArchiveInput {
690
- /**
691
- * @internal
692
- */
693
- export const filterSensitiveLog = (obj: DeleteArchiveInput): any => ({
694
- ...obj,
695
- });
696
- }
697
-
698
- /**
699
- * <p>Provides options for deleting a vault from Amazon S3 Glacier.</p>
700
- */
701
- export interface DeleteVaultInput {
702
- /**
703
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
704
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
705
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
706
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
707
- * ('-') in the ID.</p>
708
- */
709
- accountId: string | undefined;
710
-
711
- /**
712
- * <p>The name of the vault.</p>
713
- */
714
- vaultName: string | undefined;
715
- }
716
-
717
- export namespace DeleteVaultInput {
718
- /**
719
- * @internal
720
- */
721
- export const filterSensitiveLog = (obj: DeleteVaultInput): any => ({
722
- ...obj,
723
- });
724
- }
725
-
726
- /**
727
- * <p>DeleteVaultAccessPolicy input.</p>
728
- */
729
- export interface DeleteVaultAccessPolicyInput {
730
- /**
731
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
732
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
733
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
734
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
735
- * ('-') in the ID. </p>
736
- */
737
- accountId: string | undefined;
738
-
739
- /**
740
- * <p>The name of the vault.</p>
741
- */
742
- vaultName: string | undefined;
743
- }
744
-
745
- export namespace DeleteVaultAccessPolicyInput {
746
- /**
747
- * @internal
748
- */
749
- export const filterSensitiveLog = (obj: DeleteVaultAccessPolicyInput): any => ({
750
- ...obj,
751
- });
752
- }
753
-
754
- /**
755
- * <p>Provides options for deleting a vault notification configuration from an Amazon
756
- * Glacier vault.</p>
757
- */
758
- export interface DeleteVaultNotificationsInput {
759
- /**
760
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
761
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
762
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
763
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
764
- * ('-') in the ID. </p>
765
- */
766
- accountId: string | undefined;
767
-
768
- /**
769
- * <p>The name of the vault.</p>
770
- */
771
- vaultName: string | undefined;
772
- }
773
-
774
- export namespace DeleteVaultNotificationsInput {
775
- /**
776
- * @internal
777
- */
778
- export const filterSensitiveLog = (obj: DeleteVaultNotificationsInput): any => ({
779
- ...obj,
780
- });
781
- }
782
-
783
- /**
784
- * <p>Provides options for retrieving a job description.</p>
785
- */
786
- export interface DescribeJobInput {
787
- /**
788
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
789
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
790
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
791
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
792
- * ('-') in the ID. </p>
793
- */
794
- accountId: string | undefined;
795
-
796
- /**
797
- * <p>The name of the vault.</p>
798
- */
799
- vaultName: string | undefined;
800
-
801
- /**
802
- * <p>The ID of the job to describe.</p>
803
- */
804
- jobId: string | undefined;
805
- }
806
-
807
- export namespace DescribeJobInput {
808
- /**
809
- * @internal
810
- */
811
- export const filterSensitiveLog = (obj: DescribeJobInput): any => ({
812
- ...obj,
813
- });
814
- }
815
-
816
- /**
817
- * <p>Describes the options for a range inventory retrieval job.</p>
818
- */
819
- export interface InventoryRetrievalJobDescription {
820
- /**
821
- * <p>The output format for the vault inventory list, which is set by the <b>InitiateJob</b> request when initiating a job to retrieve a vault
822
- * inventory. Valid values are <code>CSV</code> and <code>JSON</code>.</p>
823
- */
824
- Format?: string;
825
-
826
- /**
827
- * <p>The start of the date range in Universal Coordinated Time (UTC) for vault inventory
828
- * retrieval that includes archives created on or after this date. This value should be a
829
- * string in the ISO 8601 date format, for example
830
- * <code>2013-03-20T17:03:43Z</code>.</p>
831
- */
832
- StartDate?: string;
833
-
834
- /**
835
- * <p>The end of the date range in UTC for vault inventory retrieval that includes
836
- * archives created before this date. This value should be a string in the ISO 8601 date
837
- * format, for example <code>2013-03-20T17:03:43Z</code>.</p>
838
- */
839
- EndDate?: string;
840
-
841
- /**
842
- * <p>The maximum number of inventory items returned per vault inventory retrieval
843
- * request. This limit is set when initiating the job with the a <b>InitiateJob</b> request. </p>
844
- */
845
- Limit?: string;
846
-
847
- /**
848
- * <p>An opaque string that represents where to continue pagination of the vault
849
- * inventory retrieval results. You use the marker in a new <b>InitiateJob</b> request to obtain additional inventory items. If there are
850
- * no more inventory items, this value is <code>null</code>. For more information, see
851
- * <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html#api-initiate-job-post-vault-inventory-list-filtering"> Range Inventory Retrieval</a>.</p>
852
- */
853
- Marker?: string;
854
- }
855
-
856
- export namespace InventoryRetrievalJobDescription {
857
- /**
858
- * @internal
859
- */
860
- export const filterSensitiveLog = (obj: InventoryRetrievalJobDescription): any => ({
861
- ...obj,
862
- });
863
- }
864
-
865
- export enum EncryptionType {
866
- KMS = "aws:kms",
867
- S3 = "AES256",
868
- }
869
-
870
- /**
871
- * <p>Contains information about the encryption used to store the job results in Amazon S3. </p>
872
- */
873
- export interface Encryption {
874
- /**
875
- * <p>The server-side encryption algorithm used when storing job results in Amazon S3, for
876
- * example <code>AES256</code> or <code>aws:kms</code>.</p>
877
- */
878
- EncryptionType?: EncryptionType | string;
879
-
880
- /**
881
- * <p>The AWS KMS key ID to use for object encryption. All GET and PUT requests for an
882
- * object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or
883
- * Signature Version 4. </p>
884
- */
885
- KMSKeyId?: string;
886
-
887
- /**
888
- * <p>Optional. If the encryption type is <code>aws:kms</code>, you can use this value to
889
- * specify the encryption context for the job results.</p>
890
- */
891
- KMSContext?: string;
892
- }
893
-
894
- export namespace Encryption {
895
- /**
896
- * @internal
897
- */
898
- export const filterSensitiveLog = (obj: Encryption): any => ({
899
- ...obj,
900
- });
901
- }
902
-
903
- export enum StorageClass {
904
- ReducedRedundancy = "REDUCED_REDUNDANCY",
905
- Standard = "STANDARD",
906
- StandardInfrequentAccess = "STANDARD_IA",
907
- }
908
-
909
- /**
910
- * <p>Contains information about the location in Amazon S3 where the select job results are stored.</p>
911
- */
912
- export interface S3Location {
913
- /**
914
- * <p>The name of the Amazon S3 bucket where the job results are stored.</p>
915
- */
916
- BucketName?: string;
917
-
918
- /**
919
- * <p>The prefix that is prepended to the results for this request.</p>
920
- */
921
- Prefix?: string;
922
-
923
- /**
924
- * <p>Contains information about the encryption used to store the job results in Amazon S3.</p>
925
- */
926
- Encryption?: Encryption;
927
-
928
- /**
929
- * <p>The canned access control list (ACL) to apply to the job results.</p>
930
- */
931
- CannedACL?: CannedACL | string;
932
-
933
- /**
934
- * <p>A list of grants that control access to the staged results.</p>
935
- */
936
- AccessControlList?: Grant[];
937
-
938
- /**
939
- * <p>The tag-set that is applied to the job results.</p>
940
- */
941
- Tagging?: { [key: string]: string };
942
-
943
- /**
944
- * <p>A map of metadata to store with the job results in Amazon S3.</p>
945
- */
946
- UserMetadata?: { [key: string]: string };
947
-
948
- /**
949
- * <p>The storage class used to store the job results.</p>
950
- */
951
- StorageClass?: StorageClass | string;
952
- }
953
-
954
- export namespace S3Location {
955
- /**
956
- * @internal
957
- */
958
- export const filterSensitiveLog = (obj: S3Location): any => ({
959
- ...obj,
960
- });
961
- }
962
-
963
- /**
964
- * <p>Contains information about the location where the select job results are stored.</p>
965
- */
966
- export interface OutputLocation {
967
- /**
968
- * <p>Describes an S3 location that will receive the results of the job request.</p>
969
- */
970
- S3?: S3Location;
971
- }
972
-
973
- export namespace OutputLocation {
974
- /**
975
- * @internal
976
- */
977
- export const filterSensitiveLog = (obj: OutputLocation): any => ({
978
- ...obj,
979
- });
980
- }
981
-
982
- export enum ExpressionType {
983
- SQL = "SQL",
984
- }
985
-
986
- /**
987
- * <p>Describes how the archive is serialized.</p>
988
- */
989
- export interface InputSerialization {
990
- /**
991
- * <p>Describes the serialization of a CSV-encoded object.</p>
992
- */
993
- csv?: CSVInput;
994
- }
995
-
996
- export namespace InputSerialization {
997
- /**
998
- * @internal
999
- */
1000
- export const filterSensitiveLog = (obj: InputSerialization): any => ({
1001
- ...obj,
1002
- });
1003
- }
1004
-
1005
- /**
1006
- * <p>Describes how the select output is serialized.</p>
1007
- */
1008
- export interface OutputSerialization {
1009
- /**
1010
- * <p>Describes the serialization of CSV-encoded query results.</p>
1011
- */
1012
- csv?: CSVOutput;
1013
- }
1014
-
1015
- export namespace OutputSerialization {
1016
- /**
1017
- * @internal
1018
- */
1019
- export const filterSensitiveLog = (obj: OutputSerialization): any => ({
1020
- ...obj,
1021
- });
1022
- }
1023
-
1024
- /**
1025
- * <p>Contains information about the parameters used for a select.</p>
1026
- */
1027
- export interface SelectParameters {
1028
- /**
1029
- * <p>Describes the serialization format of the object.</p>
1030
- */
1031
- InputSerialization?: InputSerialization;
1032
-
1033
- /**
1034
- * <p>The type of the provided expression, for example <code>SQL</code>.</p>
1035
- */
1036
- ExpressionType?: ExpressionType | string;
1037
-
1038
- /**
1039
- * <p>The expression that is used to select the object.</p>
1040
- */
1041
- Expression?: string;
1042
-
1043
- /**
1044
- * <p>Describes how the results of the select job are serialized.</p>
1045
- */
1046
- OutputSerialization?: OutputSerialization;
1047
- }
1048
-
1049
- export namespace SelectParameters {
1050
- /**
1051
- * @internal
1052
- */
1053
- export const filterSensitiveLog = (obj: SelectParameters): any => ({
1054
- ...obj,
1055
- });
1056
- }
1057
-
1058
- export enum StatusCode {
1059
- Failed = "Failed",
1060
- InProgress = "InProgress",
1061
- Succeeded = "Succeeded",
1062
- }
1063
-
1064
- /**
1065
- * <p>Contains the description of an Amazon S3 Glacier job.</p>
1066
- */
1067
- export interface GlacierJobDescription {
1068
- /**
1069
- * <p>An opaque string that identifies an Amazon S3 Glacier job.</p>
1070
- */
1071
- JobId?: string;
1072
-
1073
- /**
1074
- * <p>The job description provided when initiating the job.</p>
1075
- */
1076
- JobDescription?: string;
1077
-
1078
- /**
1079
- * <p>The job type. This value is either <code>ArchiveRetrieval</code>,
1080
- * <code>InventoryRetrieval</code>, or
1081
- * <code>Select</code>. </p>
1082
- */
1083
- Action?: ActionCode | string;
1084
-
1085
- /**
1086
- * <p>The archive ID requested for a select job or archive retrieval. Otherwise, this
1087
- * field is null.</p>
1088
- */
1089
- ArchiveId?: string;
1090
-
1091
- /**
1092
- * <p>The Amazon Resource Name (ARN) of the vault from which an archive retrieval was
1093
- * requested.</p>
1094
- */
1095
- VaultARN?: string;
1096
-
1097
- /**
1098
- * <p>The UTC date when the job was created. This value is a string representation of ISO
1099
- * 8601 date format, for example <code>"2012-03-20T17:03:43.221Z"</code>.</p>
1100
- */
1101
- CreationDate?: string;
1102
-
1103
- /**
1104
- * <p>The job status. When a job is completed, you get the job's output using Get Job
1105
- * Output (GET output).</p>
1106
- */
1107
- Completed?: boolean;
1108
-
1109
- /**
1110
- * <p>The status code can be <code>InProgress</code>, <code>Succeeded</code>, or
1111
- * <code>Failed</code>, and indicates the status of the job.</p>
1112
- */
1113
- StatusCode?: StatusCode | string;
1114
-
1115
- /**
1116
- * <p>A friendly message that describes the job status.</p>
1117
- */
1118
- StatusMessage?: string;
1119
-
1120
- /**
1121
- * <p>For an archive retrieval job, this value is the size in bytes of the archive being
1122
- * requested for download. For an inventory retrieval or select job, this value is
1123
- * null.</p>
1124
- */
1125
- ArchiveSizeInBytes?: number;
1126
-
1127
- /**
1128
- * <p>For an inventory retrieval job, this value is the size in bytes of the inventory
1129
- * requested for download. For an archive retrieval or select job, this value is
1130
- * null.</p>
1131
- */
1132
- InventorySizeInBytes?: number;
1133
-
1134
- /**
1135
- * <p>An Amazon SNS topic that receives notification.</p>
1136
- */
1137
- SNSTopic?: string;
1138
-
1139
- /**
1140
- * <p>The UTC time that the job request completed. While the job is in progress, the
1141
- * value is null.</p>
1142
- */
1143
- CompletionDate?: string;
1144
-
1145
- /**
1146
- * <p>For an archive retrieval job, this value is the checksum of the archive. Otherwise,
1147
- * this value is null.</p>
1148
- * <p>The SHA256 tree hash value for the requested range of an archive. If the <b>InitiateJob</b> request for an archive specified a tree-hash
1149
- * aligned range, then this field returns a value.</p>
1150
- * <p>If the whole archive is retrieved, this value is the same as the
1151
- * ArchiveSHA256TreeHash value.</p>
1152
- * <p>This field is null for the following:</p>
1153
- * <ul>
1154
- * <li>
1155
- * <p>Archive retrieval jobs that specify a range that is not tree-hash
1156
- * aligned</p>
1157
- * </li>
1158
- * </ul>
1159
- * <ul>
1160
- * <li>
1161
- * <p>Archival jobs that specify a range that is equal to the whole archive, when
1162
- * the job status is <code>InProgress</code>
1163
- * </p>
1164
- * </li>
1165
- * </ul>
1166
- * <ul>
1167
- * <li>
1168
- * <p>Inventory jobs</p>
1169
- * </li>
1170
- * <li>
1171
- * <p>Select jobs</p>
1172
- * </li>
1173
- * </ul>
1174
- */
1175
- SHA256TreeHash?: string;
1176
-
1177
- /**
1178
- * <p>The SHA256 tree hash of the entire archive for an archive retrieval. For inventory
1179
- * retrieval or select jobs, this field is null.</p>
1180
- */
1181
- ArchiveSHA256TreeHash?: string;
1182
-
1183
- /**
1184
- * <p>The retrieved byte range for archive retrieval jobs in the form
1185
- * <i>StartByteValue</i>-<i>EndByteValue</i>. If no range
1186
- * was specified in the archive retrieval, then the whole archive is retrieved. In this
1187
- * case, <i>StartByteValue</i> equals 0 and <i>EndByteValue</i>
1188
- * equals the size of the archive minus 1. For inventory retrieval or select jobs, this
1189
- * field is null. </p>
1190
- */
1191
- RetrievalByteRange?: string;
1192
-
1193
- /**
1194
- * <p>The tier to use for a select or an archive retrieval. Valid values are
1195
- * <code>Expedited</code>, <code>Standard</code>, or <code>Bulk</code>.
1196
- * <code>Standard</code> is the default.</p>
1197
- */
1198
- Tier?: string;
1199
-
1200
- /**
1201
- * <p>Parameters used for range inventory retrieval.</p>
1202
- */
1203
- InventoryRetrievalParameters?: InventoryRetrievalJobDescription;
1204
-
1205
- /**
1206
- * <p>Contains the job output location.</p>
1207
- */
1208
- JobOutputPath?: string;
1209
-
1210
- /**
1211
- * <p>Contains the parameters used for a select.</p>
1212
- */
1213
- SelectParameters?: SelectParameters;
1214
-
1215
- /**
1216
- * <p>Contains the location where the data from the select job is stored.</p>
1217
- */
1218
- OutputLocation?: OutputLocation;
1219
- }
1220
-
1221
- export namespace GlacierJobDescription {
1222
- /**
1223
- * @internal
1224
- */
1225
- export const filterSensitiveLog = (obj: GlacierJobDescription): any => ({
1226
- ...obj,
1227
- });
1228
- }
1229
-
1230
- /**
1231
- * <p>Provides options for retrieving metadata for a specific vault in Amazon
1232
- * Glacier.</p>
1233
- */
1234
- export interface DescribeVaultInput {
1235
- /**
1236
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1237
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1238
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1239
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1240
- * ('-') in the ID. </p>
1241
- */
1242
- accountId: string | undefined;
1243
-
1244
- /**
1245
- * <p>The name of the vault.</p>
1246
- */
1247
- vaultName: string | undefined;
1248
- }
1249
-
1250
- export namespace DescribeVaultInput {
1251
- /**
1252
- * @internal
1253
- */
1254
- export const filterSensitiveLog = (obj: DescribeVaultInput): any => ({
1255
- ...obj,
1256
- });
1257
- }
1258
-
1259
- /**
1260
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
1261
- */
1262
- export interface DescribeVaultOutput {
1263
- /**
1264
- * <p>The Amazon Resource Name (ARN) of the vault.</p>
1265
- */
1266
- VaultARN?: string;
1267
-
1268
- /**
1269
- * <p>The name of the vault.</p>
1270
- */
1271
- VaultName?: string;
1272
-
1273
- /**
1274
- * <p>The Universal Coordinated Time (UTC) date when the vault was created. This value
1275
- * should be a string in the ISO 8601 date format, for example
1276
- * <code>2012-03-20T17:03:43.221Z</code>.</p>
1277
- */
1278
- CreationDate?: string;
1279
-
1280
- /**
1281
- * <p>The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last
1282
- * vault inventory. This value should be a string in the ISO 8601 date format, for example
1283
- * <code>2012-03-20T17:03:43.221Z</code>.</p>
1284
- */
1285
- LastInventoryDate?: string;
1286
-
1287
- /**
1288
- * <p>The number of archives in the vault as of the last inventory date. This field will
1289
- * return <code>null</code> if an inventory has not yet run on the vault, for example if you
1290
- * just created the vault.</p>
1291
- */
1292
- NumberOfArchives?: number;
1293
-
1294
- /**
1295
- * <p>Total size, in bytes, of the archives in the vault as of the last inventory date.
1296
- * This field will return null if an inventory has not yet run on the vault, for example if
1297
- * you just created the vault.</p>
1298
- */
1299
- SizeInBytes?: number;
1300
- }
1301
-
1302
- export namespace DescribeVaultOutput {
1303
- /**
1304
- * @internal
1305
- */
1306
- export const filterSensitiveLog = (obj: DescribeVaultOutput): any => ({
1307
- ...obj,
1308
- });
1309
- }
1310
-
1311
- /**
1312
- * <p>Input for GetDataRetrievalPolicy.</p>
1313
- */
1314
- export interface GetDataRetrievalPolicyInput {
1315
- /**
1316
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
1317
- * account ID associated with the credentials used to sign the request. You can either specify
1318
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon
1319
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
1320
- * If you specify your account ID, do not include any hyphens ('-') in the ID. </p>
1321
- */
1322
- accountId: string | undefined;
1323
- }
1324
-
1325
- export namespace GetDataRetrievalPolicyInput {
1326
- /**
1327
- * @internal
1328
- */
1329
- export const filterSensitiveLog = (obj: GetDataRetrievalPolicyInput): any => ({
1330
- ...obj,
1331
- });
1332
- }
1333
-
1334
- /**
1335
- * <p>Contains the Amazon S3 Glacier response to the <code>GetDataRetrievalPolicy</code>
1336
- * request.</p>
1337
- */
1338
- export interface GetDataRetrievalPolicyOutput {
1339
- /**
1340
- * <p>Contains the returned data retrieval policy in JSON format.</p>
1341
- */
1342
- Policy?: DataRetrievalPolicy;
1343
- }
1344
-
1345
- export namespace GetDataRetrievalPolicyOutput {
1346
- /**
1347
- * @internal
1348
- */
1349
- export const filterSensitiveLog = (obj: GetDataRetrievalPolicyOutput): any => ({
1350
- ...obj,
1351
- });
1352
- }
1353
-
1354
- /**
1355
- * <p>Provides options for downloading output of an Amazon S3 Glacier job.</p>
1356
- */
1357
- export interface GetJobOutputInput {
1358
- /**
1359
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1360
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1361
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1362
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1363
- * ('-') in the ID.</p>
1364
- */
1365
- accountId: string | undefined;
1366
-
1367
- /**
1368
- * <p>The name of the vault.</p>
1369
- */
1370
- vaultName: string | undefined;
1371
-
1372
- /**
1373
- * <p>The job ID whose data is downloaded.</p>
1374
- */
1375
- jobId: string | undefined;
1376
-
1377
- /**
1378
- * <p>The range of bytes to retrieve from the output. For example, if you want to download
1379
- * the first 1,048,576 bytes, specify the range as <code>bytes=0-1048575</code>. By default, this operation
1380
- * downloads the entire output.</p>
1381
- *
1382
- * <p>If the job output is large, then you can use a range to
1383
- * retrieve a portion of the output. This allows you to download the entire output in smaller
1384
- * chunks of bytes. For example, suppose you have 1 GB of job output you want to download and
1385
- * you decide to download 128 MB chunks of data at a time, which is a total of eight Get Job
1386
- * Output requests. You use the following process to download the job output:</p>
1387
- *
1388
- * <ol>
1389
- * <li>
1390
- * <p>Download a 128 MB chunk of output by specifying the appropriate byte range.
1391
- * Verify that all 128 MB of data was received.</p>
1392
- * </li>
1393
- * <li>
1394
- * <p>Along with the data, the response includes a SHA256 tree hash of the payload.
1395
- * You compute the checksum of the payload on the client and compare it with the
1396
- * checksum you received in the response to ensure you received all the expected
1397
- * data.</p>
1398
- * </li>
1399
- * <li>
1400
- * <p>Repeat steps 1 and 2 for all the eight 128 MB chunks of output data, each time
1401
- * specifying the appropriate byte range.</p>
1402
- * </li>
1403
- * <li>
1404
- * <p>After downloading all the parts of the job output, you have a list of eight
1405
- * checksum values. Compute the tree hash of these values to find the checksum of the
1406
- * entire output. Using the <a>DescribeJob</a> API, obtain job information of
1407
- * the job that provided you the output. The response includes the checksum of the
1408
- * entire archive stored in Amazon S3 Glacier. You compare this value with the checksum you
1409
- * computed to ensure you have downloaded the entire archive content with no
1410
- * errors.</p>
1411
- * <p></p>
1412
- * </li>
1413
- * </ol>
1414
- */
1415
- range?: string;
1416
- }
1417
-
1418
- export namespace GetJobOutputInput {
1419
- /**
1420
- * @internal
1421
- */
1422
- export const filterSensitiveLog = (obj: GetJobOutputInput): any => ({
1423
- ...obj,
1424
- });
1425
- }
1426
-
1427
- /**
1428
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
1429
- */
1430
- export interface GetJobOutputOutput {
1431
- /**
1432
- * <p>The job data, either archive data or inventory data.</p>
1433
- */
1434
- body?: Readable | ReadableStream | Blob;
1435
-
1436
- /**
1437
- * <p>The checksum of the data in the response. This header is returned only when
1438
- * retrieving the output for an archive retrieval job. Furthermore, this header appears only
1439
- * under the following conditions:</p>
1440
- * <ul>
1441
- * <li>
1442
- * <p>You get the entire range of the archive.</p>
1443
- * </li>
1444
- * <li>
1445
- * <p>You request a range to return of the archive that starts and ends on a multiple
1446
- * of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return
1447
- * that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as
1448
- * a response header.</p>
1449
- * </li>
1450
- * <li>
1451
- * <p>You request a range of the archive to return that starts on a multiple of 1 MB
1452
- * and goes to the end of the archive. For example, if you have a 3.1 MB archive and you
1453
- * specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then
1454
- * the x-amz-sha256-tree-hash is returned as a response header.</p>
1455
- * </li>
1456
- * </ul>
1457
- */
1458
- checksum?: string;
1459
-
1460
- /**
1461
- * <p>The HTTP response code for a job output request. The value depends on whether a range
1462
- * was specified in the request.</p>
1463
- */
1464
- status?: number;
1465
-
1466
- /**
1467
- * <p>The range of bytes returned by Amazon S3 Glacier. If only partial output is downloaded,
1468
- * the response provides the range of bytes Amazon S3 Glacier returned. For example, bytes
1469
- * 0-1048575/8388608 returns the first 1 MB from 8 MB.</p>
1470
- */
1471
- contentRange?: string;
1472
-
1473
- /**
1474
- * <p>Indicates the range units accepted. For more information, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html">RFC2616</a>. </p>
1475
- */
1476
- acceptRanges?: string;
1477
-
1478
- /**
1479
- * <p>The Content-Type depends on whether the job output is an archive or a vault
1480
- * inventory. For archive data, the Content-Type is application/octet-stream. For vault
1481
- * inventory, if you requested CSV format when you initiated the job, the Content-Type is
1482
- * text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type
1483
- * is application/json.</p>
1484
- */
1485
- contentType?: string;
1486
-
1487
- /**
1488
- * <p>The description of an archive.</p>
1489
- */
1490
- archiveDescription?: string;
1491
- }
1492
-
1493
- export namespace GetJobOutputOutput {
1494
- /**
1495
- * @internal
1496
- */
1497
- export const filterSensitiveLog = (obj: GetJobOutputOutput): any => ({
1498
- ...obj,
1499
- });
1500
- }
1501
-
1502
- /**
1503
- * <p>Input for GetVaultAccessPolicy.</p>
1504
- */
1505
- export interface GetVaultAccessPolicyInput {
1506
- /**
1507
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1508
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1509
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1510
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1511
- * ('-') in the ID.</p>
1512
- */
1513
- accountId: string | undefined;
1514
-
1515
- /**
1516
- * <p>The name of the vault.</p>
1517
- */
1518
- vaultName: string | undefined;
1519
- }
1520
-
1521
- export namespace GetVaultAccessPolicyInput {
1522
- /**
1523
- * @internal
1524
- */
1525
- export const filterSensitiveLog = (obj: GetVaultAccessPolicyInput): any => ({
1526
- ...obj,
1527
- });
1528
- }
1529
-
1530
- /**
1531
- * <p>Contains the vault access policy.</p>
1532
- */
1533
- export interface VaultAccessPolicy {
1534
- /**
1535
- * <p>The vault access policy.</p>
1536
- */
1537
- Policy?: string;
1538
- }
1539
-
1540
- export namespace VaultAccessPolicy {
1541
- /**
1542
- * @internal
1543
- */
1544
- export const filterSensitiveLog = (obj: VaultAccessPolicy): any => ({
1545
- ...obj,
1546
- });
1547
- }
1548
-
1549
- /**
1550
- * <p>Output for GetVaultAccessPolicy.</p>
1551
- */
1552
- export interface GetVaultAccessPolicyOutput {
1553
- /**
1554
- * <p>Contains the returned vault access policy as a JSON string.</p>
1555
- */
1556
- policy?: VaultAccessPolicy;
1557
- }
1558
-
1559
- export namespace GetVaultAccessPolicyOutput {
1560
- /**
1561
- * @internal
1562
- */
1563
- export const filterSensitiveLog = (obj: GetVaultAccessPolicyOutput): any => ({
1564
- ...obj,
1565
- });
1566
- }
1567
-
1568
- /**
1569
- * <p>The input values for <code>GetVaultLock</code>.</p>
1570
- */
1571
- export interface GetVaultLockInput {
1572
- /**
1573
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1574
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1575
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1576
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1577
- * ('-') in the ID.</p>
1578
- */
1579
- accountId: string | undefined;
1580
-
1581
- /**
1582
- * <p>The name of the vault.</p>
1583
- */
1584
- vaultName: string | undefined;
1585
- }
1586
-
1587
- export namespace GetVaultLockInput {
1588
- /**
1589
- * @internal
1590
- */
1591
- export const filterSensitiveLog = (obj: GetVaultLockInput): any => ({
1592
- ...obj,
1593
- });
1594
- }
1595
-
1596
- /**
1597
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
1598
- */
1599
- export interface GetVaultLockOutput {
1600
- /**
1601
- * <p>The vault lock policy as a JSON string, which uses "\" as an escape
1602
- * character.</p>
1603
- */
1604
- Policy?: string;
1605
-
1606
- /**
1607
- * <p>The state of the vault lock. <code>InProgress</code> or
1608
- * <code>Locked</code>.</p>
1609
- */
1610
- State?: string;
1611
-
1612
- /**
1613
- * <p>The UTC date and time at which the lock ID expires. This value can be
1614
- * <code>null</code> if the vault lock is in a <code>Locked</code> state.</p>
1615
- */
1616
- ExpirationDate?: string;
1617
-
1618
- /**
1619
- * <p>The UTC date and time at which the vault lock was put into the
1620
- * <code>InProgress</code> state.</p>
1621
- */
1622
- CreationDate?: string;
1623
- }
1624
-
1625
- export namespace GetVaultLockOutput {
1626
- /**
1627
- * @internal
1628
- */
1629
- export const filterSensitiveLog = (obj: GetVaultLockOutput): any => ({
1630
- ...obj,
1631
- });
1632
- }
1633
-
1634
- /**
1635
- * <p>Provides options for retrieving the notification configuration set on an Amazon
1636
- * Glacier vault.</p>
1637
- */
1638
- export interface GetVaultNotificationsInput {
1639
- /**
1640
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1641
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1642
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1643
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1644
- * ('-') in the ID.</p>
1645
- */
1646
- accountId: string | undefined;
1647
-
1648
- /**
1649
- * <p>The name of the vault.</p>
1650
- */
1651
- vaultName: string | undefined;
1652
- }
1653
-
1654
- export namespace GetVaultNotificationsInput {
1655
- /**
1656
- * @internal
1657
- */
1658
- export const filterSensitiveLog = (obj: GetVaultNotificationsInput): any => ({
1659
- ...obj,
1660
- });
1661
- }
1662
-
1663
- /**
1664
- * <p>Represents a vault's notification configuration.</p>
1665
- */
1666
- export interface VaultNotificationConfig {
1667
- /**
1668
- * <p>The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name
1669
- * (ARN).</p>
1670
- */
1671
- SNSTopic?: string;
1672
-
1673
- /**
1674
- * <p>A list of one or more events for which Amazon S3 Glacier will send a notification to the
1675
- * specified Amazon SNS topic.</p>
1676
- */
1677
- Events?: string[];
1678
- }
1679
-
1680
- export namespace VaultNotificationConfig {
1681
- /**
1682
- * @internal
1683
- */
1684
- export const filterSensitiveLog = (obj: VaultNotificationConfig): any => ({
1685
- ...obj,
1686
- });
1687
- }
1688
-
1689
- /**
1690
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
1691
- */
1692
- export interface GetVaultNotificationsOutput {
1693
- /**
1694
- * <p>Returns the notification configuration set on the vault.</p>
1695
- */
1696
- vaultNotificationConfig?: VaultNotificationConfig;
1697
- }
1698
-
1699
- export namespace GetVaultNotificationsOutput {
1700
- /**
1701
- * @internal
1702
- */
1703
- export const filterSensitiveLog = (obj: GetVaultNotificationsOutput): any => ({
1704
- ...obj,
1705
- });
1706
- }
1707
-
1708
- /**
1709
- * <p>Provides options for specifying a range inventory retrieval job.</p>
1710
- */
1711
- export interface InventoryRetrievalJobInput {
1712
- /**
1713
- * <p>The start of the date range in UTC for vault inventory retrieval that includes
1714
- * archives created on or after this date. This value should be a string in the ISO 8601 date
1715
- * format, for example <code>2013-03-20T17:03:43Z</code>.</p>
1716
- */
1717
- StartDate?: string;
1718
-
1719
- /**
1720
- * <p>The end of the date range in UTC for vault inventory retrieval that includes archives
1721
- * created before this date. This value should be a string in the ISO 8601 date format, for
1722
- * example <code>2013-03-20T17:03:43Z</code>.</p>
1723
- */
1724
- EndDate?: string;
1725
-
1726
- /**
1727
- * <p>Specifies the maximum number of inventory items returned per vault inventory
1728
- * retrieval request. Valid values are greater than or equal to 1.</p>
1729
- */
1730
- Limit?: string;
1731
-
1732
- /**
1733
- * <p>An opaque string that represents where to continue pagination of the vault inventory
1734
- * retrieval results. You use the marker in a new <b>InitiateJob</b>
1735
- * request to obtain additional inventory items. If there are no more inventory items, this
1736
- * value is <code>null</code>.</p>
1737
- */
1738
- Marker?: string;
1739
- }
1740
-
1741
- export namespace InventoryRetrievalJobInput {
1742
- /**
1743
- * @internal
1744
- */
1745
- export const filterSensitiveLog = (obj: InventoryRetrievalJobInput): any => ({
1746
- ...obj,
1747
- });
1748
- }
1749
-
1750
- /**
1751
- * <p>Provides options for defining a job.</p>
1752
- */
1753
- export interface JobParameters {
1754
- /**
1755
- * <p>When initiating a job to retrieve a vault inventory, you can optionally add this
1756
- * parameter to your request to specify the output format. If you are initiating an inventory
1757
- * job and do not specify a Format field, JSON is the default format. Valid values are "CSV"
1758
- * and "JSON".</p>
1759
- */
1760
- Format?: string;
1761
-
1762
- /**
1763
- * <p>The job type. You can initiate a job to perform a select query on an archive,
1764
- * retrieve an archive, or get an inventory of a vault.
1765
- * Valid values are "select", "archive-retrieval" and "inventory-retrieval".</p>
1766
- */
1767
- Type?: string;
1768
-
1769
- /**
1770
- * <p>The ID of the archive that you want to retrieve. This field is required only if
1771
- * <code>Type</code> is set to <code>select</code> or <code>archive-retrieval</code>code>.
1772
- * An error occurs if you specify this
1773
- * request parameter for an inventory retrieval job request. </p>
1774
- */
1775
- ArchiveId?: string;
1776
-
1777
- /**
1778
- * <p>The optional description for the job. The description must be less than or equal to
1779
- * 1,024 bytes. The allowable characters are 7-bit ASCII without control codes-specifically,
1780
- * ASCII values 32-126 decimal or 0x20-0x7E hexadecimal.</p>
1781
- */
1782
- Description?: string;
1783
-
1784
- /**
1785
- * <p>The Amazon SNS topic ARN to which Amazon S3 Glacier sends a notification when the job is
1786
- * completed and the output is ready for you to download. The specified topic publishes the
1787
- * notification to its subscribers. The SNS topic must exist.</p>
1788
- */
1789
- SNSTopic?: string;
1790
-
1791
- /**
1792
- * <p>The byte range to retrieve for an archive retrieval. in the form
1793
- * "<i>StartByteValue</i>-<i>EndByteValue</i>" If not
1794
- * specified, the whole archive is retrieved. If specified, the byte range must be megabyte
1795
- * (1024*1024) aligned which means that <i>StartByteValue</i> must be divisible
1796
- * by 1 MB and <i>EndByteValue</i> plus 1 must be divisible by 1 MB or be the
1797
- * end of the archive specified as the archive byte size value minus 1. If RetrievalByteRange
1798
- * is not megabyte aligned, this operation returns a 400 response. </p>
1799
- * <p>An error occurs if you specify this field for an inventory retrieval job
1800
- * request.</p>
1801
- */
1802
- RetrievalByteRange?: string;
1803
-
1804
- /**
1805
- * <p>The tier to use for a select or an archive retrieval job. Valid values are
1806
- * <code>Expedited</code>, <code>Standard</code>, or <code>Bulk</code>.
1807
- * <code>Standard</code> is the default.</p>
1808
- */
1809
- Tier?: string;
1810
-
1811
- /**
1812
- * <p>Input parameters used for range inventory retrieval.</p>
1813
- */
1814
- InventoryRetrievalParameters?: InventoryRetrievalJobInput;
1815
-
1816
- /**
1817
- * <p>Contains the parameters that define a job.</p>
1818
- */
1819
- SelectParameters?: SelectParameters;
1820
-
1821
- /**
1822
- * <p>Contains information about the location where the select job results are stored.</p>
1823
- */
1824
- OutputLocation?: OutputLocation;
1825
- }
1826
-
1827
- export namespace JobParameters {
1828
- /**
1829
- * @internal
1830
- */
1831
- export const filterSensitiveLog = (obj: JobParameters): any => ({
1832
- ...obj,
1833
- });
1834
- }
1835
-
1836
- /**
1837
- * <p>Provides options for initiating an Amazon S3 Glacier job.</p>
1838
- */
1839
- export interface InitiateJobInput {
1840
- /**
1841
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1842
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1843
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1844
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1845
- * ('-') in the ID.</p>
1846
- */
1847
- accountId: string | undefined;
1848
-
1849
- /**
1850
- * <p>The name of the vault.</p>
1851
- */
1852
- vaultName: string | undefined;
1853
-
1854
- /**
1855
- * <p>Provides options for specifying job information.</p>
1856
- */
1857
- jobParameters?: JobParameters;
1858
- }
1859
-
1860
- export namespace InitiateJobInput {
1861
- /**
1862
- * @internal
1863
- */
1864
- export const filterSensitiveLog = (obj: InitiateJobInput): any => ({
1865
- ...obj,
1866
- });
1867
- }
1868
-
1869
- /**
1870
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
1871
- */
1872
- export interface InitiateJobOutput {
1873
- /**
1874
- * <p>The relative URI path of the job.</p>
1875
- */
1876
- location?: string;
1877
-
1878
- /**
1879
- * <p>The ID of the job.</p>
1880
- */
1881
- jobId?: string;
1882
-
1883
- /**
1884
- * <p>The path to the location of where the select results are stored.</p>
1885
- */
1886
- jobOutputPath?: string;
1887
- }
1888
-
1889
- export namespace InitiateJobOutput {
1890
- /**
1891
- * @internal
1892
- */
1893
- export const filterSensitiveLog = (obj: InitiateJobOutput): any => ({
1894
- ...obj,
1895
- });
1896
- }
1897
-
1898
- /**
1899
- * <p>Returned if there is insufficient capacity to process this expedited request. This
1900
- * error only applies to expedited retrievals and not to standard or bulk
1901
- * retrievals.</p>
1902
- */
1903
- export interface InsufficientCapacityException extends __SmithyException, $MetadataBearer {
1904
- name: "InsufficientCapacityException";
1905
- $fault: "client";
1906
- type?: string;
1907
- code?: string;
1908
- message?: string;
1909
- }
1910
-
1911
- export namespace InsufficientCapacityException {
1912
- /**
1913
- * @internal
1914
- */
1915
- export const filterSensitiveLog = (obj: InsufficientCapacityException): any => ({
1916
- ...obj,
1917
- });
1918
- }
1919
-
1920
- /**
1921
- * <p>Returned if a retrieval job would exceed the current data policy's retrieval rate
1922
- * limit. For more information about data retrieval policies,</p>
1923
- */
1924
- export interface PolicyEnforcedException extends __SmithyException, $MetadataBearer {
1925
- name: "PolicyEnforcedException";
1926
- $fault: "client";
1927
- /**
1928
- * <p>Client</p>
1929
- */
1930
- type?: string;
1931
-
1932
- /**
1933
- * <p>PolicyEnforcedException</p>
1934
- */
1935
- code?: string;
1936
-
1937
- /**
1938
- * <p>InitiateJob request denied by current data retrieval policy.</p>
1939
- */
1940
- message?: string;
1941
- }
1942
-
1943
- export namespace PolicyEnforcedException {
1944
- /**
1945
- * @internal
1946
- */
1947
- export const filterSensitiveLog = (obj: PolicyEnforcedException): any => ({
1948
- ...obj,
1949
- });
1950
- }
1951
-
1952
- /**
1953
- * <p>Provides options for initiating a multipart upload to an Amazon S3 Glacier
1954
- * vault.</p>
1955
- */
1956
- export interface InitiateMultipartUploadInput {
1957
- /**
1958
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
1959
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
1960
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
1961
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
1962
- * ('-') in the ID. </p>
1963
- */
1964
- accountId: string | undefined;
1965
-
1966
- /**
1967
- * <p>The name of the vault.</p>
1968
- */
1969
- vaultName: string | undefined;
1970
-
1971
- /**
1972
- * <p>The archive description that you are uploading in parts.</p>
1973
- * <p>The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example
1974
- * 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum
1975
- * allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).</p>
1976
- */
1977
- archiveDescription?: string;
1978
-
1979
- /**
1980
- * <p>The size of each part except the last, in bytes. The last part can be smaller than
1981
- * this part size.</p>
1982
- */
1983
- partSize?: string;
1984
- }
1985
-
1986
- export namespace InitiateMultipartUploadInput {
1987
- /**
1988
- * @internal
1989
- */
1990
- export const filterSensitiveLog = (obj: InitiateMultipartUploadInput): any => ({
1991
- ...obj,
1992
- });
1993
- }
1994
-
1995
- /**
1996
- * <p>The Amazon S3 Glacier response to your request.</p>
1997
- */
1998
- export interface InitiateMultipartUploadOutput {
1999
- /**
2000
- * <p>The relative URI path of the multipart upload ID Amazon S3 Glacier created.</p>
2001
- */
2002
- location?: string;
2003
-
2004
- /**
2005
- * <p>The ID of the multipart upload. This value is also included as part of the
2006
- * location.</p>
2007
- */
2008
- uploadId?: string;
2009
- }
2010
-
2011
- export namespace InitiateMultipartUploadOutput {
2012
- /**
2013
- * @internal
2014
- */
2015
- export const filterSensitiveLog = (obj: InitiateMultipartUploadOutput): any => ({
2016
- ...obj,
2017
- });
2018
- }
2019
-
2020
- /**
2021
- * <p>Contains the vault lock policy.</p>
2022
- */
2023
- export interface VaultLockPolicy {
2024
- /**
2025
- * <p>The vault lock policy.</p>
2026
- */
2027
- Policy?: string;
2028
- }
2029
-
2030
- export namespace VaultLockPolicy {
2031
- /**
2032
- * @internal
2033
- */
2034
- export const filterSensitiveLog = (obj: VaultLockPolicy): any => ({
2035
- ...obj,
2036
- });
2037
- }
2038
-
2039
- /**
2040
- * <p>The input values for <code>InitiateVaultLock</code>.</p>
2041
- */
2042
- export interface InitiateVaultLockInput {
2043
- /**
2044
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
2045
- * account ID associated with the credentials used to sign the request. You can either specify
2046
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon
2047
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
2048
- * If you specify your account ID, do not include any hyphens ('-') in the ID.</p>
2049
- */
2050
- accountId: string | undefined;
2051
-
2052
- /**
2053
- * <p>The name of the vault.</p>
2054
- */
2055
- vaultName: string | undefined;
2056
-
2057
- /**
2058
- * <p>The vault lock policy as a JSON string, which uses "\" as an escape
2059
- * character.</p>
2060
- */
2061
- policy?: VaultLockPolicy;
2062
- }
2063
-
2064
- export namespace InitiateVaultLockInput {
2065
- /**
2066
- * @internal
2067
- */
2068
- export const filterSensitiveLog = (obj: InitiateVaultLockInput): any => ({
2069
- ...obj,
2070
- });
2071
- }
2072
-
2073
- /**
2074
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2075
- */
2076
- export interface InitiateVaultLockOutput {
2077
- /**
2078
- * <p>The lock ID, which is used to complete the vault locking process.</p>
2079
- */
2080
- lockId?: string;
2081
- }
2082
-
2083
- export namespace InitiateVaultLockOutput {
2084
- /**
2085
- * @internal
2086
- */
2087
- export const filterSensitiveLog = (obj: InitiateVaultLockOutput): any => ({
2088
- ...obj,
2089
- });
2090
- }
2091
-
2092
- /**
2093
- * <p>Provides options for retrieving a job list for an Amazon S3 Glacier vault.</p>
2094
- */
2095
- export interface ListJobsInput {
2096
- /**
2097
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2098
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2099
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2100
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2101
- * ('-') in the ID. </p>
2102
- */
2103
- accountId: string | undefined;
2104
-
2105
- /**
2106
- * <p>The name of the vault.</p>
2107
- */
2108
- vaultName: string | undefined;
2109
-
2110
- /**
2111
- * <p>The maximum number of jobs to be returned. The default limit is 50. The number of
2112
- * jobs returned might be fewer than the specified limit, but the number of returned jobs
2113
- * never exceeds the limit.</p>
2114
- */
2115
- limit?: number;
2116
-
2117
- /**
2118
- * <p>An opaque string used for pagination. This value specifies the job at which the
2119
- * listing of jobs should begin. Get the marker value from a previous List Jobs response. You
2120
- * only need to include the marker if you are continuing the pagination of results started in
2121
- * a previous List Jobs request.</p>
2122
- */
2123
- marker?: string;
2124
-
2125
- /**
2126
- * <p>The type of job status to return. You can specify the following values:
2127
- * <code>InProgress</code>, <code>Succeeded</code>, or <code>Failed</code>.</p>
2128
- */
2129
- statuscode?: string;
2130
-
2131
- /**
2132
- * <p>The state of the jobs to return. You can specify <code>true</code> or
2133
- * <code>false</code>.</p>
2134
- */
2135
- completed?: string;
2136
- }
2137
-
2138
- export namespace ListJobsInput {
2139
- /**
2140
- * @internal
2141
- */
2142
- export const filterSensitiveLog = (obj: ListJobsInput): any => ({
2143
- ...obj,
2144
- });
2145
- }
2146
-
2147
- /**
2148
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2149
- */
2150
- export interface ListJobsOutput {
2151
- /**
2152
- * <p>A list of job objects. Each job object contains metadata describing the
2153
- * job.</p>
2154
- */
2155
- JobList?: GlacierJobDescription[];
2156
-
2157
- /**
2158
- * <p>
2159
- * An opaque string used for pagination that specifies the job at which the listing of jobs should begin.
2160
- * You get the <code>marker</code> value from a previous List Jobs response.
2161
- * You only need to include the marker if you are continuing the pagination of the results started in a
2162
- * previous List Jobs request. </p>
2163
- */
2164
- Marker?: string;
2165
- }
2166
-
2167
- export namespace ListJobsOutput {
2168
- /**
2169
- * @internal
2170
- */
2171
- export const filterSensitiveLog = (obj: ListJobsOutput): any => ({
2172
- ...obj,
2173
- });
2174
- }
2175
-
2176
- /**
2177
- * <p>Provides options for retrieving list of in-progress multipart uploads for an Amazon
2178
- * Glacier vault.</p>
2179
- */
2180
- export interface ListMultipartUploadsInput {
2181
- /**
2182
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2183
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2184
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2185
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2186
- * ('-') in the ID. </p>
2187
- */
2188
- accountId: string | undefined;
2189
-
2190
- /**
2191
- * <p>The name of the vault.</p>
2192
- */
2193
- vaultName: string | undefined;
2194
-
2195
- /**
2196
- * <p>Specifies the maximum number of uploads returned in the response body. If this value
2197
- * is not specified, the List Uploads operation returns up to 50 uploads.</p>
2198
- */
2199
- limit?: number;
2200
-
2201
- /**
2202
- * <p>An opaque string used for pagination. This value specifies the upload at which the
2203
- * listing of uploads should begin. Get the marker value from a previous List Uploads
2204
- * response. You need only include the marker if you are continuing the pagination of results
2205
- * started in a previous List Uploads request.</p>
2206
- */
2207
- marker?: string;
2208
- }
2209
-
2210
- export namespace ListMultipartUploadsInput {
2211
- /**
2212
- * @internal
2213
- */
2214
- export const filterSensitiveLog = (obj: ListMultipartUploadsInput): any => ({
2215
- ...obj,
2216
- });
2217
- }
2218
-
2219
- /**
2220
- * <p>A list of in-progress multipart uploads for a vault.</p>
2221
- */
2222
- export interface UploadListElement {
2223
- /**
2224
- * <p>The ID of a multipart upload.</p>
2225
- */
2226
- MultipartUploadId?: string;
2227
-
2228
- /**
2229
- * <p>The Amazon Resource Name (ARN) of the vault that contains the archive.</p>
2230
- */
2231
- VaultARN?: string;
2232
-
2233
- /**
2234
- * <p>The description of the archive that was specified in the Initiate Multipart Upload
2235
- * request.</p>
2236
- */
2237
- ArchiveDescription?: string;
2238
-
2239
- /**
2240
- * <p>The part size, in bytes, specified in the Initiate Multipart Upload request. This is
2241
- * the size of all the parts in the upload except the last part, which may be smaller than
2242
- * this size.</p>
2243
- */
2244
- PartSizeInBytes?: number;
2245
-
2246
- /**
2247
- * <p>The UTC time at which the multipart upload was initiated.</p>
2248
- */
2249
- CreationDate?: string;
2250
- }
2251
-
2252
- export namespace UploadListElement {
2253
- /**
2254
- * @internal
2255
- */
2256
- export const filterSensitiveLog = (obj: UploadListElement): any => ({
2257
- ...obj,
2258
- });
2259
- }
2260
-
2261
- /**
2262
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2263
- */
2264
- export interface ListMultipartUploadsOutput {
2265
- /**
2266
- * <p>A list of in-progress multipart uploads.</p>
2267
- */
2268
- UploadsList?: UploadListElement[];
2269
-
2270
- /**
2271
- * <p>An opaque string that represents where to continue pagination of the results. You use
2272
- * the marker in a new List Multipart Uploads request to obtain more uploads in the list. If
2273
- * there are no more uploads, this value is <code>null</code>.</p>
2274
- */
2275
- Marker?: string;
2276
- }
2277
-
2278
- export namespace ListMultipartUploadsOutput {
2279
- /**
2280
- * @internal
2281
- */
2282
- export const filterSensitiveLog = (obj: ListMultipartUploadsOutput): any => ({
2283
- ...obj,
2284
- });
2285
- }
2286
-
2287
- /**
2288
- * <p>Provides options for retrieving a list of parts of an archive that have been uploaded
2289
- * in a specific multipart upload.</p>
2290
- */
2291
- export interface ListPartsInput {
2292
- /**
2293
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2294
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2295
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2296
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2297
- * ('-') in the ID. </p>
2298
- */
2299
- accountId: string | undefined;
2300
-
2301
- /**
2302
- * <p>The name of the vault.</p>
2303
- */
2304
- vaultName: string | undefined;
2305
-
2306
- /**
2307
- * <p>The upload ID of the multipart upload.</p>
2308
- */
2309
- uploadId: string | undefined;
2310
-
2311
- /**
2312
- * <p>An opaque string used for pagination. This value specifies the part at which the
2313
- * listing of parts should begin. Get the marker value from the response of a previous List
2314
- * Parts response. You need only include the marker if you are continuing the pagination of
2315
- * results started in a previous List Parts request.</p>
2316
- */
2317
- marker?: string;
2318
-
2319
- /**
2320
- * <p>The maximum number of parts to be returned. The default limit is 50. The number of
2321
- * parts returned might be fewer than the specified limit, but the number of returned parts
2322
- * never exceeds the limit.</p>
2323
- */
2324
- limit?: number;
2325
- }
2326
-
2327
- export namespace ListPartsInput {
2328
- /**
2329
- * @internal
2330
- */
2331
- export const filterSensitiveLog = (obj: ListPartsInput): any => ({
2332
- ...obj,
2333
- });
2334
- }
2335
-
2336
- /**
2337
- * <p>A list of the part sizes of the multipart upload.</p>
2338
- */
2339
- export interface PartListElement {
2340
- /**
2341
- * <p>The byte range of a part, inclusive of the upper value of the range.</p>
2342
- */
2343
- RangeInBytes?: string;
2344
-
2345
- /**
2346
- * <p>The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is
2347
- * never <code>null</code>.</p>
2348
- */
2349
- SHA256TreeHash?: string;
2350
- }
2351
-
2352
- export namespace PartListElement {
2353
- /**
2354
- * @internal
2355
- */
2356
- export const filterSensitiveLog = (obj: PartListElement): any => ({
2357
- ...obj,
2358
- });
2359
- }
2360
-
2361
- /**
2362
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2363
- */
2364
- export interface ListPartsOutput {
2365
- /**
2366
- * <p>The ID of the upload to which the parts are associated.</p>
2367
- */
2368
- MultipartUploadId?: string;
2369
-
2370
- /**
2371
- * <p>The Amazon Resource Name (ARN) of the vault to which the multipart upload was
2372
- * initiated.</p>
2373
- */
2374
- VaultARN?: string;
2375
-
2376
- /**
2377
- * <p>The description of the archive that was specified in the Initiate Multipart Upload
2378
- * request.</p>
2379
- */
2380
- ArchiveDescription?: string;
2381
-
2382
- /**
2383
- * <p>The part size in bytes. This is the same value that you specified in the Initiate
2384
- * Multipart Upload request.</p>
2385
- */
2386
- PartSizeInBytes?: number;
2387
-
2388
- /**
2389
- * <p>The UTC time at which the multipart upload was initiated.</p>
2390
- */
2391
- CreationDate?: string;
2392
-
2393
- /**
2394
- * <p>A list of the part sizes of the multipart upload. Each object in the array contains a
2395
- * <code>RangeBytes</code> and <code>sha256-tree-hash</code> name/value
2396
- * pair.</p>
2397
- */
2398
- Parts?: PartListElement[];
2399
-
2400
- /**
2401
- * <p>An opaque string that represents where to continue pagination of the results. You use
2402
- * the marker in a new List Parts request to obtain more jobs in the list. If there are no
2403
- * more parts, this value is <code>null</code>.</p>
2404
- */
2405
- Marker?: string;
2406
- }
2407
-
2408
- export namespace ListPartsOutput {
2409
- /**
2410
- * @internal
2411
- */
2412
- export const filterSensitiveLog = (obj: ListPartsOutput): any => ({
2413
- ...obj,
2414
- });
2415
- }
2416
-
2417
- export interface ListProvisionedCapacityInput {
2418
- /**
2419
- * <p>The AWS account ID of the account that owns the vault. You can either specify an AWS
2420
- * account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS
2421
- * account ID associated with the credentials used to sign the request. If you use an account
2422
- * ID, don't include any hyphens ('-') in the ID. </p>
2423
- */
2424
- accountId: string | undefined;
2425
- }
2426
-
2427
- export namespace ListProvisionedCapacityInput {
2428
- /**
2429
- * @internal
2430
- */
2431
- export const filterSensitiveLog = (obj: ListProvisionedCapacityInput): any => ({
2432
- ...obj,
2433
- });
2434
- }
2435
-
2436
- /**
2437
- * <p>The definition for a provisioned capacity unit.</p>
2438
- */
2439
- export interface ProvisionedCapacityDescription {
2440
- /**
2441
- * <p>The ID that identifies the provisioned capacity unit.</p>
2442
- */
2443
- CapacityId?: string;
2444
-
2445
- /**
2446
- * <p>The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).</p>
2447
- */
2448
- StartDate?: string;
2449
-
2450
- /**
2451
- * <p>The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).</p>
2452
- */
2453
- ExpirationDate?: string;
2454
- }
2455
-
2456
- export namespace ProvisionedCapacityDescription {
2457
- /**
2458
- * @internal
2459
- */
2460
- export const filterSensitiveLog = (obj: ProvisionedCapacityDescription): any => ({
2461
- ...obj,
2462
- });
2463
- }
2464
-
2465
- export interface ListProvisionedCapacityOutput {
2466
- /**
2467
- * <p>The response body contains the following JSON fields.</p>
2468
- */
2469
- ProvisionedCapacityList?: ProvisionedCapacityDescription[];
2470
- }
2471
-
2472
- export namespace ListProvisionedCapacityOutput {
2473
- /**
2474
- * @internal
2475
- */
2476
- export const filterSensitiveLog = (obj: ListProvisionedCapacityOutput): any => ({
2477
- ...obj,
2478
- });
2479
- }
2480
-
2481
- /**
2482
- * <p>The input value for <code>ListTagsForVaultInput</code>.</p>
2483
- */
2484
- export interface ListTagsForVaultInput {
2485
- /**
2486
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2487
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2488
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2489
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2490
- * ('-') in the ID.</p>
2491
- */
2492
- accountId: string | undefined;
2493
-
2494
- /**
2495
- * <p>The name of the vault.</p>
2496
- */
2497
- vaultName: string | undefined;
2498
- }
2499
-
2500
- export namespace ListTagsForVaultInput {
2501
- /**
2502
- * @internal
2503
- */
2504
- export const filterSensitiveLog = (obj: ListTagsForVaultInput): any => ({
2505
- ...obj,
2506
- });
2507
- }
2508
-
2509
- /**
2510
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2511
- */
2512
- export interface ListTagsForVaultOutput {
2513
- /**
2514
- * <p>The tags attached to the vault. Each tag is composed of a key and a value.</p>
2515
- */
2516
- Tags?: { [key: string]: string };
2517
- }
2518
-
2519
- export namespace ListTagsForVaultOutput {
2520
- /**
2521
- * @internal
2522
- */
2523
- export const filterSensitiveLog = (obj: ListTagsForVaultOutput): any => ({
2524
- ...obj,
2525
- });
2526
- }
2527
-
2528
- /**
2529
- * <p>Provides options to retrieve the vault list owned by the calling user's account. The
2530
- * list provides metadata information for each vault.</p>
2531
- */
2532
- export interface ListVaultsInput {
2533
- /**
2534
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
2535
- * account ID associated with the credentials used to sign the request. You can either specify
2536
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon
2537
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
2538
- * If you specify your account ID, do not include any hyphens ('-') in the ID.</p>
2539
- */
2540
- accountId: string | undefined;
2541
-
2542
- /**
2543
- * <p>A string used for pagination. The marker specifies the vault ARN after which the
2544
- * listing of vaults should begin.</p>
2545
- */
2546
- marker?: string;
2547
-
2548
- /**
2549
- * <p>The maximum number of vaults to be returned. The default limit is 10. The number of
2550
- * vaults returned might be fewer than the specified limit, but the number of returned vaults
2551
- * never exceeds the limit.</p>
2552
- */
2553
- limit?: number;
2554
- }
2555
-
2556
- export namespace ListVaultsInput {
2557
- /**
2558
- * @internal
2559
- */
2560
- export const filterSensitiveLog = (obj: ListVaultsInput): any => ({
2561
- ...obj,
2562
- });
2563
- }
2564
-
2565
- /**
2566
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2567
- */
2568
- export interface ListVaultsOutput {
2569
- /**
2570
- * <p>List of vaults.</p>
2571
- */
2572
- VaultList?: DescribeVaultOutput[];
2573
-
2574
- /**
2575
- * <p>The vault ARN at which to continue pagination of the results. You use the marker in
2576
- * another List Vaults request to obtain more vaults in the list.</p>
2577
- */
2578
- Marker?: string;
2579
- }
2580
-
2581
- export namespace ListVaultsOutput {
2582
- /**
2583
- * @internal
2584
- */
2585
- export const filterSensitiveLog = (obj: ListVaultsOutput): any => ({
2586
- ...obj,
2587
- });
2588
- }
2589
-
2590
- export interface PurchaseProvisionedCapacityInput {
2591
- /**
2592
- * <p>The AWS account ID of the account that owns the vault. You can either specify an AWS
2593
- * account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS
2594
- * account ID associated with the credentials used to sign the request. If you use an account
2595
- * ID, don't include any hyphens ('-') in the ID. </p>
2596
- */
2597
- accountId: string | undefined;
2598
- }
2599
-
2600
- export namespace PurchaseProvisionedCapacityInput {
2601
- /**
2602
- * @internal
2603
- */
2604
- export const filterSensitiveLog = (obj: PurchaseProvisionedCapacityInput): any => ({
2605
- ...obj,
2606
- });
2607
- }
2608
-
2609
- export interface PurchaseProvisionedCapacityOutput {
2610
- /**
2611
- * <p>The ID that identifies the provisioned capacity unit.</p>
2612
- */
2613
- capacityId?: string;
2614
- }
2615
-
2616
- export namespace PurchaseProvisionedCapacityOutput {
2617
- /**
2618
- * @internal
2619
- */
2620
- export const filterSensitiveLog = (obj: PurchaseProvisionedCapacityOutput): any => ({
2621
- ...obj,
2622
- });
2623
- }
2624
-
2625
- /**
2626
- * <p>The input value for <code>RemoveTagsFromVaultInput</code>.</p>
2627
- */
2628
- export interface RemoveTagsFromVaultInput {
2629
- /**
2630
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2631
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2632
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2633
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2634
- * ('-') in the ID.</p>
2635
- */
2636
- accountId: string | undefined;
2637
-
2638
- /**
2639
- * <p>The name of the vault.</p>
2640
- */
2641
- vaultName: string | undefined;
2642
-
2643
- /**
2644
- * <p>A list of tag keys. Each corresponding tag is removed from the vault.</p>
2645
- */
2646
- TagKeys?: string[];
2647
- }
2648
-
2649
- export namespace RemoveTagsFromVaultInput {
2650
- /**
2651
- * @internal
2652
- */
2653
- export const filterSensitiveLog = (obj: RemoveTagsFromVaultInput): any => ({
2654
- ...obj,
2655
- });
2656
- }
2657
-
2658
- /**
2659
- * <p>SetDataRetrievalPolicy input.</p>
2660
- */
2661
- export interface SetDataRetrievalPolicyInput {
2662
- /**
2663
- * <p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS
2664
- * account ID associated with the credentials used to sign the request. You can either specify
2665
- * an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon
2666
- * Glacier uses the AWS account ID associated with the credentials used to sign the request.
2667
- * If you specify your account ID, do not include any hyphens ('-') in the ID.</p>
2668
- */
2669
- accountId: string | undefined;
2670
-
2671
- /**
2672
- * <p>The data retrieval policy in JSON format.</p>
2673
- */
2674
- Policy?: DataRetrievalPolicy;
2675
- }
2676
-
2677
- export namespace SetDataRetrievalPolicyInput {
2678
- /**
2679
- * @internal
2680
- */
2681
- export const filterSensitiveLog = (obj: SetDataRetrievalPolicyInput): any => ({
2682
- ...obj,
2683
- });
2684
- }
2685
-
2686
- /**
2687
- * <p>SetVaultAccessPolicy input.</p>
2688
- */
2689
- export interface SetVaultAccessPolicyInput {
2690
- /**
2691
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2692
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2693
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2694
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2695
- * ('-') in the ID.</p>
2696
- */
2697
- accountId: string | undefined;
2698
-
2699
- /**
2700
- * <p>The name of the vault.</p>
2701
- */
2702
- vaultName: string | undefined;
2703
-
2704
- /**
2705
- * <p>The vault access policy as a JSON string.</p>
2706
- */
2707
- policy?: VaultAccessPolicy;
2708
- }
2709
-
2710
- export namespace SetVaultAccessPolicyInput {
2711
- /**
2712
- * @internal
2713
- */
2714
- export const filterSensitiveLog = (obj: SetVaultAccessPolicyInput): any => ({
2715
- ...obj,
2716
- });
2717
- }
2718
-
2719
- /**
2720
- * <p>Provides options to configure notifications that will be sent when specific events
2721
- * happen to a vault.</p>
2722
- */
2723
- export interface SetVaultNotificationsInput {
2724
- /**
2725
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2726
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2727
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2728
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2729
- * ('-') in the ID.</p>
2730
- */
2731
- accountId: string | undefined;
2732
-
2733
- /**
2734
- * <p>The name of the vault.</p>
2735
- */
2736
- vaultName: string | undefined;
2737
-
2738
- /**
2739
- * <p>Provides options for specifying notification configuration.</p>
2740
- */
2741
- vaultNotificationConfig?: VaultNotificationConfig;
2742
- }
2743
-
2744
- export namespace SetVaultNotificationsInput {
2745
- /**
2746
- * @internal
2747
- */
2748
- export const filterSensitiveLog = (obj: SetVaultNotificationsInput): any => ({
2749
- ...obj,
2750
- });
2751
- }
2752
-
2753
- /**
2754
- * <p>Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the
2755
- * upload.</p>
2756
- */
2757
- export interface RequestTimeoutException extends __SmithyException, $MetadataBearer {
2758
- name: "RequestTimeoutException";
2759
- $fault: "client";
2760
- /**
2761
- * <p>Client</p>
2762
- */
2763
- type?: string;
2764
-
2765
- /**
2766
- * <p>408 Request Timeout</p>
2767
- */
2768
- code?: string;
2769
-
2770
- /**
2771
- * <p>Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the
2772
- * upload.</p>
2773
- */
2774
- message?: string;
2775
- }
2776
-
2777
- export namespace RequestTimeoutException {
2778
- /**
2779
- * @internal
2780
- */
2781
- export const filterSensitiveLog = (obj: RequestTimeoutException): any => ({
2782
- ...obj,
2783
- });
2784
- }
2785
-
2786
- /**
2787
- * <p>Provides options to add an archive to a vault.</p>
2788
- */
2789
- export interface UploadArchiveInput {
2790
- /**
2791
- * <p>The name of the vault.</p>
2792
- */
2793
- vaultName: string | undefined;
2794
-
2795
- /**
2796
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2797
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2798
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2799
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2800
- * ('-') in the ID. </p>
2801
- */
2802
- accountId: string | undefined;
2803
-
2804
- /**
2805
- * <p>The optional description of the archive you are uploading.</p>
2806
- */
2807
- archiveDescription?: string;
2808
-
2809
- /**
2810
- * <p>The SHA256 tree hash of the data being uploaded.</p>
2811
- */
2812
- checksum?: string;
2813
-
2814
- /**
2815
- * <p>The data to upload.</p>
2816
- */
2817
- body?: Readable | ReadableStream | Blob;
2818
- }
2819
-
2820
- export namespace UploadArchiveInput {
2821
- /**
2822
- * @internal
2823
- */
2824
- export const filterSensitiveLog = (obj: UploadArchiveInput): any => ({
2825
- ...obj,
2826
- });
2827
- }
2828
-
2829
- /**
2830
- * <p>Provides options to upload a part of an archive in a multipart upload
2831
- * operation.</p>
2832
- */
2833
- export interface UploadMultipartPartInput {
2834
- /**
2835
- * <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the
2836
- * vault. You can either specify an AWS account ID or optionally a single '<code>-</code>'
2837
- * (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the
2838
- * credentials used to sign the request. If you use an account ID, do not include any hyphens
2839
- * ('-') in the ID. </p>
2840
- */
2841
- accountId: string | undefined;
2842
-
2843
- /**
2844
- * <p>The name of the vault.</p>
2845
- */
2846
- vaultName: string | undefined;
2847
-
2848
- /**
2849
- * <p>The upload ID of the multipart upload.</p>
2850
- */
2851
- uploadId: string | undefined;
2852
-
2853
- /**
2854
- * <p>The SHA256 tree hash of the data being uploaded.</p>
2855
- */
2856
- checksum?: string;
2857
-
2858
- /**
2859
- * <p>Identifies the range of bytes in the assembled archive that will be uploaded in this
2860
- * part. Amazon S3 Glacier uses this information to assemble the archive in the proper sequence.
2861
- * The format of this header follows RFC 2616. An example header is Content-Range:bytes
2862
- * 0-4194303/*.</p>
2863
- */
2864
- range?: string;
2865
-
2866
- /**
2867
- * <p>The data to upload.</p>
2868
- */
2869
- body?: Readable | ReadableStream | Blob;
2870
- }
2871
-
2872
- export namespace UploadMultipartPartInput {
2873
- /**
2874
- * @internal
2875
- */
2876
- export const filterSensitiveLog = (obj: UploadMultipartPartInput): any => ({
2877
- ...obj,
2878
- });
2879
- }
2880
-
2881
- /**
2882
- * <p>Contains the Amazon S3 Glacier response to your request.</p>
2883
- */
2884
- export interface UploadMultipartPartOutput {
2885
- /**
2886
- * <p>The SHA256 tree hash that Amazon S3 Glacier computed for the uploaded part.</p>
2887
- */
2888
- checksum?: string;
2889
- }
2890
-
2891
- export namespace UploadMultipartPartOutput {
2892
- /**
2893
- * @internal
2894
- */
2895
- export const filterSensitiveLog = (obj: UploadMultipartPartOutput): any => ({
2896
- ...obj,
2897
- });
2898
- }