@aws-sdk/client-s3 3.428.0 → 3.430.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.
@@ -11,7 +11,7 @@ export interface PutObjectLockConfigurationOutput {
11
11
  * <p>If present, indicates that the requester was successfully charged for the
12
12
  * request.</p>
13
13
  */
14
- RequestCharged?: RequestCharged | string;
14
+ RequestCharged?: RequestCharged;
15
15
  }
16
16
  /**
17
17
  * @public
@@ -38,7 +38,7 @@ export interface PutObjectLockConfigurationRequest {
38
38
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
39
39
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
40
40
  */
41
- RequestPayer?: RequestPayer | string;
41
+ RequestPayer?: RequestPayer;
42
42
  /**
43
43
  * @public
44
44
  * <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
@@ -60,7 +60,7 @@ export interface PutObjectLockConfigurationRequest {
60
60
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
61
61
  * <code>ChecksumAlgorithm</code> parameter.</p>
62
62
  */
63
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
63
+ ChecksumAlgorithm?: ChecksumAlgorithm;
64
64
  /**
65
65
  * @public
66
66
  * <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>
@@ -76,7 +76,7 @@ export interface PutObjectRetentionOutput {
76
76
  * <p>If present, indicates that the requester was successfully charged for the
77
77
  * request.</p>
78
78
  */
79
- RequestCharged?: RequestCharged | string;
79
+ RequestCharged?: RequestCharged;
80
80
  }
81
81
  /**
82
82
  * @public
@@ -111,7 +111,7 @@ export interface PutObjectRetentionRequest {
111
111
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
112
112
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
113
113
  */
114
- RequestPayer?: RequestPayer | string;
114
+ RequestPayer?: RequestPayer;
115
115
  /**
116
116
  * @public
117
117
  * <p>The version ID for the object that you want to apply this Object Retention configuration
@@ -139,7 +139,7 @@ export interface PutObjectRetentionRequest {
139
139
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
140
140
  * <code>ChecksumAlgorithm</code> parameter.</p>
141
141
  */
142
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
142
+ ChecksumAlgorithm?: ChecksumAlgorithm;
143
143
  /**
144
144
  * @public
145
145
  * <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>
@@ -196,7 +196,7 @@ export interface PutObjectTaggingRequest {
196
196
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
197
197
  * <code>ChecksumAlgorithm</code> parameter.</p>
198
198
  */
199
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
199
+ ChecksumAlgorithm?: ChecksumAlgorithm;
200
200
  /**
201
201
  * @public
202
202
  * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
@@ -216,7 +216,7 @@ export interface PutObjectTaggingRequest {
216
216
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
217
217
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
218
218
  */
219
- RequestPayer?: RequestPayer | string;
219
+ RequestPayer?: RequestPayer;
220
220
  }
221
221
  /**
222
222
  * @public
@@ -246,7 +246,7 @@ export interface PutPublicAccessBlockRequest {
246
246
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
247
247
  * <code>ChecksumAlgorithm</code> parameter.</p>
248
248
  */
249
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
249
+ ChecksumAlgorithm?: ChecksumAlgorithm;
250
250
  /**
251
251
  * @public
252
252
  * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
@@ -281,7 +281,7 @@ export interface RestoreObjectOutput {
281
281
  * <p>If present, indicates that the requester was successfully charged for the
282
282
  * request.</p>
283
283
  */
284
- RequestCharged?: RequestCharged | string;
284
+ RequestCharged?: RequestCharged;
285
285
  /**
286
286
  * @public
287
287
  * <p>Indicates the path in the provided S3 output location where Select results will be
@@ -311,7 +311,7 @@ export interface GlacierJobParameters {
311
311
  * @public
312
312
  * <p>Retrieval tier at which the restore will be processed.</p>
313
313
  */
314
- Tier: Tier | string | undefined;
314
+ Tier: Tier | undefined;
315
315
  }
316
316
  /**
317
317
  * @public
@@ -323,7 +323,7 @@ export interface Encryption {
323
323
  * <p>The server-side encryption algorithm used when storing job results in Amazon S3 (for example,
324
324
  * AES256, <code>aws:kms</code>).</p>
325
325
  */
326
- EncryptionType: ServerSideEncryption | string | undefined;
326
+ EncryptionType: ServerSideEncryption | undefined;
327
327
  /**
328
328
  * @public
329
329
  * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
@@ -379,7 +379,7 @@ export interface S3Location {
379
379
  * @public
380
380
  * <p>The canned ACL to apply to the restore results.</p>
381
381
  */
