@aws-sdk/client-s3 3.427.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.
@@ -36,7 +36,7 @@ export interface AbortMultipartUploadOutput {
36
36
  * <p>If present, indicates that the requester was successfully charged for the
37
37
  * request.</p>
38
38
  */
39
- RequestCharged?: RequestCharged | string;
39
+ RequestCharged?: RequestCharged;
40
40
  }
41
41
  /**
42
42
  * @public
@@ -82,7 +82,7 @@ export interface AbortMultipartUploadRequest {
82
82
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
83
83
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
84
84
  */
85
- RequestPayer?: RequestPayer | string;
85
+ RequestPayer?: RequestPayer;
86
86
  /**
87
87
  * @public
88
88
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -124,7 +124,7 @@ export interface AccelerateConfiguration {
124
124
  * @public
125
125
  * <p>Specifies the transfer acceleration status of the bucket.</p>
126
126
  */
127
- Status?: BucketAccelerateStatus | string;
127
+ Status?: BucketAccelerateStatus;
128
128
  }
129
129
  /**
130
130
  * @public
@@ -198,7 +198,7 @@ export interface Grantee {
198
198
  * @public
199
199
  * <p>Type of grantee</p>
200
200
  */
201
- Type: Type | string | undefined;
201
+ Type: Type | undefined;
202
202
  }
203
203
  /**
204
204
  * @public
@@ -229,7 +229,7 @@ export interface Grant {
229
229
  * @public
230
230
  * <p>Specifies the permission given to the grantee.</p>
231
231
  */
232
- Permission?: Permission | string;
232
+ Permission?: Permission;
233
233
  }
234
234
  /**
235
235
  * @public
@@ -311,7 +311,7 @@ export interface AccessControlTranslation {
311
311
  * <p>Specifies the replica ownership. For default and valid values, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT bucket
312
312
  * replication</a> in the <i>Amazon S3 API Reference</i>.</p>
313
313
  */
314
- Owner: OwnerOverride | string | undefined;
314
+ Owner: OwnerOverride | undefined;
315
315
  }
316
316
  /**
317
317
  * @public
@@ -404,7 +404,7 @@ export interface CompleteMultipartUploadOutput {
404
404
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
405
405
  * <code>AES256</code>, <code>aws:kms</code>).</p>
406
406
  */
407
- ServerSideEncryption?: ServerSideEncryption | string;
407
+ ServerSideEncryption?: ServerSideEncryption;
408
408
  /**
409
409
  * @public
410
410
  * <p>Version ID of the newly created object, in case the bucket has versioning turned
@@ -428,7 +428,7 @@ export interface CompleteMultipartUploadOutput {
428
428
  * <p>If present, indicates that the requester was successfully charged for the
429
429
  * request.</p>
430
430
  */
431
- RequestCharged?: RequestCharged | string;
431
+ RequestCharged?: RequestCharged;
432
432
  }
433
433
  /**
434
434
  * @public
@@ -562,7 +562,7 @@ export interface CompleteMultipartUploadRequest {
562
562
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
563
563
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
564
564
  */
565
- RequestPayer?: RequestPayer | string;
565
+ RequestPayer?: RequestPayer;
566
566
  /**
567
567
  * @public
568
568
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -671,7 +671,7 @@ export interface CopyObjectOutput {
671
671
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
672
672
  * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
673
673
  */
674
- ServerSideEncryption?: ServerSideEncryption | string;
674
+ ServerSideEncryption?: ServerSideEncryption;
675
675
  /**
676
676
  * @public
677
677
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
@@ -709,7 +709,7 @@ export interface CopyObjectOutput {
709
709
  * <p>If present, indicates that the requester was successfully charged for the
710
710
  * request.</p>
711
711
  */
712
- RequestCharged?: RequestCharged | string;
712
+ RequestCharged?: RequestCharged;
713
713
  }
714
714
  /**
715
715
  * @public
@@ -819,7 +819,7 @@ export interface CopyObjectRequest {
819
819
  * <p>The canned ACL to apply to the object.</p>
820
820
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
821
821
  */
822
- ACL?: ObjectCannedACL | string;
822
+ ACL?: ObjectCannedACL;
823
823
  /**
824
824
  * @public
825
825
  * <p>The name of the destination bucket.</p>
@@ -841,7 +841,7 @@ export interface CopyObjectRequest {
841
841
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
842
842
  * the <i>Amazon S3 User Guide</i>.</p>
843
843
  */
844
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
844
+ ChecksumAlgorithm?: ChecksumAlgorithm;
845
845
  /**
846
846
  * @public
847
847
  * <p>Specifies presentational information for the object.</p>
@@ -955,19 +955,19 @@ export interface CopyObjectRequest {
955
955
  * <p>Specifies whether the metadata is copied from the source object or replaced with
956
956
  * metadata provided in the request.</p>
957
957
  */
958
- MetadataDirective?: MetadataDirective | string;
958
+ MetadataDirective?: MetadataDirective;
959
959
  /**
960
960
  * @public
961
961
  * <p>Specifies whether the object tag-set are copied from the source object or replaced with
962
962
  * tag-set provided in the request.</p>
963
963
  */
964
- TaggingDirective?: TaggingDirective | string;
964
+ TaggingDirective?: TaggingDirective;
965
965
  /**
966
966
  * @public
967
967
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
968
968
  * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
969
969
  */
970
- ServerSideEncryption?: ServerSideEncryption | string;
970
+ ServerSideEncryption?: ServerSideEncryption;
971
971
  /**
972
972
  * @public
973
973
  * <p>If the <code>x-amz-storage-class</code> header is not used, the copied object will be stored in the
@@ -977,7 +977,7 @@ export interface CopyObjectRequest {
977
977
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
978
978
  * Classes</a> in the <i>Amazon S3 User Guide</i>.</p>
979
979
  */
980
- StorageClass?: StorageClass | string;
980
+ StorageClass?: StorageClass;
981
981
  /**
982
982
  * @public
983
983
  * <p>If the bucket is configured as a website, redirects requests for this object to another
@@ -1064,7 +1064,7 @@ export interface CopyObjectRequest {
1064
1064
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1065
1065
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1066
1066
  */
1067
- RequestPayer?: RequestPayer | string;
1067
+ RequestPayer?: RequestPayer;
1068
1068
  /**
1069
1069
  * @public
1070
1070
  * <p>The tag-set for the object destination object this value must be used in conjunction
@@ -1076,7 +1076,7 @@ export interface CopyObjectRequest {
1076
1076
  * @public
1077
1077
  * <p>The Object Lock mode that you want to apply to the copied object.</p>
1078
1078
  */
1079
- ObjectLockMode?: ObjectLockMode | string;
1079
+ ObjectLockMode?: ObjectLockMode;
1080
1080
  /**
1081
1081
  * @public
1082
1082
  * <p>The date and time when you want the copied object's Object Lock to expire.</p>
@@ -1086,7 +1086,7 @@ export interface CopyObjectRequest {
1086
1086
  * @public
1087
1087
  * <p>Specifies whether you want to apply a legal hold to the copied object.</p>
1088
1088
  */
1089
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1089
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1090
1090
  /**
1091
1091
  * @public
1092
1092
  * <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -1211,7 +1211,7 @@ export interface CreateBucketConfiguration {
1211
1211
  * <p>Specifies the Region where the bucket will be created. If you don't specify a Region,
1212
1212
  * the bucket is created in the US East (N. Virginia) Region (us-east-1).</p>
1213
1213
  */
1214
- LocationConstraint?: BucketLocationConstraint | string;
1214
+ LocationConstraint?: BucketLocationConstraint;
1215
1215
  }
1216
1216
  /**
1217
1217
  * @public
@@ -1234,7 +1234,7 @@ export interface CreateBucketRequest {
1234
1234
  * @public
1235
1235
  * <p>The canned ACL to apply to the bucket.</p>
1236
1236
  */
1237
- ACL?: BucketCannedACL | string;
1237
+ ACL?: BucketCannedACL;
1238
1238
  /**
1239
1239
  * @public
1240
1240
  * <p>The name of the bucket to create.</p>
@@ -1292,7 +1292,7 @@ export interface CreateBucketRequest {
1292
1292
  * full control ACLs, such as the <code>bucket-owner-full-control</code> canned ACL or an
1293
1293
  * equivalent form of this ACL expressed in the XML format.</p>
1294
1294
  */
