@aws-sdk/client-glacier 3.301.0 → 3.303.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.
@@ -62,26 +62,23 @@ class ServiceUnavailableException extends GlacierServiceException_1.GlacierServi
62
62
  }
63
63
  }
64
64
  exports.ServiceUnavailableException = ServiceUnavailableException;
65
- var Type;
66
- (function (Type) {
67
- Type["AmazonCustomerByEmail"] = "AmazonCustomerByEmail";
68
- Type["CanonicalUser"] = "CanonicalUser";
69
- Type["Group"] = "Group";
70
- })(Type = exports.Type || (exports.Type = {}));
71
- var Permission;
72
- (function (Permission) {
73
- Permission["FULL_CONTROL"] = "FULL_CONTROL";
74
- Permission["READ"] = "READ";
75
- Permission["READ_ACP"] = "READ_ACP";
76
- Permission["WRITE"] = "WRITE";
77
- Permission["WRITE_ACP"] = "WRITE_ACP";
78
- })(Permission = exports.Permission || (exports.Permission = {}));
79
- var ActionCode;
80
- (function (ActionCode) {
81
- ActionCode["ArchiveRetrieval"] = "ArchiveRetrieval";
82
- ActionCode["InventoryRetrieval"] = "InventoryRetrieval";
83
- ActionCode["Select"] = "Select";
84
- })(ActionCode = exports.ActionCode || (exports.ActionCode = {}));
65
+ exports.Type = {
66
+ AmazonCustomerByEmail: "AmazonCustomerByEmail",
67
+ CanonicalUser: "CanonicalUser",
68
+ Group: "Group",
69
+ };
70
+ exports.Permission = {
71
+ FULL_CONTROL: "FULL_CONTROL",
72
+ READ: "READ",
73
+ READ_ACP: "READ_ACP",
74
+ WRITE: "WRITE",
75
+ WRITE_ACP: "WRITE_ACP",
76
+ };
77
+ exports.ActionCode = {
78
+ ArchiveRetrieval: "ArchiveRetrieval",
79
+ InventoryRetrieval: "InventoryRetrieval",
80
+ Select: "Select",
81
+ };
85
82
  class LimitExceededException extends GlacierServiceException_1.GlacierServiceException {
86
83
  constructor(opts) {
87
84
  super({
@@ -97,48 +94,41 @@ class LimitExceededException extends GlacierServiceException_1.GlacierServiceExc
97
94
  }
98
95
  }
99
96
  exports.LimitExceededException = LimitExceededException;
100
- var CannedACL;
101
- (function (CannedACL) {
102
- CannedACL["AuthenticatedRead"] = "authenticated-read";
103
- CannedACL["AwsExecRead"] = "aws-exec-read";
104
- CannedACL["BucketOwnerFullControl"] = "bucket-owner-full-control";
105
- CannedACL["BucketOwnerRead"] = "bucket-owner-read";
106
- CannedACL["Private"] = "private";
107
- CannedACL["PublicRead"] = "public-read";
108
- CannedACL["PublicReadWrite"] = "public-read-write";
109
- })(CannedACL = exports.CannedACL || (exports.CannedACL = {}));
110
- var FileHeaderInfo;
111
- (function (FileHeaderInfo) {
112
- FileHeaderInfo["Ignore"] = "IGNORE";
113
- FileHeaderInfo["None"] = "NONE";
114
- FileHeaderInfo["Use"] = "USE";
115
- })(FileHeaderInfo = exports.FileHeaderInfo || (exports.FileHeaderInfo = {}));
116
- var QuoteFields;
117
- (function (QuoteFields) {
118
- QuoteFields["Always"] = "ALWAYS";
119
- QuoteFields["AsNeeded"] = "ASNEEDED";
120
- })(QuoteFields = exports.QuoteFields || (exports.QuoteFields = {}));
121
- var EncryptionType;
122
- (function (EncryptionType) {
123
- EncryptionType["KMS"] = "aws:kms";
124
- EncryptionType["S3"] = "AES256";
125
- })(EncryptionType = exports.EncryptionType || (exports.EncryptionType = {}));
126
- var StorageClass;
127
- (function (StorageClass) {
128
- StorageClass["ReducedRedundancy"] = "REDUCED_REDUNDANCY";
129
- StorageClass["Standard"] = "STANDARD";
130
- StorageClass["StandardInfrequentAccess"] = "STANDARD_IA";
131
- })(StorageClass = exports.StorageClass || (exports.StorageClass = {}));
132
- var ExpressionType;
133
- (function (ExpressionType) {
134
- ExpressionType["SQL"] = "SQL";
135
- })(ExpressionType = exports.ExpressionType || (exports.ExpressionType = {}));
136
- var StatusCode;
137
- (function (StatusCode) {
138
- StatusCode["Failed"] = "Failed";
139
- StatusCode["InProgress"] = "InProgress";
140
- StatusCode["Succeeded"] = "Succeeded";
141
- })(StatusCode = exports.StatusCode || (exports.StatusCode = {}));
97
+ exports.CannedACL = {
98
+ AuthenticatedRead: "authenticated-read",
99
+ AwsExecRead: "aws-exec-read",
100
+ BucketOwnerFullControl: "bucket-owner-full-control",
101
+ BucketOwnerRead: "bucket-owner-read",
102
+ Private: "private",
103
+ PublicRead: "public-read",
104
+ PublicReadWrite: "public-read-write",
105
+ };
106
+ exports.FileHeaderInfo = {
107
+ Ignore: "IGNORE",
108
+ None: "NONE",
109
+ Use: "USE",
110
+ };
111
+ exports.QuoteFields = {
112
+ Always: "ALWAYS",
113
+ AsNeeded: "ASNEEDED",
114
+ };
115
+ exports.EncryptionType = {
116
+ KMS: "aws:kms",
117
+ S3: "AES256",
118
+ };
119
+ exports.StorageClass = {
120
+ ReducedRedundancy: "REDUCED_REDUNDANCY",
121
+ Standard: "STANDARD",
122
+ StandardInfrequentAccess: "STANDARD_IA",
123
+ };
124
+ exports.ExpressionType = {
125
+ SQL: "SQL",
126
+ };
127
+ exports.StatusCode = {
128
+ Failed: "Failed",
129
+ InProgress: "InProgress",
130
+ Succeeded: "Succeeded",
131
+ };
142
132
  class InsufficientCapacityException extends GlacierServiceException_1.GlacierServiceException {
143
133
  constructor(opts) {
144
134
  super({
@@ -55,26 +55,23 @@ export class ServiceUnavailableException extends __BaseException {
55
55
  this.code = opts.code;
56
56
  }
57
57
  }
58
- export var Type;
59
- (function (Type) {
60
- Type["AmazonCustomerByEmail"] = "AmazonCustomerByEmail";
61
- Type["CanonicalUser"] = "CanonicalUser";
62
- Type["Group"] = "Group";
63
- })(Type || (Type = {}));
64
- export var Permission;
65
- (function (Permission) {
66
- Permission["FULL_CONTROL"] = "FULL_CONTROL";
67
- Permission["READ"] = "READ";
68
- Permission["READ_ACP"] = "READ_ACP";
69
- Permission["WRITE"] = "WRITE";
70
- Permission["WRITE_ACP"] = "WRITE_ACP";
71
- })(Permission || (Permission = {}));
72
- export var ActionCode;
73
- (function (ActionCode) {
74
- ActionCode["ArchiveRetrieval"] = "ArchiveRetrieval";
75
- ActionCode["InventoryRetrieval"] = "InventoryRetrieval";
76
- ActionCode["Select"] = "Select";
77
- })(ActionCode || (ActionCode = {}));
58
+ export const Type = {
59
+ AmazonCustomerByEmail: "AmazonCustomerByEmail",
60
+ CanonicalUser: "CanonicalUser",
61
+ Group: "Group",
62
+ };
63
+ export const Permission = {
64
+ FULL_CONTROL: "FULL_CONTROL",
65
+ READ: "READ",
66
+ READ_ACP: "READ_ACP",
67
+ WRITE: "WRITE",
68
+ WRITE_ACP: "WRITE_ACP",
69
+ };
70
+ export const ActionCode = {
71
+ ArchiveRetrieval: "ArchiveRetrieval",
72
+ InventoryRetrieval: "InventoryRetrieval",
73
+ Select: "Select",
74
+ };
78
75
  export class LimitExceededException extends __BaseException {
79
76
  constructor(opts) {
80
77
  super({
@@ -89,48 +86,41 @@ export class LimitExceededException extends __BaseException {
89
86
  this.code = opts.code;
90
87
  }
91
88
  }
92
- export var CannedACL;
93
- (function (CannedACL) {
94
- CannedACL["AuthenticatedRead"] = "authenticated-read";
95
- CannedACL["AwsExecRead"] = "aws-exec-read";
96
- CannedACL["BucketOwnerFullControl"] = "bucket-owner-full-control";
97
- CannedACL["BucketOwnerRead"] = "bucket-owner-read";
98
- CannedACL["Private"] = "private";
99
- CannedACL["PublicRead"] = "public-read";
100
- CannedACL["PublicReadWrite"] = "public-read-write";
101
- })(CannedACL || (CannedACL = {}));
102
- export var FileHeaderInfo;
103
- (function (FileHeaderInfo) {
104
- FileHeaderInfo["Ignore"] = "IGNORE";
105
- FileHeaderInfo["None"] = "NONE";
106
- FileHeaderInfo["Use"] = "USE";
107
- })(FileHeaderInfo || (FileHeaderInfo = {}));
108
- export var QuoteFields;
109
- (function (QuoteFields) {
110
- QuoteFields["Always"] = "ALWAYS";
111
- QuoteFields["AsNeeded"] = "ASNEEDED";
112
- })(QuoteFields || (QuoteFields = {}));
113
- export var EncryptionType;
114
- (function (EncryptionType) {
115
- EncryptionType["KMS"] = "aws:kms";
116
- EncryptionType["S3"] = "AES256";
117
- })(EncryptionType || (EncryptionType = {}));
118
- export var StorageClass;
119
- (function (StorageClass) {
120
- StorageClass["ReducedRedundancy"] = "REDUCED_REDUNDANCY";
121
- StorageClass["Standard"] = "STANDARD";
122
- StorageClass["StandardInfrequentAccess"] = "STANDARD_IA";
123
- })(StorageClass || (StorageClass = {}));
124
- export var ExpressionType;
125
- (function (ExpressionType) {
126
- ExpressionType["SQL"] = "SQL";
127
- })(ExpressionType || (ExpressionType = {}));
128
- export var StatusCode;
129
- (function (StatusCode) {
130
- StatusCode["Failed"] = "Failed";
131
- StatusCode["InProgress"] = "InProgress";
132
- StatusCode["Succeeded"] = "Succeeded";
133
- })(StatusCode || (StatusCode = {}));
89
+ export const CannedACL = {
90
+ AuthenticatedRead: "authenticated-read",
91
+ AwsExecRead: "aws-exec-read",
92
+ BucketOwnerFullControl: "bucket-owner-full-control",
93
+ BucketOwnerRead: "bucket-owner-read",
94
+ Private: "private",
95
+ PublicRead: "public-read",
96
+ PublicReadWrite: "public-read-write",
97
+ };
98
+ export const FileHeaderInfo = {
99
+ Ignore: "IGNORE",
100
+ None: "NONE",
101
+ Use: "USE",
102
+ };
103
+ export const QuoteFields = {
104
+ Always: "ALWAYS",
105
+ AsNeeded: "ASNEEDED",
106
+ };
107
+ export const EncryptionType = {
108
+ KMS: "aws:kms",
109
+ S3: "AES256",
110
+ };
111
+ export const StorageClass = {
112
+ ReducedRedundancy: "REDUCED_REDUNDANCY",
113
+ Standard: "STANDARD",
114
+ StandardInfrequentAccess: "STANDARD_IA",
115
+ };
116
+ export const ExpressionType = {
117
+ SQL: "SQL",
118
+ };
119
+ export const StatusCode = {
120
+ Failed: "Failed",
121
+ InProgress: "InProgress",
122
+ Succeeded: "Succeeded",
123
+ };
134
124
  export class InsufficientCapacityException extends __BaseException {
135
125
  constructor(opts) {
136
126
  super({
@@ -129,12 +129,17 @@ export interface AbortVaultLockInput {
129
129
  }
130
130
  /**
131
131
  * @public
132
+ * @enum
132
133
  */
133
- export declare enum Type {
134
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
135
- CanonicalUser = "CanonicalUser",
136
- Group = "Group"
137
- }
134
+ export declare const Type: {
135
+ readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
136
+ readonly CanonicalUser: "CanonicalUser";
137
+ readonly Group: "Group";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type Type = (typeof Type)[keyof typeof Type];
138
143
  /**
139
144
  * @public
140
145
  * <p>Contains information about the grantee.</p>
@@ -163,14 +168,19 @@ export interface Grantee {
163
168
  }
164
169
  /**
165
170
  * @public
171
+ * @enum
166
172
  */
167
- export declare enum Permission {
168
- FULL_CONTROL = "FULL_CONTROL",
169
- READ = "READ",
170
- READ_ACP = "READ_ACP",
171
- WRITE = "WRITE",
172
- WRITE_ACP = "WRITE_ACP"
173
- }
173
+ export declare const Permission: {
174
+ readonly FULL_CONTROL: "FULL_CONTROL";
175
+ readonly READ: "READ";
176
+ readonly READ_ACP: "READ_ACP";
177
+ readonly WRITE: "WRITE";
178
+ readonly WRITE_ACP: "WRITE_ACP";
179
+ };
180
+ /**
181
+ * @public
182
+ */
183
+ export type Permission = (typeof Permission)[keyof typeof Permission];
174
184
  /**
175
185
  * @public
176
186
  * <p>Contains information about a grant.</p>
@@ -187,12 +197,17 @@ export interface Grant {
187
197
  }
188
198
  /**
189
199
  * @public
200
+ * @enum
190
201
  */
191
- export declare enum ActionCode {
192
- ArchiveRetrieval = "ArchiveRetrieval",
193
- InventoryRetrieval = "InventoryRetrieval",
194
- Select = "Select"
195
- }
202
+ export declare const ActionCode: {
203
+ readonly ArchiveRetrieval: "ArchiveRetrieval";
204
+ readonly InventoryRetrieval: "InventoryRetrieval";
205
+ readonly Select: "Select";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type ActionCode = (typeof ActionCode)[keyof typeof ActionCode];
196
211
  /**
197
212
  * @public
198
213
  * <p>The input values for <code>AddTagsToVault</code>.</p>
@@ -259,16 +274,21 @@ export interface ArchiveCreationOutput {
259
274
  }
260
275
  /**
261
276
  * @public
277
+ * @enum
262
278
  */
263
- export declare enum CannedACL {
264
- AuthenticatedRead = "authenticated-read",
265
- AwsExecRead = "aws-exec-read",
266
- BucketOwnerFullControl = "bucket-owner-full-control",
267
- BucketOwnerRead = "bucket-owner-read",
268
- Private = "private",
269
- PublicRead = "public-read",
270
- PublicReadWrite = "public-read-write"
271
- }
279
+ export declare const CannedACL: {
280
+ readonly AuthenticatedRead: "authenticated-read";
281
+ readonly AwsExecRead: "aws-exec-read";
282
+ readonly BucketOwnerFullControl: "bucket-owner-full-control";
283
+ readonly BucketOwnerRead: "bucket-owner-read";
284
+ readonly Private: "private";
285
+ readonly PublicRead: "public-read";
286
+ readonly PublicReadWrite: "public-read-write";
287
+ };
288
+ /**
289
+ * @public
290
+ */
291
+ export type CannedACL = (typeof CannedACL)[keyof typeof CannedACL];
272
292
  /**
273
293
  * @public
274
294
  * <p>Provides options to complete a multipart upload operation. This informs Amazon
@@ -358,12 +378,17 @@ export interface CreateVaultOutput {
358
378
  }
359
379
  /**
360
380
  * @public
381
+ * @enum
361
382
  */
362
- export declare enum FileHeaderInfo {
363
- Ignore = "IGNORE",
364
- None = "NONE",
365
- Use = "USE"
366
- }
383
+ export declare const FileHeaderInfo: {
384
+ readonly Ignore: "IGNORE";
385
+ readonly None: "NONE";
386
+ readonly Use: "USE";
387
+ };
388
+ /**
389
+ * @public
390
+ */
391
+ export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
367
392
  /**
368
393
  * @public
369
394
  * <p>Contains information about the comma-separated value (CSV) file to select from.</p>
@@ -400,11 +425,16 @@ export interface CSVInput {
400
425
  }
401
426
  /**
402
427
  * @public
428
+ * @enum
403
429
  */
404
- export declare enum QuoteFields {
405
- Always = "ALWAYS",
406
- AsNeeded = "ASNEEDED"
407
- }
430
+ export declare const QuoteFields: {
431
+ readonly Always: "ALWAYS";
432
+ readonly AsNeeded: "ASNEEDED";
433
+ };
434
+ /**
435
+ * @public
436
+ */
437
+ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
408
438
  /**
409
439
  * @public
410
440
  * <p>Contains information about the comma-separated value (CSV) file that the job results
@@ -601,11 +631,16 @@ export interface InventoryRetrievalJobDescription {
601
631
  }
602
632
  /**
603
633
  * @public
634
+ * @enum
604
635
  */
605
- export declare enum EncryptionType {
606
- KMS = "aws:kms",
607
- S3 = "AES256"
608
- }
636
+ export declare const EncryptionType: {
637
+ readonly KMS: "aws:kms";
638
+ readonly S3: "AES256";
639
+ };
640
+ /**
641
+ * @public
642
+ */
643
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
609
644
  /**
610
645
  * @public
611
646
  * <p>Contains information about the encryption used to store the job results in Amazon S3. </p>
@@ -630,12 +665,17 @@ export interface Encryption {
630
665
  }
631
666
  /**
632
667
  * @public
668
+ * @enum
633
669
  */
634
- export declare enum StorageClass {
635
- ReducedRedundancy = "REDUCED_REDUNDANCY",
636
- Standard = "STANDARD",
637
- StandardInfrequentAccess = "STANDARD_IA"
638
- }
670
+ export declare const StorageClass: {
671
+ readonly ReducedRedundancy: "REDUCED_REDUNDANCY";
672
+ readonly Standard: "STANDARD";
673
+ readonly StandardInfrequentAccess: "STANDARD_IA";
674
+ };
675
+ /**
676
+ * @public
677
+ */
678
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
639
679
  /**
640
680
  * @public
641
681
  * <p>Contains information about the location in Amazon S3 where the select job results are stored.</p>
@@ -686,10 +726,15 @@ export interface OutputLocation {
686
726
  }
687
727
  /**
688
728
  * @public
729
+ * @enum
689
730
  */
690
- export declare enum ExpressionType {
691
- SQL = "SQL"
692
- }
731
+ export declare const ExpressionType: {
732
+ readonly SQL: "SQL";
733
+ };
734
+ /**
735
+ * @public
736
+ */
737
+ export type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType];
693
738
  /**
694
739
  * @public
695
740
  * <p>Describes how the archive is serialized.</p>
@@ -734,12 +779,17 @@ export interface SelectParameters {
734
779
  }
735
780
  /**
736
781
  * @public
782
+ * @enum
737
783
  */
738
- export declare enum StatusCode {
739
- Failed = "Failed",
740
- InProgress = "InProgress",
741
- Succeeded = "Succeeded"
742
- }
784
+ export declare const StatusCode: {
785
+ readonly Failed: "Failed";
786
+ readonly InProgress: "InProgress";
787
+ readonly Succeeded: "Succeeded";
788
+ };
789
+ /**
790
+ * @public
791
+ */
792
+ export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
743
793
  /**
744
794
  * @public
745
795
  * <p>Contains the description of an Amazon S3 Glacier job.</p>
@@ -46,11 +46,12 @@ export interface AbortVaultLockInput {
46
46
  accountId: string | undefined;
47
47
  vaultName: string | undefined;
48
48
  }
49
- export declare enum Type {
50
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
51
- CanonicalUser = "CanonicalUser",
52
- Group = "Group",
53
- }
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];
54
55
  export interface Grantee {
55
56
  Type: Type | string | undefined;
56
57
  DisplayName?: string;
@@ -58,22 +59,24 @@ export interface Grantee {
58
59
  ID?: string;
59
60
  EmailAddress?: string;
60
61
  }
61
- export declare enum Permission {
62
- FULL_CONTROL = "FULL_CONTROL",
63
- READ = "READ",
64
- READ_ACP = "READ_ACP",
65
- WRITE = "WRITE",
66
- WRITE_ACP = "WRITE_ACP",
67
- }
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];
68
70
  export interface Grant {
69
71
  Grantee?: Grantee;
70
72
  Permission?: Permission | string;
71
73
  }
72
- export declare enum ActionCode {
73
- ArchiveRetrieval = "ArchiveRetrieval",
74
- InventoryRetrieval = "InventoryRetrieval",
75
- Select = "Select",
76
- }
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];
77
80
  export interface AddTagsToVaultInput {
78
81
  accountId: string | undefined;
79
82
  vaultName: string | undefined;
@@ -93,15 +96,16 @@ export interface ArchiveCreationOutput {
93
96
  checksum?: string;
94
97
  archiveId?: string;
95
98
  }
96
- export declare enum CannedACL {
97
- AuthenticatedRead = "authenticated-read",
98
- AwsExecRead = "aws-exec-read",
99
- BucketOwnerFullControl = "bucket-owner-full-control",
100
- BucketOwnerRead = "bucket-owner-read",
101
- Private = "private",
102
- PublicRead = "public-read",
103
- PublicReadWrite = "public-read-write",
104
- }
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];
105
109
  export interface CompleteMultipartUploadInput {
106
110
  accountId: string | undefined;
107
111
  vaultName: string | undefined;
@@ -121,11 +125,13 @@ export interface CreateVaultInput {
121
125
  export interface CreateVaultOutput {
122
126
  location?: string;
123
127
  }
124
- export declare enum FileHeaderInfo {
125
- Ignore = "IGNORE",
126
- None = "NONE",
127
- Use = "USE",
128
- }
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];
129
135
  export interface CSVInput {
130
136
  FileHeaderInfo?: FileHeaderInfo | string;
131
137
  Comments?: string;
@@ -134,10 +140,11 @@ export interface CSVInput {
134
140
  FieldDelimiter?: string;
135
141
  QuoteCharacter?: string;
136
142
  }
137
- export declare enum QuoteFields {
138
- Always = "ALWAYS",
139
- AsNeeded = "ASNEEDED",
140
- }
143
+ export declare const QuoteFields: {
144
+ readonly Always: "ALWAYS";
145
+ readonly AsNeeded: "ASNEEDED";
146
+ };
147
+ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
141
148
  export interface CSVOutput {
142
149
  QuoteFields?: QuoteFields | string;
143
150
  QuoteEscapeCharacter?: string;
@@ -181,20 +188,23 @@ export interface InventoryRetrievalJobDescription {
181
188
  Limit?: string;
182
189
  Marker?: string;
183
190
  }
184
- export declare enum EncryptionType {
185
- KMS = "aws:kms",
186
- S3 = "AES256",
187
- }
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];
188
197
  export interface Encryption {
189
198
  EncryptionType?: EncryptionType | string;
190
199
  KMSKeyId?: string;
191
200
  KMSContext?: string;
192
201
  }
193
- export declare enum StorageClass {
194
- ReducedRedundancy = "REDUCED_REDUNDANCY",
195
- Standard = "STANDARD",
196
- StandardInfrequentAccess = "STANDARD_IA",
197
- }
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];
198
208
  export interface S3Location {
199
209
  BucketName?: string;
200
210
  Prefix?: string;
@@ -208,9 +218,11 @@ export interface S3Location {
208
218
  export interface OutputLocation {
209
219
  S3?: S3Location;
210
220
  }
211
- export declare enum ExpressionType {
212
- SQL = "SQL",
213
- }
221
+ export declare const ExpressionType: {
222
+ readonly SQL: "SQL";
223
+ };
224
+ export type ExpressionType =
225
+ (typeof ExpressionType)[keyof typeof ExpressionType];
214
226
  export interface InputSerialization {
215
227
  csv?: CSVInput;
216
228
  }
@@ -223,11 +235,12 @@ export interface SelectParameters {
223
235
  Expression?: string;
224
236
  OutputSerialization?: OutputSerialization;
225
237
  }
226
- export declare enum StatusCode {
227
- Failed = "Failed",
228
- InProgress = "InProgress",
229
- Succeeded = "Succeeded",
230
- }
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];
231
244
  export interface GlacierJobDescription {
232
245
  JobId?: string;
233
246
  JobDescription?: string;
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.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,48 +21,48 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/body-checksum-browser": "3.296.0",
25
- "@aws-sdk/body-checksum-node": "3.296.0",
26
- "@aws-sdk/client-sts": "3.301.0",
27
- "@aws-sdk/config-resolver": "3.300.0",
28
- "@aws-sdk/credential-provider-node": "3.301.0",
29
- "@aws-sdk/fetch-http-handler": "3.296.0",
30
- "@aws-sdk/hash-node": "3.296.0",
31
- "@aws-sdk/invalid-dependency": "3.296.0",
32
- "@aws-sdk/middleware-content-length": "3.296.0",
33
- "@aws-sdk/middleware-endpoint": "3.299.0",
34
- "@aws-sdk/middleware-host-header": "3.296.0",
35
- "@aws-sdk/middleware-logger": "3.296.0",
36
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
37
- "@aws-sdk/middleware-retry": "3.300.0",
38
- "@aws-sdk/middleware-sdk-glacier": "3.296.0",
39
- "@aws-sdk/middleware-serde": "3.296.0",
40
- "@aws-sdk/middleware-signing": "3.299.0",
41
- "@aws-sdk/middleware-stack": "3.296.0",
42
- "@aws-sdk/middleware-user-agent": "3.299.0",
43
- "@aws-sdk/node-config-provider": "3.300.0",
44
- "@aws-sdk/node-http-handler": "3.296.0",
45
- "@aws-sdk/protocol-http": "3.296.0",
46
- "@aws-sdk/smithy-client": "3.296.0",
47
- "@aws-sdk/types": "3.296.0",
48
- "@aws-sdk/url-parser": "3.296.0",
49
- "@aws-sdk/util-base64": "3.295.0",
50
- "@aws-sdk/util-body-length-browser": "3.295.0",
51
- "@aws-sdk/util-body-length-node": "3.295.0",
52
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
53
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
54
- "@aws-sdk/util-endpoints": "3.296.0",
55
- "@aws-sdk/util-retry": "3.296.0",
56
- "@aws-sdk/util-stream-browser": "3.296.0",
57
- "@aws-sdk/util-stream-node": "3.296.0",
58
- "@aws-sdk/util-user-agent-browser": "3.299.0",
59
- "@aws-sdk/util-user-agent-node": "3.300.0",
60
- "@aws-sdk/util-utf8": "3.295.0",
61
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/body-checksum-browser": "3.303.0",
25
+ "@aws-sdk/body-checksum-node": "3.303.0",
26
+ "@aws-sdk/client-sts": "3.303.0",
27
+ "@aws-sdk/config-resolver": "3.303.0",
28
+ "@aws-sdk/credential-provider-node": "3.303.0",
29
+ "@aws-sdk/fetch-http-handler": "3.303.0",
30
+ "@aws-sdk/hash-node": "3.303.0",
31
+ "@aws-sdk/invalid-dependency": "3.303.0",
32
+ "@aws-sdk/middleware-content-length": "3.303.0",
33
+ "@aws-sdk/middleware-endpoint": "3.303.0",
34
+ "@aws-sdk/middleware-host-header": "3.303.0",
35
+ "@aws-sdk/middleware-logger": "3.303.0",
36
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
37
+ "@aws-sdk/middleware-retry": "3.303.0",
38
+ "@aws-sdk/middleware-sdk-glacier": "3.303.0",
39
+ "@aws-sdk/middleware-serde": "3.303.0",
40
+ "@aws-sdk/middleware-signing": "3.303.0",
41
+ "@aws-sdk/middleware-stack": "3.303.0",
42
+ "@aws-sdk/middleware-user-agent": "3.303.0",
43
+ "@aws-sdk/node-config-provider": "3.303.0",
44
+ "@aws-sdk/node-http-handler": "3.303.0",
45
+ "@aws-sdk/protocol-http": "3.303.0",
46
+ "@aws-sdk/smithy-client": "3.303.0",
47
+ "@aws-sdk/types": "3.303.0",
48
+ "@aws-sdk/url-parser": "3.303.0",
49
+ "@aws-sdk/util-base64": "3.303.0",
50
+ "@aws-sdk/util-body-length-browser": "3.303.0",
51
+ "@aws-sdk/util-body-length-node": "3.303.0",
52
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
53
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
54
+ "@aws-sdk/util-endpoints": "3.303.0",
55
+ "@aws-sdk/util-retry": "3.303.0",
56
+ "@aws-sdk/util-stream-browser": "3.303.0",
57
+ "@aws-sdk/util-stream-node": "3.303.0",
58
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
59
+ "@aws-sdk/util-user-agent-node": "3.303.0",
60
+ "@aws-sdk/util-utf8": "3.303.0",
61
+ "@aws-sdk/util-waiter": "3.303.0",
62
62
  "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
65
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
66
66
  "@tsconfig/node14": "1.0.3",
67
67
  "@types/node": "^14.14.31",
68
68
  "concurrently": "7.0.0",