@aws-sdk/client-glacier 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +53 -52
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +52 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -181
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +132 -0
- package/dist-types/models/errors.d.ts +175 -0
- package/dist-types/models/models_0.d.ts +1 -307
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +65 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -139
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { GlacierServiceException as __BaseException } from "./GlacierServiceException";
|
|
3
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidParameterValueException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
type?: string | undefined;
|
|
7
|
+
code?: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class MissingParameterValueException extends __BaseException {
|
|
13
|
+
readonly name: "MissingParameterValueException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
type?: string | undefined;
|
|
16
|
+
code?: string | undefined;
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
type?: string | undefined;
|
|
25
|
+
code?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
31
|
+
readonly name: "ServiceUnavailableException";
|
|
32
|
+
readonly $fault: "server";
|
|
33
|
+
type?: string | undefined;
|
|
34
|
+
code?: string | undefined;
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class LimitExceededException extends __BaseException {
|
|
40
|
+
readonly name: "LimitExceededException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
type?: string | undefined;
|
|
43
|
+
code?: string | undefined;
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export declare class InsufficientCapacityException extends __BaseException {
|
|
49
|
+
readonly name: "InsufficientCapacityException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
type?: string | undefined;
|
|
52
|
+
code?: string | undefined;
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class PolicyEnforcedException extends __BaseException {
|
|
58
|
+
readonly name: "PolicyEnforcedException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
type?: string | undefined;
|
|
61
|
+
code?: string | undefined;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<PolicyEnforcedException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export declare class RequestTimeoutException extends __BaseException {
|
|
67
|
+
readonly name: "RequestTimeoutException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
type?: string | undefined;
|
|
70
|
+
code?: string | undefined;
|
|
71
|
+
constructor(
|
|
72
|
+
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -1,57 +1,25 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
ActionCode,
|
|
4
|
+
CannedACL,
|
|
5
|
+
EncryptionType,
|
|
6
|
+
ExpressionType,
|
|
7
|
+
FileHeaderInfo,
|
|
8
|
+
Permission,
|
|
9
|
+
QuoteFields,
|
|
10
|
+
StatusCode,
|
|
11
|
+
StorageClass,
|
|
12
|
+
Type,
|
|
13
|
+
} from "./enums";
|
|
4
14
|
export interface AbortMultipartUploadInput {
|
|
5
15
|
accountId: string | undefined;
|
|
6
16
|
vaultName: string | undefined;
|
|
7
17
|
uploadId: string | undefined;
|
|
8
18
|
}
|
|
9
|
-
export declare class InvalidParameterValueException extends __BaseException {
|
|
10
|
-
readonly name: "InvalidParameterValueException";
|
|
11
|
-
readonly $fault: "client";
|
|
12
|
-
type?: string | undefined;
|
|
13
|
-
code?: string | undefined;
|
|
14
|
-
constructor(
|
|
15
|
-
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
export declare class MissingParameterValueException extends __BaseException {
|
|
19
|
-
readonly name: "MissingParameterValueException";
|
|
20
|
-
readonly $fault: "client";
|
|
21
|
-
type?: string | undefined;
|
|
22
|
-
code?: string | undefined;
|
|
23
|
-
constructor(
|
|
24
|
-
opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
28
|
-
readonly name: "ResourceNotFoundException";
|
|
29
|
-
readonly $fault: "client";
|
|
30
|
-
type?: string | undefined;
|
|
31
|
-
code?: string | undefined;
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
37
|
-
readonly name: "ServiceUnavailableException";
|
|
38
|
-
readonly $fault: "server";
|
|
39
|
-
type?: string | undefined;
|
|
40
|
-
code?: string | undefined;
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
19
|
export interface AbortVaultLockInput {
|
|
46
20
|
accountId: string | undefined;
|
|
47
21
|
vaultName: string | undefined;
|
|
48
22
|
}
|
|
49
|
-
export declare const Type: {
|
|
50
|
-
readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
|
|
51
|
-
readonly CanonicalUser: "CanonicalUser";
|
|
52
|
-
readonly Group: "Group";
|
|
53
|
-
};
|
|
54
|
-
export type Type = (typeof Type)[keyof typeof Type];
|
|
55
23
|
export interface Grantee {
|
|
56
24
|
Type: Type | undefined;
|
|
57
25
|
DisplayName?: string | undefined;
|
|
@@ -59,53 +27,20 @@ export interface Grantee {
|
|
|
59
27
|
ID?: string | undefined;
|
|
60
28
|
EmailAddress?: string | undefined;
|
|
61
29
|
}
|
|
62
|
-
export declare const Permission: {
|
|
63
|
-
readonly FULL_CONTROL: "FULL_CONTROL";
|
|
64
|
-
readonly READ: "READ";
|
|
65
|
-
readonly READ_ACP: "READ_ACP";
|
|
66
|
-
readonly WRITE: "WRITE";
|
|
67
|
-
readonly WRITE_ACP: "WRITE_ACP";
|
|
68
|
-
};
|
|
69
|
-
export type Permission = (typeof Permission)[keyof typeof Permission];
|
|
70
30
|
export interface Grant {
|
|
71
31
|
Grantee?: Grantee | undefined;
|
|
72
32
|
Permission?: Permission | undefined;
|
|
73
33
|
}
|
|
74
|
-
export declare const ActionCode: {
|
|
75
|
-
readonly ArchiveRetrieval: "ArchiveRetrieval";
|
|
76
|
-
readonly InventoryRetrieval: "InventoryRetrieval";
|
|
77
|
-
readonly Select: "Select";
|
|
78
|
-
};
|
|
79
|
-
export type ActionCode = (typeof ActionCode)[keyof typeof ActionCode];
|
|
80
34
|
export interface AddTagsToVaultInput {
|
|
81
35
|
accountId: string | undefined;
|
|
82
36
|
vaultName: string | undefined;
|
|
83
37
|
Tags?: Record<string, string> | undefined;
|
|
84
38
|
}
|
|
85
|
-
export declare class LimitExceededException extends __BaseException {
|
|
86
|
-
readonly name: "LimitExceededException";
|
|
87
|
-
readonly $fault: "client";
|
|
88
|
-
type?: string | undefined;
|
|
89
|
-
code?: string | undefined;
|
|
90
|
-
constructor(
|
|
91
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
39
|
export interface ArchiveCreationOutput {
|
|
95
40
|
location?: string | undefined;
|
|
96
41
|
checksum?: string | undefined;
|
|
97
42
|
archiveId?: string | undefined;
|
|
98
43
|
}
|
|
99
|
-
export declare const CannedACL: {
|
|
100
|
-
readonly AuthenticatedRead: "authenticated-read";
|
|
101
|
-
readonly AwsExecRead: "aws-exec-read";
|
|
102
|
-
readonly BucketOwnerFullControl: "bucket-owner-full-control";
|
|
103
|
-
readonly BucketOwnerRead: "bucket-owner-read";
|
|
104
|
-
readonly Private: "private";
|
|
105
|
-
readonly PublicRead: "public-read";
|
|
106
|
-
readonly PublicReadWrite: "public-read-write";
|
|
107
|
-
};
|
|
108
|
-
export type CannedACL = (typeof CannedACL)[keyof typeof CannedACL];
|
|
109
44
|
export interface CompleteMultipartUploadInput {
|
|
110
45
|
accountId: string | undefined;
|
|
111
46
|
vaultName: string | undefined;
|
|
@@ -125,13 +60,6 @@ export interface CreateVaultInput {
|
|
|
125
60
|
export interface CreateVaultOutput {
|
|
126
61
|
location?: string | undefined;
|
|
127
62
|
}
|
|
128
|
-
export declare const FileHeaderInfo: {
|
|
129
|
-
readonly Ignore: "IGNORE";
|
|
130
|
-
readonly None: "NONE";
|
|
131
|
-
readonly Use: "USE";
|
|
132
|
-
};
|
|
133
|
-
export type FileHeaderInfo =
|
|
134
|
-
(typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
|
|
135
63
|
export interface CSVInput {
|
|
136
64
|
FileHeaderInfo?: FileHeaderInfo | undefined;
|
|
137
65
|
Comments?: string | undefined;
|
|
@@ -140,11 +68,6 @@ export interface CSVInput {
|
|
|
140
68
|
FieldDelimiter?: string | undefined;
|
|
141
69
|
QuoteCharacter?: string | undefined;
|
|
142
70
|
}
|
|
143
|
-
export declare const QuoteFields: {
|
|
144
|
-
readonly Always: "ALWAYS";
|
|
145
|
-
readonly AsNeeded: "ASNEEDED";
|
|
146
|
-
};
|
|
147
|
-
export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
|
|
148
71
|
export interface CSVOutput {
|
|
149
72
|
QuoteFields?: QuoteFields | undefined;
|
|
150
73
|
QuoteEscapeCharacter?: string | undefined;
|
|
@@ -188,23 +111,11 @@ export interface InventoryRetrievalJobDescription {
|
|
|
188
111
|
Limit?: string | undefined;
|
|
189
112
|
Marker?: string | undefined;
|
|
190
113
|
}
|
|
191
|
-
export declare const EncryptionType: {
|
|
192
|
-
readonly KMS: "aws:kms";
|
|
193
|
-
readonly S3: "AES256";
|
|
194
|
-
};
|
|
195
|
-
export type EncryptionType =
|
|
196
|
-
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
197
114
|
export interface Encryption {
|
|
198
115
|
EncryptionType?: EncryptionType | undefined;
|
|
199
116
|
KMSKeyId?: string | undefined;
|
|
200
117
|
KMSContext?: string | undefined;
|
|
201
118
|
}
|
|
202
|
-
export declare const StorageClass: {
|
|
203
|
-
readonly ReducedRedundancy: "REDUCED_REDUNDANCY";
|
|
204
|
-
readonly Standard: "STANDARD";
|
|
205
|
-
readonly StandardInfrequentAccess: "STANDARD_IA";
|
|
206
|
-
};
|
|
207
|
-
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
208
119
|
export interface S3Location {
|
|
209
120
|
BucketName?: string | undefined;
|
|
210
121
|
Prefix?: string | undefined;
|
|
@@ -218,11 +129,6 @@ export interface S3Location {
|
|
|
218
129
|
export interface OutputLocation {
|
|
219
130
|
S3?: S3Location | undefined;
|
|
220
131
|
}
|
|
221
|
-
export declare const ExpressionType: {
|
|
222
|
-
readonly SQL: "SQL";
|
|
223
|
-
};
|
|
224
|
-
export type ExpressionType =
|
|
225
|
-
(typeof ExpressionType)[keyof typeof ExpressionType];
|
|
226
132
|
export interface InputSerialization {
|
|
227
133
|
csv?: CSVInput | undefined;
|
|
228
134
|
}
|
|
@@ -235,12 +141,6 @@ export interface SelectParameters {
|
|
|
235
141
|
Expression?: string | undefined;
|
|
236
142
|
OutputSerialization?: OutputSerialization | undefined;
|
|
237
143
|
}
|
|
238
|
-
export declare const StatusCode: {
|
|
239
|
-
readonly Failed: "Failed";
|
|
240
|
-
readonly InProgress: "InProgress";
|
|
241
|
-
readonly Succeeded: "Succeeded";
|
|
242
|
-
};
|
|
243
|
-
export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
|
|
244
144
|
export interface GlacierJobDescription {
|
|
245
145
|
JobId?: string | undefined;
|
|
246
146
|
JobDescription?: string | undefined;
|
|
@@ -356,24 +256,6 @@ export interface InitiateJobOutput {
|
|
|
356
256
|
jobId?: string | undefined;
|
|
357
257
|
jobOutputPath?: string | undefined;
|
|
358
258
|
}
|
|
359
|
-
export declare class InsufficientCapacityException extends __BaseException {
|
|
360
|
-
readonly name: "InsufficientCapacityException";
|
|
361
|
-
readonly $fault: "client";
|
|
362
|
-
type?: string | undefined;
|
|
363
|
-
code?: string | undefined;
|
|
364
|
-
constructor(
|
|
365
|
-
opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
export declare class PolicyEnforcedException extends __BaseException {
|
|
369
|
-
readonly name: "PolicyEnforcedException";
|
|
370
|
-
readonly $fault: "client";
|
|
371
|
-
type?: string | undefined;
|
|
372
|
-
code?: string | undefined;
|
|
373
|
-
constructor(
|
|
374
|
-
opts: __ExceptionOptionType<PolicyEnforcedException, __BaseException>
|
|
375
|
-
);
|
|
376
|
-
}
|
|
377
259
|
export interface InitiateMultipartUploadInput {
|
|
378
260
|
accountId: string | undefined;
|
|
379
261
|
vaultName: string | undefined;
|
|
@@ -496,15 +378,6 @@ export interface SetVaultNotificationsInput {
|
|
|
496
378
|
vaultName: string | undefined;
|
|
497
379
|
vaultNotificationConfig?: VaultNotificationConfig | undefined;
|
|
498
380
|
}
|
|
499
|
-
export declare class RequestTimeoutException extends __BaseException {
|
|
500
|
-
readonly name: "RequestTimeoutException";
|
|
501
|
-
readonly $fault: "client";
|
|
502
|
-
type?: string | undefined;
|
|
503
|
-
code?: string | undefined;
|
|
504
|
-
constructor(
|
|
505
|
-
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
506
|
-
);
|
|
507
|
-
}
|
|
508
381
|
export interface UploadArchiveInput {
|
|
509
382
|
vaultName: string | undefined;
|
|
510
383
|
accountId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glacier",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-glacier",
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/body-checksum-browser": "3.930.0",
|
|
24
24
|
"@aws-sdk/body-checksum-node": "3.930.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.935.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
30
30
|
"@aws-sdk/middleware-sdk-glacier": "3.931.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
33
33
|
"@aws-sdk/types": "3.930.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.3",
|
|
38
|
-
"@smithy/core": "^3.18.
|
|
38
|
+
"@smithy/core": "^3.18.5",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
40
40
|
"@smithy/hash-node": "^4.2.5",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.5",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.5",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.5",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.5",
|
|
50
|
-
"@smithy/smithy-client": "^4.9.
|
|
50
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
51
51
|
"@smithy/types": "^4.9.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.5",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.5",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.5",
|
|
60
60
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|