@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
package/dist-types/Glacier.d.ts
CHANGED
|
@@ -234,7 +234,7 @@ export interface Glacier {
|
|
|
234
234
|
uploadMultipartPart(args: UploadMultipartPartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadMultipartPartCommandOutput) => void): void;
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
|
-
* <p> Amazon
|
|
237
|
+
* <p> Amazon Glacier (Glacier) is a storage solution for "cold data."</p>
|
|
238
238
|
*
|
|
239
239
|
* <p>Glacier is an extremely low-cost storage service that provides secure,
|
|
240
240
|
* durable, and easy-to-use storage for data backup and archival. With Glacier,
|
|
@@ -254,20 +254,20 @@ export interface Glacier {
|
|
|
254
254
|
* amount of data you can store in Glacier.</p>
|
|
255
255
|
*
|
|
256
256
|
* <p>If you are a first-time user of Glacier, we recommend that you begin by
|
|
257
|
-
* reading the following sections in the <i>Amazon
|
|
257
|
+
* reading the following sections in the <i>Amazon Glacier Developer
|
|
258
258
|
* Guide</i>:</p>
|
|
259
259
|
* <ul>
|
|
260
260
|
* <li>
|
|
261
261
|
* <p>
|
|
262
262
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html">What is
|
|
263
|
-
* Amazon
|
|
263
|
+
* Amazon Glacier</a> - This section of the Developer Guide describes the
|
|
264
264
|
* underlying data model, the operations it supports, and the AWS SDKs that you can use
|
|
265
265
|
* to interact with the service.</p>
|
|
266
266
|
* </li>
|
|
267
267
|
* <li>
|
|
268
268
|
* <p>
|
|
269
269
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html">Getting Started
|
|
270
|
-
* with Amazon
|
|
270
|
+
* with Amazon Glacier</a> - The Getting Started section walks you through the
|
|
271
271
|
* process of creating a vault, uploading archives, creating jobs to download archives,
|
|
272
272
|
* retrieving the job output, and deleting archives.</p>
|
|
273
273
|
* </li>
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, HttpRequest as __HttpRequest, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
|
|
11
11
|
import type { AbortVaultLockCommandInput, AbortVaultLockCommandOutput } from "./commands/AbortVaultLockCommand";
|
|
@@ -182,15 +182,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
182
182
|
* Optional extensions
|
|
183
183
|
*/
|
|
184
184
|
extensions?: RuntimeExtension[];
|
|
185
|
-
/**
|
|
186
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
187
|
-
* may be overridden. A default will always be set by the client.
|
|
188
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
189
|
-
* the client.
|
|
190
|
-
* @alpha
|
|
191
|
-
*
|
|
192
|
-
*/
|
|
193
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
194
185
|
/**
|
|
195
186
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
196
187
|
*/
|
|
@@ -224,7 +215,7 @@ export type GlacierClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
224
215
|
export interface GlacierClientResolvedConfig extends GlacierClientResolvedConfigType {
|
|
225
216
|
}
|
|
226
217
|
/**
|
|
227
|
-
* <p> Amazon
|
|
218
|
+
* <p> Amazon Glacier (Glacier) is a storage solution for "cold data."</p>
|
|
228
219
|
*
|
|
229
220
|
* <p>Glacier is an extremely low-cost storage service that provides secure,
|
|
230
221
|
* durable, and easy-to-use storage for data backup and archival. With Glacier,
|
|
@@ -244,20 +235,20 @@ export interface GlacierClientResolvedConfig extends GlacierClientResolvedConfig
|
|
|
244
235
|
* amount of data you can store in Glacier.</p>
|
|
245
236
|
*
|
|
246
237
|
* <p>If you are a first-time user of Glacier, we recommend that you begin by
|
|
247
|
-
* reading the following sections in the <i>Amazon
|
|
238
|
+
* reading the following sections in the <i>Amazon Glacier Developer
|
|
248
239
|
* Guide</i>:</p>
|
|
249
240
|
* <ul>
|
|
250
241
|
* <li>
|
|
251
242
|
* <p>
|
|
252
243
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html">What is
|
|
253
|
-
* Amazon
|
|
244
|
+
* Amazon Glacier</a> - This section of the Developer Guide describes the
|
|
254
245
|
* underlying data model, the operations it supports, and the AWS SDKs that you can use
|
|
255
246
|
* to interact with the service.</p>
|
|
256
247
|
* </li>
|
|
257
248
|
* <li>
|
|
258
249
|
* <p>
|
|
259
250
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html">Getting Started
|
|
260
|
-
* with Amazon
|
|
251
|
+
* with Amazon Glacier</a> - The Getting Started section walks you through the
|
|
261
252
|
* process of creating a vault, uploading archives, creating jobs to download archives,
|
|
262
253
|
* retrieving the job output, and deleting archives.</p>
|
|
263
254
|
* </li>
|
|
@@ -43,7 +43,7 @@ declare const AbortMultipartUploadCommand_base: {
|
|
|
43
43
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
44
44
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
45
45
|
* <p> For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html">Working with Archives in
|
|
46
|
-
* Amazon
|
|
46
|
+
* Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html">Abort Multipart
|
|
47
47
|
* Upload</a> in the <i>Amazon Glacier Developer Guide</i>. </p>
|
|
48
48
|
* @example
|
|
49
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -76,6 +76,8 @@ declare const AbortMultipartUploadCommand_base: {
|
|
|
76
76
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
77
77
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
78
78
|
*
|
|
79
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
80
|
+
*
|
|
79
81
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
82
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
81
83
|
* exist.</p>
|
|
@@ -71,6 +71,8 @@ declare const AbortVaultLockCommand_base: {
|
|
|
71
71
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
72
72
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
73
73
|
*
|
|
74
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
75
|
+
*
|
|
74
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
77
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
76
78
|
* exist.</p>
|
|
@@ -31,7 +31,7 @@ declare const AddTagsToVaultCommand_base: {
|
|
|
31
31
|
* a value. Each vault can have up to 10 tags. If your request would cause the tag limit for
|
|
32
32
|
* the vault to be exceeded, the operation throws the <code>LimitExceededException</code>
|
|
33
33
|
* error. If a tag already exists on the vault under a specified key, the existing key value
|
|
34
|
-
* will be overwritten. For more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon
|
|
34
|
+
* will be overwritten. For more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon Glacier Resources</a>.
|
|
35
35
|
* </p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -69,6 +69,8 @@ declare const AddTagsToVaultCommand_base: {
|
|
|
69
69
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
70
70
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
71
71
|
*
|
|
72
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
73
|
+
*
|
|
72
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
75
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
74
76
|
* exist.</p>
|
|
@@ -27,7 +27,7 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>You call this operation to inform Amazon
|
|
30
|
+
* <p>You call this operation to inform Amazon Glacier (Glacier) that all the archive parts have been
|
|
31
31
|
* uploaded and that Glacier can now assemble the archive from the uploaded parts.
|
|
32
32
|
* After assembling and saving the archive to the vault, Glacier returns the URI path
|
|
33
33
|
* of the newly created archive resource. Using the URI path, you can then access the archive.
|
|
@@ -102,6 +102,8 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
102
102
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
103
103
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
104
104
|
*
|
|
105
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
106
|
+
*
|
|
105
107
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
106
108
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
107
109
|
* exist.</p>
|
|
@@ -72,6 +72,8 @@ declare const CompleteVaultLockCommand_base: {
|
|
|
72
72
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
73
73
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
74
74
|
*
|
|
75
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
76
|
+
*
|
|
75
77
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
78
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
77
79
|
* exist.</p>
|
|
@@ -29,7 +29,7 @@ declare const CreateVaultCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>This operation creates a new vault with the specified name. The name of the vault
|
|
31
31
|
* must be unique within a region for an AWS account. You can create up to 1,000 vaults per
|
|
32
|
-
* account. If you need to create more vaults, contact Amazon
|
|
32
|
+
* account. If you need to create more vaults, contact Amazon Glacier.</p>
|
|
33
33
|
* <p>You must use the following guidelines when naming a vault.</p>
|
|
34
34
|
* <ul>
|
|
35
35
|
* <li>
|
|
@@ -86,6 +86,8 @@ declare const CreateVaultCommand_base: {
|
|
|
86
86
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
87
87
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
88
88
|
*
|
|
89
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
90
|
+
*
|
|
89
91
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
90
92
|
* <p>Returned if the service cannot complete the request.</p>
|
|
91
93
|
*
|
|
@@ -33,12 +33,12 @@ declare const DeleteArchiveCommand_base: {
|
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
35
35
|
* <p>If the archive retrieval job is actively preparing the data for download when
|
|
36
|
-
* Amazon
|
|
36
|
+
* Amazon Glacier receives the delete archive request, the archival retrieval operation
|
|
37
37
|
* might fail.</p>
|
|
38
38
|
* </li>
|
|
39
39
|
* <li>
|
|
40
40
|
* <p>If the archive retrieval job has successfully prepared the archive for download
|
|
41
|
-
* when Amazon
|
|
41
|
+
* when Amazon Glacier receives the delete archive request, you will be able to download
|
|
42
42
|
* the output.</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* </ul>
|
|
@@ -85,6 +85,8 @@ declare const DeleteArchiveCommand_base: {
|
|
|
85
85
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
86
86
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
87
87
|
*
|
|
88
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
89
|
+
*
|
|
88
90
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
91
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
90
92
|
* exist.</p>
|
|
@@ -28,7 +28,7 @@ declare const DeleteVaultAccessPolicyCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>This operation deletes the access policy associated with the specified vault. The
|
|
31
|
-
* operation is eventually consistent; that is, it might take some time for Amazon
|
|
31
|
+
* operation is eventually consistent; that is, it might take some time for Amazon Glacier to
|
|
32
32
|
* completely remove the access policy, and you might still see the effect of the policy for a
|
|
33
33
|
* short time after you send the delete request.</p>
|
|
34
34
|
* <p>This operation is idempotent. You can invoke delete multiple times, even if there is
|
|
@@ -64,6 +64,8 @@ declare const DeleteVaultAccessPolicyCommand_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>
|
|
@@ -27,10 +27,10 @@ declare const DeleteVaultCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation deletes a vault. Amazon
|
|
30
|
+
* <p>This operation deletes a vault. Amazon Glacier will delete a vault only if there are
|
|
31
31
|
* no archives in the vault as of the last inventory and there have been no writes to the
|
|
32
32
|
* vault since the last inventory. If either of these conditions is not satisfied, the vault
|
|
33
|
-
* deletion fails (that is, the vault is not removed) and Amazon
|
|
33
|
+
* deletion fails (that is, the vault is not removed) and Amazon Glacier returns an error. You
|
|
34
34
|
* can use <a>DescribeVault</a> to return the number of archives in a vault, and
|
|
35
35
|
* you can use <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html">Initiate a Job (POST
|
|
36
36
|
* jobs)</a> to initiate a new inventory retrieval for a vault. The inventory contains
|
|
@@ -46,7 +46,7 @@ declare const DeleteVaultCommand_base: {
|
|
|
46
46
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
47
47
|
* <p> For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-vaults.html">Deleting a Vault in Amazon
|
|
48
48
|
* Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-delete.html">Delete Vault </a> in the
|
|
49
|
-
* <i>Amazon
|
|
49
|
+
* <i>Amazon Glacier Developer Guide</i>. </p>
|
|
50
50
|
* @example
|
|
51
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
52
52
|
* ```javascript
|
|
@@ -77,6 +77,8 @@ declare const DeleteVaultCommand_base: {
|
|
|
77
77
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
78
78
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
79
79
|
*
|
|
80
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
81
|
+
*
|
|
80
82
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
83
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
82
84
|
* exist.</p>
|
|
@@ -28,7 +28,7 @@ declare const DeleteVaultNotificationsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>This operation deletes the notification configuration set for a vault. The operation
|
|
31
|
-
* is eventually consistent; that is, it might take some time for Amazon
|
|
31
|
+
* is eventually consistent; that is, it might take some time for Amazon Glacier to completely
|
|
32
32
|
* disable the notifications and you might still receive some notifications for a short time
|
|
33
33
|
* after you send the delete request.</p>
|
|
34
34
|
*
|
|
@@ -38,8 +38,8 @@ declare const DeleteVaultNotificationsCommand_base: {
|
|
|
38
38
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access
|
|
39
39
|
* Control Using AWS Identity and Access Management (IAM)</a>.</p>
|
|
40
40
|
* <p> For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html">Configuring Vault
|
|
41
|
-
* Notifications in Amazon
|
|
42
|
-
* Notification Configuration </a> in the Amazon
|
|
41
|
+
* Notifications in Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-notifications-delete.html">Delete Vault
|
|
42
|
+
* Notification Configuration </a> in the Amazon Glacier Developer Guide. </p>
|
|
43
43
|
* @example
|
|
44
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
45
|
* ```javascript
|
|
@@ -70,6 +70,8 @@ declare const DeleteVaultNotificationsCommand_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 ResourceNotFoundException} (client fault)
|
|
74
76
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
75
77
|
* exist.</p>
|
|
@@ -29,7 +29,7 @@ declare const DescribeJobCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>This operation returns information about a job you previously initiated, including
|
|
31
31
|
* the job initiation date, the user who initiated the job, the job status code/message and
|
|
32
|
-
* the Amazon SNS topic to notify after Amazon
|
|
32
|
+
* the Amazon SNS topic to notify after Amazon Glacier (Glacier) completes the job. For more information
|
|
33
33
|
* about initiating a job, see <a>InitiateJob</a>. </p>
|
|
34
34
|
*
|
|
35
35
|
* <note>
|
|
@@ -162,6 +162,8 @@ declare const DescribeJobCommand_base: {
|
|
|
162
162
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
163
163
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
164
164
|
*
|
|
165
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
166
|
+
*
|
|
165
167
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
166
168
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
167
169
|
* exist.</p>
|
|
@@ -33,9 +33,9 @@ declare const DescribeVaultCommand_base: {
|
|
|
33
33
|
* size are as of the last inventory generation. This means that if you add or remove an
|
|
34
34
|
* archive from a vault, and then immediately use Describe Vault, the change in contents will
|
|
35
35
|
* not be immediately reflected. If you want to retrieve the latest inventory of the vault,
|
|
36
|
-
* use <a>InitiateJob</a>. Amazon
|
|
36
|
+
* use <a>InitiateJob</a>. Amazon Glacier generates vault inventories approximately
|
|
37
37
|
* daily. For more information, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html">Downloading a Vault Inventory in
|
|
38
|
-
* Amazon
|
|
38
|
+
* Amazon Glacier</a>. </p>
|
|
39
39
|
*
|
|
40
40
|
* <p>An AWS account has full permission to perform all operations (actions). However, AWS
|
|
41
41
|
* Identity and Access Management (IAM) users don't have any permissions by default. You must
|
|
@@ -43,7 +43,7 @@ declare const DescribeVaultCommand_base: {
|
|
|
43
43
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
44
44
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
45
45
|
* <p>For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/retrieving-vault-info.html">Retrieving Vault Metadata in
|
|
46
|
-
* Amazon
|
|
46
|
+
* Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-get.html">Describe Vault </a> in the
|
|
47
47
|
* <i>Amazon Glacier Developer Guide</i>. </p>
|
|
48
48
|
* @example
|
|
49
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -82,6 +82,8 @@ declare const DescribeVaultCommand_base: {
|
|
|
82
82
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
83
83
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
84
84
|
*
|
|
85
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
86
|
+
*
|
|
85
87
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
88
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
87
89
|
* exist.</p>
|
|
@@ -68,6 +68,8 @@ declare const GetDataRetrievalPolicyCommand_base: {
|
|
|
68
68
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
69
69
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
70
70
|
*
|
|
71
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
72
|
+
*
|
|
71
73
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
72
74
|
* <p>Returned if the service cannot complete the request.</p>
|
|
73
75
|
*
|
|
@@ -33,7 +33,7 @@ declare const GetJobOutputCommand_base: {
|
|
|
33
33
|
*
|
|
34
34
|
* <p>You can download all the job output or download a portion of the output by specifying
|
|
35
35
|
* a byte range. In the case of an archive retrieval job, depending on the byte range you
|
|
36
|
-
* specify, Amazon
|
|
36
|
+
* specify, Amazon Glacier (Glacier) returns the checksum for the portion of the data. You can compute the
|
|
37
37
|
* checksum on the client and verify that the values match to ensure the portion you downloaded
|
|
38
38
|
* is the correct data.</p>
|
|
39
39
|
* <p>A job ID will not expire for at least 24 hours after Glacier completes the job. That
|
|
@@ -44,7 +44,7 @@ declare const GetJobOutputCommand_base: {
|
|
|
44
44
|
* you download a portion of the output, the expected size is based on the range of bytes
|
|
45
45
|
* you specified. For example, if you specify a range of <code>bytes=0-1048575</code>, you should
|
|
46
46
|
* verify your download size is 1,048,576 bytes. If you download an entire archive, the
|
|
47
|
-
* expected size is the size of the archive when you uploaded it to Amazon
|
|
47
|
+
* expected size is the size of the archive when you uploaded it to Amazon Glacier
|
|
48
48
|
* The expected size is also returned in the headers from the
|
|
49
49
|
* <b>Get Job Output</b> response.</p>
|
|
50
50
|
* <p>In the case of an archive retrieval job, depending on the byte range you
|
|
@@ -110,6 +110,8 @@ declare const GetJobOutputCommand_base: {
|
|
|
110
110
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
111
111
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
112
112
|
*
|
|
113
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
114
|
+
*
|
|
113
115
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
114
116
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
115
117
|
* exist.</p>
|
|
@@ -67,6 +67,8 @@ declare const GetVaultAccessPolicyCommand_base: {
|
|
|
67
67
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
68
68
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
71
|
+
*
|
|
70
72
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
73
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
72
74
|
* exist.</p>
|
|
@@ -90,6 +90,8 @@ declare const GetVaultLockCommand_base: {
|
|
|
90
90
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
91
91
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
92
92
|
*
|
|
93
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
94
|
+
*
|
|
93
95
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
96
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
95
97
|
* exist.</p>
|
|
@@ -33,7 +33,7 @@ declare const GetVaultNotificationsCommand_base: {
|
|
|
33
33
|
* <p>For information about setting a notification configuration on a vault, see <a>SetVaultNotifications</a>. If a notification configuration for a vault is not
|
|
34
34
|
* set, the operation returns a <code>404 Not Found</code> error. For more information about
|
|
35
35
|
* vault notifications, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html">Configuring Vault
|
|
36
|
-
* Notifications in Amazon
|
|
36
|
+
* Notifications in Amazon Glacier</a>. </p>
|
|
37
37
|
*
|
|
38
38
|
* <p>An AWS account has full permission to perform all operations (actions). However, AWS
|
|
39
39
|
* Identity and Access Management (IAM) users don't have any permissions by default. You must
|
|
@@ -41,7 +41,7 @@ declare const GetVaultNotificationsCommand_base: {
|
|
|
41
41
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
42
42
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
43
43
|
* <p>For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html">Configuring Vault
|
|
44
|
-
* Notifications in Amazon
|
|
44
|
+
* Notifications in Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-notifications-get.html">Get Vault Notification
|
|
45
45
|
* Configuration </a> in the <i>Amazon Glacier Developer Guide</i>. </p>
|
|
46
46
|
* @example
|
|
47
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -80,6 +80,8 @@ declare const GetVaultNotificationsCommand_base: {
|
|
|
80
80
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
81
81
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
82
82
|
*
|
|
83
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
84
|
+
*
|
|
83
85
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
86
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
85
87
|
* exist.</p>
|
|
@@ -140,6 +140,8 @@ declare const InitiateJobCommand_base: {
|
|
|
140
140
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
141
141
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
142
142
|
*
|
|
143
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
144
|
+
*
|
|
143
145
|
* @throws {@link PolicyEnforcedException} (client fault)
|
|
144
146
|
* <p>Returned if a retrieval job would exceed the current data policy's retrieval rate
|
|
145
147
|
* limit. For more information about data retrieval policies,</p>
|
|
@@ -27,7 +27,7 @@ declare const InitiateMultipartUploadCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation initiates a multipart upload. Amazon
|
|
30
|
+
* <p>This operation initiates a multipart upload. Amazon Glacier creates a multipart
|
|
31
31
|
* upload resource and returns its ID in the response. The multipart upload ID is used in
|
|
32
32
|
* subsequent requests to upload parts of an archive (see <a>UploadMultipartPart</a>).</p>
|
|
33
33
|
*
|
|
@@ -44,11 +44,11 @@ declare const InitiateMultipartUploadCommand_base: {
|
|
|
44
44
|
*
|
|
45
45
|
* <note>
|
|
46
46
|
* <p>You don't need to know the size of the archive when you start a multipart upload
|
|
47
|
-
* because Amazon
|
|
47
|
+
* because Amazon Glacier does not require you to specify the overall archive
|
|
48
48
|
* size.</p>
|
|
49
49
|
* </note>
|
|
50
50
|
*
|
|
51
|
-
* <p>After you complete the multipart upload, Amazon
|
|
51
|
+
* <p>After you complete the multipart upload, Amazon Glacier (Glacier) removes the multipart upload
|
|
52
52
|
* resource referenced by the ID. Glacier also removes the multipart upload resource if
|
|
53
53
|
* you cancel the multipart upload or it may be removed if there is no activity for a period
|
|
54
54
|
* of 24 hours.</p>
|
|
@@ -96,6 +96,8 @@ declare const InitiateMultipartUploadCommand_base: {
|
|
|
96
96
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
97
97
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
98
98
|
*
|
|
99
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
100
|
+
*
|
|
99
101
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
102
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
101
103
|
* exist.</p>
|
|
@@ -97,6 +97,8 @@ declare const InitiateVaultLockCommand_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 ResourceNotFoundException} (client fault)
|
|
101
103
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
102
104
|
* exist.</p>
|
|
@@ -182,6 +182,8 @@ declare const ListJobsCommand_base: {
|
|
|
182
182
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
183
183
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
184
184
|
*
|
|
185
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
186
|
+
*
|
|
185
187
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
186
188
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
187
189
|
* exist.</p>
|
|
@@ -51,7 +51,7 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
51
51
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
52
52
|
*
|
|
53
53
|
* <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
|
|
54
|
-
* with Archives in Amazon
|
|
54
|
+
* with Archives in Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-uploads.html">List Multipart Uploads
|
|
55
55
|
* </a> in the <i>Amazon Glacier Developer Guide</i>.</p>
|
|
56
56
|
* @example
|
|
57
57
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -96,6 +96,8 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
96
96
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
97
97
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
98
98
|
*
|
|
99
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
100
|
+
*
|
|
99
101
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
102
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
101
103
|
* exist.</p>
|
|
@@ -47,7 +47,7 @@ declare const ListPartsCommand_base: {
|
|
|
47
47
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
48
48
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
49
49
|
* <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
|
|
50
|
-
* with Archives in Amazon
|
|
50
|
+
* with Archives in Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-parts.html">List Parts</a> in the
|
|
51
51
|
* <i>Amazon Glacier Developer Guide</i>.</p>
|
|
52
52
|
* @example
|
|
53
53
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -95,6 +95,8 @@ declare const ListPartsCommand_base: {
|
|
|
95
95
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
96
96
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
97
97
|
*
|
|
98
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
99
|
+
*
|
|
98
100
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
101
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
100
102
|
* exist.</p>
|
|
@@ -66,6 +66,8 @@ declare const ListProvisionedCapacityCommand_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 ServiceUnavailableException} (server fault)
|
|
70
72
|
* <p>Returned if the service cannot complete the request.</p>
|
|
71
73
|
*
|
|
@@ -28,7 +28,7 @@ declare const ListTagsForVaultCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>This operation lists all the tags attached to a vault. The operation returns an empty
|
|
31
|
-
* map if there are no tags. For more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon
|
|
31
|
+
* map if there are no tags. For more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon Glacier
|
|
32
32
|
* Resources</a>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -64,6 +64,8 @@ declare const ListTagsForVaultCommand_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>
|
|
@@ -44,7 +44,7 @@ declare const ListVaultsCommand_base: {
|
|
|
44
44
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html">Access Control Using
|
|
45
45
|
* AWS Identity and Access Management (IAM)</a>.</p>
|
|
46
46
|
* <p>For conceptual information and underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/retrieving-vault-info.html">Retrieving Vault Metadata in
|
|
47
|
-
* Amazon
|
|
47
|
+
* Amazon Glacier</a> and <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html">List Vaults </a> in the
|
|
48
48
|
* <i>Amazon Glacier Developer Guide</i>. </p>
|
|
49
49
|
* @example
|
|
50
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -89,6 +89,8 @@ declare const ListVaultsCommand_base: {
|
|
|
89
89
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
90
90
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
91
91
|
*
|
|
92
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
93
|
+
*
|
|
92
94
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
93
95
|
* <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
|
|
94
96
|
* exist.</p>
|
|
@@ -100,6 +102,31 @@ declare const ListVaultsCommand_base: {
|
|
|
100
102
|
* <p>Base exception class for all service exceptions from Glacier service.</p>
|
|
101
103
|
*
|
|
102
104
|
*
|
|
105
|
+
* @example To list all vaults owned by the calling user's account
|
|
106
|
+
* ```javascript
|
|
107
|
+
* // The example lists all vaults owned by the specified AWS account.
|
|
108
|
+
* const input = {
|
|
109
|
+
* accountId: "-",
|
|
110
|
+
* marker: ""
|
|
111
|
+
* };
|
|
112
|
+
* const command = new ListVaultsCommand(input);
|
|
113
|
+
* const response = await client.send(command);
|
|
114
|
+
* /* response is
|
|
115
|
+
* {
|
|
116
|
+
* VaultList: [
|
|
117
|
+
* {
|
|
118
|
+
* CreationDate: "2015-04-06T21:23:45.708Z",
|
|
119
|
+
* LastInventoryDate: "2015-04-07T00:26:19.028Z",
|
|
120
|
+
* NumberOfArchives: 1,
|
|
121
|
+
* SizeInBytes: 3178496,
|
|
122
|
+
* VaultARN: "arn:aws:glacier:us-west-2:0123456789012:vaults/my-vault",
|
|
123
|
+
* VaultName: "my-vault"
|
|
124
|
+
* }
|
|
125
|
+
* ]
|
|
126
|
+
* }
|
|
127
|
+
* *\/
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
103
130
|
* @public
|
|
104
131
|
*/
|
|
105
132
|
export declare class ListVaultsCommand extends ListVaultsCommand_base {
|
|
@@ -62,6 +62,8 @@ declare const PurchaseProvisionedCapacityCommand_base: {
|
|
|
62
62
|
* @throws {@link MissingParameterValueException} (client fault)
|
|
63
63
|
* <p>Returned if a required header or parameter is missing from the request.</p>
|
|
64
64
|
*
|
|
65
|
+
* @throws {@link NoLongerSupportedException} (client fault)
|
|
66
|
+
*
|
|
65
67
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
66
68
|
* <p>Returned if the service cannot complete the request.</p>
|
|
67
69
|
*
|