1295
- ObjectOwnership?: ObjectOwnership | string;
1295
+ ObjectOwnership?: ObjectOwnership;
1296
1296
  }
1297
1297
  /**
1298
1298
  * @public
@@ -1341,7 +1341,7 @@ export interface CreateMultipartUploadOutput {
1341
1341
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1342
1342
  * <code>AES256</code>, <code>aws:kms</code>).</p>
1343
1343
  */
1344
- ServerSideEncryption?: ServerSideEncryption | string;
1344
+ ServerSideEncryption?: ServerSideEncryption;
1345
1345
  /**
1346
1346
  * @public
1347
1347
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
@@ -1379,12 +1379,12 @@ export interface CreateMultipartUploadOutput {
1379
1379
  * <p>If present, indicates that the requester was successfully charged for the
1380
1380
  * request.</p>
1381
1381
  */
1382
- RequestCharged?: RequestCharged | string;
1382
+ RequestCharged?: RequestCharged;
1383
1383
  /**
1384
1384
  * @public
1385
1385
  * <p>The algorithm that was used to create a checksum of the object.</p>
1386
1386
  */
1387
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1387
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1388
1388
  }
1389
1389
  /**
1390
1390
  * @public
@@ -1395,7 +1395,7 @@ export interface CreateMultipartUploadRequest {
1395
1395
  * <p>The canned ACL to apply to the object.</p>
1396
1396
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
1397
1397
  */
1398
- ACL?: ObjectCannedACL | string;
1398
+ ACL?: ObjectCannedACL;
1399
1399
  /**
1400
1400
  * @public
1401
1401
  * <p>The name of the bucket to which to initiate the upload</p>
@@ -1477,7 +1477,7 @@ export interface CreateMultipartUploadRequest {
1477
1477
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1478
1478
  * <code>AES256</code>, <code>aws:kms</code>).</p>
1479
1479
  */
1480
- ServerSideEncryption?: ServerSideEncryption | string;
1480
+ ServerSideEncryption?: ServerSideEncryption;
1481
1481
  /**
1482
1482
  * @public
1483
1483
  * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The
@@ -1486,7 +1486,7 @@ export interface CreateMultipartUploadRequest {
1486
1486
  * the OUTPOSTS Storage Class. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
1487
1487
  * <i>Amazon S3 User Guide</i>.</p>
1488
1488
  */
1489
- StorageClass?: StorageClass | string;
1489
+ StorageClass?: StorageClass;
1490
1490
  /**
1491
1491
  * @public
1492
1492
  * <p>If the bucket is configured as a website, redirects requests for this object to another
@@ -1550,7 +1550,7 @@ export interface CreateMultipartUploadRequest {
1550
1550
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1551
1551
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1552
1552
  */
1553
- RequestPayer?: RequestPayer | string;
1553
+ RequestPayer?: RequestPayer;
1554
1554
  /**
1555
1555
  * @public
1556
1556
  * <p>The tag-set for the object. The tag-set must be encoded as URL Query parameters.</p>
@@ -1560,7 +1560,7 @@ export interface CreateMultipartUploadRequest {
1560
1560
  * @public
1561
1561
  * <p>Specifies the Object Lock mode that you want to apply to the uploaded object.</p>
1562
1562
  */
1563
- ObjectLockMode?: ObjectLockMode | string;
1563
+ ObjectLockMode?: ObjectLockMode;
1564
1564
  /**
1565
1565
  * @public
1566
1566
  * <p>Specifies the date and time when you want the Object Lock to expire.</p>
@@ -1570,7 +1570,7 @@ export interface CreateMultipartUploadRequest {
1570
1570
  * @public
1571
1571
  * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p>
1572
1572
  */
1573
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1573
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1574
1574
  /**
1575
1575
  * @public
1576
1576
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -1582,7 +1582,7 @@ export interface CreateMultipartUploadRequest {
1582
1582
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1583
1583
  * the <i>Amazon S3 User Guide</i>.</p>
1584
1584
  */
1585
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1585
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1586
1586
  }
1587
1587
  /**
1588
1588
  * @public
@@ -1842,7 +1842,7 @@ export interface DeleteObjectOutput {
1842
1842
  * <p>If present, indicates that the requester was successfully charged for the
1843
1843
  * request.</p>
1844
1844
  */
1845
- RequestCharged?: RequestCharged | string;
1845
+ RequestCharged?: RequestCharged;
1846
1846
  }
1847
1847
  /**
1848
1848
  * @public
@@ -1884,7 +1884,7 @@ export interface DeleteObjectRequest {
1884
1884
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1885
1885
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1886
1886
  */
1887
- RequestPayer?: RequestPayer | string;
1887
+ RequestPayer?: RequestPayer;
1888
1888
  /**
1889
1889
  * @public
1890
1890
  * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process
@@ -3836,7 +3836,7 @@ export interface DeleteObjectsOutput {
3836
3836
  * <p>If present, indicates that the requester was successfully charged for the
3837
3837
  * request.</p>
3838
3838
  */
3839
- RequestCharged?: RequestCharged | string;
3839
+ RequestCharged?: RequestCharged;
3840
3840
  /**
3841
3841
  * @public
3842
3842
  * <p>Container for a failed delete action that describes the object that Amazon S3 attempted to
@@ -3917,7 +3917,7 @@ export interface DeleteObjectsRequest {
3917
3917
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
3918
3918
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
3919
3919
  */
3920
- RequestPayer?: RequestPayer | string;
3920
+ RequestPayer?: RequestPayer;
3921
3921
  /**
3922
3922
  * @public
3923
3923
  * <p>Specifies whether you want to delete this object even if it has a Governance-type Object
@@ -3942,7 +3942,7 @@ export interface DeleteObjectsRequest {
3942
3942
  * <p>This checksum algorithm must be the same for all parts and it match the checksum value
3943
3943
  * supplied in the <code>CreateMultipartUpload</code> request.</p>
3944
3944
  */
3945
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
3945
+ ChecksumAlgorithm?: ChecksumAlgorithm;
3946
3946
  }
3947
3947
  /**
3948
3948
  * @public
@@ -4010,13 +4010,13 @@ export interface GetBucketAccelerateConfigurationOutput {
4010
4010
  * @public
4011
4011
  * <p>The accelerate configuration of the bucket.</p>
4012
4012
  */
4013
- Status?: BucketAccelerateStatus | string;
4013
+ Status?: BucketAccelerateStatus;
4014
4014
  /**
4015
4015
  * @public
4016
4016
  * <p>If present, indicates that the requester was successfully charged for the
4017
4017
  * request.</p>
4018
4018
  */
4019
- RequestCharged?: RequestCharged | string;
4019
+ RequestCharged?: RequestCharged;
4020
4020
  }
4021
4021
  /**
4022
4022
  * @public
@@ -4043,7 +4043,7 @@ export interface GetBucketAccelerateConfigurationRequest {
4043
4043
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
4044
4044
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
4045
4045
  */
4046
- RequestPayer?: RequestPayer | string;
4046
+ RequestPayer?: RequestPayer;
4047
4047
  }
4048
4048
  /**
4049
4049
  * @public
@@ -4196,7 +4196,7 @@ export interface AnalyticsS3BucketDestination {
4196
4196
  * @public
4197
4197
  * <p>Specifies the file format used when exporting data to Amazon S3.</p>
4198
4198
  */
4199
- Format: AnalyticsS3ExportFileFormat | string | undefined;
4199
+ Format: AnalyticsS3ExportFileFormat | undefined;
4200
4200
  /**
4201
4201
  * @public
4202
4202
  * <p>The account ID that owns the destination S3 bucket. If no account ID is provided, the
@@ -4251,7 +4251,7 @@ export interface StorageClassAnalysisDataExport {
4251
4251
  * <p>The version of the output schema to use when exporting data. Must be
4252
4252
  * <code>V_1</code>.</p>
4253
4253
  */
4254
- OutputSchemaVersion: StorageClassAnalysisSchemaVersion | string | undefined;
4254
+ OutputSchemaVersion: StorageClassAnalysisSchemaVersion | undefined;
4255
4255
  /**
4256
4256
  * @public
4257
4257
  * <p>The place to store the data for an analysis.</p>
@@ -4418,7 +4418,7 @@ export interface ServerSideEncryptionByDefault {
4418
4418
  * @public
4419
4419
  * <p>Server-side encryption algorithm to use for the default encryption.</p>
4420
4420
  */