382
- CannedACL?: ObjectCannedACL | string;
382
+ CannedACL?: ObjectCannedACL;
383
383
  /**
384
384
  * @public
385
385
  * <p>A list of grants that control access to the staged results.</p>
@@ -399,7 +399,7 @@ export interface S3Location {
399
399
  * @public
400
400
  * <p>The class of storage used to store the restore results.</p>
401
401
  */
402
- StorageClass?: StorageClass | string;
402
+ StorageClass?: StorageClass;
403
403
  }
404
404
  /**
405
405
  * @public
@@ -476,7 +476,7 @@ export interface CSVInput {
476
476
  * </li>
477
477
  * </ul>
478
478
  */
479
- FileHeaderInfo?: FileHeaderInfo | string;
479
+ FileHeaderInfo?: FileHeaderInfo;
480
480
  /**
481
481
  * @public
482
482
  * <p>A single character used to indicate that a row should be ignored when the character is
@@ -546,7 +546,7 @@ export interface JSONInput {
546
546
  * @public
547
547
  * <p>The type of JSON. Valid values: Document, Lines.</p>
548
548
  */
549
- Type?: JSONType | string;
549
+ Type?: JSONType;
550
550
  }
551
551
  /**
552
552
  * @public
@@ -569,7 +569,7 @@ export interface InputSerialization {
569
569
  * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:
570
570
  * NONE.</p>
571
571
  */
572
- CompressionType?: CompressionType | string;
572
+ CompressionType?: CompressionType;
573
573
  /**
574
574
  * @public
575
575
  * <p>Specifies JSON as object's input serialization format.</p>
@@ -613,7 +613,7 @@ export interface CSVOutput {
613
613
  * </li>
614
614
  * </ul>
615
615
  */
616
- QuoteFields?: QuoteFields | string;
616
+ QuoteFields?: QuoteFields;
617
617
  /**
618
618
  * @public
619
619
  * <p>The single character used for escaping the quote character inside an already escaped
@@ -682,7 +682,7 @@ export interface SelectParameters {
682
682
  * @public
683
683
  * <p>The type of the provided expression (for example, SQL).</p>
684
684
  */
685
- ExpressionType: ExpressionType | string | undefined;
685
+ ExpressionType: ExpressionType | undefined;
686
686
  /**
687
687
  * @public
688
688
  * <p>The expression that is used to query the object.</p>
@@ -728,12 +728,12 @@ export interface RestoreRequest {
728
728
  * @public
729
729
  * <p>Type of restore request.</p>
730
730
  */
731
- Type?: RestoreRequestType | string;
731
+ Type?: RestoreRequestType;
732
732
  /**
733
733
  * @public
734
734
  * <p>Retrieval tier at which the restore will be processed.</p>
735
735
  */
736
- Tier?: Tier | string;
736
+ Tier?: Tier;
737
737
  /**
738
738
  * @public
739
739
  * <p>The optional description for the job.</p>
@@ -788,7 +788,7 @@ export interface RestoreObjectRequest {
788
788
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
789
789
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
790
790
  */
791
- RequestPayer?: RequestPayer | string;
791
+ RequestPayer?: RequestPayer;
792
792
  /**
793
793
  * @public
794
794
  * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
@@ -799,7 +799,7 @@ export interface RestoreObjectRequest {
799
799
  * <p>If you provide an individual checksum, Amazon S3 ignores any provided
800
800
  * <code>ChecksumAlgorithm</code> parameter.</p>
801
801
  */
802
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
802
+ ChecksumAlgorithm?: ChecksumAlgorithm;
803
803
  /**
804
804
  * @public
805
805
  * <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>
@@ -1091,7 +1091,7 @@ export interface SelectObjectContentRequest {
1091
1091
  * @public
1092
1092
  * <p>The type of the provided expression (for example, SQL).</p>
1093
1093
  */
1094
- ExpressionType: ExpressionType | string | undefined;
1094
+ ExpressionType: ExpressionType | undefined;
1095
1095
  /**
1096
1096
  * @public
1097
1097
  * <p>Specifies if periodic request progress information should be enabled.</p>
@@ -1150,7 +1150,7 @@ export interface UploadPartOutput {
1150
1150
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1151
1151
  * <code>AES256</code>, <code>aws:kms</code>).</p>
1152
1152
  */
1153
- ServerSideEncryption?: ServerSideEncryption | string;
1153
+ ServerSideEncryption?: ServerSideEncryption;
1154
1154
  /**
1155
1155
  * @public
1156
1156
  * <p>Entity tag for the uploaded object.</p>
@@ -1218,7 +1218,7 @@ export interface UploadPartOutput {
1218
1218
  * <p>If present, indicates that the requester was successfully charged for the
1219
1219
  * request.</p>
1220
1220
  */
