@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.
- package/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/Glacier.js +1 -2
- package/{dist/cjs → dist-cjs}/GlacierClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AbortMultipartUploadCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AbortVaultLockCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AddTagsToVaultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CompleteMultipartUploadCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CompleteVaultLockCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateVaultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteArchiveCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVaultAccessPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVaultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteVaultNotificationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeVaultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDataRetrievalPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetJobOutputCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetVaultAccessPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetVaultLockCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetVaultNotificationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/InitiateJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/InitiateMultipartUploadCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/InitiateVaultLockCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListMultipartUploadsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListPartsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListProvisionedCapacityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForVaultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListVaultsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PurchaseProvisionedCapacityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromVaultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SetDataRetrievalPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SetVaultAccessPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SetVaultNotificationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UploadArchiveCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UploadMultipartPartCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListMultipartUploadsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListPartsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListVaultsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/cjs → dist-cjs}/waiters/waitForVaultExists.js +2 -3
- package/{dist/cjs → dist-cjs}/waiters/waitForVaultNotExists.js +2 -3
- package/{dist/es → dist-es}/Glacier.js +2 -43
- package/dist-es/GlacierClient.js +39 -0
- package/dist-es/commands/AbortMultipartUploadCommand.js +39 -0
- package/dist-es/commands/AbortVaultLockCommand.js +39 -0
- package/{dist/es → dist-es}/commands/AddTagsToVaultCommand.js +4 -35
- package/dist-es/commands/CompleteMultipartUploadCommand.js +39 -0
- package/dist-es/commands/CompleteVaultLockCommand.js +39 -0
- package/dist-es/commands/CreateVaultCommand.js +39 -0
- package/dist-es/commands/DeleteArchiveCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteVaultAccessPolicyCommand.js +4 -36
- package/dist-es/commands/DeleteVaultCommand.js +39 -0
- package/dist-es/commands/DeleteVaultNotificationsCommand.js +39 -0
- package/dist-es/commands/DescribeJobCommand.js +39 -0
- package/dist-es/commands/DescribeVaultCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetDataRetrievalPolicyCommand.js +4 -32
- package/dist-es/commands/GetJobOutputCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetVaultAccessPolicyCommand.js +4 -35
- package/dist-es/commands/GetVaultLockCommand.js +39 -0
- package/dist-es/commands/GetVaultNotificationsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/InitiateJobCommand.js +4 -34
- package/dist-es/commands/InitiateMultipartUploadCommand.js +39 -0
- package/dist-es/commands/InitiateVaultLockCommand.js +39 -0
- package/dist-es/commands/ListJobsCommand.js +39 -0
- package/dist-es/commands/ListMultipartUploadsCommand.js +39 -0
- package/dist-es/commands/ListPartsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListProvisionedCapacityCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListTagsForVaultCommand.js +4 -32
- package/dist-es/commands/ListVaultsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/PurchaseProvisionedCapacityCommand.js +4 -30
- package/{dist/es → dist-es}/commands/RemoveTagsFromVaultCommand.js +4 -33
- package/{dist/es → dist-es}/commands/SetDataRetrievalPolicyCommand.js +4 -35
- package/{dist/es → dist-es}/commands/SetVaultAccessPolicyCommand.js +4 -35
- package/dist-es/commands/SetVaultNotificationsCommand.js +39 -0
- package/dist-es/commands/UploadArchiveCommand.js +39 -0
- package/dist-es/commands/UploadMultipartPartCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -247
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListMultipartUploadsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListPartsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListVaultsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +840 -846
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/waiters/waitForVaultExists.js +9 -19
- package/{dist/es → dist-es}/waiters/waitForVaultNotExists.js +9 -19
- package/{dist/types → dist-types}/Glacier.d.ts +2 -2
- package/{dist/types → dist-types}/GlacierClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AbortVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AddTagsToVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CompleteMultipartUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CompleteVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVaultAccessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteVaultNotificationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDataRetrievalPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetJobOutputCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetVaultAccessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetVaultNotificationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InitiateJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InitiateMultipartUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InitiateVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListMultipartUploadsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPartsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListProvisionedCapacityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListVaultsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsFromVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetDataRetrievalPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetVaultAccessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetVaultNotificationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UploadArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UploadMultipartPartCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListMultipartUploadsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPartsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListVaultsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Glacier.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/GlacierClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AbortVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsToVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CompleteVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetJobOutputCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetVaultNotificationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/InitiateJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/InitiateVaultLockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListMultipartUploadsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListPartsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListVaultsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetVaultNotificationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UploadArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UploadMultipartPartCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListMultipartUploadsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListVaultsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/waiters/waitForVaultExists.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/waiters/waitForVaultNotExists.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForVaultExists.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForVaultNotExists.d.ts +2 -2
- package/package.json +56 -53
- package/Glacier.ts +0 -1789
- package/GlacierClient.ts +0 -431
- package/commands/AbortMultipartUploadCommand.ts +0 -111
- package/commands/AbortVaultLockCommand.ts +0 -107
- package/commands/AddTagsToVaultCommand.ts +0 -99
- package/commands/CompleteMultipartUploadCommand.ts +0 -131
- package/commands/CompleteVaultLockCommand.ts +0 -107
- package/commands/CreateVaultCommand.ts +0 -117
- package/commands/DeleteArchiveCommand.ts +0 -120
- package/commands/DeleteVaultAccessPolicyCommand.ts +0 -100
- package/commands/DeleteVaultCommand.ts +0 -113
- package/commands/DeleteVaultNotificationsCommand.ts +0 -106
- package/commands/DescribeJobCommand.ts +0 -117
- package/commands/DescribeVaultCommand.ts +0 -111
- package/commands/GetDataRetrievalPolicyCommand.ts +0 -96
- package/commands/GetJobOutputCommand.ts +0 -130
- package/commands/GetVaultAccessPolicyCommand.ts +0 -99
- package/commands/GetVaultLockCommand.ts +0 -121
- package/commands/GetVaultNotificationsCommand.ts +0 -109
- package/commands/InitiateJobCommand.ts +0 -98
- package/commands/InitiateMultipartUploadCommand.ts +0 -127
- package/commands/InitiateVaultLockCommand.ts +0 -128
- package/commands/ListJobsCommand.ts +0 -129
- package/commands/ListMultipartUploadsCommand.ts +0 -119
- package/commands/ListPartsCommand.ts +0 -115
- package/commands/ListProvisionedCapacityCommand.ts +0 -95
- package/commands/ListTagsForVaultCommand.ts +0 -96
- package/commands/ListVaultsCommand.ts +0 -112
- package/commands/PurchaseProvisionedCapacityCommand.ts +0 -97
- package/commands/RemoveTagsFromVaultCommand.ts +0 -97
- package/commands/SetDataRetrievalPolicyCommand.ts +0 -99
- package/commands/SetVaultAccessPolicyCommand.ts +0 -99
- package/commands/SetVaultNotificationsCommand.ts +0 -131
- package/commands/UploadArchiveCommand.ts +0 -134
- package/commands/UploadMultipartPartCommand.ts +0 -153
- package/dist/cjs/Glacier.js.map +0 -1
- package/dist/cjs/GlacierClient.js.map +0 -1
- package/dist/cjs/commands/AbortMultipartUploadCommand.js.map +0 -1
- package/dist/cjs/commands/AbortVaultLockCommand.js.map +0 -1
- package/dist/cjs/commands/AddTagsToVaultCommand.js.map +0 -1
- package/dist/cjs/commands/CompleteMultipartUploadCommand.js.map +0 -1
- package/dist/cjs/commands/CompleteVaultLockCommand.js.map +0 -1
- package/dist/cjs/commands/CreateVaultCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteArchiveCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVaultAccessPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVaultCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteVaultNotificationsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeVaultCommand.js.map +0 -1
- package/dist/cjs/commands/GetDataRetrievalPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetJobOutputCommand.js.map +0 -1
- package/dist/cjs/commands/GetVaultAccessPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetVaultLockCommand.js.map +0 -1
- package/dist/cjs/commands/GetVaultNotificationsCommand.js.map +0 -1
- package/dist/cjs/commands/InitiateJobCommand.js.map +0 -1
- package/dist/cjs/commands/InitiateMultipartUploadCommand.js.map +0 -1
- package/dist/cjs/commands/InitiateVaultLockCommand.js.map +0 -1
- package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMultipartUploadsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPartsCommand.js.map +0 -1
- package/dist/cjs/commands/ListProvisionedCapacityCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForVaultCommand.js.map +0 -1
- package/dist/cjs/commands/ListVaultsCommand.js.map +0 -1
- package/dist/cjs/commands/PurchaseProvisionedCapacityCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsFromVaultCommand.js.map +0 -1
- package/dist/cjs/commands/SetDataRetrievalPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/SetVaultAccessPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/SetVaultNotificationsCommand.js.map +0 -1
- package/dist/cjs/commands/UploadArchiveCommand.js.map +0 -1
- package/dist/cjs/commands/UploadMultipartPartCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -95
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMultipartUploadsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPartsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVaultsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForVaultExists.js.map +0 -1
- package/dist/cjs/waiters/waitForVaultNotExists.js.map +0 -1
- package/dist/es/Glacier.js.map +0 -1
- package/dist/es/GlacierClient.js +0 -85
- package/dist/es/GlacierClient.js.map +0 -1
- package/dist/es/commands/AbortMultipartUploadCommand.js +0 -82
- package/dist/es/commands/AbortMultipartUploadCommand.js.map +0 -1
- package/dist/es/commands/AbortVaultLockCommand.js +0 -78
- package/dist/es/commands/AbortVaultLockCommand.js.map +0 -1
- package/dist/es/commands/AddTagsToVaultCommand.js.map +0 -1
- package/dist/es/commands/CompleteMultipartUploadCommand.js +0 -102
- package/dist/es/commands/CompleteMultipartUploadCommand.js.map +0 -1
- package/dist/es/commands/CompleteVaultLockCommand.js +0 -78
- package/dist/es/commands/CompleteVaultLockCommand.js.map +0 -1
- package/dist/es/commands/CreateVaultCommand.js +0 -88
- package/dist/es/commands/CreateVaultCommand.js.map +0 -1
- package/dist/es/commands/DeleteArchiveCommand.js +0 -91
- package/dist/es/commands/DeleteArchiveCommand.js.map +0 -1
- package/dist/es/commands/DeleteVaultAccessPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteVaultCommand.js +0 -84
- package/dist/es/commands/DeleteVaultCommand.js.map +0 -1
- package/dist/es/commands/DeleteVaultNotificationsCommand.js +0 -77
- package/dist/es/commands/DeleteVaultNotificationsCommand.js.map +0 -1
- package/dist/es/commands/DescribeJobCommand.js +0 -88
- package/dist/es/commands/DescribeJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeVaultCommand.js +0 -82
- package/dist/es/commands/DescribeVaultCommand.js.map +0 -1
- package/dist/es/commands/GetDataRetrievalPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetJobOutputCommand.js +0 -101
- package/dist/es/commands/GetJobOutputCommand.js.map +0 -1
- package/dist/es/commands/GetVaultAccessPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetVaultLockCommand.js +0 -92
- package/dist/es/commands/GetVaultLockCommand.js.map +0 -1
- package/dist/es/commands/GetVaultNotificationsCommand.js +0 -80
- package/dist/es/commands/GetVaultNotificationsCommand.js.map +0 -1
- package/dist/es/commands/InitiateJobCommand.js.map +0 -1
- package/dist/es/commands/InitiateMultipartUploadCommand.js +0 -98
- package/dist/es/commands/InitiateMultipartUploadCommand.js.map +0 -1
- package/dist/es/commands/InitiateVaultLockCommand.js +0 -99
- package/dist/es/commands/InitiateVaultLockCommand.js.map +0 -1
- package/dist/es/commands/ListJobsCommand.js +0 -100
- package/dist/es/commands/ListJobsCommand.js.map +0 -1
- package/dist/es/commands/ListMultipartUploadsCommand.js +0 -90
- package/dist/es/commands/ListMultipartUploadsCommand.js.map +0 -1
- package/dist/es/commands/ListPartsCommand.js +0 -86
- package/dist/es/commands/ListPartsCommand.js.map +0 -1
- package/dist/es/commands/ListProvisionedCapacityCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForVaultCommand.js.map +0 -1
- package/dist/es/commands/ListVaultsCommand.js +0 -83
- package/dist/es/commands/ListVaultsCommand.js.map +0 -1
- package/dist/es/commands/PurchaseProvisionedCapacityCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsFromVaultCommand.js.map +0 -1
- package/dist/es/commands/SetDataRetrievalPolicyCommand.js.map +0 -1
- package/dist/es/commands/SetVaultAccessPolicyCommand.js.map +0 -1
- package/dist/es/commands/SetVaultNotificationsCommand.js +0 -102
- package/dist/es/commands/SetVaultNotificationsCommand.js.map +0 -1
- package/dist/es/commands/UploadArchiveCommand.js +0 -96
- package/dist/es/commands/UploadArchiveCommand.js.map +0 -1
- package/dist/es/commands/UploadMultipartPartCommand.js +0 -115
- package/dist/es/commands/UploadMultipartPartCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -44
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -95
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListJobsPaginator.js.map +0 -1
- package/dist/es/pagination/ListMultipartUploadsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPartsPaginator.js.map +0 -1
- package/dist/es/pagination/ListVaultsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForVaultExists.js.map +0 -1
- package/dist/es/waiters/waitForVaultNotExists.js.map +0 -1
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2898
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListJobsPaginator.ts +0 -54
- package/pagination/ListMultipartUploadsPaginator.ts +0 -58
- package/pagination/ListPartsPaginator.ts +0 -54
- package/pagination/ListVaultsPaginator.ts +0 -54
- package/protocols/Aws_restJson1.ts +0 -5188
- package/runtimeConfig.browser.ts +0 -42
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -47
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
- package/waiters/waitForVaultExists.ts +0 -42
- package/waiters/waitForVaultNotExists.ts +0 -42
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
2
|
-
import { InitiateVaultLockInput, InitiateVaultLockOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1InitiateVaultLockCommand,
|
|
5
|
-
serializeAws_restJson1InitiateVaultLockCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface InitiateVaultLockCommandInput extends InitiateVaultLockInput {}
|
|
21
|
-
export interface InitiateVaultLockCommandOutput extends InitiateVaultLockOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation initiates the vault locking process by doing the following:</p>
|
|
25
|
-
* <ul>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Installing a vault lock policy on the specified vault.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Setting the lock state of vault lock to <code>InProgress</code>.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Returning a lock ID, which is used to complete the vault locking
|
|
34
|
-
* process.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
*
|
|
38
|
-
* <p>You can set one vault lock policy for each vault and this policy can be up to 20 KB
|
|
39
|
-
* in size. For more information about vault lock policies, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock-policy.html">Amazon Glacier Access Control with
|
|
40
|
-
* Vault Lock Policies</a>. </p>
|
|
41
|
-
* <p>You must complete the vault locking process within 24 hours after the vault lock
|
|
42
|
-
* enters the <code>InProgress</code> state. After the 24 hour window ends, the lock ID
|
|
43
|
-
* expires, the vault automatically exits the <code>InProgress</code> state, and the vault
|
|
44
|
-
* lock policy is removed from the vault. You call <a>CompleteVaultLock</a> to
|
|
45
|
-
* complete the vault locking process by setting the state of the vault lock to
|
|
46
|
-
* <code>Locked</code>. </p>
|
|
47
|
-
* <p>After a vault lock is in the <code>Locked</code> state, you cannot initiate a new
|
|
48
|
-
* vault lock for the vault.</p>
|
|
49
|
-
*
|
|
50
|
-
* <p>You can abort the vault locking process by calling <a>AbortVaultLock</a>.
|
|
51
|
-
* You can get the state of the vault lock by calling <a>GetVaultLock</a>. For more
|
|
52
|
-
* information about the vault locking process, <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html">Amazon Glacier Vault
|
|
53
|
-
* Lock</a>.</p>
|
|
54
|
-
*
|
|
55
|
-
* <p>If this operation is called when the vault lock is in the <code>InProgress</code>
|
|
56
|
-
* state, the operation returns an <code>AccessDeniedException</code> error. When the vault
|
|
57
|
-
* lock is in the <code>InProgress</code> state you must call <a>AbortVaultLock</a>
|
|
58
|
-
* before you can initiate a new vault lock policy. </p>
|
|
59
|
-
* @example
|
|
60
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
61
|
-
* ```javascript
|
|
62
|
-
* import { GlacierClient, InitiateVaultLockCommand } from "@aws-sdk/client-glacier"; // ES Modules import
|
|
63
|
-
* // const { GlacierClient, InitiateVaultLockCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
|
|
64
|
-
* const client = new GlacierClient(config);
|
|
65
|
-
* const command = new InitiateVaultLockCommand(input);
|
|
66
|
-
* const response = await client.send(command);
|
|
67
|
-
* ```
|
|
68
|
-
*
|
|
69
|
-
* @see {@link InitiateVaultLockCommandInput} for command's `input` shape.
|
|
70
|
-
* @see {@link InitiateVaultLockCommandOutput} for command's `response` shape.
|
|
71
|
-
* @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
export class InitiateVaultLockCommand extends $Command<
|
|
75
|
-
InitiateVaultLockCommandInput,
|
|
76
|
-
InitiateVaultLockCommandOutput,
|
|
77
|
-
GlacierClientResolvedConfig
|
|
78
|
-
> {
|
|
79
|
-
// Start section: command_properties
|
|
80
|
-
// End section: command_properties
|
|
81
|
-
|
|
82
|
-
constructor(readonly input: InitiateVaultLockCommandInput) {
|
|
83
|
-
// Start section: command_constructor
|
|
84
|
-
super();
|
|
85
|
-
// End section: command_constructor
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(
|
|
92
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
93
|
-
configuration: GlacierClientResolvedConfig,
|
|
94
|
-
options?: __HttpHandlerOptions
|
|
95
|
-
): Handler<InitiateVaultLockCommandInput, InitiateVaultLockCommandOutput> {
|
|
96
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
97
|
-
|
|
98
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
99
|
-
|
|
100
|
-
const { logger } = configuration;
|
|
101
|
-
const clientName = "GlacierClient";
|
|
102
|
-
const commandName = "InitiateVaultLockCommand";
|
|
103
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
104
|
-
logger,
|
|
105
|
-
clientName,
|
|
106
|
-
commandName,
|
|
107
|
-
inputFilterSensitiveLog: InitiateVaultLockInput.filterSensitiveLog,
|
|
108
|
-
outputFilterSensitiveLog: InitiateVaultLockOutput.filterSensitiveLog,
|
|
109
|
-
};
|
|
110
|
-
const { requestHandler } = configuration;
|
|
111
|
-
return stack.resolve(
|
|
112
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
113
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
114
|
-
handlerExecutionContext
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
private serialize(input: InitiateVaultLockCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
119
|
-
return serializeAws_restJson1InitiateVaultLockCommand(input, context);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<InitiateVaultLockCommandOutput> {
|
|
123
|
-
return deserializeAws_restJson1InitiateVaultLockCommand(output, context);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Start section: command_body_extra
|
|
127
|
-
// End section: command_body_extra
|
|
128
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
2
|
-
import { ListJobsInput, ListJobsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListJobsCommand,
|
|
5
|
-
serializeAws_restJson1ListJobsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListJobsCommandInput extends ListJobsInput {}
|
|
21
|
-
export interface ListJobsCommandOutput extends ListJobsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation lists jobs for a vault, including jobs that are in-progress and jobs
|
|
25
|
-
* that have recently finished. The List Job operation returns a list of these jobs sorted by job initiation
|
|
26
|
-
* time.</p>
|
|
27
|
-
*
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>Amazon Glacier retains recently completed jobs for a period before deleting them;
|
|
30
|
-
* however, it eventually removes completed jobs. The output of completed jobs can be
|
|
31
|
-
* retrieved. Retaining completed jobs for a period of time after they have completed
|
|
32
|
-
* enables you to get a job output in the event you miss the job completion notification or
|
|
33
|
-
* your first attempt to download it fails. For example, suppose you start an archive
|
|
34
|
-
* retrieval job to download an archive. After the job completes, you start to download the
|
|
35
|
-
* archive but encounter a network error. In this scenario, you can retry and download the
|
|
36
|
-
* archive while the job exists.</p>
|
|
37
|
-
* </note>
|
|
38
|
-
*
|
|
39
|
-
* <p>The List Jobs operation supports pagination. You should always check the response <code>Marker</code> field.
|
|
40
|
-
* If there are no more jobs to list, the <code>Marker</code> field is set to <code>null</code>. If there are more jobs to list,
|
|
41
|
-
* the <code>Marker</code> field is set to a non-null value, which you can use to continue the pagination of the list.
|
|
42
|
-
* To return a list of jobs that begins at a specific job,
|
|
43
|
-
* set the marker request parameter to the <code>Marker</code> value for that job that you obtained from a previous List Jobs request.</p>
|
|
44
|
-
*
|
|
45
|
-
* <p>You can set a maximum limit for the number of jobs returned in the response by
|
|
46
|
-
* specifying the <code>limit</code> parameter in the request. The default limit is 50. The
|
|
47
|
-
* number of jobs returned might be fewer than the limit, but the number of returned jobs
|
|
48
|
-
* never exceeds the limit.</p>
|
|
49
|
-
*
|
|
50
|
-
* <p>Additionally, you can filter the jobs list returned by specifying the optional
|
|
51
|
-
* <code>statuscode</code> parameter or <code>completed</code> parameter, or both. Using
|
|
52
|
-
* the <code>statuscode</code> parameter, you can specify to return only jobs that match
|
|
53
|
-
* either the <code>InProgress</code>, <code>Succeeded</code>, or <code>Failed</code> status.
|
|
54
|
-
* Using the <code>completed</code> parameter, you can specify to return only jobs that were
|
|
55
|
-
* completed (<code>true</code>) or jobs that were not completed
|
|
56
|
-
* (<code>false</code>).</p>
|
|
57
|
-
*
|
|
58
|
-
* <p>For more information about using this operation,
|
|
59
|
-
* see the documentation for the underlying REST API <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-jobs-get.html">List Jobs</a>. </p>
|
|
60
|
-
* @example
|
|
61
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
62
|
-
* ```javascript
|
|
63
|
-
* import { GlacierClient, ListJobsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
|
|
64
|
-
* // const { GlacierClient, ListJobsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
|
|
65
|
-
* const client = new GlacierClient(config);
|
|
66
|
-
* const command = new ListJobsCommand(input);
|
|
67
|
-
* const response = await client.send(command);
|
|
68
|
-
* ```
|
|
69
|
-
*
|
|
70
|
-
* @see {@link ListJobsCommandInput} for command's `input` shape.
|
|
71
|
-
* @see {@link ListJobsCommandOutput} for command's `response` shape.
|
|
72
|
-
* @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
|
-
export class ListJobsCommand extends $Command<
|
|
76
|
-
ListJobsCommandInput,
|
|
77
|
-
ListJobsCommandOutput,
|
|
78
|
-
GlacierClientResolvedConfig
|
|
79
|
-
> {
|
|
80
|
-
// Start section: command_properties
|
|
81
|
-
// End section: command_properties
|
|
82
|
-
|
|
83
|
-
constructor(readonly input: ListJobsCommandInput) {
|
|
84
|
-
// Start section: command_constructor
|
|
85
|
-
super();
|
|
86
|
-
// End section: command_constructor
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
resolveMiddleware(
|
|
93
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
94
|
-
configuration: GlacierClientResolvedConfig,
|
|
95
|
-
options?: __HttpHandlerOptions
|
|
96
|
-
): Handler<ListJobsCommandInput, ListJobsCommandOutput> {
|
|
97
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
98
|
-
|
|
99
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
100
|
-
|
|
101
|
-
const { logger } = configuration;
|
|
102
|
-
const clientName = "GlacierClient";
|
|
103
|
-
const commandName = "ListJobsCommand";
|
|
104
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
105
|
-
logger,
|
|
106
|
-
clientName,
|
|
107
|
-
commandName,
|
|
108
|
-
inputFilterSensitiveLog: ListJobsInput.filterSensitiveLog,
|
|
109
|
-
outputFilterSensitiveLog: ListJobsOutput.filterSensitiveLog,
|
|
110
|
-
};
|
|
111
|
-
const { requestHandler } = configuration;
|
|
112
|
-
return stack.resolve(
|
|
113
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
114
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
115
|
-
handlerExecutionContext
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private serialize(input: ListJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
120
|
-
return serializeAws_restJson1ListJobsCommand(input, context);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListJobsCommandOutput> {
|
|
124
|
-
return deserializeAws_restJson1ListJobsCommand(output, context);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// Start section: command_body_extra
|
|
128
|
-
// End section: command_body_extra
|
|
129
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
2
|
-
import { ListMultipartUploadsInput, ListMultipartUploadsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListMultipartUploadsCommand,
|
|
5
|
-
serializeAws_restJson1ListMultipartUploadsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListMultipartUploadsCommandInput extends ListMultipartUploadsInput {}
|
|
21
|
-
export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation lists in-progress multipart uploads for the specified vault. An
|
|
25
|
-
* in-progress multipart upload is a multipart upload that has been initiated by an <a>InitiateMultipartUpload</a> request, but has not yet been completed or aborted.
|
|
26
|
-
* The list returned in the List Multipart Upload response has no guaranteed order. </p>
|
|
27
|
-
*
|
|
28
|
-
* <p>The List Multipart Uploads operation supports pagination. By default, this operation
|
|
29
|
-
* returns up to 50 multipart uploads in the response. You should always check the response
|
|
30
|
-
* for a <code>marker</code> at which to continue the list; if there are no more items the
|
|
31
|
-
* <code>marker</code> is <code>null</code>. To return a list of multipart uploads that
|
|
32
|
-
* begins at a specific upload, set the <code>marker</code> request parameter to the value you
|
|
33
|
-
* obtained from a previous List Multipart Upload request. You can also limit the number of
|
|
34
|
-
* uploads returned in the response by specifying the <code>limit</code> parameter in the
|
|
35
|
-
* request.</p>
|
|
36
|
-
*
|
|
37
|
-
* <p>Note the difference between this operation and listing parts (<a>ListParts</a>). The List Multipart Uploads operation lists all multipart uploads
|
|
38
|
-
* for a vault and does not require a multipart upload ID. The List Parts operation requires a
|
|
39
|
-
* multipart upload ID since parts are associated with a single upload.</p>
|
|
40
|
-
*
|
|
41
|
-
* <p>An AWS account has full permission to perform all operations (actions). However, AWS
|
|
42
|
-
* Identity and Access Management (IAM) users don't have any permissions by default. You must
|
|
43
|
-
* grant them explicit permission to perform specific actions. For more information, see
|
|
44
|
-
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
45
|
-
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
46
|
-
*
|
|
47
|
-
* <p>For conceptual information and the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working
|
|
48
|
-
* with Archives in Amazon S3 Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-uploads.html">List Multipart Uploads
|
|
49
|
-
* </a> in the <i>Amazon Glacier Developer Guide</i>.</p>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { GlacierClient, ListMultipartUploadsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
|
|
54
|
-
* // const { GlacierClient, ListMultipartUploadsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
|
|
55
|
-
* const client = new GlacierClient(config);
|
|
56
|
-
* const command = new ListMultipartUploadsCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link ListMultipartUploadsCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link ListMultipartUploadsCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
export class ListMultipartUploadsCommand extends $Command<
|
|
66
|
-
ListMultipartUploadsCommandInput,
|
|
67
|
-
ListMultipartUploadsCommandOutput,
|
|
68
|
-
GlacierClientResolvedConfig
|
|
69
|
-
> {
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
|
-
|
|
73
|
-
constructor(readonly input: ListMultipartUploadsCommandInput) {
|
|
74
|
-
// Start section: command_constructor
|
|
75
|
-
super();
|
|
76
|
-
// End section: command_constructor
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(
|
|
83
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
84
|
-
configuration: GlacierClientResolvedConfig,
|
|
85
|
-
options?: __HttpHandlerOptions
|
|
86
|
-
): Handler<ListMultipartUploadsCommandInput, ListMultipartUploadsCommandOutput> {
|
|
87
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
88
|
-
|
|
89
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
90
|
-
|
|
91
|
-
const { logger } = configuration;
|
|
92
|
-
const clientName = "GlacierClient";
|
|
93
|
-
const commandName = "ListMultipartUploadsCommand";
|
|
94
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
95
|
-
logger,
|
|
96
|
-
clientName,
|
|
97
|
-
commandName,
|
|
98
|
-
inputFilterSensitiveLog: ListMultipartUploadsInput.filterSensitiveLog,
|
|
99
|
-
outputFilterSensitiveLog: ListMultipartUploadsOutput.filterSensitiveLog,
|
|
100
|
-
};
|
|
101
|
-
const { requestHandler } = configuration;
|
|
102
|
-
return stack.resolve(
|
|
103
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
104
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
105
|
-
handlerExecutionContext
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private serialize(input: ListMultipartUploadsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
110
|
-
return serializeAws_restJson1ListMultipartUploadsCommand(input, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListMultipartUploadsCommandOutput> {
|
|
114
|
-
return deserializeAws_restJson1ListMultipartUploadsCommand(output, context);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Start section: command_body_extra
|
|
118
|
-
// End section: command_body_extra
|
|
119
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
2
|
-
import { ListPartsInput, ListPartsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListPartsCommand,
|
|
5
|
-
serializeAws_restJson1ListPartsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListPartsCommandInput extends ListPartsInput {}
|
|
21
|
-
export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation lists the parts of an archive that have been uploaded in a specific
|
|
25
|
-
* multipart upload. You can make this request at any time during an in-progress multipart
|
|
26
|
-
* upload before you complete the upload (see <a>CompleteMultipartUpload</a>. List
|
|
27
|
-
* Parts returns an error for completed uploads. The list returned in the List Parts response
|
|
28
|
-
* is sorted by part range. </p>
|
|
29
|
-
*
|
|
30
|
-
* <p>The List Parts operation supports pagination. By default, this operation returns up
|
|
31
|
-
* to 50 uploaded parts in the response. You should always check the response for a
|
|
32
|
-
* <code>marker</code> at which to continue the list; if there are no more items the
|
|
33
|
-
* <code>marker</code> is <code>null</code>. To return a list of parts that begins at a
|
|
34
|
-
* specific part, set the <code>marker</code> request parameter to the value you obtained from
|
|
35
|
-
* a previous List Parts request. You can also limit the number of parts returned in the
|
|
36
|
-
* response by specifying the <code>limit</code> parameter in the request. </p>
|
|
37
|
-
*
|
|
38
|
-
* <p>An AWS account has full permission to perform all operations (actions). However, AWS
|
|
39
|
-
* Identity and Access Management (IAM) users don't have any permissions by default. You must
|
|
40
|
-
* grant them explicit permission to perform specific actions. For more information, see
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
42
|
-
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
43
|
-
* <p>For conceptual information and the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working
|
|
44
|
-
* with Archives in Amazon S3 Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-parts.html">List Parts</a> in the
|
|
45
|
-
* <i>Amazon Glacier Developer Guide</i>.</p>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { GlacierClient, ListPartsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
|
|
50
|
-
* // const { GlacierClient, ListPartsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
|
|
51
|
-
* const client = new GlacierClient(config);
|
|
52
|
-
* const command = new ListPartsCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link ListPartsCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link ListPartsCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export class ListPartsCommand extends $Command<
|
|
62
|
-
ListPartsCommandInput,
|
|
63
|
-
ListPartsCommandOutput,
|
|
64
|
-
GlacierClientResolvedConfig
|
|
65
|
-
> {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
|
-
|
|
69
|
-
constructor(readonly input: ListPartsCommandInput) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
super();
|
|
72
|
-
// End section: command_constructor
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(
|
|
79
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
80
|
-
configuration: GlacierClientResolvedConfig,
|
|
81
|
-
options?: __HttpHandlerOptions
|
|
82
|
-
): Handler<ListPartsCommandInput, ListPartsCommandOutput> {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
|
|
85
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
86
|
-
|
|
87
|
-
const { logger } = configuration;
|
|
88
|
-
const clientName = "GlacierClient";
|
|
89
|
-
const commandName = "ListPartsCommand";
|
|
90
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
91
|
-
logger,
|
|
92
|
-
clientName,
|
|
93
|
-
commandName,
|
|
94
|
-
inputFilterSensitiveLog: ListPartsInput.filterSensitiveLog,
|
|
95
|
-
outputFilterSensitiveLog: ListPartsOutput.filterSensitiveLog,
|
|
96
|
-
};
|
|
97
|
-
const { requestHandler } = configuration;
|
|
98
|
-
return stack.resolve(
|
|
99
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
100
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
101
|
-
handlerExecutionContext
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private serialize(input: ListPartsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
106
|
-
return serializeAws_restJson1ListPartsCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPartsCommandOutput> {
|
|
110
|
-
return deserializeAws_restJson1ListPartsCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
2
|
-
import { ListProvisionedCapacityInput, ListProvisionedCapacityOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListProvisionedCapacityCommand,
|
|
5
|
-
serializeAws_restJson1ListProvisionedCapacityCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListProvisionedCapacityCommandInput extends ListProvisionedCapacityInput {}
|
|
21
|
-
export interface ListProvisionedCapacityCommandOutput extends ListProvisionedCapacityOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation lists the provisioned capacity units for the specified AWS
|
|
25
|
-
* account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { GlacierClient, ListProvisionedCapacityCommand } from "@aws-sdk/client-glacier"; // ES Modules import
|
|
30
|
-
* // const { GlacierClient, ListProvisionedCapacityCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
|
|
31
|
-
* const client = new GlacierClient(config);
|
|
32
|
-
* const command = new ListProvisionedCapacityCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListProvisionedCapacityCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListProvisionedCapacityCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link GlacierClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListProvisionedCapacityCommand extends $Command<
|
|
42
|
-
ListProvisionedCapacityCommandInput,
|
|
43
|
-
ListProvisionedCapacityCommandOutput,
|
|
44
|
-
GlacierClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListProvisionedCapacityCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: GlacierClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListProvisionedCapacityCommandInput, ListProvisionedCapacityCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "GlacierClient";
|
|
69
|
-
const commandName = "ListProvisionedCapacityCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListProvisionedCapacityInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListProvisionedCapacityOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListProvisionedCapacityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListProvisionedCapacityCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProvisionedCapacityCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListProvisionedCapacityCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|