4421
- SSEAlgorithm: ServerSideEncryption | string | undefined;
4421
+ SSEAlgorithm: ServerSideEncryption | undefined;
4422
4422
  /**
4423
4423
  * @public
4424
4424
  * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default
@@ -4608,7 +4608,7 @@ export interface Tiering {
4608
4608
  * for automatically optimizing frequently and infrequently accessed objects</a> for a
4609
4609
  * list of access tiers in the S3 Intelligent-Tiering storage class.</p>
4610
4610
  */
4611
- AccessTier: IntelligentTieringAccessTier | string | undefined;
4611
+ AccessTier: IntelligentTieringAccessTier | undefined;
4612
4612
  }
4613
4613
  /**
4614
4614
  * @public
@@ -4633,7 +4633,7 @@ export interface IntelligentTieringConfiguration {
4633
4633
  * @public
4634
4634
  * <p>Specifies the status of the configuration.</p>
4635
4635
  */
4636
- Status: IntelligentTieringStatus | string | undefined;
4636
+ Status: IntelligentTieringStatus | undefined;
4637
4637
  /**
4638
4638
  * @public
4639
4639
  * <p>Specifies the S3 Intelligent-Tiering storage class tier of the configuration.</p>
@@ -4741,7 +4741,7 @@ export interface InventoryS3BucketDestination {
4741
4741
  * @public
4742
4742
  * <p>Specifies the output format of the inventory results.</p>
4743
4743
  */
4744
- Format: InventoryFormat | string | undefined;
4744
+ Format: InventoryFormat | undefined;
4745
4745
  /**
4746
4746
  * @public
4747
4747
  * <p>The prefix that is prepended to all inventory results.</p>
@@ -4836,7 +4836,7 @@ export interface InventorySchedule {
4836
4836
  * @public
4837
4837
  * <p>Specifies how frequently inventory results are produced.</p>
4838
4838
  */
4839
- Frequency: InventoryFrequency | string | undefined;
4839
+ Frequency: InventoryFrequency | undefined;
4840
4840
  }
4841
4841
  /**
4842
4842
  * @public
@@ -4875,12 +4875,12 @@ export interface InventoryConfiguration {
4875
4875
  * list. If set to <code>Current</code>, the list does not contain these version-related
4876
4876
  * fields.</p>
4877
4877
  */
4878
- IncludedObjectVersions: InventoryIncludedObjectVersions | string | undefined;
4878
+ IncludedObjectVersions: InventoryIncludedObjectVersions | undefined;
4879
4879
  /**
4880
4880
  * @public
4881
4881
  * <p>Contains the optional fields that are included in the inventory results.</p>
4882
4882
  */
4883
- OptionalFields?: (InventoryOptionalField | string)[];
4883
+ OptionalFields?: InventoryOptionalField[];
4884
4884
  /**
4885
4885
  * @public
4886
4886
  * <p>Specifies the schedule for generating inventory results.</p>
@@ -5140,7 +5140,7 @@ export interface NoncurrentVersionTransition {
5140
5140
  * @public
5141
5141
  * <p>The class of storage used to store the object.</p>
5142
5142
  */
5143
- StorageClass?: TransitionStorageClass | string;
5143
+ StorageClass?: TransitionStorageClass;
5144
5144
  /**
5145
5145
  * @public
5146
5146
  * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more
@@ -5185,7 +5185,7 @@ export interface Transition {
5185
5185
  * @public
5186
5186
  * <p>The storage class to which you want the object to transition.</p>
5187
5187
  */
5188
- StorageClass?: TransitionStorageClass | string;
5188
+ StorageClass?: TransitionStorageClass;
5189
5189
  }
5190
5190
  /**
5191
5191
  * @public
@@ -5231,7 +5231,7 @@ export interface LifecycleRule {
5231
5231
  * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not
5232
5232
  * currently being applied.</p>
5233
5233
  */
5234
- Status: ExpirationStatus | string | undefined;
5234
+ Status: ExpirationStatus | undefined;
5235
5235
  /**
5236
5236
  * @public
5237
5237
  * <p>Specifies when an Amazon S3 object transitions to a specified storage class.</p>
@@ -5300,7 +5300,7 @@ export interface GetBucketLocationOutput {
5300
5300
  * location constraints by Region, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions and Endpoints</a>. Buckets in
5301
5301
  * Region <code>us-east-1</code> have a LocationConstraint of <code>null</code>.</p>
5302
5302
  */
5303
- LocationConstraint?: BucketLocationConstraint | string;
5303
+ LocationConstraint?: BucketLocationConstraint;
5304
5304
  }
5305
5305
  /**
5306
5306
  * @public
@@ -5354,7 +5354,7 @@ export interface TargetGrant {
5354
5354
  * @public
5355
5355
  * <p>Logging permissions assigned to the grantee for the bucket.</p>
5356
5356
  */
5357
- Permission?: BucketLogsPermission | string;
5357
+ Permission?: BucketLogsPermission;
5358
5358
  }
5359
5359
  /**
5360
5360
  * @public
@@ -5662,7 +5662,7 @@ export interface FilterRule {
5662
5662
  * suffixes are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring Event Notifications</a>
5663
5663
  * in the <i>Amazon S3 User Guide</i>.</p>
5664
5664
  */
5665
- Name?: FilterRuleName | string;
5665
+ Name?: FilterRuleName;
5666
5666
  /**
5667
5667
  * @public
5668
5668
  * <p>The value that the filter searches for in object key names.</p>
@@ -5718,7 +5718,7 @@ export interface LambdaFunctionConfiguration {
5718
5718
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported
5719
5719
  * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p>
5720
5720
  */
5721
- Events: (Event | string)[] | undefined;
5721
+ Events: Event[] | undefined;
5722
5722
  /**
5723
5723
  * @public
5724
5724
  * <p>Specifies object key name filtering rules. For information about key name filtering, see
@@ -5750,7 +5750,7 @@ export interface QueueConfiguration {
5750
5750
  * @public
5751
5751
  * <p>A collection of bucket events for which to send notifications</p>
5752
5752
  */
5753
- Events: (Event | string)[] | undefined;
5753
+ Events: Event[] | undefined;
5754
5754
  /**
5755
5755
  * @public
5756
5756
  * <p>Specifies object key name filtering rules. For information about key name filtering, see
@@ -5784,7 +5784,7 @@ export interface TopicConfiguration {
5784
5784
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported
5785
5785
  * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p>
5786
5786
  */
5787
- Events: (Event | string)[] | undefined;
5787
+ Events: Event[] | undefined;
5788
5788
  /**
5789
5789
  * @public
5790
5790
  * <p>Specifies object key name filtering rules. For information about key name filtering, see
@@ -5843,7 +5843,7 @@ export interface OwnershipControlsRule {
5843
5843
  * full control ACLs, such as the <code>bucket-owner-full-control</code> canned ACL or an
5844
5844
  * equivalent form of this ACL expressed in the XML format.</p>
5845
5845
  */
5846
- ObjectOwnership: ObjectOwnership | string | undefined;
5846
+ ObjectOwnership: ObjectOwnership | undefined;
5847
5847
  }
5848
5848
  /**
5849
5849
  * @public
@@ -5991,7 +5991,7 @@ export interface DeleteMarkerReplication {
5991
5991
  * <p>Indicates whether to replicate delete markers.</p>
5992
5992
  * </note>
5993
5993
  */
5994
- Status?: DeleteMarkerReplicationStatus | string;
5994
+ Status?: DeleteMarkerReplicationStatus;
5995
5995
  }
5996
5996
  /**
5997
5997
  * @public
@@ -6045,7 +6045,7 @@ export interface Metrics {
6045
6045
  * @public
6046
6046
  * <p> Specifies whether the replication metrics are enabled. </p>
6047
6047
  */
6048
- Status: MetricsStatus | string | undefined;
6048
+ Status: MetricsStatus | undefined;
6049
6049
  /**
6050
6050
  * @public
6051
6051
  * <p> A container specifying the time threshold for emitting the
@@ -6076,7 +6076,7 @@ export interface ReplicationTime {
6076
6076
  * @public
6077
6077
  * <p> Specifies whether the replication time is enabled. </p>
6078
6078
  */
