@aws-sdk/client-s3 3.428.0 → 3.429.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.
@@ -10,7 +10,7 @@ export declare const RequestCharged: {
10
10
  export type RequestCharged =
11
11
  (typeof RequestCharged)[keyof typeof RequestCharged];
12
12
  export interface AbortMultipartUploadOutput {
13
- RequestCharged?: RequestCharged | string;
13
+ RequestCharged?: RequestCharged;
14
14
  }
15
15
  export declare const RequestPayer: {
16
16
  readonly requester: "requester";
@@ -20,7 +20,7 @@ export interface AbortMultipartUploadRequest {
20
20
  Bucket: string | undefined;
21
21
  Key: string | undefined;
22
22
  UploadId: string | undefined;
23
- RequestPayer?: RequestPayer | string;
23
+ RequestPayer?: RequestPayer;
24
24
  ExpectedBucketOwner?: string;
25
25
  }
26
26
  export declare class NoSuchUpload extends __BaseException {
@@ -35,7 +35,7 @@ export declare const BucketAccelerateStatus: {
35
35
  export type BucketAccelerateStatus =
36
36
  (typeof BucketAccelerateStatus)[keyof typeof BucketAccelerateStatus];
37
37
  export interface AccelerateConfiguration {
38
- Status?: BucketAccelerateStatus | string;
38
+ Status?: BucketAccelerateStatus;
39
39
  }
40
40
  export declare const Type: {
41
41
  readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
@@ -48,7 +48,7 @@ export interface Grantee {
48
48
  EmailAddress?: string;
49
49
  ID?: string;
50
50
  URI?: string;
51
- Type: Type | string | undefined;
51
+ Type: Type | undefined;
52
52
  }
53
53
  export declare const Permission: {
54
54
  readonly FULL_CONTROL: "FULL_CONTROL";
@@ -60,7 +60,7 @@ export declare const Permission: {
60
60
  export type Permission = (typeof Permission)[keyof typeof Permission];
61
61
  export interface Grant {
62
62
  Grantee?: Grantee;
63
- Permission?: Permission | string;
63
+ Permission?: Permission;
64
64
  }
65
65
  export interface Owner {
66
66
  DisplayName?: string;
@@ -75,7 +75,7 @@ export declare const OwnerOverride: {
75
75
  };
76
76
  export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride];
77
77
  export interface AccessControlTranslation {
78
- Owner: OwnerOverride | string | undefined;
78
+ Owner: OwnerOverride | undefined;
79
79
  }
80
80
  export declare const ServerSideEncryption: {
81
81
  readonly AES256: "AES256";
@@ -94,11 +94,11 @@ export interface CompleteMultipartUploadOutput {
94
94
  ChecksumCRC32C?: string;
95
95
  ChecksumSHA1?: string;
96
96
  ChecksumSHA256?: string;
97
- ServerSideEncryption?: ServerSideEncryption | string;
97
+ ServerSideEncryption?: ServerSideEncryption;
98
98
  VersionId?: string;
99
99
  SSEKMSKeyId?: string;
100
100
  BucketKeyEnabled?: boolean;
101
- RequestCharged?: RequestCharged | string;
101
+ RequestCharged?: RequestCharged;
102
102
  }
103
103
  export interface CompletedPart {
104
104
  ETag?: string;
@@ -120,7 +120,7 @@ export interface CompleteMultipartUploadRequest {
120
120
  ChecksumCRC32C?: string;
121
121
  ChecksumSHA1?: string;
122
122
  ChecksumSHA256?: string;
123
- RequestPayer?: RequestPayer | string;
123
+ RequestPayer?: RequestPayer;
124
124
  ExpectedBucketOwner?: string;
125
125
  SSECustomerAlgorithm?: string;
126
126
  SSECustomerKey?: string;
@@ -139,13 +139,13 @@ export interface CopyObjectOutput {
139
139
  Expiration?: string;
140
140
  CopySourceVersionId?: string;
141
141
  VersionId?: string;
142
- ServerSideEncryption?: ServerSideEncryption | string;
142
+ ServerSideEncryption?: ServerSideEncryption;
143
143
  SSECustomerAlgorithm?: string;
144
144
  SSECustomerKeyMD5?: string;
145
145
  SSEKMSKeyId?: string;
146
146
  SSEKMSEncryptionContext?: string;
147
147
  BucketKeyEnabled?: boolean;
148
- RequestCharged?: RequestCharged | string;
148
+ RequestCharged?: RequestCharged;
149
149
  }
150
150
  export declare const ObjectCannedACL: {
151
151
  readonly authenticated_read: "authenticated-read";
@@ -204,10 +204,10 @@ export declare const TaggingDirective: {
204
204
  export type TaggingDirective =
205
205
  (typeof TaggingDirective)[keyof typeof TaggingDirective];
206
206
  export interface CopyObjectRequest {
207
- ACL?: ObjectCannedACL | string;
207
+ ACL?: ObjectCannedACL;
208
208
  Bucket: string | undefined;
209
209
  CacheControl?: string;
210
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
210
+ ChecksumAlgorithm?: ChecksumAlgorithm;
211
211
  ContentDisposition?: string;
212
212
  ContentEncoding?: string;
213
213
  ContentLanguage?: string;
@@ -224,10 +224,10 @@ export interface CopyObjectRequest {
224
224
  GrantWriteACP?: string;
225
225
  Key: string | undefined;
226
226
  Metadata?: Record<string, string>;
227
- MetadataDirective?: MetadataDirective | string;
228
- TaggingDirective?: TaggingDirective | string;
229
- ServerSideEncryption?: ServerSideEncryption | string;
230
- StorageClass?: StorageClass | string;
227
+ MetadataDirective?: MetadataDirective;
228
+ TaggingDirective?: TaggingDirective;
229
+ ServerSideEncryption?: ServerSideEncryption;
230
+ StorageClass?: StorageClass;
231
231
  WebsiteRedirectLocation?: string;
232
232
  SSECustomerAlgorithm?: string;
233
233
  SSECustomerKey?: string;
@@ -238,11 +238,11 @@ export interface CopyObjectRequest {
238
238
  CopySourceSSECustomerAlgorithm?: string;
239
239
  CopySourceSSECustomerKey?: string;
240
240
  CopySourceSSECustomerKeyMD5?: string;
241
- RequestPayer?: RequestPayer | string;
241
+ RequestPayer?: RequestPayer;
242
242
  Tagging?: string;
243
- ObjectLockMode?: ObjectLockMode | string;
243
+ ObjectLockMode?: ObjectLockMode;
244
244
  ObjectLockRetainUntilDate?: Date;
245
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
245
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
246
246
  ExpectedBucketOwner?: string;
247
247
  ExpectedSourceBucketOwner?: string;
248
248
  }
@@ -311,7 +311,7 @@ export declare const BucketLocationConstraint: {
311
311
  export type BucketLocationConstraint =
312
312
  (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint];
313
313
  export interface CreateBucketConfiguration {
314
- LocationConstraint?: BucketLocationConstraint | string;
314
+ LocationConstraint?: BucketLocationConstraint;
315
315
  }
316
316
  export declare const ObjectOwnership: {
317
317
  readonly BucketOwnerEnforced: "BucketOwnerEnforced";
@@ -321,7 +321,7 @@ export declare const ObjectOwnership: {
321
321
  export type ObjectOwnership =
322
322
  (typeof ObjectOwnership)[keyof typeof ObjectOwnership];
323
323
  export interface CreateBucketRequest {
324
- ACL?: BucketCannedACL | string;
324
+ ACL?: BucketCannedACL;
325
325
  Bucket: string | undefined;
326
326
  CreateBucketConfiguration?: CreateBucketConfiguration;
327
327
  GrantFullControl?: string;
@@ -330,7 +330,7 @@ export interface CreateBucketRequest {
330
330
  GrantWrite?: string;
331
331
  GrantWriteACP?: string;
332
332
  ObjectLockEnabledForBucket?: boolean;
333
- ObjectOwnership?: ObjectOwnership | string;
333
+ ObjectOwnership?: ObjectOwnership;
334
334
  }
335
335
  export interface CreateMultipartUploadOutput {
336
336
  AbortDate?: Date;
@@ -338,17 +338,17 @@ export interface CreateMultipartUploadOutput {
338
338
  Bucket?: string;
339
339
  Key?: string;
340
340
  UploadId?: string;
341
- ServerSideEncryption?: ServerSideEncryption | string;
341
+ ServerSideEncryption?: ServerSideEncryption;
342
342
  SSECustomerAlgorithm?: string;
343
343
  SSECustomerKeyMD5?: string;
344
344
  SSEKMSKeyId?: string;
345
345
  SSEKMSEncryptionContext?: string;
346
346
  BucketKeyEnabled?: boolean;
347
- RequestCharged?: RequestCharged | string;
348
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
347
+ RequestCharged?: RequestCharged;
348
+ ChecksumAlgorithm?: ChecksumAlgorithm;
349
349
  }
350
350
  export interface CreateMultipartUploadRequest {
351
- ACL?: ObjectCannedACL | string;
351
+ ACL?: ObjectCannedACL;
352
352
  Bucket: string | undefined;
353
353
  CacheControl?: string;
354
354
  ContentDisposition?: string;
@@ -362,8 +362,8 @@ export interface CreateMultipartUploadRequest {
362
362
  GrantWriteACP?: string;
363
363
  Key: string | undefined;
364
364
  Metadata?: Record<string, string>;
365
- ServerSideEncryption?: ServerSideEncryption | string;
366
- StorageClass?: StorageClass | string;
365
+ ServerSideEncryption?: ServerSideEncryption;
366
+ StorageClass?: StorageClass;
367
367
  WebsiteRedirectLocation?: string;
368
368
  SSECustomerAlgorithm?: string;
369
369
  SSECustomerKey?: string;
@@ -371,13 +371,13 @@ export interface CreateMultipartUploadRequest {
371
371
  SSEKMSKeyId?: string;
372
372
  SSEKMSEncryptionContext?: string;
373
373
  BucketKeyEnabled?: boolean;
374
- RequestPayer?: RequestPayer | string;
374
+ RequestPayer?: RequestPayer;
375
375
  Tagging?: string;
376
- ObjectLockMode?: ObjectLockMode | string;
376
+ ObjectLockMode?: ObjectLockMode;
377
377
  ObjectLockRetainUntilDate?: Date;
378
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
378
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
379
379
  ExpectedBucketOwner?: string;
380
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
380
+ ChecksumAlgorithm?: ChecksumAlgorithm;
381
381
  }
382
382
  export interface DeleteBucketRequest {
383
383
  Bucket: string | undefined;
@@ -437,14 +437,14 @@ export interface DeleteBucketWebsiteRequest {
437
437
  export interface DeleteObjectOutput {
438
438
  DeleteMarker?: boolean;
439
439
  VersionId?: string;
440
- RequestCharged?: RequestCharged | string;
440
+ RequestCharged?: RequestCharged;
441
441
  }
442
442
  export interface DeleteObjectRequest {
443
443
  Bucket: string | undefined;
444
444
  Key: string | undefined;
445
445
  MFA?: string;
446
446
  VersionId?: string;
447
- RequestPayer?: RequestPayer | string;
447
+ RequestPayer?: RequestPayer;
448
448
  BypassGovernanceRetention?: boolean;
449
449
  ExpectedBucketOwner?: string;
450
450
  }
@@ -462,7 +462,7 @@ export interface _Error {
462
462
  }
463
463
  export interface DeleteObjectsOutput {
464
464
  Deleted?: DeletedObject[];
465
- RequestCharged?: RequestCharged | string;
465
+ RequestCharged?: RequestCharged;
466
466
  Errors?: _Error[];
467
467
  }
468
468
  export interface ObjectIdentifier {
@@ -477,10 +477,10 @@ export interface DeleteObjectsRequest {
477
477
  Bucket: string | undefined;
478
478
  Delete: Delete | undefined;
479
479
  MFA?: string;
480
- RequestPayer?: RequestPayer | string;
480
+ RequestPayer?: RequestPayer;
481
481
  BypassGovernanceRetention?: boolean;
482
482
  ExpectedBucketOwner?: string;
483
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
483
+ ChecksumAlgorithm?: ChecksumAlgorithm;
484
484
  }
485
485
  export interface DeleteObjectTaggingOutput {
486
486
  VersionId?: string;
@@ -496,13 +496,13 @@ export interface DeletePublicAccessBlockRequest {
496
496
  ExpectedBucketOwner?: string;
497
497
  }
498
498
  export interface GetBucketAccelerateConfigurationOutput {
499
- Status?: BucketAccelerateStatus | string;
500
- RequestCharged?: RequestCharged | string;
499
+ Status?: BucketAccelerateStatus;
500
+ RequestCharged?: RequestCharged;
501
501
  }
502
502
  export interface GetBucketAccelerateConfigurationRequest {
503
503
  Bucket: string | undefined;
504
504
  ExpectedBucketOwner?: string;
505
- RequestPayer?: RequestPayer | string;
505
+ RequestPayer?: RequestPayer;
506
506
  }
507
507
  export interface GetBucketAclOutput {
508
508
  Owner?: Owner;
@@ -564,7 +564,7 @@ export declare const AnalyticsS3ExportFileFormat: {
564
564
  export type AnalyticsS3ExportFileFormat =
565
565
  (typeof AnalyticsS3ExportFileFormat)[keyof typeof AnalyticsS3ExportFileFormat];
566
566
  export interface AnalyticsS3BucketDestination {
567
- Format: AnalyticsS3ExportFileFormat | string | undefined;
567
+ Format: AnalyticsS3ExportFileFormat | undefined;
568
568
  BucketAccountId?: string;
569
569
  Bucket: string | undefined;
570
570
  Prefix?: string;
@@ -578,7 +578,7 @@ export declare const StorageClassAnalysisSchemaVersion: {
578
578
  export type StorageClassAnalysisSchemaVersion =
579
579
  (typeof StorageClassAnalysisSchemaVersion)[keyof typeof StorageClassAnalysisSchemaVersion];
580
580
  export interface StorageClassAnalysisDataExport {
581
- OutputSchemaVersion: StorageClassAnalysisSchemaVersion | string | undefined;
581
+ OutputSchemaVersion: StorageClassAnalysisSchemaVersion | undefined;
582
582
  Destination: AnalyticsExportDestination | undefined;
583
583
  }
584
584
  export interface StorageClassAnalysis {
@@ -613,7 +613,7 @@ export interface GetBucketCorsRequest {
613
613
  ExpectedBucketOwner?: string;
614
614
  }
615
615
  export interface ServerSideEncryptionByDefault {
616
- SSEAlgorithm: ServerSideEncryption | string | undefined;
616
+ SSEAlgorithm: ServerSideEncryption | undefined;
617
617
  KMSMasterKeyID?: string;
618
618
  }
619
619
  export interface ServerSideEncryptionRule {
@@ -653,12 +653,12 @@ export type IntelligentTieringAccessTier =
653
653
  (typeof IntelligentTieringAccessTier)[keyof typeof IntelligentTieringAccessTier];
654
654
  export interface Tiering {
655
655
  Days: number | undefined;
656
- AccessTier: IntelligentTieringAccessTier | string | undefined;
656
+ AccessTier: IntelligentTieringAccessTier | undefined;
657
657
  }
658
658
  export interface IntelligentTieringConfiguration {
659
659
  Id: string | undefined;
660
660
  Filter?: IntelligentTieringFilter;
661
- Status: IntelligentTieringStatus | string | undefined;
661
+ Status: IntelligentTieringStatus | undefined;
662
662
  Tierings: Tiering[] | undefined;
663
663
  }
664
664
  export interface GetBucketIntelligentTieringConfigurationOutput {
@@ -686,7 +686,7 @@ export type InventoryFormat =
686
686
  export interface InventoryS3BucketDestination {
687
687
  AccountId?: string;
688
688
  Bucket: string | undefined;
689
- Format: InventoryFormat | string | undefined;
689
+ Format: InventoryFormat | undefined;
690
690
  Prefix?: string;
691
691
  Encryption?: InventoryEncryption;
692
692
  }
@@ -728,15 +728,15 @@ export declare const InventoryFrequency: {
728
728
  export type InventoryFrequency =
729
729
  (typeof InventoryFrequency)[keyof typeof InventoryFrequency];
730
730
  export interface InventorySchedule {
731
- Frequency: InventoryFrequency | string | undefined;
731
+ Frequency: InventoryFrequency | undefined;
732
732
  }
733
733
  export interface InventoryConfiguration {
734
734
  Destination: InventoryDestination | undefined;
735
735
  IsEnabled: boolean | undefined;
736
736
  Filter?: InventoryFilter;
737
737
  Id: string | undefined;
738
- IncludedObjectVersions: InventoryIncludedObjectVersions | string | undefined;
739
- OptionalFields?: (InventoryOptionalField | string)[];
738
+ IncludedObjectVersions: InventoryIncludedObjectVersions | undefined;
739
+ OptionalFields?: InventoryOptionalField[];
740
740
  Schedule: InventorySchedule | undefined;
741
741
  }
742
742
  export interface GetBucketInventoryConfigurationOutput {
@@ -840,7 +840,7 @@ export type TransitionStorageClass =
840
840
  (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass];
841
841
  export interface NoncurrentVersionTransition {
842
842
  NoncurrentDays?: number;
843
- StorageClass?: TransitionStorageClass | string;
843
+ StorageClass?: TransitionStorageClass;
844
844
  NewerNoncurrentVersions?: number;
845
845
  }
846
846
  export declare const ExpirationStatus: {
@@ -852,14 +852,14 @@ export type ExpirationStatus =
852
852
  export interface Transition {
853
853
  Date?: Date;
854
854
  Days?: number;
855
- StorageClass?: TransitionStorageClass | string;
855
+ StorageClass?: TransitionStorageClass;
856
856
  }
857
857
  export interface LifecycleRule {
858
858
  Expiration?: LifecycleExpiration;
859
859
  ID?: string;
860
860
  Prefix?: string;
861
861
  Filter?: LifecycleRuleFilter;
862
- Status: ExpirationStatus | string | undefined;
862
+ Status: ExpirationStatus | undefined;
863
863
  Transitions?: Transition[];
864
864
  NoncurrentVersionTransitions?: NoncurrentVersionTransition[];
865
865
  NoncurrentVersionExpiration?: NoncurrentVersionExpiration;
@@ -873,7 +873,7 @@ export interface GetBucketLifecycleConfigurationRequest {
873
873
  ExpectedBucketOwner?: string;
874
874
  }
875
875
  export interface GetBucketLocationOutput {
876
- LocationConstraint?: BucketLocationConstraint | string;
876
+ LocationConstraint?: BucketLocationConstraint;
877
877
  }
878
878
  export interface GetBucketLocationRequest {
879
879
  Bucket: string | undefined;
@@ -888,7 +888,7 @@ export type BucketLogsPermission =
888
888
  (typeof BucketLogsPermission)[keyof typeof BucketLogsPermission];
889
889
  export interface TargetGrant {
890
890
  Grantee?: Grantee;
891
- Permission?: BucketLogsPermission | string;
891
+ Permission?: BucketLogsPermission;
892
892
  }
893
893
  export interface LoggingEnabled {
894
894
  TargetBucket: string | undefined;
@@ -1012,7 +1012,7 @@ export declare const FilterRuleName: {
1012
1012
  export type FilterRuleName =
1013
1013
  (typeof FilterRuleName)[keyof typeof FilterRuleName];
1014
1014
  export interface FilterRule {
1015
- Name?: FilterRuleName | string;
1015
+ Name?: FilterRuleName;
1016
1016
  Value?: string;
1017
1017
  }
1018
1018
  export interface S3KeyFilter {
@@ -1024,19 +1024,19 @@ export interface NotificationConfigurationFilter {
1024
1024
  export interface LambdaFunctionConfiguration {
1025
1025
  Id?: string;
1026
1026
  LambdaFunctionArn: string | undefined;
1027
- Events: (Event | string)[] | undefined;
1027
+ Events: Event[] | undefined;
1028
1028
  Filter?: NotificationConfigurationFilter;
1029
1029
  }
1030
1030
  export interface QueueConfiguration {
1031
1031
  Id?: string;
1032
1032
  QueueArn: string | undefined;
1033
- Events: (Event | string)[] | undefined;
1033
+ Events: Event[] | undefined;
1034
1034
  Filter?: NotificationConfigurationFilter;
1035
1035
  }
1036
1036
  export interface TopicConfiguration {
1037
1037
  Id?: string;
1038
1038
  TopicArn: string | undefined;
1039
- Events: (Event | string)[] | undefined;
1039
+ Events: Event[] | undefined;
1040
1040
  Filter?: NotificationConfigurationFilter;
1041
1041
  }
1042
1042
  export interface NotificationConfiguration {
@@ -1046,7 +1046,7 @@ export interface NotificationConfiguration {
1046
1046
  EventBridgeConfiguration?: EventBridgeConfiguration;
1047
1047
  }
1048
1048
  export interface OwnershipControlsRule {
1049
- ObjectOwnership: ObjectOwnership | string | undefined;
1049
+ ObjectOwnership: ObjectOwnership | undefined;
1050
1050
  }
1051
1051
  export interface OwnershipControls {
1052
1052
  Rules: OwnershipControlsRule[] | undefined;
@@ -1082,7 +1082,7 @@ export declare const DeleteMarkerReplicationStatus: {
1082
1082
  export type DeleteMarkerReplicationStatus =
1083
1083
  (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus];
1084
1084
  export interface DeleteMarkerReplication {
1085
- Status?: DeleteMarkerReplicationStatus | string;
1085
+ Status?: DeleteMarkerReplicationStatus;
1086
1086
  }
1087
1087
  export interface EncryptionConfiguration {
1088
1088
  ReplicaKmsKeyID?: string;
@@ -1096,7 +1096,7 @@ export declare const MetricsStatus: {
1096
1096
  };
1097
1097
  export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus];
1098
1098
  export interface Metrics {
1099
- Status: MetricsStatus | string | undefined;
1099
+ Status: MetricsStatus | undefined;
1100
1100
  EventThreshold?: ReplicationTimeValue;
1101
1101
  }
1102
1102
  export declare const ReplicationTimeStatus: {
@@ -1106,13 +1106,13 @@ export declare const ReplicationTimeStatus: {
1106
1106
  export type ReplicationTimeStatus =
1107
1107
  (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus];
1108
1108
  export interface ReplicationTime {
1109
- Status: ReplicationTimeStatus | string | undefined;
1109
+ Status: ReplicationTimeStatus | undefined;
1110
1110
  Time: ReplicationTimeValue | undefined;
1111
1111
  }
1112
1112
  export interface Destination {
1113
1113
  Bucket: string | undefined;
1114
1114
  Account?: string;
1115
- StorageClass?: StorageClass | string;
1115
+ StorageClass?: StorageClass;
1116
1116
  AccessControlTranslation?: AccessControlTranslation;
1117
1117
  EncryptionConfiguration?: EncryptionConfiguration;
1118
1118
  ReplicationTime?: ReplicationTime;
@@ -1125,7 +1125,7 @@ export declare const ExistingObjectReplicationStatus: {
1125
1125
  export type ExistingObjectReplicationStatus =
1126
1126
  (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus];
1127
1127
  export interface ExistingObjectReplication {
1128
- Status: ExistingObjectReplicationStatus | string | undefined;
1128
+ Status: ExistingObjectReplicationStatus | undefined;
1129
1129
  }
1130
1130
  export interface ReplicationRuleAndOperator {
1131
1131
  Prefix?: string;
@@ -1176,7 +1176,7 @@ export declare const ReplicaModificationsStatus: {
1176
1176
  export type ReplicaModificationsStatus =
1177
1177
  (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus];
1178
1178
  export interface ReplicaModifications {
1179
- Status: ReplicaModificationsStatus | string | undefined;
1179
+ Status: ReplicaModificationsStatus | undefined;
1180
1180
  }
1181
1181
  export declare const SseKmsEncryptedObjectsStatus: {
1182
1182
  readonly Disabled: "Disabled";
@@ -1185,7 +1185,7 @@ export declare const SseKmsEncryptedObjectsStatus: {
1185
1185
  export type SseKmsEncryptedObjectsStatus =
1186
1186
  (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus];
1187
1187
  export interface SseKmsEncryptedObjects {
1188
- Status: SseKmsEncryptedObjectsStatus | string | undefined;
1188
+ Status: SseKmsEncryptedObjectsStatus | undefined;
1189
1189
  }
1190
1190
  export interface SourceSelectionCriteria {
1191
1191
  SseKmsEncryptedObjects?: SseKmsEncryptedObjects;
@@ -1202,7 +1202,7 @@ export interface ReplicationRule {
1202
1202
  Priority?: number;
1203
1203
  Prefix?: string;
1204
1204
  Filter?: ReplicationRuleFilter;
1205
- Status: ReplicationRuleStatus | string | undefined;
1205
+ Status: ReplicationRuleStatus | undefined;
1206
1206
  SourceSelectionCriteria?: SourceSelectionCriteria;
1207
1207
  ExistingObjectReplication?: ExistingObjectReplication;
1208
1208
  Destination: Destination | undefined;
@@ -1225,7 +1225,7 @@ export declare const Payer: {
1225
1225
  };
1226
1226
  export type Payer = (typeof Payer)[keyof typeof Payer];
1227
1227
  export interface GetBucketRequestPaymentOutput {
1228
- Payer?: Payer | string;
1228
+ Payer?: Payer;
1229
1229
  }
1230
1230
  export interface GetBucketRequestPaymentRequest {
1231
1231
  Bucket: string | undefined;
@@ -1251,8 +1251,8 @@ export declare const BucketVersioningStatus: {
1251
1251
  export type BucketVersioningStatus =
1252
1252
  (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
1253
1253
  export interface GetBucketVersioningOutput {
1254
- Status?: BucketVersioningStatus | string;
1255
- MFADelete?: MFADeleteStatus | string;
1254
+ Status?: BucketVersioningStatus;
1255
+ MFADelete?: MFADeleteStatus;
1256
1256
  }
1257
1257
  export interface GetBucketVersioningRequest {
1258
1258
  Bucket: string | undefined;
@@ -1271,7 +1271,7 @@ export declare const Protocol: {
1271
1271
  export type Protocol = (typeof Protocol)[keyof typeof Protocol];
1272
1272
  export interface RedirectAllRequestsTo {
1273
1273
  HostName: string | undefined;
1274
- Protocol?: Protocol | string;
1274
+ Protocol?: Protocol;
1275
1275
  }
1276
1276
  export interface Condition {
1277
1277
  HttpErrorCodeReturnedEquals?: string;
@@ -1280,7 +1280,7 @@ export interface Condition {
1280
1280
  export interface Redirect {
1281
1281
  HostName?: string;
1282
1282
  HttpRedirectCode?: string;
1283
- Protocol?: Protocol | string;
1283
+ Protocol?: Protocol;
1284
1284
  ReplaceKeyPrefixWith?: string;
1285
1285
  ReplaceKeyWith?: string;
1286
1286
  }
@@ -1330,20 +1330,20 @@ export interface GetObjectOutput {
1330
1330
  ContentType?: string;
1331
1331
  Expires?: Date;
1332
1332
  WebsiteRedirectLocation?: string;
1333
- ServerSideEncryption?: ServerSideEncryption | string;
1333
+ ServerSideEncryption?: ServerSideEncryption;
1334
1334
  Metadata?: Record<string, string>;
1335
1335
  SSECustomerAlgorithm?: string;
1336
1336
  SSECustomerKeyMD5?: string;
1337
1337
  SSEKMSKeyId?: string;
1338
1338
  BucketKeyEnabled?: boolean;
1339
- StorageClass?: StorageClass | string;
1340
- RequestCharged?: RequestCharged | string;
1341
- ReplicationStatus?: ReplicationStatus | string;
1339
+ StorageClass?: StorageClass;
1340
+ RequestCharged?: RequestCharged;
1341
+ ReplicationStatus?: ReplicationStatus;
1342
1342
  PartsCount?: number;
1343
1343
  TagCount?: number;
1344
- ObjectLockMode?: ObjectLockMode | string;
1344
+ ObjectLockMode?: ObjectLockMode;
1345
1345
  ObjectLockRetainUntilDate?: Date;
1346
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1346
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1347
1347
  }
1348
1348
  export declare const ChecksumMode: {
1349
1349
  readonly ENABLED: "ENABLED";
@@ -1367,16 +1367,16 @@ export interface GetObjectRequest {
1367
1367
  SSECustomerAlgorithm?: string;
1368
1368
  SSECustomerKey?: string;
1369
1369
  SSECustomerKeyMD5?: string;
1370
- RequestPayer?: RequestPayer | string;
1370
+ RequestPayer?: RequestPayer;
1371
1371
  PartNumber?: number;
1372
1372
  ExpectedBucketOwner?: string;
1373
- ChecksumMode?: ChecksumMode | string;
1373
+ ChecksumMode?: ChecksumMode;
1374
1374
  }
1375
1375
  export declare class InvalidObjectState extends __BaseException {
1376
1376
  readonly name: "InvalidObjectState";
1377
1377
  readonly $fault: "client";
1378
- StorageClass?: StorageClass | string;
1379
- AccessTier?: IntelligentTieringAccessTier | string;
1378
+ StorageClass?: StorageClass;
1379
+ AccessTier?: IntelligentTieringAccessTier;
1380
1380
  constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
1381
1381
  }
1382
1382
  export declare class NoSuchKey extends __BaseException {
@@ -1387,13 +1387,13 @@ export declare class NoSuchKey extends __BaseException {
1387
1387
  export interface GetObjectAclOutput {
1388
1388
  Owner?: Owner;
1389
1389
  Grants?: Grant[];
1390
- RequestCharged?: RequestCharged | string;
1390
+ RequestCharged?: RequestCharged;
1391
1391
  }
1392
1392
  export interface GetObjectAclRequest {
1393
1393
  Bucket: string | undefined;
1394
1394
  Key: string | undefined;
1395
1395
  VersionId?: string;
1396
- RequestPayer?: RequestPayer | string;
1396
+ RequestPayer?: RequestPayer;
1397
1397
  ExpectedBucketOwner?: string;
1398
1398
  }
1399
1399
  export interface Checksum {
@@ -1422,11 +1422,11 @@ export interface GetObjectAttributesOutput {
1422
1422
  DeleteMarker?: boolean;
1423
1423
  LastModified?: Date;
1424
1424
  VersionId?: string;
1425
- RequestCharged?: RequestCharged | string;
1425
+ RequestCharged?: RequestCharged;
1426
1426
  ETag?: string;
1427
1427
  Checksum?: Checksum;
1428
1428
  ObjectParts?: GetObjectAttributesParts;
1429
- StorageClass?: StorageClass | string;
1429
+ StorageClass?: StorageClass;
1430
1430
  ObjectSize?: number;
1431
1431
  }
1432
1432
  export declare const ObjectAttributes: {
@@ -1447,12 +1447,12 @@ export interface GetObjectAttributesRequest {
1447
1447
  SSECustomerAlgorithm?: string;
1448
1448
  SSECustomerKey?: string;
1449
1449
  SSECustomerKeyMD5?: string;
1450
- RequestPayer?: RequestPayer | string;
1450
+ RequestPayer?: RequestPayer;
1451
1451
  ExpectedBucketOwner?: string;
1452
- ObjectAttributes: (ObjectAttributes | string)[] | undefined;
1452
+ ObjectAttributes: ObjectAttributes[] | undefined;
1453
1453
  }
1454
1454
  export interface ObjectLockLegalHold {
1455
- Status?: ObjectLockLegalHoldStatus | string;
1455
+ Status?: ObjectLockLegalHoldStatus;
1456
1456
  }
1457
1457
  export interface GetObjectLegalHoldOutput {
1458
1458
  LegalHold?: ObjectLockLegalHold;
@@ -1461,7 +1461,7 @@ export interface GetObjectLegalHoldRequest {
1461
1461
  Bucket: string | undefined;
1462
1462
  Key: string | undefined;
1463
1463
  VersionId?: string;
1464
- RequestPayer?: RequestPayer | string;
1464
+ RequestPayer?: RequestPayer;
1465
1465
  ExpectedBucketOwner?: string;
1466
1466
  }
1467
1467
  export declare const ObjectLockEnabled: {
@@ -1476,7 +1476,7 @@ export declare const ObjectLockRetentionMode: {
1476
1476
  export type ObjectLockRetentionMode =
1477
1477
  (typeof ObjectLockRetentionMode)[keyof typeof ObjectLockRetentionMode];
1478
1478
  export interface DefaultRetention {
1479
- Mode?: ObjectLockRetentionMode | string;
1479
+ Mode?: ObjectLockRetentionMode;
1480
1480
  Days?: number;
1481
1481
  Years?: number;
1482
1482
  }
@@ -1484,7 +1484,7 @@ export interface ObjectLockRule {
1484
1484
  DefaultRetention?: DefaultRetention;
1485
1485
  }
1486
1486
  export interface ObjectLockConfiguration {
1487
- ObjectLockEnabled?: ObjectLockEnabled | string;
1487
+ ObjectLockEnabled?: ObjectLockEnabled;
1488
1488
  Rule?: ObjectLockRule;
1489
1489
  }
1490
1490
  export interface GetObjectLockConfigurationOutput {
@@ -1495,7 +1495,7 @@ export interface GetObjectLockConfigurationRequest {
1495
1495
  ExpectedBucketOwner?: string;
1496
1496
  }
1497
1497
  export interface ObjectLockRetention {
1498
- Mode?: ObjectLockRetentionMode | string;
1498
+ Mode?: ObjectLockRetentionMode;
1499
1499
  RetainUntilDate?: Date;
1500
1500
  }
1501
1501
  export interface GetObjectRetentionOutput {
@@ -1505,7 +1505,7 @@ export interface GetObjectRetentionRequest {
1505
1505
  Bucket: string | undefined;
1506
1506
  Key: string | undefined;
1507
1507
  VersionId?: string;
1508
- RequestPayer?: RequestPayer | string;
1508
+ RequestPayer?: RequestPayer;
1509
1509
  ExpectedBucketOwner?: string;
1510
1510
  }
1511
1511
  export interface GetObjectTaggingOutput {
@@ -1517,16 +1517,16 @@ export interface GetObjectTaggingRequest {
1517
1517
  Key: string | undefined;
1518
1518
  VersionId?: string;
1519
1519
  ExpectedBucketOwner?: string;
1520
- RequestPayer?: RequestPayer | string;
1520
+ RequestPayer?: RequestPayer;
1521
1521
  }
1522
1522
  export interface GetObjectTorrentOutput {
1523
1523
  Body?: StreamingBlobTypes;
1524
- RequestCharged?: RequestCharged | string;
1524
+ RequestCharged?: RequestCharged;
1525
1525
  }
1526
1526
  export interface GetObjectTorrentRequest {
1527
1527
  Bucket: string | undefined;
1528
1528
  Key: string | undefined;
1529
- RequestPayer?: RequestPayer | string;
1529
+ RequestPayer?: RequestPayer;
1530
1530
  ExpectedBucketOwner?: string;
1531
1531
  }
1532
1532
  export interface PublicAccessBlockConfiguration {
@@ -1561,7 +1561,7 @@ export interface HeadObjectOutput {
1561
1561
  AcceptRanges?: string;
1562
1562
  Expiration?: string;
1563
1563
  Restore?: string;
1564
- ArchiveStatus?: ArchiveStatus | string;
1564
+ ArchiveStatus?: ArchiveStatus;
1565
1565
  LastModified?: Date;
1566
1566
  ContentLength?: number;
1567
1567
  ChecksumCRC32?: string;
@@ -1578,19 +1578,19 @@ export interface HeadObjectOutput {
1578
1578
  ContentType?: string;
1579
1579
  Expires?: Date;
1580
1580
  WebsiteRedirectLocation?: string;
1581
- ServerSideEncryption?: ServerSideEncryption | string;
1581
+ ServerSideEncryption?: ServerSideEncryption;
1582
1582
  Metadata?: Record<string, string>;
1583
1583
  SSECustomerAlgorithm?: string;
1584
1584
  SSECustomerKeyMD5?: string;
1585
1585
  SSEKMSKeyId?: string;
1586
1586
  BucketKeyEnabled?: boolean;
1587
- StorageClass?: StorageClass | string;
1588
- RequestCharged?: RequestCharged | string;
1589
- ReplicationStatus?: ReplicationStatus | string;
1587
+ StorageClass?: StorageClass;
1588
+ RequestCharged?: RequestCharged;
1589
+ ReplicationStatus?: ReplicationStatus;
1590
1590
  PartsCount?: number;
1591
- ObjectLockMode?: ObjectLockMode | string;
1591
+ ObjectLockMode?: ObjectLockMode;
1592
1592
  ObjectLockRetainUntilDate?: Date;
1593
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1593
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1594
1594
  }
1595
1595
  export interface HeadObjectRequest {
1596
1596
  Bucket: string | undefined;
@@ -1604,10 +1604,10 @@ export interface HeadObjectRequest {
1604
1604
  SSECustomerAlgorithm?: string;
1605
1605
  SSECustomerKey?: string;
1606
1606
  SSECustomerKeyMD5?: string;
1607
- RequestPayer?: RequestPayer | string;
1607
+ RequestPayer?: RequestPayer;
1608
1608
  PartNumber?: number;
1609
1609
  ExpectedBucketOwner?: string;
1610
- ChecksumMode?: ChecksumMode | string;
1610
+ ChecksumMode?: ChecksumMode;
1611
1611
  }
1612
1612
  export interface ListBucketAnalyticsConfigurationsOutput {
1613
1613
  IsTruncated?: boolean;
@@ -1675,10 +1675,10 @@ export interface MultipartUpload {
1675
1675
  UploadId?: string;
1676
1676
  Key?: string;
1677
1677
  Initiated?: Date;
1678
- StorageClass?: StorageClass | string;
1678
+ StorageClass?: StorageClass;
1679
1679
  Owner?: Owner;
1680
1680
  Initiator?: Initiator;
1681
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1681
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1682
1682
  }
1683
1683
  export interface ListMultipartUploadsOutput {
1684
1684
  Bucket?: string;
@@ -1692,19 +1692,19 @@ export interface ListMultipartUploadsOutput {
1692
1692
  IsTruncated?: boolean;
1693
1693
  Uploads?: MultipartUpload[];
1694
1694
  CommonPrefixes?: CommonPrefix[];
1695
- EncodingType?: EncodingType | string;
1696
- RequestCharged?: RequestCharged | string;
1695
+ EncodingType?: EncodingType;
1696
+ RequestCharged?: RequestCharged;
1697
1697
  }
1698
1698
  export interface ListMultipartUploadsRequest {
1699
1699
  Bucket: string | undefined;
1700
1700
  Delimiter?: string;
1701
- EncodingType?: EncodingType | string;
1701
+ EncodingType?: EncodingType;
1702
1702
  KeyMarker?: string;
1703
1703
  MaxUploads?: number;
1704
1704
  Prefix?: string;
1705
1705
  UploadIdMarker?: string;
1706
1706
  ExpectedBucketOwner?: string;
1707
- RequestPayer?: RequestPayer | string;
1707
+ RequestPayer?: RequestPayer;
1708
1708
  }
1709
1709
  export interface RestoreStatus {
1710
1710
  IsRestoreInProgress?: boolean;
@@ -1728,9 +1728,9 @@ export interface _Object {
1728
1728
  Key?: string;
1729
1729
  LastModified?: Date;
1730
1730
  ETag?: string;
1731
- ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
1731
+ ChecksumAlgorithm?: ChecksumAlgorithm[];
1732
1732
  Size?: number;
1733
- StorageClass?: ObjectStorageClass | string;
1733
+ StorageClass?: ObjectStorageClass;
1734
1734
  Owner?: Owner;
1735
1735
  RestoreStatus?: RestoreStatus;
1736
1736
  }
@@ -1744,8 +1744,8 @@ export interface ListObjectsOutput {
1744
1744
  Delimiter?: string;
1745
1745
  MaxKeys?: number;
1746
1746
  CommonPrefixes?: CommonPrefix[];
1747
- EncodingType?: EncodingType | string;
1748
- RequestCharged?: RequestCharged | string;
1747
+ EncodingType?: EncodingType;
1748
+ RequestCharged?: RequestCharged;
1749
1749
  }
1750
1750
  export declare const OptionalObjectAttributes: {
1751
1751
  readonly RESTORE_STATUS: "RestoreStatus";
@@ -1755,13 +1755,13 @@ export type OptionalObjectAttributes =
1755
1755
  export interface ListObjectsRequest {
1756
1756
  Bucket: string | undefined;
1757
1757
  Delimiter?: string;
1758
- EncodingType?: EncodingType | string;
1758
+ EncodingType?: EncodingType;
1759
1759
  Marker?: string;
1760
1760
  MaxKeys?: number;
1761
1761
  Prefix?: string;
1762
- RequestPayer?: RequestPayer | string;
1762
+ RequestPayer?: RequestPayer;
1763
1763
  ExpectedBucketOwner?: string;
1764
- OptionalObjectAttributes?: (OptionalObjectAttributes | string)[];
1764
+ OptionalObjectAttributes?: OptionalObjectAttributes[];
1765
1765
  }
1766
1766
  export declare class NoSuchBucket extends __BaseException {
1767
1767
  readonly name: "NoSuchBucket";
@@ -1776,25 +1776,25 @@ export interface ListObjectsV2Output {
1776
1776
  Delimiter?: string;
1777
1777
  MaxKeys?: number;
1778
1778
  CommonPrefixes?: CommonPrefix[];
1779
- EncodingType?: EncodingType | string;
1779
+ EncodingType?: EncodingType;
1780
1780
  KeyCount?: number;
1781
1781
  ContinuationToken?: string;
1782
1782
  NextContinuationToken?: string;
1783
1783
  StartAfter?: string;
1784
- RequestCharged?: RequestCharged | string;
1784
+ RequestCharged?: RequestCharged;
1785
1785
  }
1786
1786
  export interface ListObjectsV2Request {
1787
1787
  Bucket: string | undefined;
1788
1788
  Delimiter?: string;
1789
- EncodingType?: EncodingType | string;
1789
+ EncodingType?: EncodingType;
1790
1790
  MaxKeys?: number;
1791
1791
  Prefix?: string;
1792
1792
  ContinuationToken?: string;
1793
1793
  FetchOwner?: boolean;
1794
1794
  StartAfter?: string;
1795
- RequestPayer?: RequestPayer | string;
1795
+ RequestPayer?: RequestPayer;
1796
1796
  ExpectedBucketOwner?: string;
1797
- OptionalObjectAttributes?: (OptionalObjectAttributes | string)[];
1797
+ OptionalObjectAttributes?: OptionalObjectAttributes[];
1798
1798
  }
1799
1799
  export interface DeleteMarkerEntry {
1800
1800
  Owner?: Owner;
@@ -1810,9 +1810,9 @@ export type ObjectVersionStorageClass =
1810
1810
  (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
1811
1811
  export interface ObjectVersion {
1812
1812
  ETag?: string;
1813
- ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
1813
+ ChecksumAlgorithm?: ChecksumAlgorithm[];
1814
1814
  Size?: number;
1815
- StorageClass?: ObjectVersionStorageClass | string;
1815
+ StorageClass?: ObjectVersionStorageClass;
1816
1816
  Key?: string;
1817
1817
  VersionId?: string;
1818
1818
  IsLatest?: boolean;
@@ -1833,20 +1833,20 @@ export interface ListObjectVersionsOutput {
1833
1833
  Delimiter?: string;
1834
1834
  MaxKeys?: number;
1835
1835
  CommonPrefixes?: CommonPrefix[];
1836
- EncodingType?: EncodingType | string;
1837
- RequestCharged?: RequestCharged | string;
1836
+ EncodingType?: EncodingType;
1837
+ RequestCharged?: RequestCharged;
1838
1838
  }
1839
1839
  export interface ListObjectVersionsRequest {
1840
1840
  Bucket: string | undefined;
1841
1841
  Delimiter?: string;
1842
- EncodingType?: EncodingType | string;
1842
+ EncodingType?: EncodingType;
1843
1843
  KeyMarker?: string;
1844
1844
  MaxKeys?: number;
1845
1845
  Prefix?: string;
1846
1846
  VersionIdMarker?: string;
1847
1847
  ExpectedBucketOwner?: string;
1848
- RequestPayer?: RequestPayer | string;
1849
- OptionalObjectAttributes?: (OptionalObjectAttributes | string)[];
1848
+ RequestPayer?: RequestPayer;
1849
+ OptionalObjectAttributes?: OptionalObjectAttributes[];
1850
1850
  }
1851
1851
  export interface Part {
1852
1852
  PartNumber?: number;
@@ -1871,9 +1871,9 @@ export interface ListPartsOutput {
1871
1871
  Parts?: Part[];
1872
1872
  Initiator?: Initiator;
1873
1873
  Owner?: Owner;
1874
- StorageClass?: StorageClass | string;
1875
- RequestCharged?: RequestCharged | string;
1876
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1874
+ StorageClass?: StorageClass;
1875
+ RequestCharged?: RequestCharged;
1876
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1877
1877
  }
1878
1878
  export interface ListPartsRequest {
1879
1879
  Bucket: string | undefined;
@@ -1881,7 +1881,7 @@ export interface ListPartsRequest {
1881
1881
  MaxParts?: number;
1882
1882
  PartNumberMarker?: string;
1883
1883
  UploadId: string | undefined;
1884
- RequestPayer?: RequestPayer | string;
1884
+ RequestPayer?: RequestPayer;
1885
1885
  ExpectedBucketOwner?: string;
1886
1886
  SSECustomerAlgorithm?: string;
1887
1887
  SSECustomerKey?: string;
@@ -1891,14 +1891,14 @@ export interface PutBucketAccelerateConfigurationRequest {
1891
1891
  Bucket: string | undefined;
1892
1892
  AccelerateConfiguration: AccelerateConfiguration | undefined;
1893
1893
  ExpectedBucketOwner?: string;
1894
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1894
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1895
1895
  }
1896
1896
  export interface PutBucketAclRequest {
1897
- ACL?: BucketCannedACL | string;
1897
+ ACL?: BucketCannedACL;
1898
1898
  AccessControlPolicy?: AccessControlPolicy;
1899
1899
  Bucket: string | undefined;
1900
1900
  ContentMD5?: string;
1901
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1901
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1902
1902
  GrantFullControl?: string;
1903
1903
  GrantRead?: string;
1904
1904
  GrantReadACP?: string;
@@ -1919,13 +1919,13 @@ export interface PutBucketCorsRequest {
1919
1919
  Bucket: string | undefined;
1920
1920
  CORSConfiguration: CORSConfiguration | undefined;
1921
1921
  ContentMD5?: string;
1922
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1922
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1923
1923
  ExpectedBucketOwner?: string;
1924
1924
  }
1925
1925
  export interface PutBucketEncryptionRequest {
1926
1926
  Bucket: string | undefined;
1927
1927
  ContentMD5?: string;
1928
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1928
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1929
1929
  ServerSideEncryptionConfiguration:
1930
1930
  | ServerSideEncryptionConfiguration
1931
1931
  | undefined;
@@ -1947,7 +1947,7 @@ export interface BucketLifecycleConfiguration {
1947
1947
  }
1948
1948
  export interface PutBucketLifecycleConfigurationRequest {
1949
1949
  Bucket: string | undefined;
1950
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1950
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1951
1951
  LifecycleConfiguration?: BucketLifecycleConfiguration;
1952
1952
  ExpectedBucketOwner?: string;
1953
1953
  }
@@ -1958,7 +1958,7 @@ export interface PutBucketLoggingRequest {
1958
1958
  Bucket: string | undefined;
1959
1959
  BucketLoggingStatus: BucketLoggingStatus | undefined;
1960
1960
  ContentMD5?: string;
1961
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1961
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1962
1962
  ExpectedBucketOwner?: string;
1963
1963
  }
1964
1964
  export interface PutBucketMetricsConfigurationRequest {
@@ -1982,7 +1982,7 @@ export interface PutBucketOwnershipControlsRequest {
1982
1982
  export interface PutBucketPolicyRequest {
1983
1983
  Bucket: string | undefined;
1984
1984
  ContentMD5?: string;
1985
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1985
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1986
1986
  ConfirmRemoveSelfBucketAccess?: boolean;
1987
1987
  Policy: string | undefined;
1988
1988
  ExpectedBucketOwner?: string;
@@ -1990,18 +1990,18 @@ export interface PutBucketPolicyRequest {
1990
1990
  export interface PutBucketReplicationRequest {
1991
1991
  Bucket: string | undefined;
1992
1992
  ContentMD5?: string;
1993
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1993
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1994
1994
  ReplicationConfiguration: ReplicationConfiguration | undefined;
1995
1995
  Token?: string;
1996
1996
  ExpectedBucketOwner?: string;
1997
1997
  }
1998
1998
  export interface RequestPaymentConfiguration {
1999
- Payer: Payer | string | undefined;
1999
+ Payer: Payer | undefined;
2000
2000
  }
2001
2001
  export interface PutBucketRequestPaymentRequest {
2002
2002
  Bucket: string | undefined;
2003
2003
  ContentMD5?: string;
2004
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2004
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2005
2005
  RequestPaymentConfiguration: RequestPaymentConfiguration | undefined;
2006
2006
  ExpectedBucketOwner?: string;
2007
2007
  }
@@ -2011,7 +2011,7 @@ export interface Tagging {
2011
2011
  export interface PutBucketTaggingRequest {
2012
2012
  Bucket: string | undefined;
2013
2013
  ContentMD5?: string;
2014
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2014
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2015
2015
  Tagging: Tagging | undefined;
2016
2016
  ExpectedBucketOwner?: string;
2017
2017
  }
@@ -2021,13 +2021,13 @@ export declare const MFADelete: {
2021
2021
  };
2022
2022
  export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
2023
2023
  export interface VersioningConfiguration {
2024
- MFADelete?: MFADelete | string;
2025
- Status?: BucketVersioningStatus | string;
2024
+ MFADelete?: MFADelete;
2025
+ Status?: BucketVersioningStatus;
2026
2026
  }
2027
2027
  export interface PutBucketVersioningRequest {
2028
2028
  Bucket: string | undefined;
2029
2029
  ContentMD5?: string;
2030
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2030
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2031
2031
  MFA?: string;
2032
2032
  VersioningConfiguration: VersioningConfiguration | undefined;
2033
2033
  ExpectedBucketOwner?: string;
@@ -2041,7 +2041,7 @@ export interface WebsiteConfiguration {
2041
2041
  export interface PutBucketWebsiteRequest {
2042
2042
  Bucket: string | undefined;
2043
2043
  ContentMD5?: string;
2044
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2044
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2045
2045
  WebsiteConfiguration: WebsiteConfiguration | undefined;
2046
2046
  ExpectedBucketOwner?: string;
2047
2047
  }
@@ -2052,17 +2052,17 @@ export interface PutObjectOutput {
2052
2052
  ChecksumCRC32C?: string;
2053
2053
  ChecksumSHA1?: string;
2054
2054
  ChecksumSHA256?: string;
2055
- ServerSideEncryption?: ServerSideEncryption | string;
2055
+ ServerSideEncryption?: ServerSideEncryption;
2056
2056
  VersionId?: string;
2057
2057
  SSECustomerAlgorithm?: string;
2058
2058
  SSECustomerKeyMD5?: string;
2059
2059
  SSEKMSKeyId?: string;
2060
2060
  SSEKMSEncryptionContext?: string;
2061
2061
  BucketKeyEnabled?: boolean;
2062
- RequestCharged?: RequestCharged | string;
2062
+ RequestCharged?: RequestCharged;
2063
2063
  }
2064
2064
  export interface PutObjectRequest {
2065
- ACL?: ObjectCannedACL | string;
2065
+ ACL?: ObjectCannedACL;
2066
2066
  Body?: StreamingBlobTypes;
2067
2067
  Bucket: string | undefined;
2068
2068
  CacheControl?: string;
@@ -2072,7 +2072,7 @@ export interface PutObjectRequest {
2072
2072
  ContentLength?: number;
2073
2073
  ContentMD5?: string;
2074
2074
  ContentType?: string;
2075
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2075
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2076
2076
  ChecksumCRC32?: string;
2077
2077
  ChecksumCRC32C?: string;
2078
2078
  ChecksumSHA1?: string;
@@ -2084,8 +2084,8 @@ export interface PutObjectRequest {
2084
2084
  GrantWriteACP?: string;
2085
2085
  Key: string | undefined;
2086
2086
  Metadata?: Record<string, string>;
2087
- ServerSideEncryption?: ServerSideEncryption | string;
2088
- StorageClass?: StorageClass | string;
2087
+ ServerSideEncryption?: ServerSideEncryption;
2088
+ StorageClass?: StorageClass;
2089
2089
  WebsiteRedirectLocation?: string;
2090
2090
  SSECustomerAlgorithm?: string;
2091
2091
  SSECustomerKey?: string;
@@ -2093,43 +2093,43 @@ export interface PutObjectRequest {
2093
2093
  SSEKMSKeyId?: string;
2094
2094
  SSEKMSEncryptionContext?: string;
2095
2095
  BucketKeyEnabled?: boolean;
2096
- RequestPayer?: RequestPayer | string;
2096
+ RequestPayer?: RequestPayer;
2097
2097
  Tagging?: string;
2098
- ObjectLockMode?: ObjectLockMode | string;
2098
+ ObjectLockMode?: ObjectLockMode;
2099
2099
  ObjectLockRetainUntilDate?: Date;
2100
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
2100
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
2101
2101
  ExpectedBucketOwner?: string;
2102
2102
  }
2103
2103
  export interface PutObjectAclOutput {
2104
- RequestCharged?: RequestCharged | string;
2104
+ RequestCharged?: RequestCharged;
2105
2105
  }
2106
2106
  export interface PutObjectAclRequest {
2107
- ACL?: ObjectCannedACL | string;
2107
+ ACL?: ObjectCannedACL;
2108
2108
  AccessControlPolicy?: AccessControlPolicy;
2109
2109
  Bucket: string | undefined;
2110
2110
  ContentMD5?: string;
2111
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2111
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2112
2112
  GrantFullControl?: string;
2113
2113
  GrantRead?: string;
2114
2114
  GrantReadACP?: string;
2115
2115
  GrantWrite?: string;
2116
2116
  GrantWriteACP?: string;
2117
2117
  Key: string | undefined;
2118
- RequestPayer?: RequestPayer | string;
2118
+ RequestPayer?: RequestPayer;
2119
2119
  VersionId?: string;
2120
2120
  ExpectedBucketOwner?: string;
2121
2121
  }
2122
2122
  export interface PutObjectLegalHoldOutput {
2123
- RequestCharged?: RequestCharged | string;
2123
+ RequestCharged?: RequestCharged;
2124
2124
  }
2125
2125
  export interface PutObjectLegalHoldRequest {
2126
2126
  Bucket: string | undefined;
2127
2127
  Key: string | undefined;
2128
2128
  LegalHold?: ObjectLockLegalHold;
2129
- RequestPayer?: RequestPayer | string;
2129
+ RequestPayer?: RequestPayer;
2130
2130
  VersionId?: string;
2131
2131
  ContentMD5?: string;
2132
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
2132
+ ChecksumAlgorithm?: ChecksumAlgorithm;
2133
2133
  ExpectedBucketOwner?: string;
2134
2134
  }
2135
2135
  export declare const CompleteMultipartUploadOutputFilterSensitiveLog: (