@aws-sdk/client-glacier 3.948.0 → 3.953.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/README.md +4 -4
- package/dist-cjs/index.js +424 -259
- package/dist-cjs/runtimeConfig.shared.js +7 -1
- package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
- package/dist-es/commands/AbortVaultLockCommand.js +2 -2
- package/dist-es/commands/AddTagsToVaultCommand.js +2 -2
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
- package/dist-es/commands/CompleteVaultLockCommand.js +2 -2
- package/dist-es/commands/CreateVaultCommand.js +2 -2
- package/dist-es/commands/DeleteArchiveCommand.js +2 -2
- package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteVaultCommand.js +2 -2
- package/dist-es/commands/DeleteVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/DescribeJobCommand.js +2 -2
- package/dist-es/commands/DescribeVaultCommand.js +2 -2
- package/dist-es/commands/GetDataRetrievalPolicyCommand.js +2 -2
- package/dist-es/commands/GetJobOutputCommand.js +2 -2
- package/dist-es/commands/GetVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/GetVaultLockCommand.js +2 -2
- package/dist-es/commands/GetVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/InitiateJobCommand.js +2 -2
- package/dist-es/commands/InitiateMultipartUploadCommand.js +2 -2
- package/dist-es/commands/InitiateVaultLockCommand.js +2 -2
- package/dist-es/commands/ListJobsCommand.js +2 -2
- package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
- package/dist-es/commands/ListPartsCommand.js +2 -2
- package/dist-es/commands/ListProvisionedCapacityCommand.js +2 -2
- package/dist-es/commands/ListTagsForVaultCommand.js +2 -2
- package/dist-es/commands/ListVaultsCommand.js +2 -2
- package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromVaultCommand.js +2 -2
- package/dist-es/commands/SetDataRetrievalPolicyCommand.js +2 -2
- package/dist-es/commands/SetVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/SetVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/UploadArchiveCommand.js +2 -2
- package/dist-es/commands/UploadMultipartPartCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/models/errors.js +16 -0
- package/dist-es/runtimeConfig.shared.js +7 -1
- package/dist-es/schemas/schemas_0.js +238 -207
- package/dist-types/Glacier.d.ts +4 -4
- package/dist-types/GlacierClient.d.ts +5 -14
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -1
- package/dist-types/commands/AbortVaultLockCommand.d.ts +2 -0
- package/dist-types/commands/AddTagsToVaultCommand.d.ts +3 -1
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -1
- package/dist-types/commands/CompleteVaultLockCommand.d.ts +2 -0
- package/dist-types/commands/CreateVaultCommand.d.ts +3 -1
- package/dist-types/commands/DeleteArchiveCommand.d.ts +4 -2
- package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +3 -1
- package/dist-types/commands/DeleteVaultCommand.d.ts +5 -3
- package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +5 -3
- package/dist-types/commands/DescribeJobCommand.d.ts +3 -1
- package/dist-types/commands/DescribeVaultCommand.d.ts +5 -3
- package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetJobOutputCommand.d.ts +4 -2
- package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetVaultLockCommand.d.ts +2 -0
- package/dist-types/commands/GetVaultNotificationsCommand.d.ts +4 -2
- package/dist-types/commands/InitiateJobCommand.d.ts +2 -0
- package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +5 -3
- package/dist-types/commands/InitiateVaultLockCommand.d.ts +2 -0
- package/dist-types/commands/ListJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -1
- package/dist-types/commands/ListPartsCommand.d.ts +3 -1
- package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForVaultCommand.d.ts +3 -1
- package/dist-types/commands/ListVaultsCommand.d.ts +28 -1
- package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +3 -1
- package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +2 -0
- package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +2 -0
- package/dist-types/commands/SetVaultNotificationsCommand.d.ts +4 -2
- package/dist-types/commands/UploadArchiveCommand.d.ts +5 -3
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +4 -2
- package/dist-types/index.d.ts +5 -4
- package/dist-types/models/errors.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +63 -63
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +118 -130
- package/dist-types/ts3.4/GlacierClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +117 -131
- package/package.json +39 -39
|
@@ -28,7 +28,7 @@ declare const RemoveTagsFromVaultCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>This operation removes one or more tags from the set of tags attached to a vault. For
|
|
31
|
-
* more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon
|
|
31
|
+
* more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon Glacier Resources</a>.
|
|
32
32
|
* This operation is idempotent. The operation will be successful, even if there are no tags
|
|
33
33
|
* attached to the vault. </p>
|
|
34
34
|
* @example
|
|
@@ -64,6 +64,8 @@ declare const RemoveTagsFromVaultCommand_base: {
|
|
|
64
64
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
65
65
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
66
66
|
*
|
|
67
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
68
|
+
*
|
|
67
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
70
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
69
71
|
* exist.</p>
|
|
@@ -70,6 +70,8 @@ declare const SetDataRetrievalPolicyCommand_base: {
|
|
|
70
70
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
71
71
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
72
72
|
*
|
|
73
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
74
|
+
*
|
|
73
75
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
76
|
* <p>Returned if the service cannot complete the request.</p>
|
|
75
77
|
*
|
|
@@ -66,6 +66,8 @@ declare const SetVaultAccessPolicyCommand_base: {
|
|
|
66
66
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
67
67
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
68
68
|
*
|
|
69
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
70
|
+
*
|
|
69
71
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
72
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
71
73
|
* exist.</p>
|
|
@@ -33,7 +33,7 @@ declare const SetVaultNotificationsCommand_base: {
|
|
|
33
33
|
* <p>To configure vault notifications, send a PUT request to the
|
|
34
34
|
* <code>notification-configuration</code> subresource of the vault. The request should
|
|
35
35
|
* include a JSON document that provides an Amazon SNS topic and specific events for which you
|
|
36
|
-
* want Amazon
|
|
36
|
+
* want Amazon Glacier to send notifications to the topic.</p>
|
|
37
37
|
*
|
|
38
38
|
* <p>Amazon SNS topics must grant permission to the vault to be allowed to publish
|
|
39
39
|
* notifications to the topic. You can configure a vault to publish a notification for the
|
|
@@ -63,7 +63,7 @@ declare const SetVaultNotificationsCommand_base: {
|
|
|
63
63
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
64
64
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
65
65
|
* <p>For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html">Configuring Vault
|
|
66
|
-
* Notifications in Amazon
|
|
66
|
+
* Notifications in Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-notifications-put.html">Set Vault Notification
|
|
67
67
|
* Configuration </a> in the <i>Amazon Glacier Developer Guide</i>. </p>
|
|
68
68
|
* @example
|
|
69
69
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -101,6 +101,8 @@ declare const SetVaultNotificationsCommand_base: {
|
|
|
101
101
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
102
102
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
103
103
|
*
|
|
104
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
105
|
+
*
|
|
104
106
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
107
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
106
108
|
* exist.</p>
|
|
@@ -29,10 +29,10 @@ declare const UploadArchiveCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* <p>This operation adds an archive to a vault. This is a synchronous operation, and for a
|
|
32
|
-
* successful upload, your data is durably persisted. Amazon
|
|
32
|
+
* successful upload, your data is durably persisted. Amazon Glacier returns the archive ID in
|
|
33
33
|
* the <code>x-amz-archive-id</code> header of the response. </p>
|
|
34
34
|
*
|
|
35
|
-
* <p>You must use the archive ID to access your data in Amazon
|
|
35
|
+
* <p>You must use the archive ID to access your data in Amazon Glacier. After you upload
|
|
36
36
|
* an archive, you should save the archive ID returned so that you can retrieve or delete the
|
|
37
37
|
* archive later. Besides saving the archive ID, you can also index it and give it a friendly
|
|
38
38
|
* name to allow for better searching. You can also use the optional archive description field
|
|
@@ -97,8 +97,10 @@ declare const UploadArchiveCommand_base: {
|
|
|
97
97
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
98
98
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
99
99
|
*
|
|
100
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
101
|
+
*
|
|
100
102
|
* @throws {@link RequestTimeoutException} (client fault)
|
|
101
|
-
* <p>Returned if, when uploading an archive, Amazon
|
|
103
|
+
* <p>Returned if, when uploading an archive, Amazon Glacier times out while receiving the
|
|
102
104
|
* upload.</p>
|
|
103
105
|
*
|
|
104
106
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
@@ -40,7 +40,7 @@ declare const UploadMultipartPartCommand_base: {
|
|
|
40
40
|
* <p>
|
|
41
41
|
* <b>SHA256 tree hash does not match</b>To ensure that part
|
|
42
42
|
* data is not corrupted in transmission, you compute a SHA256 tree hash of the part and
|
|
43
|
-
* include it in your request. Upon receiving the part data, Amazon
|
|
43
|
+
* include it in your request. Upon receiving the part data, Amazon Glacier also
|
|
44
44
|
* computes a SHA256 tree hash. If these hash values don't match, the operation fails.
|
|
45
45
|
* For information about computing a SHA256 tree hash, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html">Computing
|
|
46
46
|
* Checksums</a>.</p>
|
|
@@ -115,8 +115,10 @@ declare const UploadMultipartPartCommand_base: {
|
|
|
115
115
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
116
116
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
117
117
|
*
|
|
118
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
119
|
+
*
|
|
118
120
|
* @throws {@link RequestTimeoutException} (client fault)
|
|
119
|
-
* <p>Returned if, when uploading an archive, Amazon
|
|
121
|
+
* <p>Returned if, when uploading an archive, Amazon Glacier times out while receiving the
|
|
120
122
|
* upload.</p>
|
|
121
123
|
*
|
|
122
124
|
* @throws {@link ResourceNotFoundException} (client fault)
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p> Amazon
|
|
2
|
+
* <p> Amazon Glacier (Glacier) is a storage solution for "cold data."</p>
|
|
3
3
|
*
|
|
4
4
|
* <p>Glacier is an extremely low-cost storage service that provides secure,
|
|
5
5
|
* durable, and easy-to-use storage for data backup and archival. With Glacier,
|
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
* amount of data you can store in Glacier.</p>
|
|
20
20
|
*
|
|
21
21
|
* <p>If you are a first-time user of Glacier, we recommend that you begin by
|
|
22
|
-
* reading the following sections in the <i>Amazon
|
|
22
|
+
* reading the following sections in the <i>Amazon Glacier Developer
|
|
23
23
|
* Guide</i>:</p>
|
|
24
24
|
* <ul>
|
|
25
25
|
* <li>
|
|
26
26
|
* <p>
|
|
27
27
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html">What is
|
|
28
|
-
* Amazon
|
|
28
|
+
* Amazon Glacier</a> - This section of the Developer Guide describes the
|
|
29
29
|
* underlying data model, the operations it supports, and the AWS SDKs that you can use
|
|
30
30
|
* to interact with the service.</p>
|
|
31
31
|
* </li>
|
|
32
32
|
* <li>
|
|
33
33
|
* <p>
|
|
34
34
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html">Getting Started
|
|
35
|
-
* with Amazon
|
|
35
|
+
* with Amazon Glacier</a> - The Getting Started section walks you through the
|
|
36
36
|
* process of creating a vault, uploading archives, creating jobs to download archives,
|
|
37
37
|
* retrieving the job output, and deleting archives.</p>
|
|
38
38
|
* </li>
|
|
@@ -46,6 +46,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
46
46
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
47
47
|
export type { GlacierExtensionConfiguration } from "./extensionConfiguration";
|
|
48
48
|
export * from "./commands";
|
|
49
|
+
export * from "./schemas/schemas_0";
|
|
49
50
|
export * from "./pagination";
|
|
50
51
|
export * from "./waiters";
|
|
51
52
|
export * from "./models/enums";
|
|
@@ -44,6 +44,19 @@ export declare class MissingParameterValueException extends __BaseException {
|
|
|
44
44
|
*/
|
|
45
45
|
constructor(opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>);
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export declare class NoLongerSupportedException extends __BaseException {
|
|
51
|
+
readonly name: "NoLongerSupportedException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
type?: string | undefined;
|
|
54
|
+
code?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
constructor(opts: __ExceptionOptionType<NoLongerSupportedException, __BaseException>);
|
|
59
|
+
}
|
|
47
60
|
/**
|
|
48
61
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
49
62
|
* exist.</p>
|
|
@@ -151,7 +164,7 @@ export declare class PolicyEnforcedException extends __BaseException {
|
|
|
151
164
|
constructor(opts: __ExceptionOptionType<PolicyEnforcedException, __BaseException>);
|
|
152
165
|
}
|
|
153
166
|
/**
|
|
154
|
-
* <p>Returned if, when uploading an archive, Amazon
|
|
167
|
+
* <p>Returned if, when uploading an archive, Amazon Glacier times out while receiving the
|
|
155
168
|
* upload.</p>
|
|
156
169
|
* @public
|
|
157
170
|
*/
|