6079
- Status: ReplicationTimeStatus | string | undefined;
6079
+ Status: ReplicationTimeStatus | undefined;
6080
6080
  /**
6081
6081
  * @public
6082
6082
  * <p> A container specifying the time by which replication should be complete for all objects
@@ -6114,7 +6114,7 @@ export interface Destination {
6114
6114
  * <p>For valid values, see the <code>StorageClass</code> element of the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT Bucket
6115
6115
  * replication</a> action in the <i>Amazon S3 API Reference</i>.</p>
6116
6116
  */
6117
- StorageClass?: StorageClass | string;
6117
+ StorageClass?: StorageClass;
6118
6118
  /**
6119
6119
  * @public
6120
6120
  * <p>Specify this only in a cross-account scenario (where source and destination bucket
@@ -6167,7 +6167,7 @@ export interface ExistingObjectReplication {
6167
6167
  * @public
6168
6168
  * <p>Specifies whether Amazon S3 replicates existing source bucket objects. </p>
6169
6169
  */
6170
- Status: ExistingObjectReplicationStatus | string | undefined;
6170
+ Status: ExistingObjectReplicationStatus | undefined;
6171
6171
  }
6172
6172
  /**
6173
6173
  * @public
@@ -6304,7 +6304,7 @@ export interface ReplicaModifications {
6304
6304
  * @public
6305
6305
  * <p>Specifies whether Amazon S3 replicates modifications on replicas.</p>
6306
6306
  */
6307
- Status: ReplicaModificationsStatus | string | undefined;
6307
+ Status: ReplicaModificationsStatus | undefined;
6308
6308
  }
6309
6309
  /**
6310
6310
  * @public
@@ -6329,7 +6329,7 @@ export interface SseKmsEncryptedObjects {
6329
6329
  * <p>Specifies whether Amazon S3 replicates objects created with server-side encryption using an
6330
6330
  * Amazon Web Services KMS key stored in Amazon Web Services Key Management Service.</p>
6331
6331
  */
6332
- Status: SseKmsEncryptedObjectsStatus | string | undefined;
6332
+ Status: SseKmsEncryptedObjectsStatus | undefined;
6333
6333
  }
6334
6334
  /**
6335
6335
  * @public
@@ -6419,7 +6419,7 @@ export interface ReplicationRule {
6419
6419
  * @public
6420
6420
  * <p>Specifies whether the rule is enabled.</p>
6421
6421
  */
6422
- Status: ReplicationRuleStatus | string | undefined;
6422
+ Status: ReplicationRuleStatus | undefined;
6423
6423
  /**
6424
6424
  * @public
6425
6425
  * <p>A container that describes additional filters for identifying the source objects that
@@ -6527,7 +6527,7 @@ export interface GetBucketRequestPaymentOutput {
6527
6527
  * @public
6528
6528
  * <p>Specifies who pays for the download and request fees.</p>
6529
6529
  */
6530
- Payer?: Payer | string;
6530
+ Payer?: Payer;
6531
6531
  }
6532
6532
  /**
6533
6533
  * @public
@@ -6605,14 +6605,14 @@ export interface GetBucketVersioningOutput {
6605
6605
  * @public
6606
6606
  * <p>The versioning state of the bucket.</p>
6607
6607
  */
6608
- Status?: BucketVersioningStatus | string;
6608
+ Status?: BucketVersioningStatus;
6609
6609
  /**
6610
6610
  * @public
6611
6611
  * <p>Specifies whether MFA delete is enabled in the bucket versioning configuration. This
6612
6612
  * element is only returned if the bucket has been configured with MFA delete. If the bucket
6613
6613
  * has never been so configured, this element is not returned.</p>
6614
6614
  */
6615
- MFADelete?: MFADeleteStatus | string;
6615
+ MFADelete?: MFADeleteStatus;
6616
6616
  }
6617
6617
  /**
6618
6618
  * @public
@@ -6694,7 +6694,7 @@ export interface RedirectAllRequestsTo {
6694
6694
  * <p>Protocol to use when redirecting requests. The default is the protocol that is used in
6695
6695
  * the original request.</p>
6696
6696
  */
6697
- Protocol?: Protocol | string;
6697
+ Protocol?: Protocol;
6698
6698
  }
6699
6699
  /**
6700
6700
  * @public
@@ -6753,7 +6753,7 @@ export interface Redirect {
6753
6753
  * <p>Protocol to use when redirecting requests. The default is the protocol that is used in
6754
6754
  * the original request.</p>
6755
6755
  */
6756
- Protocol?: Protocol | string;
6756
+ Protocol?: Protocol;
6757
6757
  /**
6758
6758
  * @public
6759
6759
  * <p>The object key prefix to use in the redirect request. For example, to redirect requests
@@ -7008,7 +7008,7 @@ export interface GetObjectOutput {
7008
7008
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
7009
7009
  * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
7010
7010
  */
7011
- ServerSideEncryption?: ServerSideEncryption | string;
7011
+ ServerSideEncryption?: ServerSideEncryption;
7012
7012
  /**
7013
7013
  * @public
7014
7014
  * <p>A map of metadata to store with the object in S3.</p>
@@ -7044,19 +7044,19 @@ export interface GetObjectOutput {
7044
7044
  * <p>Provides storage class information of the object. Amazon S3 returns this header for all
7045
7045
  * objects except for S3 Standard storage class objects.</p>
7046
7046
  */
7047
- StorageClass?: StorageClass | string;
7047
+ StorageClass?: StorageClass;
7048
7048
  /**
7049
7049
  * @public
7050
7050
  * <p>If present, indicates that the requester was successfully charged for the
7051
7051
  * request.</p>
7052
7052
  */
7053
- RequestCharged?: RequestCharged | string;
7053
+ RequestCharged?: RequestCharged;
7054
7054
  /**
7055
7055
  * @public
7056
7056
  * <p>Amazon S3 can return this if your request involves a bucket that is either a source or
7057
7057
  * destination in a replication rule.</p>
7058
7058
  */
7059
- ReplicationStatus?: ReplicationStatus | string;
7059
+ ReplicationStatus?: ReplicationStatus;
7060
7060
  /**
7061
7061
  * @public
7062
7062
  * <p>The count of parts this object has. This value is only returned if you specify
@@ -7073,7 +7073,7 @@ export interface GetObjectOutput {
7073
7073
  * @public
7074
7074
  * <p>The Object Lock mode currently in place for this object.</p>
7075
7075
  */
7076
- ObjectLockMode?: ObjectLockMode | string;
7076
+ ObjectLockMode?: ObjectLockMode;
7077
7077
  /**
7078
7078
  * @public
7079
7079
  * <p>The date and time when this object's Object Lock will expire.</p>
@@ -7084,7 +7084,7 @@ export interface GetObjectOutput {
7084
7084
  * <p>Indicates whether this object has an active legal hold. This field is only returned if
7085
7085
  * you have permission to view an object's legal hold status. </p>
7086
7086
  */
7087
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
7087
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
7088
7088
  }
7089
7089
  /**
7090
7090
  * @public
@@ -7216,7 +7216,7 @@ export interface GetObjectRequest {
7216
7216
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7217
7217
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7218
7218
  */
7219
- RequestPayer?: RequestPayer | string;
7219
+ RequestPayer?: RequestPayer;
7220
7220
  /**
7221
7221
  * @public
7222
7222
  * <p>Part number of the object being read. This is a positive integer between 1 and 10,000.
@@ -7233,7 +7233,7 @@ export interface GetObjectRequest {
7233
7233
  * @public
7234
7234
  * <p>To retrieve the checksum, this mode must be enabled.</p>
7235
7235
  */
7236
- ChecksumMode?: ChecksumMode | string;
7236
+ ChecksumMode?: ChecksumMode;
7237
7237
  }
7238
7238
  /**
7239
7239
  * @public
@@ -7242,8 +7242,8 @@ export interface GetObjectRequest {
7242
7242
  export declare class InvalidObjectState extends __BaseException {
7243
7243
  readonly name: "InvalidObjectState";
7244
7244
  readonly $fault: "client";
7245
- StorageClass?: StorageClass | string;
7246
- AccessTier?: IntelligentTieringAccessTier | string;
7245
+ StorageClass?: StorageClass;
7246
+ AccessTier?: IntelligentTieringAccessTier;
7247
7247
  /**
7248
7248
  * @internal
7249
7249
  */
