@aws-sdk/client-glacier 3.775.0 → 3.777.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/dist-types/commands/AbortMultipartUploadCommand.d.ts +9 -6
- package/dist-types/commands/AbortVaultLockCommand.d.ts +8 -5
- package/dist-types/commands/AddTagsToVaultCommand.d.ts +11 -8
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +11 -11
- package/dist-types/commands/CompleteVaultLockCommand.d.ts +9 -6
- package/dist-types/commands/CreateVaultCommand.d.ts +6 -6
- package/dist-types/commands/DeleteArchiveCommand.d.ts +9 -6
- package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteVaultCommand.d.ts +8 -5
- package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +8 -5
- package/dist-types/commands/DescribeJobCommand.d.ts +14 -14
- package/dist-types/commands/DescribeVaultCommand.d.ts +10 -10
- package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +8 -8
- package/dist-types/commands/GetJobOutputCommand.d.ts +21 -11
- package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +7 -7
- package/dist-types/commands/GetVaultLockCommand.d.ts +9 -9
- package/dist-types/commands/GetVaultNotificationsCommand.d.ts +8 -8
- package/dist-types/commands/InitiateJobCommand.d.ts +12 -12
- package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +8 -8
- package/dist-types/commands/InitiateVaultLockCommand.d.ts +8 -8
- package/dist-types/commands/ListJobsCommand.d.ts +27 -27
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +22 -22
- package/dist-types/commands/ListPartsCommand.d.ts +17 -17
- package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +11 -11
- package/dist-types/commands/ListTagsForVaultCommand.d.ts +8 -8
- package/dist-types/commands/ListVaultsCommand.d.ts +1 -27
- package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +5 -5
- package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +9 -6
- package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +11 -8
- package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +10 -7
- package/dist-types/commands/SetVaultNotificationsCommand.d.ts +11 -8
- package/dist-types/commands/UploadArchiveCommand.d.ts +11 -11
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +10 -10
- package/package.json +2 -2
|
@@ -109,29 +109,29 @@ declare const UploadArchiveCommand_base: {
|
|
|
109
109
|
* @throws {@link GlacierServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from Glacier service.</p>
|
|
111
111
|
*
|
|
112
|
-
*
|
|
112
|
+
*
|
|
113
113
|
* @example To upload an archive
|
|
114
114
|
* ```javascript
|
|
115
115
|
* // The example adds an archive to a vault.
|
|
116
116
|
* const input = {
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
117
|
+
* accountId: "-",
|
|
118
|
+
* archiveDescription: "",
|
|
119
|
+
* body: "example-data-to-upload",
|
|
120
|
+
* checksum: "",
|
|
121
|
+
* vaultName: "my-vault"
|
|
122
122
|
* };
|
|
123
123
|
* const command = new UploadArchiveCommand(input);
|
|
124
124
|
* const response = await client.send(command);
|
|
125
|
-
* /* response
|
|
125
|
+
* /* response is
|
|
126
126
|
* {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
127
|
+
* archiveId: "kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw",
|
|
128
|
+
* checksum: "969fb39823836d81f0cc028195fcdbcbbe76cdde932d4646fa7de5f21e18aa67",
|
|
129
|
+
* location: "/0123456789012/vaults/my-vault/archives/kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw"
|
|
130
130
|
* }
|
|
131
131
|
* *\/
|
|
132
|
-
* // example id: upload-archive-1481668510494
|
|
133
132
|
* ```
|
|
134
133
|
*
|
|
134
|
+
* @public
|
|
135
135
|
*/
|
|
136
136
|
export declare class UploadArchiveCommand extends UploadArchiveCommand_base {
|
|
137
137
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -127,28 +127,28 @@ declare const UploadMultipartPartCommand_base: {
|
|
|
127
127
|
* @throws {@link GlacierServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from Glacier service.</p>
|
|
129
129
|
*
|
|
130
|
-
*
|
|
130
|
+
*
|
|
131
131
|
* @example To upload the first part of an archive
|
|
132
132
|
* ```javascript
|
|
133
133
|
* // The example uploads the first 1 MiB (1024 x 1024 bytes) part of an archive.
|
|
134
134
|
* const input = {
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
135
|
+
* accountId: "-",
|
|
136
|
+
* body: "part1",
|
|
137
|
+
* checksum: "c06f7cd4baacb087002a99a5f48bf953",
|
|
138
|
+
* range: "bytes 0-1048575/*",
|
|
139
|
+
* uploadId: "19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ",
|
|
140
|
+
* vaultName: "examplevault"
|
|
141
141
|
* };
|
|
142
142
|
* const command = new UploadMultipartPartCommand(input);
|
|
143
143
|
* const response = await client.send(command);
|
|
144
|
-
* /* response
|
|
144
|
+
* /* response is
|
|
145
145
|
* {
|
|
146
|
-
*
|
|
146
|
+
* checksum: "c06f7cd4baacb087002a99a5f48bf953"
|
|
147
147
|
* }
|
|
148
148
|
* *\/
|
|
149
|
-
* // example id: to-upload-the-first-part-of-an-archive-1481835899519
|
|
150
149
|
* ```
|
|
151
150
|
*
|
|
151
|
+
* @public
|
|
152
152
|
*/
|
|
153
153
|
export declare class UploadMultipartPartCommand extends UploadMultipartPartCommand_base {
|
|
154
154
|
/** @internal type navigation helper, not in runtime. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glacier",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.777.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-glacier",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@aws-sdk/body-checksum-browser": "3.775.0",
|
|
24
24
|
"@aws-sdk/body-checksum-node": "3.775.0",
|
|
25
25
|
"@aws-sdk/core": "3.775.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|