@aws-sdk/client-s3 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.
@@ -18,10 +18,15 @@ export interface AbortIncompleteMultipartUpload {
18
18
  }
19
19
  /**
20
20
  * @public
21
+ * @enum
21
22
  */
22
- export declare enum RequestCharged {
23
- requester = "requester"
24
- }
23
+ export declare const RequestCharged: {
24
+ readonly requester: "requester";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type RequestCharged = (typeof RequestCharged)[keyof typeof RequestCharged];
25
30
  /**
26
31
  * @public
27
32
  */
@@ -34,10 +39,15 @@ export interface AbortMultipartUploadOutput {
34
39
  }
35
40
  /**
36
41
  * @public
42
+ * @enum
37
43
  */
38
- export declare enum RequestPayer {
39
- requester = "requester"
40
- }
44
+ export declare const RequestPayer: {
45
+ readonly requester: "requester";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type RequestPayer = (typeof RequestPayer)[keyof typeof RequestPayer];
41
51
  /**
42
52
  * @public
43
53
  */
@@ -85,11 +95,16 @@ export declare class NoSuchUpload extends __BaseException {
85
95
  }
86
96
  /**
87
97
  * @public
98
+ * @enum
88
99
  */
89
- export declare enum BucketAccelerateStatus {
90
- Enabled = "Enabled",
91
- Suspended = "Suspended"
92
- }
100
+ export declare const BucketAccelerateStatus: {
101
+ readonly Enabled: "Enabled";
102
+ readonly Suspended: "Suspended";
103
+ };
104
+ /**
105
+ * @public
106
+ */
107
+ export type BucketAccelerateStatus = (typeof BucketAccelerateStatus)[keyof typeof BucketAccelerateStatus];
93
108
  /**
94
109
  * @public
95
110
  * <p>Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see
@@ -104,12 +119,17 @@ export interface AccelerateConfiguration {
104
119
  }
105
120
  /**
106
121
  * @public
122
+ * @enum
107
123
  */
108
- export declare enum Type {
109
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
110
- CanonicalUser = "CanonicalUser",
111
- Group = "Group"
112
- }
124
+ export declare const Type: {
125
+ readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
126
+ readonly CanonicalUser: "CanonicalUser";
127
+ readonly Group: "Group";
128
+ };
129
+ /**
130
+ * @public
131
+ */
132
+ export type Type = (typeof Type)[keyof typeof Type];
113
133
  /**
114
134
  * @public
115
135
  * <p>Container for the person being granted permissions.</p>
@@ -168,14 +188,19 @@ export interface Grantee {
168
188
  }
169
189
  /**
170
190
  * @public
191
+ * @enum
171
192
  */
172
- export declare enum Permission {
173
- FULL_CONTROL = "FULL_CONTROL",
174
- READ = "READ",
175
- READ_ACP = "READ_ACP",
176
- WRITE = "WRITE",
177
- WRITE_ACP = "WRITE_ACP"
178
- }
193
+ export declare const Permission: {
194
+ readonly FULL_CONTROL: "FULL_CONTROL";
195
+ readonly READ: "READ";
196
+ readonly READ_ACP: "READ_ACP";
197
+ readonly WRITE: "WRITE";
198
+ readonly WRITE_ACP: "WRITE_ACP";
199
+ };
200
+ /**
201
+ * @public
202
+ */
203
+ export type Permission = (typeof Permission)[keyof typeof Permission];
179
204
  /**
180
205
  * @public
181
206
  * <p>Container for grant information.</p>
@@ -220,10 +245,15 @@ export interface AccessControlPolicy {
220
245
  }
221
246
  /**
222
247
  * @public
248
+ * @enum
223
249
  */
224
- export declare enum OwnerOverride {
225
- Destination = "Destination"
226
- }
250
+ export declare const OwnerOverride: {
251
+ readonly Destination: "Destination";
252
+ };
253
+ /**
254
+ * @public
255
+ */
256
+ export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride];
227
257
  /**
228
258
  * @public
229
259
  * <p>A container for information about access control for replicas.</p>
@@ -237,11 +267,16 @@ export interface AccessControlTranslation {
237
267
  }
238
268
  /**
239
269
  * @public
270
+ * @enum
240
271
  */
241
- export declare enum ServerSideEncryption {
242
- AES256 = "AES256",
243
- aws_kms = "aws:kms"
244
- }
272
+ export declare const ServerSideEncryption: {
273
+ readonly AES256: "AES256";
274
+ readonly aws_kms: "aws:kms";
275
+ };
276
+ /**
277
+ * @public
278
+ */
279
+ export type ServerSideEncryption = (typeof ServerSideEncryption)[keyof typeof ServerSideEncryption];
245
280
  /**
246
281
  * @public
247
282
  */
@@ -575,67 +610,102 @@ export interface CopyObjectOutput {
575
610
  }
576
611
  /**
577
612
  * @public
613
+ * @enum
578
614
  */
579
- export declare enum ObjectCannedACL {
580
- authenticated_read = "authenticated-read",
581
- aws_exec_read = "aws-exec-read",
582
- bucket_owner_full_control = "bucket-owner-full-control",
583
- bucket_owner_read = "bucket-owner-read",
584
- private = "private",
585
- public_read = "public-read",
586
- public_read_write = "public-read-write"
587
- }
615
+ export declare const ObjectCannedACL: {
616
+ readonly authenticated_read: "authenticated-read";
617
+ readonly aws_exec_read: "aws-exec-read";
618
+ readonly bucket_owner_full_control: "bucket-owner-full-control";
619
+ readonly bucket_owner_read: "bucket-owner-read";
620
+ readonly private: "private";
621
+ readonly public_read: "public-read";
622
+ readonly public_read_write: "public-read-write";
623
+ };
588
624
  /**
589
625
  * @public
590
626
  */
591
- export declare enum ChecksumAlgorithm {
592
- CRC32 = "CRC32",
593
- CRC32C = "CRC32C",
594
- SHA1 = "SHA1",
595
- SHA256 = "SHA256"
596
- }
627
+ export type ObjectCannedACL = (typeof ObjectCannedACL)[keyof typeof ObjectCannedACL];
597
628
  /**
598
629
  * @public
630
+ * @enum
599
631
  */
600
- export declare enum MetadataDirective {
601
- COPY = "COPY",
602
- REPLACE = "REPLACE"
603
- }
632
+ export declare const ChecksumAlgorithm: {
633
+ readonly CRC32: "CRC32";
634
+ readonly CRC32C: "CRC32C";
635
+ readonly SHA1: "SHA1";
636
+ readonly SHA256: "SHA256";
637
+ };
604
638
  /**
605
639
  * @public
606
640
  */
607
- export declare enum ObjectLockLegalHoldStatus {
608
- OFF = "OFF",
609
- ON = "ON"
610
- }
641
+ export type ChecksumAlgorithm = (typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
611
642
  /**
612
643
  * @public
644
+ * @enum
613
645
  */
614
- export declare enum ObjectLockMode {
615
- COMPLIANCE = "COMPLIANCE",
616
- GOVERNANCE = "GOVERNANCE"
617
- }
646
+ export declare const MetadataDirective: {
647
+ readonly COPY: "COPY";
648
+ readonly REPLACE: "REPLACE";
649
+ };
618
650
  /**
619
651
  * @public
620
652
  */
621
- export declare enum StorageClass {
622
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
623
- GLACIER = "GLACIER",
624
- GLACIER_IR = "GLACIER_IR",
625
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
626
- ONEZONE_IA = "ONEZONE_IA",
627
- OUTPOSTS = "OUTPOSTS",
628
- REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
629
- STANDARD = "STANDARD",
630
- STANDARD_IA = "STANDARD_IA"
631
- }
653
+ export type MetadataDirective = (typeof MetadataDirective)[keyof typeof MetadataDirective];
632
654
  /**
633
655
  * @public
656
+ * @enum
634
657
  */
635
- export declare enum TaggingDirective {
636
- COPY = "COPY",
637
- REPLACE = "REPLACE"
638
- }
658
+ export declare const ObjectLockLegalHoldStatus: {
659
+ readonly OFF: "OFF";
660
+ readonly ON: "ON";
661
+ };
662
+ /**
663
+ * @public
664
+ */
665
+ export type ObjectLockLegalHoldStatus = (typeof ObjectLockLegalHoldStatus)[keyof typeof ObjectLockLegalHoldStatus];
666
+ /**
667
+ * @public
668
+ * @enum
669
+ */
670
+ export declare const ObjectLockMode: {
671
+ readonly COMPLIANCE: "COMPLIANCE";
672
+ readonly GOVERNANCE: "GOVERNANCE";
673
+ };
674
+ /**
675
+ * @public
676
+ */
677
+ export type ObjectLockMode = (typeof ObjectLockMode)[keyof typeof ObjectLockMode];
678
+ /**
679
+ * @public
680
+ * @enum
681
+ */
682
+ export declare const StorageClass: {
683
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
684
+ readonly GLACIER: "GLACIER";
685
+ readonly GLACIER_IR: "GLACIER_IR";
686
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
687
+ readonly ONEZONE_IA: "ONEZONE_IA";
688
+ readonly OUTPOSTS: "OUTPOSTS";
689
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
690
+ readonly STANDARD: "STANDARD";
691
+ readonly STANDARD_IA: "STANDARD_IA";
692
+ };
693
+ /**
694
+ * @public
695
+ */
696
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
697
+ /**
698
+ * @public
699
+ * @enum
700
+ */
701
+ export declare const TaggingDirective: {
702
+ readonly COPY: "COPY";
703
+ readonly REPLACE: "REPLACE";
704
+ };
705
+ /**
706
+ * @public
707
+ */
708
+ export type TaggingDirective = (typeof TaggingDirective)[keyof typeof TaggingDirective];
639
709
  /**
640
710
  * @public
641
711
  */
@@ -928,44 +998,54 @@ export interface CreateBucketOutput {
928
998
  }
929
999
  /**
930
1000
  * @public
1001
+ * @enum
931
1002
  */
932
- export declare enum BucketCannedACL {
933
- authenticated_read = "authenticated-read",
934
- private = "private",
935
- public_read = "public-read",
936
- public_read_write = "public-read-write"
937
- }
1003
+ export declare const BucketCannedACL: {
1004
+ readonly authenticated_read: "authenticated-read";
1005
+ readonly private: "private";
1006
+ readonly public_read: "public-read";
1007
+ readonly public_read_write: "public-read-write";
1008
+ };
938
1009
  /**
939
1010
  * @public
940
1011
  */
941
- export declare enum BucketLocationConstraint {
942
- EU = "EU",
943
- af_south_1 = "af-south-1",
944
- ap_east_1 = "ap-east-1",
945
- ap_northeast_1 = "ap-northeast-1",
946
- ap_northeast_2 = "ap-northeast-2",
947
- ap_northeast_3 = "ap-northeast-3",
948
- ap_south_1 = "ap-south-1",
949
- ap_southeast_1 = "ap-southeast-1",
950
- ap_southeast_2 = "ap-southeast-2",
951
- ap_southeast_3 = "ap-southeast-3",
952
- ca_central_1 = "ca-central-1",
953
- cn_north_1 = "cn-north-1",
954
- cn_northwest_1 = "cn-northwest-1",
955
- eu_central_1 = "eu-central-1",
956
- eu_north_1 = "eu-north-1",
957
- eu_south_1 = "eu-south-1",
958
- eu_west_1 = "eu-west-1",
959
- eu_west_2 = "eu-west-2",
960
- eu_west_3 = "eu-west-3",
961
- me_south_1 = "me-south-1",
962
- sa_east_1 = "sa-east-1",
963
- us_east_2 = "us-east-2",
964
- us_gov_east_1 = "us-gov-east-1",
965
- us_gov_west_1 = "us-gov-west-1",
966
- us_west_1 = "us-west-1",
967
- us_west_2 = "us-west-2"
968
- }
1012
+ export type BucketCannedACL = (typeof BucketCannedACL)[keyof typeof BucketCannedACL];
1013
+ /**
1014
+ * @public
1015
+ * @enum
1016
+ */
1017
+ export declare const BucketLocationConstraint: {
1018
+ readonly EU: "EU";
1019
+ readonly af_south_1: "af-south-1";
1020
+ readonly ap_east_1: "ap-east-1";
1021
+ readonly ap_northeast_1: "ap-northeast-1";
1022
+ readonly ap_northeast_2: "ap-northeast-2";
1023
+ readonly ap_northeast_3: "ap-northeast-3";
1024
+ readonly ap_south_1: "ap-south-1";
1025
+ readonly ap_southeast_1: "ap-southeast-1";
1026
+ readonly ap_southeast_2: "ap-southeast-2";
1027
+ readonly ap_southeast_3: "ap-southeast-3";
1028
+ readonly ca_central_1: "ca-central-1";
1029
+ readonly cn_north_1: "cn-north-1";
1030
+ readonly cn_northwest_1: "cn-northwest-1";
1031
+ readonly eu_central_1: "eu-central-1";
1032
+ readonly eu_north_1: "eu-north-1";
1033
+ readonly eu_south_1: "eu-south-1";
1034
+ readonly eu_west_1: "eu-west-1";
1035
+ readonly eu_west_2: "eu-west-2";
1036
+ readonly eu_west_3: "eu-west-3";
1037
+ readonly me_south_1: "me-south-1";
1038
+ readonly sa_east_1: "sa-east-1";
1039
+ readonly us_east_2: "us-east-2";
1040
+ readonly us_gov_east_1: "us-gov-east-1";
1041
+ readonly us_gov_west_1: "us-gov-west-1";
1042
+ readonly us_west_1: "us-west-1";
1043
+ readonly us_west_2: "us-west-2";
1044
+ };
1045
+ /**
1046
+ * @public
1047
+ */
1048
+ export type BucketLocationConstraint = (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint];
969
1049
  /**
970
1050
  * @public
971
1051
  * <p>The configuration information for the bucket.</p>
@@ -979,12 +1059,17 @@ export interface CreateBucketConfiguration {
979
1059
  }
980
1060
  /**
981
1061
  * @public
1062
+ * @enum
982
1063
  */
983
- export declare enum ObjectOwnership {
984
- BucketOwnerEnforced = "BucketOwnerEnforced",
985
- BucketOwnerPreferred = "BucketOwnerPreferred",
986
- ObjectWriter = "ObjectWriter"
987
- }
1064
+ export declare const ObjectOwnership: {
1065
+ readonly BucketOwnerEnforced: "BucketOwnerEnforced";
1066
+ readonly BucketOwnerPreferred: "BucketOwnerPreferred";
1067
+ readonly ObjectWriter: "ObjectWriter";
1068
+ };
1069
+ /**
1070
+ * @public
1071
+ */
1072
+ export type ObjectOwnership = (typeof ObjectOwnership)[keyof typeof ObjectOwnership];
988
1073
  /**
989
1074
  * @public
990
1075
  */
@@ -3765,10 +3850,15 @@ export declare namespace AnalyticsFilter {
3765
3850
  }
3766
3851
  /**
3767
3852
  * @public
3853
+ * @enum
3768
3854
  */
3769
- export declare enum AnalyticsS3ExportFileFormat {
3770
- CSV = "CSV"
3771
- }
3855
+ export declare const AnalyticsS3ExportFileFormat: {
3856
+ readonly CSV: "CSV";
3857
+ };
3858
+ /**
3859
+ * @public
3860
+ */
3861
+ export type AnalyticsS3ExportFileFormat = (typeof AnalyticsS3ExportFileFormat)[keyof typeof AnalyticsS3ExportFileFormat];
3772
3862
  /**
3773
3863
  * @public
3774
3864
  * <p>Contains information about where to publish the analytics results.</p>
@@ -3808,10 +3898,15 @@ export interface AnalyticsExportDestination {
3808
3898
  }
3809
3899
  /**
3810
3900
  * @public
3901
+ * @enum
3811
3902
  */
3812
- export declare enum StorageClassAnalysisSchemaVersion {
3813
- V_1 = "V_1"
3814
- }
3903
+ export declare const StorageClassAnalysisSchemaVersion: {
3904
+ readonly V_1: "V_1";
3905
+ };
3906
+ /**
3907
+ * @public
3908
+ */
3909
+ export type StorageClassAnalysisSchemaVersion = (typeof StorageClassAnalysisSchemaVersion)[keyof typeof StorageClassAnalysisSchemaVersion];
3815
3910
  /**
3816
3911
  * @public
3817
3912
  * <p>Container for data related to the storage class analysis for an Amazon S3 bucket for
@@ -4092,18 +4187,28 @@ export interface IntelligentTieringFilter {
4092
4187
  }
4093
4188
  /**
4094
4189
  * @public
4190
+ * @enum
4095
4191
  */
4096
- export declare enum IntelligentTieringStatus {
4097
- Disabled = "Disabled",
4098
- Enabled = "Enabled"
4099
- }
4192
+ export declare const IntelligentTieringStatus: {
4193
+ readonly Disabled: "Disabled";
4194
+ readonly Enabled: "Enabled";
4195
+ };
4100
4196
  /**
4101
4197
  * @public
4102
4198
  */
4103
- export declare enum IntelligentTieringAccessTier {
4104
- ARCHIVE_ACCESS = "ARCHIVE_ACCESS",
4105
- DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS"
4106
- }
4199
+ export type IntelligentTieringStatus = (typeof IntelligentTieringStatus)[keyof typeof IntelligentTieringStatus];
4200
+ /**
4201
+ * @public
4202
+ * @enum
4203
+ */
4204
+ export declare const IntelligentTieringAccessTier: {
4205
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
4206
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
4207
+ };
4208
+ /**
4209
+ * @public
4210
+ */
4211
+ export type IntelligentTieringAccessTier = (typeof IntelligentTieringAccessTier)[keyof typeof IntelligentTieringAccessTier];
4107
4212
  /**
4108
4213
  * @public
4109
4214
  * <p>The S3 Intelligent-Tiering storage class is designed to optimize storage costs by
@@ -4208,12 +4313,17 @@ export interface InventoryEncryption {
4208
4313
  }
4209
4314
  /**
4210
4315
  * @public
4316
+ * @enum
4211
4317
  */
4212
- export declare enum InventoryFormat {
4213
- CSV = "CSV",
4214
- ORC = "ORC",
4215
- Parquet = "Parquet"
4216
- }
4318
+ export declare const InventoryFormat: {
4319
+ readonly CSV: "CSV";
4320
+ readonly ORC: "ORC";
4321
+ readonly Parquet: "Parquet";
4322
+ };
4323
+ /**
4324
+ * @public
4325
+ */
4326
+ export type InventoryFormat = (typeof InventoryFormat)[keyof typeof InventoryFormat];
4217
4327
  /**
4218
4328
  * @public
4219
4329
  * <p>Contains the bucket name, file format, bucket owner (optional), and prefix (optional)
@@ -4272,36 +4382,51 @@ export interface InventoryFilter {
4272
4382
  }
4273
4383
  /**
4274
4384
  * @public
4385
+ * @enum
4275
4386
  */
4276
- export declare enum InventoryIncludedObjectVersions {
4277
- All = "All",
4278
- Current = "Current"
4279
- }
4387
+ export declare const InventoryIncludedObjectVersions: {
4388
+ readonly All: "All";
4389
+ readonly Current: "Current";
4390
+ };
4280
4391
  /**
4281
4392
  * @public
4282
4393
  */
4283
- export declare enum InventoryOptionalField {
4284
- BucketKeyStatus = "BucketKeyStatus",
4285
- ChecksumAlgorithm = "ChecksumAlgorithm",
4286
- ETag = "ETag",
4287
- EncryptionStatus = "EncryptionStatus",
4288
- IntelligentTieringAccessTier = "IntelligentTieringAccessTier",
4289
- IsMultipartUploaded = "IsMultipartUploaded",
4290
- LastModifiedDate = "LastModifiedDate",
4291
- ObjectLockLegalHoldStatus = "ObjectLockLegalHoldStatus",
4292
- ObjectLockMode = "ObjectLockMode",
4293
- ObjectLockRetainUntilDate = "ObjectLockRetainUntilDate",
4294
- ReplicationStatus = "ReplicationStatus",
4295
- Size = "Size",
4296
- StorageClass = "StorageClass"
4297
- }
4394
+ export type InventoryIncludedObjectVersions = (typeof InventoryIncludedObjectVersions)[keyof typeof InventoryIncludedObjectVersions];
4298
4395
  /**
4299
4396
  * @public
4397
+ * @enum
4300
4398
  */
4301
- export declare enum InventoryFrequency {
4302
- Daily = "Daily",
4303
- Weekly = "Weekly"
4304
- }
4399
+ export declare const InventoryOptionalField: {
4400
+ readonly BucketKeyStatus: "BucketKeyStatus";
4401
+ readonly ChecksumAlgorithm: "ChecksumAlgorithm";
4402
+ readonly ETag: "ETag";
4403
+ readonly EncryptionStatus: "EncryptionStatus";
4404
+ readonly IntelligentTieringAccessTier: "IntelligentTieringAccessTier";
4405
+ readonly IsMultipartUploaded: "IsMultipartUploaded";
4406
+ readonly LastModifiedDate: "LastModifiedDate";
4407
+ readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus";
4408
+ readonly ObjectLockMode: "ObjectLockMode";
4409
+ readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate";
4410
+ readonly ReplicationStatus: "ReplicationStatus";
4411
+ readonly Size: "Size";
4412
+ readonly StorageClass: "StorageClass";
4413
+ };
4414
+ /**
4415
+ * @public
4416
+ */
4417
+ export type InventoryOptionalField = (typeof InventoryOptionalField)[keyof typeof InventoryOptionalField];
4418
+ /**
4419
+ * @public
4420
+ * @enum
4421
+ */
4422
+ export declare const InventoryFrequency: {
4423
+ readonly Daily: "Daily";
4424
+ readonly Weekly: "Weekly";
4425
+ };
4426
+ /**
4427
+ * @public
4428
+ */
4429
+ export type InventoryFrequency = (typeof InventoryFrequency)[keyof typeof InventoryFrequency];
4305
4430
  /**
4306
4431
  * @public
4307
4432
  * <p>Specifies the schedule for generating inventory results.</p>
@@ -4545,15 +4670,20 @@ export interface NoncurrentVersionExpiration {
4545
4670
  }
4546
4671
  /**
4547
4672
  * @public
4673
+ * @enum
4548
4674
  */
4549
- export declare enum TransitionStorageClass {
4550
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
4551
- GLACIER = "GLACIER",
4552
- GLACIER_IR = "GLACIER_IR",
4553
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
4554
- ONEZONE_IA = "ONEZONE_IA",
4555
- STANDARD_IA = "STANDARD_IA"
4556
- }
4675
+ export declare const TransitionStorageClass: {
4676
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
4677
+ readonly GLACIER: "GLACIER";
4678
+ readonly GLACIER_IR: "GLACIER_IR";
4679
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
4680
+ readonly ONEZONE_IA: "ONEZONE_IA";
4681
+ readonly STANDARD_IA: "STANDARD_IA";
4682
+ };
4683
+ /**
4684
+ * @public
4685
+ */
4686
+ export type TransitionStorageClass = (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass];
4557
4687
  /**
4558
4688
  * @public
4559
4689
  * <p>Container for the transition rule that describes when noncurrent objects transition to
@@ -4587,11 +4717,16 @@ export interface NoncurrentVersionTransition {
4587
4717
  }
4588
4718
  /**
4589
4719
  * @public
4720
+ * @enum
4590
4721
  */
4591
- export declare enum ExpirationStatus {
4592
- Disabled = "Disabled",
4593
- Enabled = "Enabled"
4594
- }
4722
+ export declare const ExpirationStatus: {
4723
+ readonly Disabled: "Disabled";
4724
+ readonly Enabled: "Enabled";
4725
+ };
4726
+ /**
4727
+ * @public
4728
+ */
4729
+ export type ExpirationStatus = (typeof ExpirationStatus)[keyof typeof ExpirationStatus];
4595
4730
  /**
4596
4731
  * @public
4597
4732
  * <p>Specifies when an object transitions to a specified storage class. For more information
@@ -4732,12 +4867,17 @@ export interface GetBucketLocationRequest {
4732
4867
  }
4733
4868
  /**
4734
4869
  * @public
4870
+ * @enum
4735
4871
  */
4736
- export declare enum BucketLogsPermission {
4737
- FULL_CONTROL = "FULL_CONTROL",
4738
- READ = "READ",
4739
- WRITE = "WRITE"
4740
- }
4872
+ export declare const BucketLogsPermission: {
4873
+ readonly FULL_CONTROL: "FULL_CONTROL";
4874
+ readonly READ: "READ";
4875
+ readonly WRITE: "WRITE";
4876
+ };
4877
+ /**
4878
+ * @public
4879
+ */
4880
+ export type BucketLogsPermission = (typeof BucketLogsPermission)[keyof typeof BucketLogsPermission];
4741
4881
  /**
4742
4882
  * @public
4743
4883
  * <p>Container for granting information.</p>
@@ -4974,11 +5114,16 @@ export interface EventBridgeConfiguration {
4974
5114
  export type Event = "s3:IntelligentTiering" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:LifecycleTransition" | "s3:ObjectAcl:Put" | "s3:ObjectCreated:*" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Put" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Completed" | "s3:ObjectRestore:Delete" | "s3:ObjectRestore:Post" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Delete" | "s3:ObjectTagging:Put" | "s3:ReducedRedundancyLostObject" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationReplicatedAfterThreshold";
4975
5115
  /**
4976
5116
  * @public
5117
+ * @enum
4977
5118
  */
4978
- export declare enum FilterRuleName {
4979
- prefix = "prefix",
4980
- suffix = "suffix"
4981
- }
5119
+ export declare const FilterRuleName: {
5120
+ readonly prefix: "prefix";
5121
+ readonly suffix: "suffix";
5122
+ };
5123
+ /**
5124
+ * @public
5125
+ */
5126
+ export type FilterRuleName = (typeof FilterRuleName)[keyof typeof FilterRuleName];
4982
5127
  /**
4983
5128
  * @public
4984
5129
  * <p>Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or
@@ -5247,11 +5392,16 @@ export interface GetBucketPolicyStatusRequest {
5247
5392
  }
5248
5393
  /**
5249
5394
  * @public
5395
+ * @enum
5250
5396
  */
5251
- export declare enum DeleteMarkerReplicationStatus {
5252
- Disabled = "Disabled",
5253
- Enabled = "Enabled"
5254
- }
5397
+ export declare const DeleteMarkerReplicationStatus: {
5398
+ readonly Disabled: "Disabled";
5399
+ readonly Enabled: "Enabled";
5400
+ };
5401
+ /**
5402
+ * @public
5403
+ */
5404
+ export type DeleteMarkerReplicationStatus = (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus];
5255
5405
  /**
5256
5406
  * @public
5257
5407
  * <p>Specifies whether Amazon S3 replicates delete markers. If you specify a <code>Filter</code>
@@ -5305,11 +5455,16 @@ export interface ReplicationTimeValue {
5305
5455
  }
5306
5456
  /**
5307
5457
  * @public
5458
+ * @enum
5308
5459
  */
5309
- export declare enum MetricsStatus {
5310
- Disabled = "Disabled",
5311
- Enabled = "Enabled"
5312
- }
5460
+ export declare const MetricsStatus: {
5461
+ readonly Disabled: "Disabled";
5462
+ readonly Enabled: "Enabled";
5463
+ };
5464
+ /**
5465
+ * @public
5466
+ */
5467
+ export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus];
5313
5468
  /**
5314
5469
  * @public
5315
5470
  * <p> A container specifying replication metrics-related settings enabling replication
@@ -5328,11 +5483,16 @@ export interface Metrics {
5328
5483
  }
5329
5484
  /**
5330
5485
  * @public
5486
+ * @enum
5331
5487
  */
5332
- export declare enum ReplicationTimeStatus {
5333
- Disabled = "Disabled",
5334
- Enabled = "Enabled"
5335
- }
5488
+ export declare const ReplicationTimeStatus: {
5489
+ readonly Disabled: "Disabled";
5490
+ readonly Enabled: "Enabled";
5491
+ };
5492
+ /**
5493
+ * @public
5494
+ */
5495
+ export type ReplicationTimeStatus = (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus];
5336
5496
  /**
5337
5497
  * @public
5338
5498
  * <p> A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is
@@ -5402,11 +5562,16 @@ export interface Destination {
5402
5562
  }
5403
5563
  /**
5404
5564
  * @public
5565
+ * @enum
5405
5566
  */
5406
- export declare enum ExistingObjectReplicationStatus {
5407
- Disabled = "Disabled",
5408
- Enabled = "Enabled"
5409
- }
5567
+ export declare const ExistingObjectReplicationStatus: {
5568
+ readonly Disabled: "Disabled";
5569
+ readonly Enabled: "Enabled";
5570
+ };
5571
+ /**
5572
+ * @public
5573
+ */
5574
+ export type ExistingObjectReplicationStatus = (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus];
5410
5575
  /**
5411
5576
  * @public
5412
5577
  * <p>Optional configuration to replicate existing source bucket objects. For more
@@ -5519,11 +5684,16 @@ export declare namespace ReplicationRuleFilter {
5519
5684
  }
5520
5685
  /**
5521
5686
  * @public
5687
+ * @enum
5522
5688
  */
5523
- export declare enum ReplicaModificationsStatus {
5524
- Disabled = "Disabled",
5525
- Enabled = "Enabled"
5526
- }
5689
+ export declare const ReplicaModificationsStatus: {
5690
+ readonly Disabled: "Disabled";
5691
+ readonly Enabled: "Enabled";
5692
+ };
5693
+ /**
5694
+ * @public
5695
+ */
5696
+ export type ReplicaModificationsStatus = (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus];
5527
5697
  /**
5528
5698
  * @public
5529
5699
  * <p>A filter that you can specify for selection for modifications on replicas. Amazon S3 doesn't
@@ -5544,11 +5714,16 @@ export interface ReplicaModifications {
5544
5714
  }
5545
5715
  /**
5546
5716
  * @public
5717
+ * @enum
5547
5718
  */
5548
- export declare enum SseKmsEncryptedObjectsStatus {
5549
- Disabled = "Disabled",
5550
- Enabled = "Enabled"
5551
- }
5719
+ export declare const SseKmsEncryptedObjectsStatus: {
5720
+ readonly Disabled: "Disabled";
5721
+ readonly Enabled: "Enabled";
5722
+ };
5723
+ /**
5724
+ * @public
5725
+ */
5726
+ export type SseKmsEncryptedObjectsStatus = (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus];
5552
5727
  /**
5553
5728
  * @public
5554
5729
  * <p>A container for filter information for the selection of S3 objects encrypted with Amazon Web Services
@@ -5591,11 +5766,16 @@ export interface SourceSelectionCriteria {
5591
5766
  }
5592
5767
  /**
5593
5768
  * @public
5769
+ * @enum
5594
5770
  */
5595
- export declare enum ReplicationRuleStatus {
5596
- Disabled = "Disabled",
5597
- Enabled = "Enabled"
5598
- }
5771
+ export declare const ReplicationRuleStatus: {
5772
+ readonly Disabled: "Disabled";
5773
+ readonly Enabled: "Enabled";
5774
+ };
5775
+ /**
5776
+ * @public
5777
+ */
5778
+ export type ReplicationRuleStatus = (typeof ReplicationRuleStatus)[keyof typeof ReplicationRuleStatus];
5599
5779
  /**
5600
5780
  * @public
5601
5781
  * <p>Specifies which Amazon S3 objects to replicate and where to store the replicas.</p>
@@ -5716,11 +5896,16 @@ export interface GetBucketReplicationRequest {
5716
5896
  }
5717
5897
  /**
5718
5898
  * @public
5899
+ * @enum
5719
5900
  */
5720
- export declare enum Payer {
5721
- BucketOwner = "BucketOwner",
5722
- Requester = "Requester"
5723
- }
5901
+ export declare const Payer: {
5902
+ readonly BucketOwner: "BucketOwner";
5903
+ readonly Requester: "Requester";
5904
+ };
5905
+ /**
5906
+ * @public
5907
+ */
5908
+ export type Payer = (typeof Payer)[keyof typeof Payer];
5724
5909
  /**
5725
5910
  * @public
5726
5911
  */
@@ -5771,18 +5956,28 @@ export interface GetBucketTaggingRequest {
5771
5956
  }
5772
5957
  /**
5773
5958
  * @public
5959
+ * @enum
5774
5960
  */
5775
- export declare enum MFADeleteStatus {
5776
- Disabled = "Disabled",
5777
- Enabled = "Enabled"
5778
- }
5961
+ export declare const MFADeleteStatus: {
5962
+ readonly Disabled: "Disabled";
5963
+ readonly Enabled: "Enabled";
5964
+ };
5779
5965
  /**
5780
5966
  * @public
5781
5967
  */
5782
- export declare enum BucketVersioningStatus {
5783
- Enabled = "Enabled",
5784
- Suspended = "Suspended"
5785
- }
5968
+ export type MFADeleteStatus = (typeof MFADeleteStatus)[keyof typeof MFADeleteStatus];
5969
+ /**
5970
+ * @public
5971
+ * @enum
5972
+ */
5973
+ export declare const BucketVersioningStatus: {
5974
+ readonly Enabled: "Enabled";
5975
+ readonly Suspended: "Suspended";
5976
+ };
5977
+ /**
5978
+ * @public
5979
+ */
5980
+ export type BucketVersioningStatus = (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
5786
5981
  /**
5787
5982
  * @public
5788
5983
  */
@@ -5848,11 +6043,16 @@ export interface IndexDocument {
5848
6043
  }
5849
6044
  /**
5850
6045
  * @public
6046
+ * @enum
5851
6047
  */
5852
- export declare enum Protocol {
5853
- http = "http",
5854
- https = "https"
5855
- }
6048
+ export declare const Protocol: {
6049
+ readonly http: "http";
6050
+ readonly https: "https";
6051
+ };
6052
+ /**
6053
+ * @public
6054
+ */
6055
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
5856
6056
  /**
5857
6057
  * @public
5858
6058
  * <p>Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3
@@ -6009,13 +6209,18 @@ export interface GetBucketWebsiteRequest {
6009
6209
  }
6010
6210
  /**
6011
6211
  * @public
6212
+ * @enum
6012
6213
  */
6013
- export declare enum ReplicationStatus {
6014
- COMPLETE = "COMPLETE",
6015
- FAILED = "FAILED",
6016
- PENDING = "PENDING",
6017
- REPLICA = "REPLICA"
6018
- }
6214
+ export declare const ReplicationStatus: {
6215
+ readonly COMPLETE: "COMPLETE";
6216
+ readonly FAILED: "FAILED";
6217
+ readonly PENDING: "PENDING";
6218
+ readonly REPLICA: "REPLICA";
6219
+ };
6220
+ /**
6221
+ * @public
6222
+ */
6223
+ export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
6019
6224
  /**
6020
6225
  * @public
6021
6226
  */
@@ -6202,10 +6407,15 @@ export interface GetObjectOutput {
6202
6407
  }
6203
6408
  /**
6204
6409
  * @public
6410
+ * @enum
6205
6411
  */
6206
- export declare enum ChecksumMode {
6207
- ENABLED = "ENABLED"
6208
- }
6412
+ export declare const ChecksumMode: {
6413
+ readonly ENABLED: "ENABLED";
6414
+ };
6415
+ /**
6416
+ * @public
6417
+ */
6418
+ export type ChecksumMode = (typeof ChecksumMode)[keyof typeof ChecksumMode];
6209
6419
  /**
6210
6420
  * @public
6211
6421
  */
@@ -6558,14 +6768,19 @@ export interface GetObjectAttributesOutput {
6558
6768
  }
6559
6769
  /**
6560
6770
  * @public
6771
+ * @enum
6561
6772
  */
6562
- export declare enum ObjectAttributes {
6563
- CHECKSUM = "Checksum",
6564
- ETAG = "ETag",
6565
- OBJECT_PARTS = "ObjectParts",
6566
- OBJECT_SIZE = "ObjectSize",
6567
- STORAGE_CLASS = "StorageClass"
6568
- }
6773
+ export declare const ObjectAttributes: {
6774
+ readonly CHECKSUM: "Checksum";
6775
+ readonly ETAG: "ETag";
6776
+ readonly OBJECT_PARTS: "ObjectParts";
6777
+ readonly OBJECT_SIZE: "ObjectSize";
6778
+ readonly STORAGE_CLASS: "StorageClass";
6779
+ };
6780
+ /**
6781
+ * @public
6782
+ */
6783
+ export type ObjectAttributes = (typeof ObjectAttributes)[keyof typeof ObjectAttributes];
6569
6784
  /**
6570
6785
  * @public
6571
6786
  */
@@ -6683,17 +6898,27 @@ export interface GetObjectLegalHoldRequest {
6683
6898
  }
6684
6899
  /**
6685
6900
  * @public
6901
+ * @enum
6686
6902
  */
6687
- export declare enum ObjectLockEnabled {
6688
- Enabled = "Enabled"
6689
- }
6903
+ export declare const ObjectLockEnabled: {
6904
+ readonly Enabled: "Enabled";
6905
+ };
6690
6906
  /**
6691
6907
  * @public
6692
6908
  */
6693
- export declare enum ObjectLockRetentionMode {
6694
- COMPLIANCE = "COMPLIANCE",
6695
- GOVERNANCE = "GOVERNANCE"
6696
- }
6909
+ export type ObjectLockEnabled = (typeof ObjectLockEnabled)[keyof typeof ObjectLockEnabled];
6910
+ /**
6911
+ * @public
6912
+ * @enum
6913
+ */
6914
+ export declare const ObjectLockRetentionMode: {
6915
+ readonly COMPLIANCE: "COMPLIANCE";
6916
+ readonly GOVERNANCE: "GOVERNANCE";
6917
+ };
6918
+ /**
6919
+ * @public
6920
+ */
6921
+ export type ObjectLockRetentionMode = (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode];
6697
6922
  /**
6698
6923
  * @public
6699
6924
  * <p>The container element for specifying the default Object Lock retention settings for new
@@ -7036,11 +7261,16 @@ export declare class NotFound extends __BaseException {
7036
7261
  }
7037
7262
  /**
7038
7263
  * @public
7264
+ * @enum
7039
7265
  */
7040
- export declare enum ArchiveStatus {
7041
- ARCHIVE_ACCESS = "ARCHIVE_ACCESS",
7042
- DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS"
7043
- }
7266
+ export declare const ArchiveStatus: {
7267
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
7268
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
7269
+ };
7270
+ /**
7271
+ * @public
7272
+ */
7273
+ export type ArchiveStatus = (typeof ArchiveStatus)[keyof typeof ArchiveStatus];
7044
7274
  /**
7045
7275
  * @public
7046
7276
  */
@@ -7591,10 +7821,15 @@ export interface CommonPrefix {
7591
7821
  }
7592
7822
  /**
7593
7823
  * @public
7824
+ * @enum
7594
7825
  */
7595
- export declare enum EncodingType {
7596
- url = "url"
7597
- }
7826
+ export declare const EncodingType: {
7827
+ readonly url: "url";
7828
+ };
7829
+ /**
7830
+ * @public
7831
+ */
7832
+ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
7598
7833
  /**
7599
7834
  * @public
7600
7835
  * <p>Container element that identifies who initiated the multipart upload. </p>
@@ -7781,18 +8016,23 @@ export interface ListMultipartUploadsRequest {
7781
8016
  }
7782
8017
  /**
7783
8018
  * @public
8019
+ * @enum
7784
8020
  */
7785
- export declare enum ObjectStorageClass {
7786
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
7787
- GLACIER = "GLACIER",
7788
- GLACIER_IR = "GLACIER_IR",
7789
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
7790
- ONEZONE_IA = "ONEZONE_IA",
7791
- OUTPOSTS = "OUTPOSTS",
7792
- REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
7793
- STANDARD = "STANDARD",
7794
- STANDARD_IA = "STANDARD_IA"
7795
- }
8021
+ export declare const ObjectStorageClass: {
8022
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
8023
+ readonly GLACIER: "GLACIER";
8024
+ readonly GLACIER_IR: "GLACIER_IR";
8025
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
8026
+ readonly ONEZONE_IA: "ONEZONE_IA";
8027
+ readonly OUTPOSTS: "OUTPOSTS";
8028
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
8029
+ readonly STANDARD: "STANDARD";
8030
+ readonly STANDARD_IA: "STANDARD_IA";
8031
+ };
8032
+ /**
8033
+ * @public
8034
+ */
8035
+ export type ObjectStorageClass = (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass];
7796
8036
  /**
7797
8037
  * @public
7798
8038
  * <p>An object consists of data and its descriptive metadata.</p>
@@ -8149,10 +8389,15 @@ export interface DeleteMarkerEntry {
8149
8389
  }
8150
8390
  /**
8151
8391
  * @public
8392
+ * @enum
8152
8393
  */
8153
- export declare enum ObjectVersionStorageClass {
8154
- STANDARD = "STANDARD"
8155
- }
8394
+ export declare const ObjectVersionStorageClass: {
8395
+ readonly STANDARD: "STANDARD";
8396
+ };
8397
+ /**
8398
+ * @public
8399
+ */
8400
+ export type ObjectVersionStorageClass = (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
8156
8401
  /**
8157
8402
  * @public
8158
8403
  * <p>The version of an object.</p>
@@ -9109,11 +9354,16 @@ export interface PutBucketTaggingRequest {
9109
9354
  }
9110
9355
  /**
9111
9356
  * @public
9357
+ * @enum
9112
9358
  */
9113
- export declare enum MFADelete {
9114
- Disabled = "Disabled",
9115
- Enabled = "Enabled"
9116
- }
9359
+ export declare const MFADelete: {
9360
+ readonly Disabled: "Disabled";
9361
+ readonly Enabled: "Enabled";
9362
+ };
9363
+ /**
9364
+ * @public
9365
+ */
9366
+ export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
9117
9367
  /**
9118
9368
  * @public
9119
9369
  * <p>Describes the versioning state of an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html">PUT