@@ -7280,7 +7280,7 @@ export interface GetObjectAclOutput {
7280
7280
  * <p>If present, indicates that the requester was successfully charged for the
7281
7281
  * request.</p>
7282
7282
  */
7283
- RequestCharged?: RequestCharged | string;
7283
+ RequestCharged?: RequestCharged;
7284
7284
  }
7285
7285
  /**
7286
7286
  * @public
@@ -7313,7 +7313,7 @@ export interface GetObjectAclRequest {
7313
7313
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7314
7314
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7315
7315
  */
7316
- RequestPayer?: RequestPayer | string;
7316
+ RequestPayer?: RequestPayer;
7317
7317
  /**
7318
7318
  * @public
7319
7319
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -7474,7 +7474,7 @@ export interface GetObjectAttributesOutput {
7474
7474
  * <p>If present, indicates that the requester was successfully charged for the
7475
7475
  * request.</p>
7476
7476
  */
7477
- RequestCharged?: RequestCharged | string;
7477
+ RequestCharged?: RequestCharged;
7478
7478
  /**
7479
7479
  * @public
7480
7480
  * <p>An ETag is an opaque identifier assigned by a web server to a specific version of a
@@ -7497,7 +7497,7 @@ export interface GetObjectAttributesOutput {
7497
7497
  * objects except for S3 Standard storage class objects.</p>
7498
7498
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
7499
7499
  */
7500
- StorageClass?: StorageClass | string;
7500
+ StorageClass?: StorageClass;
7501
7501
  /**
7502
7502
  * @public
7503
7503
  * <p>The size of the object in bytes.</p>
@@ -7583,7 +7583,7 @@ export interface GetObjectAttributesRequest {
7583
7583
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7584
7584
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7585
7585
  */
7586
- RequestPayer?: RequestPayer | string;
7586
+ RequestPayer?: RequestPayer;
7587
7587
  /**
7588
7588
  * @public
7589
7589
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -7594,7 +7594,7 @@ export interface GetObjectAttributesRequest {
7594
7594
  * <p>Specifies the fields at the root level that you want returned in the response. Fields
7595
7595
  * that you do not specify are not returned.</p>
7596
7596
  */
7597
- ObjectAttributes: (ObjectAttributes | string)[] | undefined;
7597
+ ObjectAttributes: ObjectAttributes[] | undefined;
7598
7598
  }
7599
7599
  /**
7600
7600
  * @public
@@ -7605,7 +7605,7 @@ export interface ObjectLockLegalHold {
7605
7605
  * @public
7606
7606
  * <p>Indicates whether the specified object has a legal hold in place.</p>
7607
7607
  */
7608
- Status?: ObjectLockLegalHoldStatus | string;
7608
+ Status?: ObjectLockLegalHoldStatus;
7609
7609
  }
7610
7610
  /**
7611
7611
  * @public
@@ -7648,7 +7648,7 @@ export interface GetObjectLegalHoldRequest {
7648
7648
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7649
7649
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7650
7650
  */
7651
- RequestPayer?: RequestPayer | string;
7651
+ RequestPayer?: RequestPayer;
7652
7652
  /**
7653
7653
  * @public
7654
7654
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -7702,7 +7702,7 @@ export interface DefaultRetention {
7702
7702
  * <p>The default Object Lock retention mode you want to apply to new objects placed in the
7703
7703
  * specified bucket. Must be used with either <code>Days</code> or <code>Years</code>.</p>
7704
7704
  */
7705
- Mode?: ObjectLockRetentionMode | string;
7705
+ Mode?: ObjectLockRetentionMode;
7706
7706
  /**
7707
7707
  * @public
7708
7708
  * <p>The number of days that you want to specify for the default retention period. Must be
@@ -7741,7 +7741,7 @@ export interface ObjectLockConfiguration {
7741
7741
  * <code>ObjectLockEnabled</code> when you apply <code>ObjectLockConfiguration</code> to a
7742
7742
  * bucket. </p>
7743
7743
  */
7744
- ObjectLockEnabled?: ObjectLockEnabled | string;
7744
+ ObjectLockEnabled?: ObjectLockEnabled;
7745
7745
  /**
7746
7746
  * @public
7747
7747
  * <p>Specifies the Object Lock rule for the specified object. Enable the this rule when you
@@ -7789,7 +7789,7 @@ export interface ObjectLockRetention {
7789
7789
  * @public
7790
7790
  * <p>Indicates the Retention mode for the specified object.</p>
7791
7791
  */
7792
- Mode?: ObjectLockRetentionMode | string;
7792
+ Mode?: ObjectLockRetentionMode;
7793
7793
  /**
7794
7794
  * @public
7795
7795
  * <p>The date on which this Object Lock Retention will expire.</p>
@@ -7837,7 +7837,7 @@ export interface GetObjectRetentionRequest {
7837
7837
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7838
7838
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7839
7839
  */
7840
- RequestPayer?: RequestPayer | string;
7840
+ RequestPayer?: RequestPayer;
7841
7841
  /**
7842
7842
  * @public
7843
7843
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -7897,7 +7897,7 @@ export interface GetObjectTaggingRequest {
7897
7897
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7898
7898
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7899
7899
  */
7900
- RequestPayer?: RequestPayer | string;
7900
+ RequestPayer?: RequestPayer;
7901
7901
  }
7902
7902
  /**
7903
7903
  * @public
@@ -7913,7 +7913,7 @@ export interface GetObjectTorrentOutput {
7913
7913
  * <p>If present, indicates that the requester was successfully charged for the
7914
7914
  * request.</p>
7915
7915
  */
7916
- RequestCharged?: RequestCharged | string;
7916
+ RequestCharged?: RequestCharged;
7917
7917
  }
7918
7918
  /**
7919
7919
  * @public
@@ -7940,7 +7940,7 @@ export interface GetObjectTorrentRequest {
7940
7940
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
7941
7941
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
7942
7942
  */
7943
- RequestPayer?: RequestPayer | string;
7943
+ RequestPayer?: RequestPayer;
7944
7944
  /**
7945
7945
  * @public
7946
7946
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -8122,7 +8122,7 @@ export interface HeadObjectOutput {
8122
8122
  * @public
8123
8123
  * <p>The archive state of the head object.</p>
8124
8124
  */
8125
- ArchiveStatus?: ArchiveStatus | string;
8125
+ ArchiveStatus?: ArchiveStatus;
8126
8126
  /**
8127
8127
  * @public
8128
8128
  * <p>Creation date of the object.</p>
@@ -8228,7 +8228,7 @@ export interface HeadObjectOutput {
8228
8228
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
8229
8229
  * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
8230
8230
  */
8231
- ServerSideEncryption?: ServerSideEncryption | string;
8231
+ ServerSideEncryption?: ServerSideEncryption;
8232
8232
  /**
8233
8233
  * @public
8234
8234
  * <p>A map of metadata to store with the object in S3.</p>
@@ -8265,13 +8265,13 @@ export interface HeadObjectOutput {
8265
8265
  * objects except for S3 Standard storage class objects.</p>
8266
8266
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
8267
8267
  */
8268
- StorageClass?: StorageClass | string;
8268
+ StorageClass?: StorageClass;
8269
8269
  /**
8270
8270
  * @public
8271
8271
  * <p>If present, indicates that the requester was successfully charged for the
8272
8272
  * request.</p>
8273
8273
  */
8274
- RequestCharged?: RequestCharged | string;
8274
+ RequestCharged?: RequestCharged;
8275
8275
  /**
8276
8276
  * @public
8277
8277
  * <p>Amazon S3 can return this header if your request involves a bucket that is either a source or
@@ -8314,7 +8314,7 @@ export interface HeadObjectOutput {
8314
8314
  * </ul>
8315
8315
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p>
8316
8316
  */
8317
- ReplicationStatus?: ReplicationStatus | string;
8317
+ ReplicationStatus?: ReplicationStatus;
8318
8318
  /**
8319
8319
  * @public
8320
8320
  * <p>The count of parts this object has. This value is only returned if you specify
@@ -8328,7 +8328,7 @@ export interface HeadObjectOutput {
8328
8328
  * returned if the requester has the <code>s3:GetObjectRetention</code> permission. For more
8329
8329
  * information about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a>. </p>
8330
8330
  */
