@aws-sdk/client-s3 3.301.0 → 3.304.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.
Files changed (94) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +296 -317
  3. package/dist-cjs/models/models_1.js +29 -36
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +294 -315
  6. package/dist-es/models/models_1.js +29 -36
  7. package/dist-types/S3.d.ts +751 -662
  8. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
  9. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +22 -14
  10. package/dist-types/commands/CopyObjectCommand.d.ts +53 -30
  11. package/dist-types/commands/CreateBucketCommand.d.ts +22 -14
  12. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +74 -48
  13. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -2
  15. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +7 -5
  16. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -2
  17. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -2
  19. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +5 -5
  20. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -2
  21. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -3
  22. package/dist-types/commands/DeleteObjectCommand.d.ts +11 -11
  23. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +2 -4
  24. package/dist-types/commands/DeleteObjectsCommand.d.ts +13 -14
  25. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -2
  26. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +5 -4
  27. package/dist-types/commands/GetBucketAclCommand.d.ts +9 -7
  28. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +5 -4
  29. package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -0
  30. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -7
  31. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -2
  32. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -2
  33. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -4
  34. package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -0
  35. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
  36. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +5 -6
  37. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -2
  38. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -3
  39. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
  40. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
  41. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
  42. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -2
  43. package/dist-types/commands/GetObjectAclCommand.d.ts +5 -4
  44. package/dist-types/commands/GetObjectAttributesCommand.d.ts +23 -28
  45. package/dist-types/commands/GetObjectCommand.d.ts +20 -18
  46. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -2
  47. package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
  48. package/dist-types/commands/GetObjectTaggingCommand.d.ts +5 -5
  49. package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
  50. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
  51. package/dist-types/commands/HeadBucketCommand.d.ts +15 -9
  52. package/dist-types/commands/HeadObjectCommand.d.ts +20 -19
  53. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -4
  54. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -2
  55. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -5
  56. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -7
  57. package/dist-types/commands/ListBucketsCommand.d.ts +3 -1
  58. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -2
  59. package/dist-types/commands/ListObjectVersionsCommand.d.ts +3 -6
  60. package/dist-types/commands/ListObjectsV2Command.d.ts +11 -12
  61. package/dist-types/commands/ListPartsCommand.d.ts +3 -4
  62. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -3
  63. package/dist-types/commands/PutBucketAclCommand.d.ts +15 -12
  64. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -4
  65. package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -2
  66. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +16 -14
  67. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +7 -8
  68. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +20 -8
  69. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -8
  70. package/dist-types/commands/PutBucketLoggingCommand.d.ts +11 -7
  71. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -4
  72. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -12
  73. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -2
  74. package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -1
  75. package/dist-types/commands/PutBucketReplicationCommand.d.ts +12 -11
  76. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  77. package/dist-types/commands/PutBucketTaggingCommand.d.ts +12 -12
  78. package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
  79. package/dist-types/commands/PutObjectAclCommand.d.ts +17 -13
  80. package/dist-types/commands/PutObjectCommand.d.ts +44 -53
  81. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -8
  82. package/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -4
  83. package/dist-types/commands/PutObjectTaggingCommand.d.ts +4 -3
  84. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  85. package/dist-types/commands/RestoreObjectCommand.d.ts +49 -68
  86. package/dist-types/commands/SelectObjectContentCommand.d.ts +13 -17
  87. package/dist-types/commands/UploadPartCommand.d.ts +23 -16
  88. package/dist-types/commands/UploadPartCopyCommand.d.ts +7 -5
  89. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +32 -21
  90. package/dist-types/models/models_0.d.ts +975 -627
  91. package/dist-types/models/models_1.d.ts +145 -105
  92. package/dist-types/ts3.4/models/models_0.d.ts +383 -293
  93. package/dist-types/ts3.4/models/models_1.d.ts +40 -29
  94. package/package.json +51 -51
@@ -4,15 +4,18 @@ import { S3ServiceException as __BaseException } from "./S3ServiceException";
4
4
  export interface AbortIncompleteMultipartUpload {
5
5
  DaysAfterInitiation?: number;
6
6
  }
7
- export declare enum RequestCharged {
8
- requester = "requester",
9
- }
7
+ export declare const RequestCharged: {
8
+ readonly requester: "requester";
9
+ };
10
+ export type RequestCharged =
11
+ (typeof RequestCharged)[keyof typeof RequestCharged];
10
12
  export interface AbortMultipartUploadOutput {
11
13
  RequestCharged?: RequestCharged | string;
12
14
  }
