@aws-sdk/client-glacier 3.947.0 → 3.952.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 +27 -0
- package/dist-es/models/errors.js +16 -0
- package/dist-es/schemas/schemas_0.js +11 -1
- package/dist-types/Glacier.d.ts +4 -4
- package/dist-types/GlacierClient.d.ts +4 -4
- 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 +4 -4
- package/dist-types/models/errors.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +63 -63
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p> Amazon
|
|
9
|
+
<p> Amazon Glacier (Glacier) is a storage solution for "cold data."</p>
|
|
10
10
|
|
|
11
11
|
<p>Glacier is an extremely low-cost storage service that provides secure,
|
|
12
12
|
durable, and easy-to-use storage for data backup and archival. With Glacier,
|
|
@@ -26,20 +26,20 @@ more information, see <a href="http://aws.amazon.com/s3/">Amazon Simple Storage
|
|
|
26
26
|
amount of data you can store in Glacier.</p>
|
|
27
27
|
|
|
28
28
|
<p>If you are a first-time user of Glacier, we recommend that you begin by
|
|
29
|
-
reading the following sections in the <i>Amazon
|
|
29
|
+
reading the following sections in the <i>Amazon Glacier Developer
|
|
30
30
|
Guide</i>:</p>
|
|
31
31
|
<ul>
|
|
32
32
|
<li>
|
|
33
33
|
<p>
|
|
34
34
|
<a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html">What is
|
|
35
|
-
Amazon
|
|
35
|
+
Amazon Glacier</a> - This section of the Developer Guide describes the
|
|
36
36
|
underlying data model, the operations it supports, and the AWS SDKs that you can use
|
|
37
37
|
to interact with the service.</p>
|
|
38
38
|
</li>
|
|
39
39
|
<li>
|
|
40
40
|
<p>
|
|
41
41
|
<a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html">Getting Started
|
|
42
|
-
with Amazon
|
|
42
|
+
with Amazon Glacier</a> - The Getting Started section walks you through the
|
|
43
43
|
process of creating a vault, uploading archives, creating jobs to download archives,
|
|
44
44
|
retrieving the job output, and deleting archives.</p>
|
|
45
45
|
</li>
|
package/dist-cjs/index.js
CHANGED
|
@@ -152,6 +152,22 @@ let MissingParameterValueException$1 = class MissingParameterValueException exte
|
|
|
152
152
|
this.code = opts.code;
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
|
+
let NoLongerSupportedException$1 = class NoLongerSupportedException extends GlacierServiceException$1 {
|
|
156
|
+
name = "NoLongerSupportedException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
type;
|
|
159
|
+
code;
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "NoLongerSupportedException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
Object.setPrototypeOf(this, NoLongerSupportedException.prototype);
|
|
167
|
+
this.type = opts.type;
|
|
168
|
+
this.code = opts.code;
|
|
169
|
+
}
|
|
170
|
+
};
|
|
155
171
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends GlacierServiceException$1 {
|
|
156
172
|
name = "ResourceNotFoundException";
|
|
157
173
|
$fault = "client";
|
|
@@ -379,6 +395,7 @@ const _Li = "Limit";
|
|
|
379
395
|
const _M = "Marker";
|
|
380
396
|
const _MPVE = "MissingParameterValueException";
|
|
381
397
|
const _MUI = "MultipartUploadId";
|
|
398
|
+
const _NLSE = "NoLongerSupportedException";
|
|
382
399
|
const _NOA = "NumberOfArchives";
|
|
383
400
|
const _OL = "OutputLocation";
|
|
384
401
|
const _OS = "OutputSerialization";
|
|
@@ -989,6 +1006,15 @@ var MissingParameterValueException = [
|
|
|
989
1006
|
[0, 0, 0],
|
|
990
1007
|
];
|
|
991
1008
|
schema.TypeRegistry.for(n0).registerError(MissingParameterValueException, MissingParameterValueException$1);
|
|
1009
|
+
var NoLongerSupportedException = [
|
|
1010
|
+
-3,
|
|
1011
|
+
n0,
|
|
1012
|
+
_NLSE,
|
|
1013
|
+
{ [_e]: _cl, [_hE]: 400 },
|
|
1014
|
+
[_t, _co, _m],
|
|
1015
|
+
[0, 0, 0],
|
|
1016
|
+
];
|
|
1017
|
+
schema.TypeRegistry.for(n0).registerError(NoLongerSupportedException, NoLongerSupportedException$1);
|
|
992
1018
|
var OutputLocation = [3, n0, _OL, 0, [_S_], [() => S3Location]];
|
|
993
1019
|
var OutputSerialization = [3, n0, _OS, 0, [_cs], [() => CSVOutput]];
|
|
994
1020
|
var PartListElement = [3, n0, _PLE, 0, [_RIB, _SHATH], [0, 0]];
|
|
@@ -1988,6 +2014,7 @@ exports.ListProvisionedCapacityCommand = ListProvisionedCapacityCommand;
|
|
|
1988
2014
|
exports.ListTagsForVaultCommand = ListTagsForVaultCommand;
|
|
1989
2015
|
exports.ListVaultsCommand = ListVaultsCommand;
|
|
1990
2016
|
exports.MissingParameterValueException = MissingParameterValueException$1;
|
|
2017
|
+
exports.NoLongerSupportedException = NoLongerSupportedException$1;
|
|
1991
2018
|
exports.Permission = Permission;
|
|
1992
2019
|
exports.PolicyEnforcedException = PolicyEnforcedException$1;
|
|
1993
2020
|
exports.PurchaseProvisionedCapacityCommand = PurchaseProvisionedCapacityCommand;
|
package/dist-es/models/errors.js
CHANGED
|
@@ -31,6 +31,22 @@ export class MissingParameterValueException extends __BaseException {
|
|
|
31
31
|
this.code = opts.code;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
export class NoLongerSupportedException extends __BaseException {
|
|
35
|
+
name = "NoLongerSupportedException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
type;
|
|
38
|
+
code;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "NoLongerSupportedException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, NoLongerSupportedException.prototype);
|
|
46
|
+
this.type = opts.type;
|
|
47
|
+
this.code = opts.code;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
34
50
|
export class ResourceNotFoundException extends __BaseException {
|
|
35
51
|
name = "ResourceNotFoundException";
|
|
36
52
|
$fault = "client";
|
|
@@ -128,6 +128,7 @@ const _Li = "Limit";
|
|
|
128
128
|
const _M = "Marker";
|
|
129
129
|
const _MPVE = "MissingParameterValueException";
|
|
130
130
|
const _MUI = "MultipartUploadId";
|
|
131
|
+
const _NLSE = "NoLongerSupportedException";
|
|
131
132
|
const _NOA = "NumberOfArchives";
|
|
132
133
|
const _OL = "OutputLocation";
|
|
133
134
|
const _OS = "OutputSerialization";
|
|
@@ -247,7 +248,7 @@ const _xaps = "x-amz-part-size";
|
|
|
247
248
|
const _xasth = "x-amz-sha256-tree-hash";
|
|
248
249
|
const n0 = "com.amazonaws.glacier";
|
|
249
250
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
250
|
-
import { InsufficientCapacityException as __InsufficientCapacityException, InvalidParameterValueException as __InvalidParameterValueException, LimitExceededException as __LimitExceededException, MissingParameterValueException as __MissingParameterValueException, PolicyEnforcedException as __PolicyEnforcedException, RequestTimeoutException as __RequestTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, } from "../models/errors";
|
|
251
|
+
import { InsufficientCapacityException as __InsufficientCapacityException, InvalidParameterValueException as __InvalidParameterValueException, LimitExceededException as __LimitExceededException, MissingParameterValueException as __MissingParameterValueException, NoLongerSupportedException as __NoLongerSupportedException, PolicyEnforcedException as __PolicyEnforcedException, RequestTimeoutException as __RequestTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, } from "../models/errors";
|
|
251
252
|
import { GlacierServiceException as __GlacierServiceException } from "../models/GlacierServiceException";
|
|
252
253
|
export var _Stream = [0, n0, _S, { [_s]: 1 }, 42];
|
|
253
254
|
export var AbortMultipartUploadInput = [
|
|
@@ -741,6 +742,15 @@ export var MissingParameterValueException = [
|
|
|
741
742
|
[0, 0, 0],
|
|
742
743
|
];
|
|
743
744
|
TypeRegistry.for(n0).registerError(MissingParameterValueException, __MissingParameterValueException);
|
|
745
|
+
export var NoLongerSupportedException = [
|
|
746
|
+
-3,
|
|
747
|
+
n0,
|
|
748
|
+
_NLSE,
|
|
749
|
+
{ [_e]: _cl, [_hE]: 400 },
|
|
750
|
+
[_t, _co, _m],
|
|
751
|
+
[0, 0, 0],
|
|
752
|
+
];
|
|
753
|
+
TypeRegistry.for(n0).registerError(NoLongerSupportedException, __NoLongerSupportedException);
|
|
744
754
|
export var OutputLocation = [3, n0, _OL, 0, [_S_], [() => S3Location]];
|
|
745
755
|
export var OutputSerialization = [3, n0, _OS, 0, [_cs], [() => CSVOutput]];
|
|
746
756
|
export var PartListElement = [3, n0, _PLE, 0, [_RIB, _SHATH], [0, 0]];
|
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>
|
|
@@ -224,7 +224,7 @@ export type GlacierClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
224
224
|
export interface GlacierClientResolvedConfig extends GlacierClientResolvedConfigType {
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
|
-
* <p> Amazon
|
|
227
|
+
* <p> Amazon Glacier (Glacier) is a storage solution for "cold data."</p>
|
|
228
228
|
*
|
|
229
229
|
* <p>Glacier is an extremely low-cost storage service that provides secure,
|
|
230
230
|
* durable, and easy-to-use storage for data backup and archival. With Glacier,
|
|
@@ -244,20 +244,20 @@ export interface GlacierClientResolvedConfig extends GlacierClientResolvedConfig
|
|
|
244
244
|
* amount of data you can store in Glacier.</p>
|
|
245
245
|
*
|
|
246
246
|
* <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
|
|
247
|
+
* reading the following sections in the <i>Amazon Glacier Developer
|
|
248
248
|
* Guide</i>:</p>
|
|
249
249
|
* <ul>
|
|
250
250
|
* <li>
|
|
251
251
|
* <p>
|
|
252
252
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html">What is
|
|
253
|
-
* Amazon
|
|
253
|
+
* Amazon Glacier</a> - This section of the Developer Guide describes the
|
|
254
254
|
* underlying data model, the operations it supports, and the AWS SDKs that you can use
|
|
255
255
|
* to interact with the service.</p>
|
|
256
256
|
* </li>
|
|
257
257
|
* <li>
|
|
258
258
|
* <p>
|
|
259
259
|
* <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html">Getting Started
|
|
260
|
-
* with Amazon
|
|
260
|
+
* with Amazon Glacier</a> - The Getting Started section walks you through the
|
|
261
261
|
* process of creating a vault, uploading archives, creating jobs to download archives,
|
|
262
262
|
* retrieving the job output, and deleting archives.</p>
|
|
263
263
|
* </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>
|