8331
- ObjectLockMode?: ObjectLockMode | string;
8331
+ ObjectLockMode?: ObjectLockMode;
8332
8332
  /**
8333
8333
  * @public
8334
8334
  * <p>The date and time when the Object Lock retention period expires. This header is only
@@ -8342,7 +8342,7 @@ export interface HeadObjectOutput {
8342
8342
  * header is not returned if the specified version of this object has never had a legal hold
8343
8343
  * applied. For more information about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a>.</p>
8344
8344
  */
8345
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
8345
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
8346
8346
  }
8347
8347
  /**
8348
8348
  * @public
@@ -8429,7 +8429,7 @@ export interface HeadObjectRequest {
8429
8429
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
8430
8430
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
8431
8431
  */
8432
- RequestPayer?: RequestPayer | string;
8432
+ RequestPayer?: RequestPayer;
8433
8433
  /**
8434
8434
  * @public
8435
8435
  * <p>Part number of the object being read. This is a positive integer between 1 and 10,000.
@@ -8449,7 +8449,7 @@ export interface HeadObjectRequest {
8449
8449
  * Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the
8450
8450
  * <code>kms:Decrypt</code> action for the request to succeed.</p>
8451
8451
  */
8452
- ChecksumMode?: ChecksumMode | string;
8452
+ ChecksumMode?: ChecksumMode;
8453
8453
  }
8454
8454
  /**
8455
8455
  * @public
@@ -8764,7 +8764,7 @@ export interface MultipartUpload {
8764
8764
  * @public
8765
8765
  * <p>The class of storage used to store the object.</p>
8766
8766
  */
8767
- StorageClass?: StorageClass | string;
8767
+ StorageClass?: StorageClass;
8768
8768
  /**
8769
8769
  * @public
8770
8770
  * <p>Specifies the owner of the object that is part of the multipart upload. </p>
@@ -8779,7 +8779,7 @@ export interface MultipartUpload {
8779
8779
  * @public
8780
8780
  * <p>The algorithm that was used to create a checksum of the object.</p>
8781
8781
  */
8782
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
8782
+ ChecksumAlgorithm?: ChecksumAlgorithm;
8783
8783
  }
8784
8784
  /**
8785
8785
  * @public
@@ -8861,13 +8861,13 @@ export interface ListMultipartUploadsOutput {
8861
8861
  * <code>Delimiter</code>, <code>KeyMarker</code>, <code>Prefix</code>,
8862
8862
  * <code>NextKeyMarker</code>, <code>Key</code>.</p>
8863
8863
  */
8864
- EncodingType?: EncodingType | string;
8864
+ EncodingType?: EncodingType;
8865
8865
  /**
8866
8866
  * @public
8867
8867
  * <p>If present, indicates that the requester was successfully charged for the
8868
8868
  * request.</p>
8869
8869
  */
8870
- RequestCharged?: RequestCharged | string;
8870
+ RequestCharged?: RequestCharged;
8871
8871
  }
8872
8872
  /**
8873
8873
  * @public
@@ -8902,7 +8902,7 @@ export interface ListMultipartUploadsRequest {
8902
8902
  * characters that are not supported in XML 1.0, you can add this parameter to request that
8903
8903
  * Amazon S3 encode the keys in the response.</p>
8904
8904
  */
8905
- EncodingType?: EncodingType | string;
8905
+ EncodingType?: EncodingType;
8906
8906
  /**
8907
8907
  * @public
8908
8908
  * <p>Together with <code>upload-id-marker</code>, this parameter specifies the multipart
@@ -8952,7 +8952,7 @@ export interface ListMultipartUploadsRequest {
8952
8952
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
8953
8953
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
8954
8954
  */
8955
- RequestPayer?: RequestPayer | string;
8955
+ RequestPayer?: RequestPayer;
8956
8956
  }
8957
8957
  /**
8958
8958
  * @public
@@ -9055,7 +9055,7 @@ export interface _Object {
9055
9055
  * @public
9056
9056
  * <p>The algorithm that was used to create a checksum of the object.</p>
9057
9057
  */
9058
- ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
9058
+ ChecksumAlgorithm?: ChecksumAlgorithm[];
9059
9059
  /**
9060
9060
  * @public
9061
9061
  * <p>Size in bytes of the object</p>
@@ -9065,7 +9065,7 @@ export interface _Object {
9065
9065
  * @public
9066
9066
  * <p>The class of storage used to store the object.</p>
9067
9067
  */
9068
- StorageClass?: ObjectStorageClass | string;
9068
+ StorageClass?: ObjectStorageClass;
9069
9069
  /**
9070
9070
  * @public
9071
9071
  * <p>The owner of the object</p>
@@ -9163,13 +9163,13 @@ export interface ListObjectsOutput {
9163
9163
  * @public
9164
9164
  * <p>Encoding type used by Amazon S3 to encode object keys in the response.</p>
9165
9165
  */
9166
- EncodingType?: EncodingType | string;
9166
+ EncodingType?: EncodingType;
9167
9167
  /**
9168
9168
  * @public
9169
9169
  * <p>If present, indicates that the requester was successfully charged for the
9170
9170
  * request.</p>
9171
9171
  */
9172
- RequestCharged?: RequestCharged | string;
9172
+ RequestCharged?: RequestCharged;
9173
9173
  }
9174
9174
  /**
9175
9175
  * @public
@@ -9209,7 +9209,7 @@ export interface ListObjectsRequest {
9209
9209
  * characters that are not supported in XML 1.0, you can add this parameter to request that
9210
9210
  * Amazon S3 encode the keys in the response.</p>
9211
9211
  */
9212
- EncodingType?: EncodingType | string;
9212
+ EncodingType?: EncodingType;
9213
9213
  /**
9214
9214
  * @public
9215
9215
  * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this
@@ -9233,7 +9233,7 @@ export interface ListObjectsRequest {
9233
9233
  * <p>Confirms that the requester knows that she or he will be charged for the list objects
9234
9234
  * request. Bucket owners need not specify this parameter in their requests.</p>
9235
9235
  */
9236
- RequestPayer?: RequestPayer | string;
9236
+ RequestPayer?: RequestPayer;
9237
9237
  /**
9238
9238
  * @public
9239
9239
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -9244,7 +9244,7 @@ export interface ListObjectsRequest {
9244
9244
  * <p>Specifies the optional fields that you want returned in the response. Fields that you do
9245
9245
  * not specify are not returned.</p>
9246
9246
  */
9247
- OptionalObjectAttributes?: (OptionalObjectAttributes | string)[];
9247
+ OptionalObjectAttributes?: OptionalObjectAttributes[];
9248
9248
  }
9249
9249
  /**
9250
9250
  * @public
@@ -9331,7 +9331,7 @@ export interface ListObjectsV2Output {
9331
9331
  * <p>
9332
9332
  * <code>Delimiter, Prefix, Key,</code> and <code>StartAfter</code>.</p>
9333
9333
  */
9334
- EncodingType?: EncodingType | string;
9334
+ EncodingType?: EncodingType;
9335
9335
  /**
9336
9336
  * @public
9337
9337
  * <p>
@@ -9366,7 +9366,7 @@ export interface ListObjectsV2Output {
9366
9366
  * <p>If present, indicates that the requester was successfully charged for the
9367
9367
  * request.</p>
9368
9368
  */
9369
- RequestCharged?: RequestCharged | string;
9369
+ RequestCharged?: RequestCharged;
9370
9370
  }
9371
9371
  /**
9372
9372
  * @public
@@ -9391,7 +9391,7 @@ export interface ListObjectsV2Request {
9391
9391
  * @public
9392
9392
  * <p>Encoding type used by Amazon S3 to encode object keys in the response.</p>
9393
9393
  */
9394
- EncodingType?: EncodingType | string;
9394
+ EncodingType?: EncodingType;
9395
9395
  /**
9396
9396
  * @public
9397
9397
  * <p>Sets the maximum number of keys returned in the response. By default, the action returns
@@ -9431,7 +9431,7 @@ export interface ListObjectsV2Request {
9431
9431
  * request in V2 style. Bucket owners need not specify this parameter in their
9432
9432
  * requests.</p>
9433
9433
  */