13
- export declare enum RequestPayer {
14
- requester = "requester",
15
- }
15
+ export declare const RequestPayer: {
16
+ readonly requester: "requester";
17
+ };
18
+ export type RequestPayer = (typeof RequestPayer)[keyof typeof RequestPayer];
16
19
  export interface AbortMultipartUploadRequest {
17
20
  Bucket: string | undefined;
18
21
  Key: string | undefined;
@@ -25,18 +28,21 @@ export declare class NoSuchUpload extends __BaseException {
25
28
  readonly $fault: "client";
26
29
  constructor(opts: __ExceptionOptionType<NoSuchUpload, __BaseException>);
27
30
  }
28
- export declare enum BucketAccelerateStatus {
29
- Enabled = "Enabled",
30
- Suspended = "Suspended",
31
- }
31
+ export declare const BucketAccelerateStatus: {
32
+ readonly Enabled: "Enabled";
33
+ readonly Suspended: "Suspended";
34
+ };
35
+ export type BucketAccelerateStatus =
36
+ (typeof BucketAccelerateStatus)[keyof typeof BucketAccelerateStatus];
32
37
  export interface AccelerateConfiguration {
33
38
  Status?: BucketAccelerateStatus | string;
34
39
  }
35
- export declare enum Type {
36
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
37
- CanonicalUser = "CanonicalUser",
38
- Group = "Group",
39
- }
40
+ export declare const Type: {
41
+ readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
42
+ readonly CanonicalUser: "CanonicalUser";
43
+ readonly Group: "Group";
44
+ };
45
+ export type Type = (typeof Type)[keyof typeof Type];
40
46
  export interface Grantee {
41
47
  DisplayName?: string;
42
48
  EmailAddress?: string;
@@ -44,13 +50,14 @@ export interface Grantee {
44
50
  URI?: string;
45
51
  Type: Type | string | undefined;
46
52
  }
47
- export declare enum Permission {
48
- FULL_CONTROL = "FULL_CONTROL",
49
- READ = "READ",
50
- READ_ACP = "READ_ACP",
51
- WRITE = "WRITE",
52
- WRITE_ACP = "WRITE_ACP",
53
- }
53
+ export declare const Permission: {
54
+ readonly FULL_CONTROL: "FULL_CONTROL";
55
+ readonly READ: "READ";
56
+ readonly READ_ACP: "READ_ACP";
57
+ readonly WRITE: "WRITE";
58
+ readonly WRITE_ACP: "WRITE_ACP";
59
+ };
60
+ export type Permission = (typeof Permission)[keyof typeof Permission];
54
61
  export interface Grant {
55
62
  Grantee?: Grantee;
56
63
  Permission?: Permission | string;
@@ -63,16 +70,19 @@ export interface AccessControlPolicy {
63
70
  Grants?: Grant[];
64
71
  Owner?: Owner;
65
72
  }
66
- export declare enum OwnerOverride {
67
- Destination = "Destination",
68
- }
73
+ export declare const OwnerOverride: {
74
+ readonly Destination: "Destination";
75
+ };
76
+ export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride];
69
77
  export interface AccessControlTranslation {
70
78
  Owner: OwnerOverride | string | undefined;
71
79
  }
72
- export declare enum ServerSideEncryption {
73
- AES256 = "AES256",
74
- aws_kms = "aws:kms",
75
- }
80
+ export declare const ServerSideEncryption: {
81
+ readonly AES256: "AES256";
82
+ readonly aws_kms: "aws:kms";
83
+ };
84
+ export type ServerSideEncryption =
85
+ (typeof ServerSideEncryption)[keyof typeof ServerSideEncryption];
76
86
  export interface CompleteMultipartUploadOutput {
77
87
  Location?: string;
78
88
  Bucket?: string;
@@ -136,48 +146,61 @@ export interface CopyObjectOutput {
136
146
  BucketKeyEnabled?: boolean;
137
147
  RequestCharged?: RequestCharged | string;
138
148
  }
139
- export declare enum ObjectCannedACL {
140
- authenticated_read = "authenticated-read",
141
- aws_exec_read = "aws-exec-read",
142
- bucket_owner_full_control = "bucket-owner-full-control",
143
- bucket_owner_read = "bucket-owner-read",
144
- private = "private",
145
- public_read = "public-read",
146
- public_read_write = "public-read-write",
147
- }
148
- export declare enum ChecksumAlgorithm {
149
- CRC32 = "CRC32",
150
- CRC32C = "CRC32C",
151
- SHA1 = "SHA1",
152
- SHA256 = "SHA256",
153
- }
154
- export declare enum MetadataDirective {
155
- COPY = "COPY",
156
- REPLACE = "REPLACE",
157
- }
158
- export declare enum ObjectLockLegalHoldStatus {
159
- OFF = "OFF",
160
- ON = "ON",
161
- }
162
- export declare enum ObjectLockMode {
163
- COMPLIANCE = "COMPLIANCE",
164
- GOVERNANCE = "GOVERNANCE",
165
- }
166
- export declare enum StorageClass {
167
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
168
- GLACIER = "GLACIER",
169
- GLACIER_IR = "GLACIER_IR",
170
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
171
- ONEZONE_IA = "ONEZONE_IA",
172
- OUTPOSTS = "OUTPOSTS",
173
- REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
174
- STANDARD = "STANDARD",
175
- STANDARD_IA = "STANDARD_IA",
176
- }
177
- export declare enum TaggingDirective {
178
- COPY = "COPY",
179
- REPLACE = "REPLACE",
180
- }
149
+ export declare const ObjectCannedACL: {
150
+ readonly authenticated_read: "authenticated-read";
151
+ readonly aws_exec_read: "aws-exec-read";
152
+ readonly bucket_owner_full_control: "bucket-owner-full-control";
153
+ readonly bucket_owner_read: "bucket-owner-read";
154
+ readonly private: "private";
155
+ readonly public_read: "public-read";
156
+ readonly public_read_write: "public-read-write";
157
+ };
158
+ export type ObjectCannedACL =
159
+ (typeof ObjectCannedACL)[keyof typeof ObjectCannedACL];
160
+ export declare const ChecksumAlgorithm: {
161
+ readonly CRC32: "CRC32";
162
+ readonly CRC32C: "CRC32C";
163
+ readonly SHA1: "SHA1";
164
+ readonly SHA256: "SHA256";
165
+ };
166
+ export type ChecksumAlgorithm =
167
+ (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
168
+ export declare const MetadataDirective: {
169
+ readonly COPY: "COPY";
170
+ readonly REPLACE: "REPLACE";
171
+ };
172
+ export type MetadataDirective =
173
+ (typeof MetadataDirective)[keyof typeof MetadataDirective];
174
+ export declare const ObjectLockLegalHoldStatus: {
175
+ readonly OFF: "OFF";
176
+ readonly ON: "ON";
177
+ };
178
+ export type ObjectLockLegalHoldStatus =
179
+ (typeof ObjectLockLegalHoldStatus)[keyof typeof ObjectLockLegalHoldStatus];
180
+ export declare const ObjectLockMode: {
181
+ readonly COMPLIANCE: "COMPLIANCE";
182
+ readonly GOVERNANCE: "GOVERNANCE";
183
+ };
184
+ export type ObjectLockMode =
185
+ (typeof ObjectLockMode)[keyof typeof ObjectLockMode];
186
+ export declare const StorageClass: {
187
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
188
+ readonly GLACIER: "GLACIER";
189
+ readonly GLACIER_IR: "GLACIER_IR";
190
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
191
+ readonly ONEZONE_IA: "ONEZONE_IA";
192
+ readonly OUTPOSTS: "OUTPOSTS";
193
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
194
+ readonly STANDARD: "STANDARD";
195
+ readonly STANDARD_IA: "STANDARD_IA";
196
+ };
197
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
198
+ export declare const TaggingDirective: {
199
+ readonly COPY: "COPY";
200
+ readonly REPLACE: "REPLACE";
201
+ };
202
+ export type TaggingDirective =
203
+ (typeof TaggingDirective)[keyof typeof TaggingDirective];
181
204
  export interface CopyObjectRequest {
182
205
  ACL?: ObjectCannedACL | string;
183
206
  Bucket: string | undefined;
@@ -245,48 +268,54 @@ export declare class BucketAlreadyOwnedByYou extends __BaseException {
245
268
  export interface CreateBucketOutput {
246
269
  Location?: string;
247
270
  }
248
- export declare enum BucketCannedACL {
249
- authenticated_read = "authenticated-read",
250
- private = "private",
251
- public_read = "public-read",
252
- public_read_write = "public-read-write",
253
- }
254
- export declare enum BucketLocationConstraint {
255
- EU = "EU",
256
- af_south_1 = "af-south-1",
257
- ap_east_1 = "ap-east-1",
258
- ap_northeast_1 = "ap-northeast-1",
259
- ap_northeast_2 = "ap-northeast-2",
260
- ap_northeast_3 = "ap-northeast-3",
261
- ap_south_1 = "ap-south-1",
262
- ap_southeast_1 = "ap-southeast-1",
263
- ap_southeast_2 = "ap-southeast-2",
264
- ap_southeast_3 = "ap-southeast-3",
265
- ca_central_1 = "ca-central-1",
266
- cn_north_1 = "cn-north-1",
267
- cn_northwest_1 = "cn-northwest-1",
268
- eu_central_1 = "eu-central-1",
269
- eu_north_1 = "eu-north-1",
270
- eu_south_1 = "eu-south-1",
271
- eu_west_1 = "eu-west-1",
272
- eu_west_2 = "eu-west-2",
273
- eu_west_3 = "eu-west-3",
274
- me_south_1 = "me-south-1",
275
- sa_east_1 = "sa-east-1",
276
- us_east_2 = "us-east-2",
277
- us_gov_east_1 = "us-gov-east-1",
278
- us_gov_west_1 = "us-gov-west-1",
279
- us_west_1 = "us-west-1",
280
- us_west_2 = "us-west-2",
281
- }
271
+ export declare const BucketCannedACL: {
272
+ readonly authenticated_read: "authenticated-read";
273
+ readonly private: "private";
274
+ readonly public_read: "public-read";
275
+ readonly public_read_write: "public-read-write";
276
+ };
277
+ export type BucketCannedACL =
278
+ (typeof BucketCannedACL)[keyof typeof BucketCannedACL];
279
+ export declare const BucketLocationConstraint: {
280
+ readonly EU: "EU";
281
+ readonly af_south_1: "af-south-1";
282
+ readonly ap_east_1: "ap-east-1";
283
+ readonly ap_northeast_1: "ap-northeast-1";
284
+ readonly ap_northeast_2: "ap-northeast-2";
285
+ readonly ap_northeast_3: "ap-northeast-3";
286
+ readonly ap_south_1: "ap-south-1";
287
+ readonly ap_southeast_1: "ap-southeast-1";
288
+ readonly ap_southeast_2: "ap-southeast-2";
289
+ readonly ap_southeast_3: "ap-southeast-3";
290
+ readonly ca_central_1: "ca-central-1";
291
+ readonly cn_north_1: "cn-north-1";
292
+ readonly cn_northwest_1: "cn-northwest-1";
293
+ readonly eu_central_1: "eu-central-1";
294
+ readonly eu_north_1: "eu-north-1";
295
+ readonly eu_south_1: "eu-south-1";
296
+ readonly eu_west_1: "eu-west-1";
297
+ readonly eu_west_2: "eu-west-2";
298
+ readonly eu_west_3: "eu-west-3";
299
+ readonly me_south_1: "me-south-1";
300
+ readonly sa_east_1: "sa-east-1";
301
+ readonly us_east_2: "us-east-2";
302
+ readonly us_gov_east_1: "us-gov-east-1";
303
+ readonly us_gov_west_1: "us-gov-west-1";
304
+ readonly us_west_1: "us-west-1";
305
+ readonly us_west_2: "us-west-2";
306
+ };
307
+ export type BucketLocationConstraint =
308
+ (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint];
282
309
  export interface CreateBucketConfiguration {
283
310
  LocationConstraint?: BucketLocationConstraint | string;
284
311
  }
285
- export declare enum ObjectOwnership {
286
- BucketOwnerEnforced = "BucketOwnerEnforced",
287
- BucketOwnerPreferred = "BucketOwnerPreferred",
288
- ObjectWriter = "ObjectWriter",
289
- }
312
+ export declare const ObjectOwnership: {
313
+ readonly BucketOwnerEnforced: "BucketOwnerEnforced";
314
+ readonly BucketOwnerPreferred: "BucketOwnerPreferred";
315
+ readonly ObjectWriter: "ObjectWriter";
316
+ };
317
+ export type ObjectOwnership =
318
+ (typeof ObjectOwnership)[keyof typeof ObjectOwnership];
290
319
  export interface CreateBucketRequest {
291
320
  ACL?: BucketCannedACL | string;
292
321
  Bucket: string | undefined;
@@ -523,9 +552,11 @@ export declare namespace AnalyticsFilter {
523
552
  }
524
553
  const visit: <T>(value: AnalyticsFilter, visitor: Visitor<T>) => T;
525
554
  }
526
- export declare enum AnalyticsS3ExportFileFormat {
527
- CSV = "CSV",
528
- }
555
+ export declare const AnalyticsS3ExportFileFormat: {
556
+ readonly CSV: "CSV";
557
+ };
558
+ export type AnalyticsS3ExportFileFormat =
559
+ (typeof AnalyticsS3ExportFileFormat)[keyof typeof AnalyticsS3ExportFileFormat];
529
560
  export interface AnalyticsS3BucketDestination {
530
561
  Format: AnalyticsS3ExportFileFormat | string | undefined;
531
562
  BucketAccountId?: string;
@@ -535,9 +566,11 @@ export interface AnalyticsS3BucketDestination {
535
566
  export interface AnalyticsExportDestination {
536
567
  S3BucketDestination: AnalyticsS3BucketDestination | undefined;
537
568
  }
538
- export declare enum StorageClassAnalysisSchemaVersion {
539
- V_1 = "V_1",
540
- }
569
+ export declare const StorageClassAnalysisSchemaVersion: {
570
+ readonly V_1: "V_1";
571
+ };
572
+ export type StorageClassAnalysisSchemaVersion =
573
+ (typeof StorageClassAnalysisSchemaVersion)[keyof typeof StorageClassAnalysisSchemaVersion];
541
574
  export interface StorageClassAnalysisDataExport {
542
575
  OutputSchemaVersion: StorageClassAnalysisSchemaVersion | string | undefined;
543
576
  Destination: AnalyticsExportDestination | undefined;
@@ -600,14 +633,18 @@ export interface IntelligentTieringFilter {
600
633
  Tag?: Tag;
601
634
  And?: IntelligentTieringAndOperator;
602
635
  }
603
- export declare enum IntelligentTieringStatus {
604
- Disabled = "Disabled",
605
- Enabled = "Enabled",
606
- }
607
- export declare enum IntelligentTieringAccessTier {
608
- ARCHIVE_ACCESS = "ARCHIVE_ACCESS",
609
- DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS",
610
- }
636
+ export declare const IntelligentTieringStatus: {
637
+ readonly Disabled: "Disabled";
638
+ readonly Enabled: "Enabled";
639
+ };
640
+ export type IntelligentTieringStatus =
641
+ (typeof IntelligentTieringStatus)[keyof typeof IntelligentTieringStatus];
642
+ export declare const IntelligentTieringAccessTier: {
643
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
644
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
645
+ };
646
+ export type IntelligentTieringAccessTier =
647
+ (typeof IntelligentTieringAccessTier)[keyof typeof IntelligentTieringAccessTier];
611
648
  export interface Tiering {
612
649
  Days: number | undefined;
613
650
  AccessTier: IntelligentTieringAccessTier | string | undefined;
@@ -633,11 +670,13 @@ export interface InventoryEncryption {
633
670
  SSES3?: SSES3;
634
671
  SSEKMS?: SSEKMS;
635
672
  }
636
- export declare enum InventoryFormat {
637
- CSV = "CSV",
638
- ORC = "ORC",
639
- Parquet = "Parquet",
640
- }
673
+ export declare const InventoryFormat: {
674
+ readonly CSV: "CSV";
675
+ readonly ORC: "ORC";
676
+ readonly Parquet: "Parquet";
677
+ };
678
+ export type InventoryFormat =
679
+ (typeof InventoryFormat)[keyof typeof InventoryFormat];
641
680
  export interface InventoryS3BucketDestination {
642
681
  AccountId?: string;
643
682
  Bucket: string | undefined;
@@ -651,29 +690,35 @@ export interface InventoryDestination {
651
690
  export interface InventoryFilter {
652
691
  Prefix: string | undefined;
653
692
  }
654
- export declare enum InventoryIncludedObjectVersions {
655
- All = "All",
656
- Current = "Current",
657
- }
658
- export declare enum InventoryOptionalField {
659
- BucketKeyStatus = "BucketKeyStatus",
660
- ChecksumAlgorithm = "ChecksumAlgorithm",
661
- ETag = "ETag",
662
- EncryptionStatus = "EncryptionStatus",
663
- IntelligentTieringAccessTier = "IntelligentTieringAccessTier",
664
- IsMultipartUploaded = "IsMultipartUploaded",
665
- LastModifiedDate = "LastModifiedDate",
666
- ObjectLockLegalHoldStatus = "ObjectLockLegalHoldStatus",
667
- ObjectLockMode = "ObjectLockMode",
668
- ObjectLockRetainUntilDate = "ObjectLockRetainUntilDate",
669
- ReplicationStatus = "ReplicationStatus",
670
- Size = "Size",
671
- StorageClass = "StorageClass",
672
- }
673
- export declare enum InventoryFrequency {
674
- Daily = "Daily",
675
- Weekly = "Weekly",
676
- }
693
+ export declare const InventoryIncludedObjectVersions: {
694
+ readonly All: "All";
695
+ readonly Current: "Current";
696
+ };
697
+ export type InventoryIncludedObjectVersions =
698
+ (typeof InventoryIncludedObjectVersions)[keyof typeof InventoryIncludedObjectVersions];
699
+ export declare const InventoryOptionalField: {
700
+ readonly BucketKeyStatus: "BucketKeyStatus";
701
+ readonly ChecksumAlgorithm: "ChecksumAlgorithm";
702
+ readonly ETag: "ETag";
703
+ readonly EncryptionStatus: "EncryptionStatus";
704
+ readonly IntelligentTieringAccessTier: "IntelligentTieringAccessTier";
705
+ readonly IsMultipartUploaded: "IsMultipartUploaded";
706
+ readonly LastModifiedDate: "LastModifiedDate";
707
+ readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus";
708
+ readonly ObjectLockMode: "ObjectLockMode";
709
+ readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate";
710
+ readonly ReplicationStatus: "ReplicationStatus";
711
+ readonly Size: "Size";
712
+ readonly StorageClass: "StorageClass";
713
+ };
714
+ export type InventoryOptionalField =
715
+ (typeof InventoryOptionalField)[keyof typeof InventoryOptionalField];
716
+ export declare const InventoryFrequency: {
717
+ readonly Daily: "Daily";
718
+ readonly Weekly: "Weekly";
719
+ };
720
+ export type InventoryFrequency =
721
+ (typeof InventoryFrequency)[keyof typeof InventoryFrequency];
677
722
  export interface InventorySchedule {
678
723
  Frequency: InventoryFrequency | string | undefined;
679
724
  }
@@ -775,23 +820,27 @@ export interface NoncurrentVersionExpiration {
775
820
  NoncurrentDays?: number;
776
821
  NewerNoncurrentVersions?: number;
777
822
  }
778
- export declare enum TransitionStorageClass {
779
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
780
- GLACIER = "GLACIER",
781
- GLACIER_IR = "GLACIER_IR",
782
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
783
- ONEZONE_IA = "ONEZONE_IA",
784
- STANDARD_IA = "STANDARD_IA",
785
- }
823
+ export declare const TransitionStorageClass: {
824
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
825
+ readonly GLACIER: "GLACIER";
826
+ readonly GLACIER_IR: "GLACIER_IR";
827
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
828
+ readonly ONEZONE_IA: "ONEZONE_IA";
829
+ readonly STANDARD_IA: "STANDARD_IA";
830
+ };
831
+ export type TransitionStorageClass =
832
+ (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass];
786
833
  export interface NoncurrentVersionTransition {
787
834
  NoncurrentDays?: number;
788
835
  StorageClass?: TransitionStorageClass | string;
789
836
  NewerNoncurrentVersions?: number;
790
837
  }
791
- export declare enum ExpirationStatus {
792
- Disabled = "Disabled",
793
- Enabled = "Enabled",
794
- }
838
+ export declare const ExpirationStatus: {
839
+ readonly Disabled: "Disabled";
840
+ readonly Enabled: "Enabled";
841
+ };
842
+ export type ExpirationStatus =
843
+ (typeof ExpirationStatus)[keyof typeof ExpirationStatus];
795
844
  export interface Transition {
796
845
  Date?: Date;
797
846
  Days?: number;
@@ -822,11 +871,13 @@ export interface GetBucketLocationRequest {
822
871
  Bucket: string | undefined;
823
872
  ExpectedBucketOwner?: string;
824
873
  }
825
- export declare enum BucketLogsPermission {
826
- FULL_CONTROL = "FULL_CONTROL",
827
- READ = "READ",
828
- WRITE = "WRITE",
829
- }
874
+ export declare const BucketLogsPermission: {
875
+ readonly FULL_CONTROL: "FULL_CONTROL";
876
+ readonly READ: "READ";
877
+ readonly WRITE: "WRITE";
878
+ };
879
+ export type BucketLogsPermission =
880
+ (typeof BucketLogsPermission)[keyof typeof BucketLogsPermission];
830
881
  export interface TargetGrant {
831
882
  Grantee?: Grantee;
832
883
  Permission?: BucketLogsPermission | string;
@@ -916,38 +967,42 @@ export interface GetBucketNotificationConfigurationRequest {
916
967
  ExpectedBucketOwner?: string;
917
968
  }
918
969
  export interface EventBridgeConfiguration {}
919
- export type Event =
920
- | "s3:IntelligentTiering"
921
- | "s3:LifecycleExpiration:*"
922
- | "s3:LifecycleExpiration:Delete"
923
- | "s3:LifecycleExpiration:DeleteMarkerCreated"
924
- | "s3:LifecycleTransition"
925
- | "s3:ObjectAcl:Put"
926
- | "s3:ObjectCreated:*"
927
- | "s3:ObjectCreated:CompleteMultipartUpload"
928
- | "s3:ObjectCreated:Copy"
929
- | "s3:ObjectCreated:Post"
930
- | "s3:ObjectCreated:Put"
931
- | "s3:ObjectRemoved:*"
932
- | "s3:ObjectRemoved:Delete"
933
- | "s3:ObjectRemoved:DeleteMarkerCreated"
934
- | "s3:ObjectRestore:*"
935
- | "s3:ObjectRestore:Completed"
936
- | "s3:ObjectRestore:Delete"
937
- | "s3:ObjectRestore:Post"
938
- | "s3:ObjectTagging:*"
939
- | "s3:ObjectTagging:Delete"
940
- | "s3:ObjectTagging:Put"
941
- | "s3:ReducedRedundancyLostObject"
942
- | "s3:Replication:*"
943
- | "s3:Replication:OperationFailedReplication"
944
- | "s3:Replication:OperationMissedThreshold"
945
- | "s3:Replication:OperationNotTracked"
946
- | "s3:Replication:OperationReplicatedAfterThreshold";
947
- export declare enum FilterRuleName {
948
- prefix = "prefix",
949
- suffix = "suffix",
950
- }
970
+ export declare const Event: {
971
+ readonly s3_IntelligentTiering: "s3:IntelligentTiering";
972
+ readonly s3_LifecycleExpiration_: "s3:LifecycleExpiration:*";
973
+ readonly s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete";
974
+ readonly s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated";
975
+ readonly s3_LifecycleTransition: "s3:LifecycleTransition";
976
+ readonly s3_ObjectAcl_Put: "s3:ObjectAcl:Put";
977
+ readonly s3_ObjectCreated_: "s3:ObjectCreated:*";
978
+ readonly s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload";
979
+ readonly s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy";
980
+ readonly s3_ObjectCreated_Post: "s3:ObjectCreated:Post";
981
+ readonly s3_ObjectCreated_Put: "s3:ObjectCreated:Put";
982
+ readonly s3_ObjectRemoved_: "s3:ObjectRemoved:*";
983
+ readonly s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete";
984
+ readonly s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated";
985
+ readonly s3_ObjectRestore_: "s3:ObjectRestore:*";
986
+ readonly s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed";
987
+ readonly s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete";
988
+ readonly s3_ObjectRestore_Post: "s3:ObjectRestore:Post";
989
+ readonly s3_ObjectTagging_: "s3:ObjectTagging:*";
990
+ readonly s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete";
991
+ readonly s3_ObjectTagging_Put: "s3:ObjectTagging:Put";
992
+ readonly s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject";
993
+ readonly s3_Replication_: "s3:Replication:*";
994
+ readonly s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication";
995
+ readonly s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold";
996
+ readonly s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked";
997
+ readonly s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold";
998
+ };
999
+ export type Event = (typeof Event)[keyof typeof Event];
1000
+ export declare const FilterRuleName: {
1001
+ readonly prefix: "prefix";
1002
+ readonly suffix: "suffix";
1003
+ };
1004
+ export type FilterRuleName =
1005
+ (typeof FilterRuleName)[keyof typeof FilterRuleName];
951
1006
  export interface FilterRule {
952
1007
  Name?: FilterRuleName | string;
953
1008
  Value?: string;
@@ -1012,10 +1067,12 @@ export interface GetBucketPolicyStatusRequest {
1012
1067
  Bucket: string | undefined;
1013
1068
  ExpectedBucketOwner?: string;
1014
1069
  }
1015
- export declare enum DeleteMarkerReplicationStatus {
1016
- Disabled = "Disabled",
1017
- Enabled = "Enabled",
1018
- }
1070
+ export declare const DeleteMarkerReplicationStatus: {
1071
+ readonly Disabled: "Disabled";
1072
+ readonly Enabled: "Enabled";
1073
+ };
1074
+ export type DeleteMarkerReplicationStatus =
1075
+ (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus];
1019
1076
  export interface DeleteMarkerReplication {
1020
1077
  Status?: DeleteMarkerReplicationStatus | string;
1021
1078
  }
@@ -1025,18 +1082,21 @@ export interface EncryptionConfiguration {
1025
1082
  export interface ReplicationTimeValue {
1026
1083
  Minutes?: number;
1027
1084
  }
1028
- export declare enum MetricsStatus {
1029
- Disabled = "Disabled",
1030
- Enabled = "Enabled",
1031
- }
1085
+ export declare const MetricsStatus: {
1086
+ readonly Disabled: "Disabled";
1087
+ readonly Enabled: "Enabled";
1088
+ };
1089
+ export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus];
1032
1090
  export interface Metrics {
1033
1091
  Status: MetricsStatus | string | undefined;
1034
1092
  EventThreshold?: ReplicationTimeValue;
1035
1093
  }
1036
- export declare enum ReplicationTimeStatus {
1037
- Disabled = "Disabled",
1038
- Enabled = "Enabled",
1039
- }
1094
+ export declare const ReplicationTimeStatus: {
1095
+ readonly Disabled: "Disabled";
1096
+ readonly Enabled: "Enabled";
1097
+ };
1098
+ export type ReplicationTimeStatus =
1099
+ (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus];
1040
1100
  export interface ReplicationTime {
1041
1101
  Status: ReplicationTimeStatus | string | undefined;
1042
1102
  Time: ReplicationTimeValue | undefined;
@@ -1050,10 +1110,12 @@ export interface Destination {
1050
1110
  ReplicationTime?: ReplicationTime;
1051
1111
  Metrics?: Metrics;
1052
1112
  }
1053
- export declare enum ExistingObjectReplicationStatus {
1054
- Disabled = "Disabled",
1055
- Enabled = "Enabled",
1056
- }
1113
+ export declare const ExistingObjectReplicationStatus: {
1114
+ readonly Disabled: "Disabled";
1115
+ readonly Enabled: "Enabled";
1116
+ };
1117
+ export type ExistingObjectReplicationStatus =
1118
+ (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus];
1057
1119
  export interface ExistingObjectReplication {
1058
1120
  Status: ExistingObjectReplicationStatus | string | undefined;
1059
1121
  }
@@ -1099,17 +1161,21 @@ export declare namespace ReplicationRuleFilter {
1099
1161
  }
1100
1162
  const visit: <T>(value: ReplicationRuleFilter, visitor: Visitor<T>) => T;
1101
1163
  }
1102
- export declare enum ReplicaModificationsStatus {
1103
- Disabled = "Disabled",
1104
- Enabled = "Enabled",
1105
- }
1164
+ export declare const ReplicaModificationsStatus: {
1165
+ readonly Disabled: "Disabled";
1166
+ readonly Enabled: "Enabled";
1167
+ };
1168
+ export type ReplicaModificationsStatus =
1169
+ (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus];
1106
1170
  export interface ReplicaModifications {
1107
1171
  Status: ReplicaModificationsStatus | string | undefined;
1108
1172
  }
1109
- export declare enum SseKmsEncryptedObjectsStatus {
1110
- Disabled = "Disabled",
1111
- Enabled = "Enabled",
1112
- }
1173
+ export declare const SseKmsEncryptedObjectsStatus: {
1174
+ readonly Disabled: "Disabled";
1175
+ readonly Enabled: "Enabled";
1176
+ };
1177
+ export type SseKmsEncryptedObjectsStatus =
1178
+ (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus];
1113
1179
  export interface SseKmsEncryptedObjects {
1114
1180
  Status: SseKmsEncryptedObjectsStatus | string | undefined;
1115
1181
  }
@@ -1117,10 +1183,12 @@ export interface SourceSelectionCriteria {
1117
1183
  SseKmsEncryptedObjects?: SseKmsEncryptedObjects;
1118
1184
  ReplicaModifications?: ReplicaModifications;
1119
1185
  }
1120
- export declare enum ReplicationRuleStatus {
1121
- Disabled = "Disabled",
1122
- Enabled = "Enabled",
1123
- }
1186
+ export declare const ReplicationRuleStatus: {
1187
+ readonly Disabled: "Disabled";
1188
+ readonly Enabled: "Enabled";
1189
+ };
1190
+ export type ReplicationRuleStatus =
1191
+ (typeof ReplicationRuleStatus)[keyof typeof ReplicationRuleStatus];
1124
1192
  export interface ReplicationRule {
1125
1193
  ID?: string;
1126
1194
  Priority?: number;
@@ -1143,10 +1211,11 @@ export interface GetBucketReplicationRequest {
1143
1211
  Bucket: string | undefined;
1144
1212
  ExpectedBucketOwner?: string;
1145
1213
  }
1146
- export declare enum Payer {
1147
- BucketOwner = "BucketOwner",
1148
- Requester = "Requester",
1149
- }
1214
+ export declare const Payer: {
1215
+ readonly BucketOwner: "BucketOwner";
1216
+ readonly Requester: "Requester";
1217
+ };
1218
+ export type Payer = (typeof Payer)[keyof typeof Payer];
1150
1219
  export interface GetBucketRequestPaymentOutput {
1151
1220
  Payer?: Payer | string;
1152
1221
  }
@@ -1161,14 +1230,18 @@ export interface GetBucketTaggingRequest {
1161
1230
  Bucket: string | undefined;
1162
1231
  ExpectedBucketOwner?: string;
1163
1232
  }
1164
- export declare enum MFADeleteStatus {
1165
- Disabled = "Disabled",
1166
- Enabled = "Enabled",
1167
- }
1168
- export declare enum BucketVersioningStatus {
1169
- Enabled = "Enabled",
1170
- Suspended = "Suspended",
1171
- }
1233
+ export declare const MFADeleteStatus: {
1234
+ readonly Disabled: "Disabled";
1235
+ readonly Enabled: "Enabled";
1236
+ };
1237
+ export type MFADeleteStatus =
1238
+ (typeof MFADeleteStatus)[keyof typeof MFADeleteStatus];
1239
+ export declare const BucketVersioningStatus: {
1240
+ readonly Enabled: "Enabled";
1241
+ readonly Suspended: "Suspended";
1242
+ };
1243
+ export type BucketVersioningStatus =
1244
+ (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
1172
1245
  export interface GetBucketVersioningOutput {
1173
1246
  Status?: BucketVersioningStatus | string;
1174
1247
  MFADelete?: MFADeleteStatus | string;
@@ -1183,10 +1256,11 @@ export interface ErrorDocument {
1183
1256
  export interface IndexDocument {
1184
1257
  Suffix: string | undefined;
1185
1258
  }
1186
- export declare enum Protocol {
1187
- http = "http",
1188
- https = "https",
1189
- }
1259
+ export declare const Protocol: {
1260
+ readonly http: "http";
1261
+ readonly https: "https";
1262
+ };
1263
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
1190
1264
  export interface RedirectAllRequestsTo {
1191
1265
  HostName: string | undefined;
1192
1266
  Protocol?: Protocol | string;
@@ -1216,12 +1290,14 @@ export interface GetBucketWebsiteRequest {
1216
1290
  Bucket: string | undefined;
1217
1291
  ExpectedBucketOwner?: string;
1218
1292
  }
1219
- export declare enum ReplicationStatus {
1220
- COMPLETE = "COMPLETE",
1221
- FAILED = "FAILED",
1222
- PENDING = "PENDING",
1223
- REPLICA = "REPLICA",
1224
- }
1293
+ export declare const ReplicationStatus: {
1294
+ readonly COMPLETE: "COMPLETE";
1295
+ readonly FAILED: "FAILED";
1296
+ readonly PENDING: "PENDING";
1297
+ readonly REPLICA: "REPLICA";
1298
+ };
1299
+ export type ReplicationStatus =
1300
+ (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
1225
1301
  export interface GetObjectOutput {
1226
1302
  Body?: Readable | ReadableStream | Blob;
1227
1303
  DeleteMarker?: boolean;
@@ -1260,9 +1336,10 @@ export interface GetObjectOutput {
1260
1336
  ObjectLockRetainUntilDate?: Date;
1261
1337
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1262
1338
  }
1263
- export declare enum ChecksumMode {
1264
- ENABLED = "ENABLED",
1265
- }
1339
+ export declare const ChecksumMode: {
1340
+ readonly ENABLED: "ENABLED";
1341
+ };
1342
+ export type ChecksumMode = (typeof ChecksumMode)[keyof typeof ChecksumMode];
1266
1343
  export interface GetObjectRequest {
1267
1344
  Bucket: string | undefined;
1268
1345
  IfMatch?: string;
@@ -1343,13 +1420,15 @@ export interface GetObjectAttributesOutput {
1343
1420
  StorageClass?: StorageClass | string;
1344
1421
  ObjectSize?: number;
1345
1422
  }
1346
- export declare enum ObjectAttributes {
1347
- CHECKSUM = "Checksum",
1348
- ETAG = "ETag",
1349
- OBJECT_PARTS = "ObjectParts",
1350
- OBJECT_SIZE = "ObjectSize",
1351
- STORAGE_CLASS = "StorageClass",
1352
- }
1423
+ export declare const ObjectAttributes: {
1424
+ readonly CHECKSUM: "Checksum";
1425
+ readonly ETAG: "ETag";
1426
+ readonly OBJECT_PARTS: "ObjectParts";
1427
+ readonly OBJECT_SIZE: "ObjectSize";
1428
+ readonly STORAGE_CLASS: "StorageClass";
1429
+ };
1430
+ export type ObjectAttributes =
1431
+ (typeof ObjectAttributes)[keyof typeof ObjectAttributes];
1353
1432
  export interface GetObjectAttributesRequest {
1354
1433
  Bucket: string | undefined;
1355
1434
  Key: string | undefined;
@@ -1376,13 +1455,17 @@ export interface GetObjectLegalHoldRequest {
1376
1455
  RequestPayer?: RequestPayer | string;
1377
1456
  ExpectedBucketOwner?: string;
1378
1457
  }
1379
- export declare enum ObjectLockEnabled {
1380
- Enabled = "Enabled",
1381
- }
1382
- export declare enum ObjectLockRetentionMode {
1383
- COMPLIANCE = "COMPLIANCE",
1384
- GOVERNANCE = "GOVERNANCE",
1385
- }
1458
+ export declare const ObjectLockEnabled: {
1459
+ readonly Enabled: "Enabled";
1460
+ };
1461
+ export type ObjectLockEnabled =
1462
+ (typeof ObjectLockEnabled)[keyof typeof ObjectLockEnabled];
1463
+ export declare const ObjectLockRetentionMode: {
1464
+ readonly COMPLIANCE: "COMPLIANCE";
1465
+ readonly GOVERNANCE: "GOVERNANCE";
1466
+ };
1467
+ export type ObjectLockRetentionMode =
1468
+ (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode];
1386
1469
  export interface DefaultRetention {
1387
1470
  Mode?: ObjectLockRetentionMode | string;
1388
1471
  Days?: number;
@@ -1459,10 +1542,11 @@ export declare class NotFound extends __BaseException {
1459
1542
  readonly $fault: "client";
1460
1543
  constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
1461
1544
  }
1462
- export declare enum ArchiveStatus {
1463
- ARCHIVE_ACCESS = "ARCHIVE_ACCESS",
1464
- DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS",
1465
- }
1545
+ export declare const ArchiveStatus: {
1546
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
1547
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
1548
+ };
1549
+ export type ArchiveStatus = (typeof ArchiveStatus)[keyof typeof ArchiveStatus];
1466
1550
  export interface HeadObjectOutput {
1467
1551
  DeleteMarker?: boolean;
1468
1552
  AcceptRanges?: string;
@@ -1570,9 +1654,10 @@ export interface ListBucketsOutput {
1570
1654
  export interface CommonPrefix {
1571
1655
  Prefix?: string;
1572
1656
  }
1573
- export declare enum EncodingType {
1574
- url = "url",
1575
- }
1657
+ export declare const EncodingType: {
1658
+ readonly url: "url";
1659
+ };
1660
+ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
1576
1661
  export interface Initiator {
1577
1662
  ID?: string;
1578
1663
  DisplayName?: string;
@@ -1610,17 +1695,19 @@ export interface ListMultipartUploadsRequest {
1610
1695
  UploadIdMarker?: string;
1611
1696
  ExpectedBucketOwner?: string;
1612
1697
  }
1613
- export declare enum ObjectStorageClass {
1614
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
1615
- GLACIER = "GLACIER",
1616
- GLACIER_IR = "GLACIER_IR",
1617
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
1618
- ONEZONE_IA = "ONEZONE_IA",
1619
- OUTPOSTS = "OUTPOSTS",
1620
- REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
1621
- STANDARD = "STANDARD",
1622
- STANDARD_IA = "STANDARD_IA",
1623
- }
1698
+ export declare const ObjectStorageClass: {
1699
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
1700
+ readonly GLACIER: "GLACIER";
1701
+ readonly GLACIER_IR: "GLACIER_IR";
1702
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
1703
+ readonly ONEZONE_IA: "ONEZONE_IA";
1704
+ readonly OUTPOSTS: "OUTPOSTS";
1705
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
1706
+ readonly STANDARD: "STANDARD";
1707
+ readonly STANDARD_IA: "STANDARD_IA";
1708
+ };
1709
+ export type ObjectStorageClass =
1710
+ (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass];
1624
1711
  export interface _Object {
1625
1712
  Key?: string;
1626
1713
  LastModified?: Date;
@@ -1690,9 +1777,11 @@ export interface DeleteMarkerEntry {
1690
1777
  IsLatest?: boolean;
1691
1778
  LastModified?: Date;
1692
1779
  }
1693
- export declare enum ObjectVersionStorageClass {
1694
- STANDARD = "STANDARD",
1695
- }
1780
+ export declare const ObjectVersionStorageClass: {
1781
+ readonly STANDARD: "STANDARD";
1782
+ };
1783
+ export type ObjectVersionStorageClass =
1784
+ (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
1696
1785
  export interface ObjectVersion {
1697
1786
  ETag?: string;
1698
1787
  ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
@@ -1896,10 +1985,11 @@ export interface PutBucketTaggingRequest {
1896
1985
  Tagging: Tagging | undefined;
1897
1986
  ExpectedBucketOwner?: string;
1898
1987
  }
1899
- export declare enum MFADelete {
1900
- Disabled = "Disabled",
1901
- Enabled = "Enabled",
1902
- }
1988
+ export declare const MFADelete: {
1989
+ readonly Disabled: "Disabled";
1990
+ readonly Enabled: "Enabled";
1991
+ };
1992
+ export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
1903
1993
  export interface VersioningConfiguration {
1904
1994
  MFADelete?: MFADelete | string;
1905
1995
  Status?: BucketVersioningStatus | string;