1221
- RequestCharged?: RequestCharged | string;
1221
+ RequestCharged?: RequestCharged;
1222
1222
  }
1223
1223
  /**
1224
1224
  * @public
@@ -1264,7 +1264,7 @@ export interface UploadPartRequest {
1264
1264
  * <p>This checksum algorithm must be the same for all parts and it match the checksum value
1265
1265
  * supplied in the <code>CreateMultipartUpload</code> request.</p>
1266
1266
  */
1267
- ChecksumAlgorithm?: ChecksumAlgorithm | string;
1267
+ ChecksumAlgorithm?: ChecksumAlgorithm;
1268
1268
  /**
1269
1269
  * @public
1270
1270
  * <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.
@@ -1344,7 +1344,7 @@ export interface UploadPartRequest {
1344
1344
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1345
1345
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1346
1346
  */
1347
- RequestPayer?: RequestPayer | string;
1347
+ RequestPayer?: RequestPayer;
1348
1348
  /**
1349
1349
  * @public
1350
1350
  * <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>
@@ -1419,7 +1419,7 @@ export interface UploadPartCopyOutput {
1419
1419
  * <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
1420
1420
  * <code>AES256</code>, <code>aws:kms</code>).</p>
1421
1421
  */
1422
- ServerSideEncryption?: ServerSideEncryption | string;
1422
+ ServerSideEncryption?: ServerSideEncryption;
1423
1423
  /**
1424
1424
  * @public
1425
1425
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
@@ -1450,7 +1450,7 @@ export interface UploadPartCopyOutput {
1450
1450
  * <p>If present, indicates that the requester was successfully charged for the
1451
1451
  * request.</p>
1452
1452
  */
1453
- RequestCharged?: RequestCharged | string;
1453
+ RequestCharged?: RequestCharged;
1454
1454
  }
1455
1455
  /**
1456
1456
  * @public
@@ -1588,7 +1588,7 @@ export interface UploadPartCopyRequest {
1588
1588
  * Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1589
1589
  * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1590
1590
  */
1591
- RequestPayer?: RequestPayer | string;
1591
+ RequestPayer?: RequestPayer;
1592
1592
  /**
1593
1593
  * @public
1594
1594
  * <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>
@@ -1858,12 +1858,12 @@ export interface WriteGetObjectResponseRequest {
1858
1858
  * <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information
1859
1859
  * about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
1860
1860
  */
1861
- ObjectLockMode?: ObjectLockMode | string;
1861
+ ObjectLockMode?: ObjectLockMode;
1862
1862
  /**
1863
1863
  * @public
1864
1864
  * <p>Indicates whether an object stored in Amazon S3 has an active legal hold.</p>
1865
1865
  */
1866
- ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
1866
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
1867
1867
  /**
1868
1868
  * @public
1869
1869
  * <p>The date and time when Object Lock is configured to expire.</p>
@@ -1879,13 +1879,13 @@ export interface WriteGetObjectResponseRequest {
1879
1879
  * <p>Indicates if request involves bucket that is either a source or destination in a
1880
1880
  * Replication rule. For more information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
1881
1881
  */
1882
- ReplicationStatus?: ReplicationStatus | string;
1882
+ ReplicationStatus?: ReplicationStatus;
1883
1883
  /**
1884
1884
  * @public
1885
1885
  * <p>If present, indicates that the requester was successfully charged for the
1886
1886
  * request.</p>
1887
1887
  */
1888
- RequestCharged?: RequestCharged | string;
1888
+ RequestCharged?: RequestCharged;
1889
1889
  /**
1890
1890
  * @public
1891
1891
  * <p>Provides information about object restoration operation and expiration time of the
@@ -1897,7 +1897,7 @@ export interface WriteGetObjectResponseRequest {
1897
1897
  * <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
1898
1898
  * example, AES256, <code>aws:kms</code>).</p>
1899
1899
  */
1900
- ServerSideEncryption?: ServerSideEncryption | string;
1900
+ ServerSideEncryption?: ServerSideEncryption;
1901
1901
  /**
1902
1902
  * @public
1903
1903
  * <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
@@ -1924,7 +1924,7 @@ export interface WriteGetObjectResponseRequest {
1924
1924
  * objects except for S3 Standard storage class objects.</p>
1925
1925
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
1926
1926
  */
1927
- StorageClass?: StorageClass | string;
1927
+ StorageClass?: StorageClass;
1928
1928
  /**
1929
1929
  * @public
1930
1930
  * <p>The number of tags, if any, on the object.</p>