9434
- RequestPayer?: RequestPayer | string;
9434
+ RequestPayer?: RequestPayer;
9435
9435
  /**
9436
9436
  * @public
9437
9437
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -9442,7 +9442,7 @@ export interface ListObjectsV2Request {
9442
9442
  * <p>Specifies the optional fields that you want returned in the response. Fields that you do
9443
9443
  * not specify are not returned.</p>
9444
9444
  */
9445
- OptionalObjectAttributes?: (OptionalObjectAttributes | string)[];
9445
+ OptionalObjectAttributes?: OptionalObjectAttributes[];
9446
9446
  }
9447
9447
  /**
9448
9448
  * @public
@@ -9501,7 +9501,7 @@ export interface ObjectVersion {
9501
9501
  * @public
9502
9502
  * <p>The algorithm that was used to create a checksum of the object.</p>
9503
9503
  */
9504
- ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
9504
+ ChecksumAlgorithm?: ChecksumAlgorithm[];
9505
9505
  /**
9506
9506
  * @public
9507
9507
  * <p>Size in bytes of the object.</p>
@@ -9511,7 +9511,7 @@ export interface ObjectVersion {
9511
9511
  * @public
9512
9512
  * <p>The class of storage used to store the object.</p>
9513
9513
  */
9514
- StorageClass?: ObjectVersionStorageClass | string;
9514
+ StorageClass?: ObjectVersionStorageClass;
9515
9515
  /**
9516
9516
  * @public
9517
9517
  * <p>The object key.</p>
@@ -9635,13 +9635,13 @@ export interface ListObjectVersionsOutput {
9635
9635
  * <p>
9636
9636
  * <code>KeyMarker, NextKeyMarker, Prefix, Key</code>, and <code>Delimiter</code>.</p>
9637
9637
  */
9638
- EncodingType?: EncodingType | string;
9638
+ EncodingType?: EncodingType;
9639
9639
  /**
9640
9640
  * @public
9641
9641
  * <p>If present, indicates that the requester was successfully charged for the
9642
9642
  * request.</p>
9643
9643
  */
9644
- RequestCharged?: RequestCharged | string;
9644
+ RequestCharged?: RequestCharged;
9645
9645
  }
9646
9646
  /**
9647
9647
  * @public
@@ -9671,7 +9671,7 @@ export interface ListObjectVersionsRequest {
9671
9671
  * characters that are not supported in XML 1.0, you can add this parameter to request that
9672
9672
  * Amazon S3 encode the keys in the response.</p>
9673
9673
  */
9674
- EncodingType?: EncodingType | string;
9674
+ EncodingType?: EncodingType;
9675
9675
  /**
9676
9676
  * @public
9677
9677
  * <p>Specifies the key to start with when listing objects in a bucket.</p>
@@ -9715,13 +9715,13 @@ export interface ListObjectVersionsRequest {
9715
9715
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
9716
9716
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
9717
9717
  */
9718
- RequestPayer?: RequestPayer | string;
9718
+ RequestPayer?: RequestPayer;
9719
9719
  /**
9720
9720
  * @public
9721
9721
  * <p>Specifies the optional fields that you want returned in the response. Fields that you do
9722
9722
  * not specify are not returned.</p>
9723
9723
  */
9724
- OptionalObjectAttributes?: (OptionalObjectAttributes | string)[];
9724
+ OptionalObjectAttributes?: OptionalObjectAttributes[];
9725
9725
  }
9726
9726
  /**
9727
9727
  * @public
@@ -9872,18 +9872,18 @@ export interface ListPartsOutput {
9872
9872
  * <p>Class of storage (STANDARD or REDUCED_REDUNDANCY) used to store the uploaded
9873
9873
  * object.</p>
9874
9874
  */
9875
- StorageClass?: StorageClass | string;
9875
+ StorageClass?: StorageClass;
9876
9876
  /**
9877
9877
  * @public
9878
9878
  * <p>If present, indicates that the requester was successfully charged for the
9879
9879
  * request.</p>
9880
9880
  */
9881
- RequestCharged?: RequestCharged | string;
9881
+ RequestCharged?: RequestCharged;
9882
9882
  /**
9883
9883
  * @public
9884
9884
  * <p>The algorithm that was used to create a checksum of the object.</p>
9885
9885
  */
9886
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
9886
+ ChecksumAlgorithm?: ChecksumAlgorithm;
9887
9887
  }
9888
9888
  /**
9889
9889
  * @public
@@ -9929,7 +9929,7 @@ export interface ListPartsRequest {
9929
9929
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
9930
9930
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
9931
9931
  */
9932
- RequestPayer?: RequestPayer | string;
9932
+ RequestPayer?: RequestPayer;
9933
9933
  /**
9934
9934
  * @public
9935
9935
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -9991,7 +9991,7 @@ export interface PutBucketAccelerateConfigurationRequest {
9991
9991
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
9992
9992
  * <code>ChecksumAlgorithm</code> parameter.</p>
9993
9993
  */
9994
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
9994
+ ChecksumAlgorithm?: ChecksumAlgorithm;
9995
9995
  }
9996
9996
  /**
9997
9997
  * @public
@@ -10001,7 +10001,7 @@ export interface PutBucketAclRequest {
10001
10001
  * @public
10002
10002
  * <p>The canned ACL to apply to the bucket.</p>
10003
10003
  */
10004
- ACL?: BucketCannedACL | string;
10004
+ ACL?: BucketCannedACL;
10005
10005
  /**
10006
10006
  * @public
10007
10007
  * <p>Contains the elements that set the ACL permissions for an object per grantee.</p>
@@ -10034,7 +10034,7 @@ export interface PutBucketAclRequest {
10034
10034
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10035
10035
  * <code>ChecksumAlgorithm</code> parameter.</p>
10036
10036
  */
10037
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10037
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10038
10038
  /**
10039
10039
  * @public
10040
10040
  * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the
@@ -10150,7 +10150,7 @@ export interface PutBucketCorsRequest {
10150
10150
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10151
10151
  * <code>ChecksumAlgorithm</code> parameter.</p>
10152
10152
  */
10153
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10153
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10154
10154
  /**
10155
10155
  * @public
10156
10156
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -10191,7 +10191,7 @@ export interface PutBucketEncryptionRequest {
10191
10191
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10192
10192
  * <code>ChecksumAlgorithm</code> parameter.</p>
10193
10193
  */
10194
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10194
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10195
10195
  /**
10196
10196
  * @public
10197
10197
  * <p>Specifies the default server-side-encryption configuration.</p>
@@ -10286,7 +10286,7 @@ export interface PutBucketLifecycleConfigurationRequest {
10286
10286
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10287
10287
  * <code>ChecksumAlgorithm</code> parameter.</p>
10288
10288
  */
10289
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10289
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10290
10290
  /**
10291
10291
  * @public
10292
10292
  * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p>
@@ -10343,7 +10343,7 @@ export interface PutBucketLoggingRequest {
10343
10343
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10344
10344
  * <code>ChecksumAlgorithm</code> parameter.</p>
10345
10345
  */
10346
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10346
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10347
10347
  /**
10348
10348
  * @public
10349
10349
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -10463,7 +10463,7 @@ export interface PutBucketPolicyRequest {
10463
10463
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10464
10464
  * <code>ChecksumAlgorithm</code> parameter.</p>
10465
10465
  */
10466
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10466
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10467
10467
  /**
10468
10468
  * @public
10469
10469
  * <p>Set this parameter to true to confirm that you want to remove your permissions to change
@@ -10510,7 +10510,7 @@ export interface PutBucketReplicationRequest {
10510
10510
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10511
10511
  * <code>ChecksumAlgorithm</code> parameter.</p>
10512
10512
  */
10513
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10513
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10514
10514
  /**
10515
10515
  * @public
10516
10516
  * <p>A container for replication rules. You can add up to 1,000 rules. The maximum size of a
@@ -10537,7 +10537,7 @@ export interface RequestPaymentConfiguration {
10537
10537
  * @public
10538
10538
  * <p>Specifies who pays for the download and request fees.</p>
10539
10539
  */
10540
- Payer: Payer | string | undefined;
10540
+ Payer: Payer | undefined;
10541
10541
  }
