@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.
@@ -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;
@@ -944,10 +995,12 @@ export type Event =
944
995
  | "s3:Replication:OperationMissedThreshold"
945
996
  | "s3:Replication:OperationNotTracked"
946
997
  | "s3:Replication:OperationReplicatedAfterThreshold";
947
- export declare enum FilterRuleName {
948
- prefix = "prefix",
949
- suffix = "suffix",
950
- }
998
+ export declare const FilterRuleName: {
999
+ readonly prefix: "prefix";
1000
+ readonly suffix: "suffix";
1001
+ };
1002
+ export type FilterRuleName =
1003
+ (typeof FilterRuleName)[keyof typeof FilterRuleName];
951
1004
  export interface FilterRule {
952
1005
  Name?: FilterRuleName | string;
953
1006
  Value?: string;
@@ -1012,10 +1065,12 @@ export interface GetBucketPolicyStatusRequest {
1012
1065
  Bucket: string | undefined;
1013
1066
  ExpectedBucketOwner?: string;
1014
1067
  }
1015
- export declare enum DeleteMarkerReplicationStatus {
1016
- Disabled = "Disabled",
1017
- Enabled = "Enabled",
1018
- }
1068
+ export declare const DeleteMarkerReplicationStatus: {
1069
+ readonly Disabled: "Disabled";
1070
+ readonly Enabled: "Enabled";
1071
+ };
1072
+ export type DeleteMarkerReplicationStatus =
1073
+ (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus];
1019
1074
  export interface DeleteMarkerReplication {
1020
1075
  Status?: DeleteMarkerReplicationStatus | string;
1021
1076
  }
@@ -1025,18 +1080,21 @@ export interface EncryptionConfiguration {
1025
1080
  export interface ReplicationTimeValue {
1026
1081
  Minutes?: number;
1027
1082
  }
1028
- export declare enum MetricsStatus {
1029
- Disabled = "Disabled",
1030
- Enabled = "Enabled",
1031
- }
1083
+ export declare const MetricsStatus: {
1084
+ readonly Disabled: "Disabled";
1085
+ readonly Enabled: "Enabled";
1086
+ };
1087
+ export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus];
1032
1088
  export interface Metrics {
1033
1089
  Status: MetricsStatus | string | undefined;
1034
1090
  EventThreshold?: ReplicationTimeValue;
1035
1091
  }
1036
- export declare enum ReplicationTimeStatus {
1037
- Disabled = "Disabled",
1038
- Enabled = "Enabled",
1039
- }
1092
+ export declare const ReplicationTimeStatus: {
1093
+ readonly Disabled: "Disabled";
1094
+ readonly Enabled: "Enabled";
1095
+ };
1096
+ export type ReplicationTimeStatus =
1097
+ (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus];
1040
1098
  export interface ReplicationTime {
1041
1099
  Status: ReplicationTimeStatus | string | undefined;
1042
1100
  Time: ReplicationTimeValue | undefined;
@@ -1050,10 +1108,12 @@ export interface Destination {
1050
1108
  ReplicationTime?: ReplicationTime;
1051
1109
  Metrics?: Metrics;
1052
1110
  }
1053
- export declare enum ExistingObjectReplicationStatus {
1054
- Disabled = "Disabled",
1055
- Enabled = "Enabled",
1056
- }
1111
+ export declare const ExistingObjectReplicationStatus: {
1112
+ readonly Disabled: "Disabled";
1113
+ readonly Enabled: "Enabled";
1114
+ };
1115
+ export type ExistingObjectReplicationStatus =
1116
+ (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus];
1057
1117
  export interface ExistingObjectReplication {
1058
1118
  Status: ExistingObjectReplicationStatus | string | undefined;
1059
1119
  }
@@ -1099,17 +1159,21 @@ export declare namespace ReplicationRuleFilter {
1099
1159
  }
1100
1160
  const visit: <T>(value: ReplicationRuleFilter, visitor: Visitor<T>) => T;
1101
1161
  }
1102
- export declare enum ReplicaModificationsStatus {
1103
- Disabled = "Disabled",
1104
- Enabled = "Enabled",
1105
- }
1162
+ export declare const ReplicaModificationsStatus: {
1163
+ readonly Disabled: "Disabled";
1164
+ readonly Enabled: "Enabled";
1165
+ };
1166
+ export type ReplicaModificationsStatus =
1167
+ (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus];
1106
1168
  export interface ReplicaModifications {
1107
1169
  Status: ReplicaModificationsStatus | string | undefined;
1108
1170
  }
1109
- export declare enum SseKmsEncryptedObjectsStatus {
1110
- Disabled = "Disabled",
1111
- Enabled = "Enabled",
1112
- }
1171
+ export declare const SseKmsEncryptedObjectsStatus: {
1172
+ readonly Disabled: "Disabled";
1173
+ readonly Enabled: "Enabled";
1174
+ };
1175
+ export type SseKmsEncryptedObjectsStatus =
1176
+ (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus];
1113
1177
  export interface SseKmsEncryptedObjects {
1114
1178
  Status: SseKmsEncryptedObjectsStatus | string | undefined;
1115
1179
  }
@@ -1117,10 +1181,12 @@ export interface SourceSelectionCriteria {
1117
1181
  SseKmsEncryptedObjects?: SseKmsEncryptedObjects;
1118
1182
  ReplicaModifications?: ReplicaModifications;
1119
1183
  }
1120
- export declare enum ReplicationRuleStatus {
1121
- Disabled = "Disabled",
1122
- Enabled = "Enabled",
1123
- }
1184
+ export declare const ReplicationRuleStatus: {
1185
+ readonly Disabled: "Disabled";
1186
+ readonly Enabled: "Enabled";
1187
+ };
1188
+ export type ReplicationRuleStatus =
1189
+ (typeof ReplicationRuleStatus)[keyof typeof ReplicationRuleStatus];
1124
1190
  export interface ReplicationRule {
1125
1191
  ID?: string;
1126
1192
  Priority?: number;
@@ -1143,10 +1209,11 @@ export interface GetBucketReplicationRequest {
1143
1209
  Bucket: string | undefined;
1144
1210
  ExpectedBucketOwner?: string;
1145
1211
  }
1146
- export declare enum Payer {
1147
- BucketOwner = "BucketOwner",
1148
- Requester = "Requester",
1149
- }
1212
+ export declare const Payer: {
1213
+ readonly BucketOwner: "BucketOwner";
1214
+ readonly Requester: "Requester";
1215
+ };
1216
+ export type Payer = (typeof Payer)[keyof typeof Payer];
1150
1217
  export interface GetBucketRequestPaymentOutput {
1151
1218
  Payer?: Payer | string;
1152
1219
  }
@@ -1161,14 +1228,18 @@ export interface GetBucketTaggingRequest {
1161
1228
  Bucket: string | undefined;
1162
1229
  ExpectedBucketOwner?: string;
1163
1230
  }
1164
- export declare enum MFADeleteStatus {
1165
- Disabled = "Disabled",
1166
- Enabled = "Enabled",
1167
- }
1168
- export declare enum BucketVersioningStatus {
1169
- Enabled = "Enabled",
1170
- Suspended = "Suspended",
1171
- }
1231
+ export declare const MFADeleteStatus: {
1232
+ readonly Disabled: "Disabled";
1233
+ readonly Enabled: "Enabled";
1234
+ };
1235
+ export type MFADeleteStatus =
1236
+ (typeof MFADeleteStatus)[keyof typeof MFADeleteStatus];
1237
+ export declare const BucketVersioningStatus: {
1238
+ readonly Enabled: "Enabled";
1239
+ readonly Suspended: "Suspended";
1240
+ };
1241
+ export type BucketVersioningStatus =
1242
+ (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
1172
1243
  export interface GetBucketVersioningOutput {
1173
1244
  Status?: BucketVersioningStatus | string;
1174
1245
  MFADelete?: MFADeleteStatus | string;
@@ -1183,10 +1254,11 @@ export interface ErrorDocument {
1183
1254
  export interface IndexDocument {
1184
1255
  Suffix: string | undefined;
1185
1256
  }
1186
- export declare enum Protocol {
1187
- http = "http",
1188
- https = "https",
1189
- }
1257
+ export declare const Protocol: {
1258
+ readonly http: "http";
1259
+ readonly https: "https";
1260
+ };
1261
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
1190
1262
  export interface RedirectAllRequestsTo {
1191
1263
  HostName: string | undefined;
1192
1264
  Protocol?: Protocol | string;
@@ -1216,12 +1288,14 @@ export interface GetBucketWebsiteRequest {
1216
1288
  Bucket: string | undefined;
1217
1289
  ExpectedBucketOwner?: string;
1218
1290
  }
1219
- export declare enum ReplicationStatus {
1220
- COMPLETE = "COMPLETE",
1221
- FAILED = "FAILED",
1222
- PENDING = "PENDING",
1223
- REPLICA = "REPLICA",
1224
- }
1291
+ export declare const ReplicationStatus: {
1292
+ readonly COMPLETE: "COMPLETE";
1293
+ readonly FAILED: "FAILED";
1294
+ readonly PENDING: "PENDING";
1295
+ readonly REPLICA: "REPLICA";
1296
+ };
1297
+ export type ReplicationStatus =
1298
+ (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
1225
1299
  export interface GetObjectOutput {
1226
1300
  Body?: Readable | ReadableStream | Blob;
1227
1301
  DeleteMarker?: boolean;
@@ -1260,9 +1334,10 @@ export interface GetObjectOutput {
1260
1334
  ObjectLockRetainUntilDate?: Date;
1261
1335
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1262
1336
  }
1263
- export declare enum ChecksumMode {
1264
- ENABLED = "ENABLED",
1265
- }
1337
+ export declare const ChecksumMode: {
1338
+ readonly ENABLED: "ENABLED";
1339
+ };
1340
+ export type ChecksumMode = (typeof ChecksumMode)[keyof typeof ChecksumMode];
1266
1341
  export interface GetObjectRequest {
1267
1342
  Bucket: string | undefined;
1268
1343
  IfMatch?: string;
@@ -1343,13 +1418,15 @@ export interface GetObjectAttributesOutput {
1343
1418
  StorageClass?: StorageClass | string;
1344
1419
  ObjectSize?: number;
1345
1420
  }
1346
- export declare enum ObjectAttributes {
1347
- CHECKSUM = "Checksum",
1348
- ETAG = "ETag",
1349
- OBJECT_PARTS = "ObjectParts",
1350
- OBJECT_SIZE = "ObjectSize",
1351
- STORAGE_CLASS = "StorageClass",
1352
- }
1421
+ export declare const ObjectAttributes: {
1422
+ readonly CHECKSUM: "Checksum";
1423
+ readonly ETAG: "ETag";
1424
+ readonly OBJECT_PARTS: "ObjectParts";
1425
+ readonly OBJECT_SIZE: "ObjectSize";
1426
+ readonly STORAGE_CLASS: "StorageClass";
1427
+ };
1428
+ export type ObjectAttributes =
1429
+ (typeof ObjectAttributes)[keyof typeof ObjectAttributes];
1353
1430
  export interface GetObjectAttributesRequest {
1354
1431
  Bucket: string | undefined;
1355
1432
  Key: string | undefined;
@@ -1376,13 +1453,17 @@ export interface GetObjectLegalHoldRequest {
1376
1453
  RequestPayer?: RequestPayer | string;
1377
1454
  ExpectedBucketOwner?: string;
1378
1455
  }
1379
- export declare enum ObjectLockEnabled {
1380
- Enabled = "Enabled",
1381
- }
1382
- export declare enum ObjectLockRetentionMode {
1383
- COMPLIANCE = "COMPLIANCE",
1384
- GOVERNANCE = "GOVERNANCE",
1385
- }
1456
+ export declare const ObjectLockEnabled: {
1457
+ readonly Enabled: "Enabled";
1458
+ };
1459
+ export type ObjectLockEnabled =
1460
+ (typeof ObjectLockEnabled)[keyof typeof ObjectLockEnabled];
1461
+ export declare const ObjectLockRetentionMode: {
1462
+ readonly COMPLIANCE: "COMPLIANCE";
1463
+ readonly GOVERNANCE: "GOVERNANCE";
1464
+ };
1465
+ export type ObjectLockRetentionMode =
1466
+ (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode];
1386
1467
  export interface DefaultRetention {
1387
1468
  Mode?: ObjectLockRetentionMode | string;
1388
1469
  Days?: number;
@@ -1459,10 +1540,11 @@ export declare class NotFound extends __BaseException {
1459
1540
  readonly $fault: "client";
1460
1541
  constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
1461
1542
  }
1462
- export declare enum ArchiveStatus {
1463
- ARCHIVE_ACCESS = "ARCHIVE_ACCESS",
1464
- DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS",
1465
- }
1543
+ export declare const ArchiveStatus: {
1544
+ readonly ARCHIVE_ACCESS: "ARCHIVE_ACCESS";
1545
+ readonly DEEP_ARCHIVE_ACCESS: "DEEP_ARCHIVE_ACCESS";
1546
+ };
1547
+ export type ArchiveStatus = (typeof ArchiveStatus)[keyof typeof ArchiveStatus];
1466
1548
  export interface HeadObjectOutput {
1467
1549
  DeleteMarker?: boolean;
1468
1550
  AcceptRanges?: string;
@@ -1570,9 +1652,10 @@ export interface ListBucketsOutput {
1570
1652
  export interface CommonPrefix {
1571
1653
  Prefix?: string;
1572
1654
  }
1573
- export declare enum EncodingType {
1574
- url = "url",
1575
- }
1655
+ export declare const EncodingType: {
1656
+ readonly url: "url";
1657
+ };
1658
+ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
1576
1659
  export interface Initiator {
1577
1660
  ID?: string;
1578
1661
  DisplayName?: string;
@@ -1610,17 +1693,19 @@ export interface ListMultipartUploadsRequest {
1610
1693
  UploadIdMarker?: string;
1611
1694
  ExpectedBucketOwner?: string;
1612
1695
  }
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
- }
1696
+ export declare const ObjectStorageClass: {
1697
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
1698
+ readonly GLACIER: "GLACIER";
1699
+ readonly GLACIER_IR: "GLACIER_IR";
1700
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
1701
+ readonly ONEZONE_IA: "ONEZONE_IA";
1702
+ readonly OUTPOSTS: "OUTPOSTS";
1703
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
1704
+ readonly STANDARD: "STANDARD";
1705
+ readonly STANDARD_IA: "STANDARD_IA";
1706
+ };
1707
+ export type ObjectStorageClass =
1708
+ (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass];
1624
1709
  export interface _Object {
1625
1710
  Key?: string;
1626
1711
  LastModified?: Date;
@@ -1690,9 +1775,11 @@ export interface DeleteMarkerEntry {
1690
1775
  IsLatest?: boolean;
1691
1776
  LastModified?: Date;
1692
1777
  }
1693
- export declare enum ObjectVersionStorageClass {
1694
- STANDARD = "STANDARD",
1695
- }
1778
+ export declare const ObjectVersionStorageClass: {
1779
+ readonly STANDARD: "STANDARD";
1780
+ };
1781
+ export type ObjectVersionStorageClass =
1782
+ (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
1696
1783
  export interface ObjectVersion {
1697
1784
  ETag?: string;
1698
1785
  ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
@@ -1896,10 +1983,11 @@ export interface PutBucketTaggingRequest {
1896
1983
  Tagging: Tagging | undefined;
1897
1984
  ExpectedBucketOwner?: string;
1898
1985
  }
1899
- export declare enum MFADelete {
1900
- Disabled = "Disabled",
1901
- Enabled = "Enabled",
1902
- }
1986
+ export declare const MFADelete: {
1987
+ readonly Disabled: "Disabled";
1988
+ readonly Enabled: "Enabled";
1989
+ };
1990
+ export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
1903
1991
  export interface VersioningConfiguration {
1904
1992
  MFADelete?: MFADelete | string;
1905
1993
  Status?: BucketVersioningStatus | string;