10542
10542
  /**
10543
10543
  * @public
@@ -10568,7 +10568,7 @@ export interface PutBucketRequestPaymentRequest {
10568
10568
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10569
10569
  * <code>ChecksumAlgorithm</code> parameter.</p>
10570
10570
  */
10571
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10571
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10572
10572
  /**
10573
10573
  * @public
10574
10574
  * <p>Container for Payer.</p>
@@ -10620,7 +10620,7 @@ export interface PutBucketTaggingRequest {
10620
10620
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10621
10621
  * <code>ChecksumAlgorithm</code> parameter.</p>
10622
10622
  */
10623
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10623
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10624
10624
  /**
10625
10625
  * @public
10626
10626
  * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p>
@@ -10656,12 +10656,12 @@ export interface VersioningConfiguration {
10656
10656
  * element is only returned if the bucket has been configured with MFA delete. If the bucket
10657
10657
  * has never been so configured, this element is not returned.</p>
10658
10658
  */
10659
- MFADelete?: MFADelete | string;
10659
+ MFADelete?: MFADelete;
10660
10660
  /**
10661
10661
  * @public
10662
10662
  * <p>The versioning state of the bucket.</p>
10663
10663
  */
10664
- Status?: BucketVersioningStatus | string;
10664
+ Status?: BucketVersioningStatus;
10665
10665
  }
10666
10666
  /**
10667
10667
  * @public
@@ -10693,7 +10693,7 @@ export interface PutBucketVersioningRequest {
10693
10693
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10694
10694
  * <code>ChecksumAlgorithm</code> parameter.</p>
10695
10695
  */
10696
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10696
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10697
10697
  /**
10698
10698
  * @public
10699
10699
  * <p>The concatenation of the authentication device's serial number, a space, and the value
@@ -10769,7 +10769,7 @@ export interface PutBucketWebsiteRequest {
10769
10769
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10770
10770
  * <code>ChecksumAlgorithm</code> parameter.</p>
10771
10771
  */
10772
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10772
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10773
10773
  /**
10774
10774
  * @public
10775
10775
  * <p>Container for the request.</p>
@@ -10835,7 +10835,7 @@ export interface PutObjectOutput {
10835
10835
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
10836
10836
  * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
10837
10837
  */
10838
- ServerSideEncryption?: ServerSideEncryption | string;
10838
+ ServerSideEncryption?: ServerSideEncryption;
10839
10839
  /**
10840
10840
  * @public
10841
10841
  * <p>Version of the object.</p>
@@ -10881,7 +10881,7 @@ export interface PutObjectOutput {
10881
10881
  * <p>If present, indicates that the requester was successfully charged for the
10882
10882
  * request.</p>
10883
10883
  */
10884
- RequestCharged?: RequestCharged | string;
10884
+ RequestCharged?: RequestCharged;
10885
10885
  }
10886
10886
  /**
10887
10887
  * @public
@@ -10893,7 +10893,7 @@ export interface PutObjectRequest {
10893
10893
  * ACL</a>.</p>
10894
10894
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
10895
10895
  */
10896
- ACL?: ObjectCannedACL | string;
10896
+ ACL?: ObjectCannedACL;
10897
10897
  /**
10898
10898
  * @public
10899
10899
  * <p>Object data.</p>
@@ -10963,7 +10963,7 @@ export interface PutObjectRequest {
10963
10963
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
10964
10964
  * <code>ChecksumAlgorithm</code> parameter.</p>
10965
10965
  */
10966
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
10966
+ ChecksumAlgorithm?: ChecksumAlgorithm;
10967
10967
  /**
10968
10968
  * @public
10969
10969
  * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
@@ -11041,7 +11041,7 @@ export interface PutObjectRequest {
11041
11041
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
11042
11042
  * <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
11043
11043
  */
11044
- ServerSideEncryption?: ServerSideEncryption | string;
11044
+ ServerSideEncryption?: ServerSideEncryption;
11045
11045
  /**
11046
11046
  * @public
11047
11047
  * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The
@@ -11050,7 +11050,7 @@ export interface PutObjectRequest {
11050
11050
  * the OUTPOSTS Storage Class. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
11051
11051
  * <i>Amazon S3 User Guide</i>.</p>
11052
11052
  */
11053
- StorageClass?: StorageClass | string;
11053
+ StorageClass?: StorageClass;
11054
11054
  /**
11055
11055
  * @public
11056
11056
  * <p>If the bucket is configured as a website, redirects requests for this object to another
@@ -11132,7 +11132,7 @@ export interface PutObjectRequest {
11132
11132
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
11133
11133
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
11134
11134
  */
11135
- RequestPayer?: RequestPayer | string;
11135
+ RequestPayer?: RequestPayer;
11136
11136
  /**
11137
11137
  * @public
11138
11138
  * <p>The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For
@@ -11143,7 +11143,7 @@ export interface PutObjectRequest {
11143
11143
  * @public
11144
11144
  * <p>The Object Lock mode that you want to apply to this object.</p>
11145
11145
  */
11146
- ObjectLockMode?: ObjectLockMode | string;
11146
+ ObjectLockMode?: ObjectLockMode;
11147
11147
  /**
11148
11148
  * @public
11149
11149
  * <p>The date and time when you want this object's Object Lock to expire. Must be formatted
@@ -11155,7 +11155,7 @@ export interface PutObjectRequest {
11155
11155
  * <p>Specifies whether a legal hold will be applied to this object. For more information
11156
11156
  * about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a>.</p>
11157
11157
  */
11158
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
11158
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
11159
11159
  /**
11160
11160
  * @public
11161
11161
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
@@ -11171,7 +11171,7 @@ export interface PutObjectAclOutput {
11171
11171
  * <p>If present, indicates that the requester was successfully charged for the
11172
11172
  * request.</p>
11173
11173
  */
11174
- RequestCharged?: RequestCharged | string;
11174
+ RequestCharged?: RequestCharged;
11175
11175
  }
11176
11176
  /**
11177
11177
  * @public
@@ -11182,7 +11182,7 @@ export interface PutObjectAclRequest {
11182
11182
  * <p>The canned ACL to apply to the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
11183
11183
  * ACL</a>.</p>
11184
11184
  */
11185
- ACL?: ObjectCannedACL | string;
11185
+ ACL?: ObjectCannedACL;
11186
11186
  /**
11187
11187
  * @public
11188
11188
  * <p>Contains the elements that set the ACL permissions for an object per grantee.</p>
@@ -11216,7 +11216,7 @@ export interface PutObjectAclRequest {
11216
11216
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
11217
11217
  * <code>ChecksumAlgorithm</code> parameter.</p>
11218
11218
  */
11219
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
11219
+ ChecksumAlgorithm?: ChecksumAlgorithm;
11220
11220
  /**
11221
11221
  * @public
11222
11222
  * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the
@@ -11266,7 +11266,7 @@ export interface PutObjectAclRequest {
11266
11266
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
11267
11267
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
11268
11268
  */
11269
- RequestPayer?: RequestPayer | string;
11269
+ RequestPayer?: RequestPayer;
11270
11270
  /**
11271
11271
  * @public
11272
11272
  * <p>VersionId used to reference a specific version of the object.</p>
@@ -11287,7 +11287,7 @@ export interface PutObjectLegalHoldOutput {
11287
11287
  * <p>If present, indicates that the requester was successfully charged for the
11288
11288
  * request.</p>
11289
11289
  */
11290
- RequestCharged?: RequestCharged | string;
11290
+ RequestCharged?: RequestCharged;
11291
11291
  }
11292
11292
  /**
11293
11293
  * @public
@@ -11321,7 +11321,7 @@ export interface PutObjectLegalHoldRequest {
11321
11321
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
11322
11322
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
11323
11323
  */
11324
- RequestPayer?: RequestPayer | string;
11324
+ RequestPayer?: RequestPayer;
11325
11325
  /**
11326
11326
  * @public
11327
11327
  * <p>The version ID of the object that you want to place a legal hold on.</p>
@@ -11343,7 +11343,7 @@ export interface PutObjectLegalHoldRequest {
11343
11343
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
11344
11344
  * <code>ChecksumAlgorithm</code> parameter.</p>
11345
11345
  */
11346
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
11346
+ ChecksumAlgorithm?: ChecksumAlgorithm;
11347
11347
  /**
11348
11348
  * @public
11349
11349
  * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>