@aws-sdk/client-s3 3.326.0 → 3.327.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.
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +22 -14
- package/dist-types/commands/CopyObjectCommand.d.ts +171 -144
- package/dist-types/commands/CreateBucketCommand.d.ts +128 -118
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +73 -48
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -3
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +3 -5
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +8 -8
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -2
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +6 -3
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -3
- package/dist-types/commands/DeleteObjectCommand.d.ts +21 -21
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +13 -15
- package/dist-types/commands/DeleteObjectsCommand.d.ts +35 -36
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -7
- package/dist-types/commands/GetBucketAclCommand.d.ts +14 -10
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -7
- package/dist-types/commands/GetBucketCorsCommand.d.ts +5 -0
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -7
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/GetBucketLocationCommand.d.ts +10 -2
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +5 -6
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -2
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -3
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +11 -3
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -3
- package/dist-types/commands/GetObjectAclCommand.d.ts +5 -7
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +42 -45
- package/dist-types/commands/GetObjectCommand.d.ts +116 -112
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +5 -5
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +19 -9
- package/dist-types/commands/HeadObjectCommand.d.ts +36 -33
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -4
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -5
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -7
- package/dist-types/commands/ListBucketsCommand.d.ts +9 -7
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -2
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +3 -6
- package/dist-types/commands/ListObjectsV2Command.d.ts +13 -14
- package/dist-types/commands/ListPartsCommand.d.ts +3 -4
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketAclCommand.d.ts +114 -111
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +7 -10
- package/dist-types/commands/PutBucketCorsCommand.d.ts +3 -5
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +17 -17
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +31 -59
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +50 -65
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +64 -62
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +45 -39
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +9 -12
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +8 -4
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -28
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +12 -12
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +7 -9
- package/dist-types/commands/PutObjectAclCommand.d.ts +123 -119
- package/dist-types/commands/PutObjectCommand.d.ts +81 -90
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +7 -9
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -4
- package/dist-types/commands/RestoreObjectCommand.d.ts +175 -199
- package/dist-types/commands/SelectObjectContentCommand.d.ts +83 -90
- package/dist-types/commands/UploadPartCommand.d.ts +26 -22
- package/dist-types/commands/UploadPartCopyCommand.d.ts +78 -76
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +32 -21
- package/dist-types/models/models_0.d.ts +468 -382
- package/dist-types/models/models_1.d.ts +82 -80
- package/package.json +7 -7
|
@@ -86,8 +86,8 @@ export interface PutObjectTaggingRequest {
|
|
|
86
86
|
/**
|
|
87
87
|
* <p>The bucket name containing the object. </p>
|
|
88
88
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
89
|
-
* <p>When
|
|
90
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
89
|
+
* <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
90
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
91
91
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
92
92
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
93
93
|
*/
|
|
@@ -225,15 +225,14 @@ export interface GlacierJobParameters {
|
|
|
225
225
|
export interface Encryption {
|
|
226
226
|
/**
|
|
227
227
|
* <p>The server-side encryption algorithm used when storing job results in Amazon S3 (for example,
|
|
228
|
-
* AES256, aws:kms).</p>
|
|
228
|
+
* AES256, <code>aws:kms</code>).</p>
|
|
229
229
|
*/
|
|
230
230
|
EncryptionType: ServerSideEncryption | string | undefined;
|
|
231
231
|
/**
|
|
232
232
|
* <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
|
|
233
|
-
* the symmetric customer managed key to use for encryption of job results. Amazon S3 only
|
|
234
|
-
* supports symmetric keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">
|
|
235
|
-
*
|
|
236
|
-
* Guide</i>.</p>
|
|
233
|
+
* the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only
|
|
234
|
+
* supports symmetric encryption KMS keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric keys in Amazon Web Services KMS</a> in the <i>Amazon Web Services Key Management Service
|
|
235
|
+
* Developer Guide</i>.</p>
|
|
237
236
|
*/
|
|
238
237
|
KMSKeyId?: string;
|
|
239
238
|
/**
|
|
@@ -370,8 +369,10 @@ export interface CSVInput {
|
|
|
370
369
|
FileHeaderInfo?: FileHeaderInfo | string;
|
|
371
370
|
/**
|
|
372
371
|
* <p>A single character used to indicate that a row should be ignored when the character is
|
|
373
|
-
* present at the start of that row. You can specify any character to indicate a comment
|
|
374
|
-
*
|
|
372
|
+
* present at the start of that row. You can specify any character to indicate a comment line.
|
|
373
|
+
* The default character is <code>#</code>.</p>
|
|
374
|
+
* <p>Default: <code>#</code>
|
|
375
|
+
* </p>
|
|
375
376
|
*/
|
|
376
377
|
Comments?: string;
|
|
377
378
|
/**
|
|
@@ -616,8 +617,8 @@ export interface RestoreObjectRequest {
|
|
|
616
617
|
/**
|
|
617
618
|
* <p>The bucket name containing the object to restore. </p>
|
|
618
619
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
619
|
-
* <p>When
|
|
620
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
620
|
+
* <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
621
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
621
622
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
622
623
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
623
624
|
*/
|
|
@@ -964,7 +965,7 @@ export interface SelectObjectContentRequest {
|
|
|
964
965
|
export interface UploadPartOutput {
|
|
965
966
|
/**
|
|
966
967
|
* <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
|
|
967
|
-
* AES256, aws:kms).</p>
|
|
968
|
+
* AES256, <code>aws:kms</code>).</p>
|
|
968
969
|
*/
|
|
969
970
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
970
971
|
/**
|
|
@@ -1012,11 +1013,12 @@ export interface UploadPartOutput {
|
|
|
1012
1013
|
SSECustomerKeyMD5?: string;
|
|
1013
1014
|
/**
|
|
1014
1015
|
* <p>If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1015
|
-
* customer managed key was used for the object.</p>
|
|
1016
|
+
* encryption customer managed key was used for the object.</p>
|
|
1016
1017
|
*/
|
|
1017
1018
|
SSEKMSKeyId?: string;
|
|
1018
1019
|
/**
|
|
1019
|
-
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
|
|
1020
|
+
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
|
|
1021
|
+
* with Amazon Web Services KMS (SSE-KMS).</p>
|
|
1020
1022
|
*/
|
|
1021
1023
|
BucketKeyEnabled?: boolean;
|
|
1022
1024
|
/**
|
|
@@ -1036,8 +1038,8 @@ export interface UploadPartRequest {
|
|
|
1036
1038
|
/**
|
|
1037
1039
|
* <p>The name of the bucket to which the multipart upload was initiated.</p>
|
|
1038
1040
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1039
|
-
* <p>When
|
|
1040
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
1041
|
+
* <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
1042
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1041
1043
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1042
1044
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1043
1045
|
*/
|
|
@@ -1061,8 +1063,8 @@ export interface UploadPartRequest {
|
|
|
1061
1063
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1062
1064
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1063
1065
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1064
|
-
* <p>This checksum algorithm must be the same for all parts and it match the checksum
|
|
1065
|
-
*
|
|
1066
|
+
* <p>This checksum algorithm must be the same for all parts and it match the checksum value
|
|
1067
|
+
* supplied in the <code>CreateMultipartUpload</code> request.</p>
|
|
1066
1068
|
*/
|
|
1067
1069
|
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
1068
1070
|
/**
|
|
@@ -1194,7 +1196,7 @@ export interface UploadPartCopyOutput {
|
|
|
1194
1196
|
CopyPartResult?: CopyPartResult;
|
|
1195
1197
|
/**
|
|
1196
1198
|
* <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
|
|
1197
|
-
* AES256, aws:kms).</p>
|
|
1199
|
+
* AES256, <code>aws:kms</code>).</p>
|
|
1198
1200
|
*/
|
|
1199
1201
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
1200
1202
|
/**
|
|
@@ -1210,11 +1212,12 @@ export interface UploadPartCopyOutput {
|
|
|
1210
1212
|
SSECustomerKeyMD5?: string;
|
|
1211
1213
|
/**
|
|
1212
1214
|
* <p>If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1213
|
-
* customer managed key that was used for the object.</p>
|
|
1215
|
+
* encryption customer managed key that was used for the object.</p>
|
|
1214
1216
|
*/
|
|
1215
1217
|
SSEKMSKeyId?: string;
|
|
1216
1218
|
/**
|
|
1217
|
-
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
|
|
1219
|
+
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
|
|
1220
|
+
* with Amazon Web Services KMS (SSE-KMS).</p>
|
|
1218
1221
|
*/
|
|
1219
1222
|
BucketKeyEnabled?: boolean;
|
|
1220
1223
|
/**
|
|
@@ -1230,8 +1233,8 @@ export interface UploadPartCopyRequest {
|
|
|
1230
1233
|
/**
|
|
1231
1234
|
* <p>The bucket name.</p>
|
|
1232
1235
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1233
|
-
* <p>When
|
|
1234
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
1236
|
+
* <p>When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
1237
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1235
1238
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1236
1239
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1237
1240
|
*/
|
|
@@ -1369,10 +1372,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1369
1372
|
Body?: Readable | ReadableStream | Blob;
|
|
1370
1373
|
/**
|
|
1371
1374
|
* <p>The integer status code for an HTTP response of a corresponding <code>GetObject</code>
|
|
1372
|
-
* request.</p>
|
|
1373
|
-
* <p class="title">
|
|
1374
|
-
* <b>Status Codes</b>
|
|
1375
|
-
* </p>
|
|
1375
|
+
* request. The following is a list of status codes.</p>
|
|
1376
1376
|
* <ul>
|
|
1377
1377
|
* <li>
|
|
1378
1378
|
* <p>
|
|
@@ -1476,8 +1476,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1476
1476
|
ContentDisposition?: string;
|
|
1477
1477
|
/**
|
|
1478
1478
|
* <p>Specifies what content encodings have been applied to the object and thus what decoding
|
|
1479
|
-
*
|
|
1480
|
-
*
|
|
1479
|
+
* mechanisms must be applied to obtain the media-type referenced by the Content-Type header
|
|
1480
|
+
* field.</p>
|
|
1481
1481
|
*/
|
|
1482
1482
|
ContentEncoding?: string;
|
|
1483
1483
|
/**
|
|
@@ -1497,52 +1497,52 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1497
1497
|
*/
|
|
1498
1498
|
ContentType?: string;
|
|
1499
1499
|
/**
|
|
1500
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1503
|
-
*
|
|
1504
|
-
*
|
|
1505
|
-
*
|
|
1506
|
-
*
|
|
1507
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1508
|
-
*
|
|
1500
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1501
|
+
* the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32
|
|
1502
|
+
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
1503
|
+
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
1504
|
+
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
1505
|
+
* more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
|
|
1506
|
+
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1507
|
+
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
1508
|
+
* headers, this request will fail.</p>
|
|
1509
1509
|
* <p></p>
|
|
1510
1510
|
*/
|
|
1511
1511
|
ChecksumCRC32?: string;
|
|
1512
1512
|
/**
|
|
1513
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1514
|
-
*
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
1519
|
-
*
|
|
1520
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1521
|
-
*
|
|
1513
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1514
|
+
* the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C
|
|
1515
|
+
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
1516
|
+
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
1517
|
+
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
1518
|
+
* more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
|
|
1519
|
+
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1520
|
+
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
1521
|
+
* headers, this request will fail.</p>
|
|
1522
1522
|
*/
|
|
1523
1523
|
ChecksumCRC32C?: string;
|
|
1524
1524
|
/**
|
|
1525
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1526
|
-
*
|
|
1527
|
-
*
|
|
1528
|
-
*
|
|
1529
|
-
*
|
|
1530
|
-
*
|
|
1531
|
-
*
|
|
1532
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1533
|
-
*
|
|
1525
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1526
|
+
* the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1
|
|
1527
|
+
* digest of the object returned by the Object Lambda function. This may not match the
|
|
1528
|
+
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
1529
|
+
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
1530
|
+
* more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
|
|
1531
|
+
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1532
|
+
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
1533
|
+
* headers, this request will fail.</p>
|
|
1534
1534
|
*/
|
|
1535
1535
|
ChecksumSHA1?: string;
|
|
1536
1536
|
/**
|
|
1537
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1538
|
-
*
|
|
1539
|
-
*
|
|
1540
|
-
*
|
|
1541
|
-
*
|
|
1542
|
-
*
|
|
1543
|
-
*
|
|
1544
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1545
|
-
*
|
|
1537
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1538
|
+
* the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256
|
|
1539
|
+
* digest of the object returned by the Object Lambda function. This may not match the
|
|
1540
|
+
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
1541
|
+
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
1542
|
+
* more information about checksums, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
|
|
1543
|
+
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1544
|
+
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
1545
|
+
* headers, this request will fail.</p>
|
|
1546
1546
|
*/
|
|
1547
1547
|
ChecksumSHA256?: string;
|
|
1548
1548
|
/**
|
|
@@ -1560,10 +1560,10 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1560
1560
|
*/
|
|
1561
1561
|
Expires?: Date;
|
|
1562
1562
|
/**
|
|
1563
|
-
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response
|
|
1564
|
-
*
|
|
1565
|
-
*
|
|
1566
|
-
*
|
|
1563
|
+
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
|
|
1564
|
+
* this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
|
|
1565
|
+
* pairs that provide the object expiration information. The value of the <code>rule-id</code>
|
|
1566
|
+
* is URL-encoded. </p>
|
|
1567
1567
|
*/
|
|
1568
1568
|
Expiration?: string;
|
|
1569
1569
|
/**
|
|
@@ -1582,8 +1582,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1582
1582
|
*/
|
|
1583
1583
|
Metadata?: Record<string, string>;
|
|
1584
1584
|
/**
|
|
1585
|
-
* <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more
|
|
1586
|
-
*
|
|
1585
|
+
* <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information
|
|
1586
|
+
* about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
|
|
1587
1587
|
*/
|
|
1588
1588
|
ObjectLockMode?: ObjectLockMode | string;
|
|
1589
1589
|
/**
|
|
@@ -1599,8 +1599,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1599
1599
|
*/
|
|
1600
1600
|
PartsCount?: number;
|
|
1601
1601
|
/**
|
|
1602
|
-
* <p>Indicates if request involves bucket that is either a source or destination in a
|
|
1603
|
-
*
|
|
1602
|
+
* <p>Indicates if request involves bucket that is either a source or destination in a
|
|
1603
|
+
* Replication rule. For more information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
|
|
1604
1604
|
*/
|
|
1605
1605
|
ReplicationStatus?: ReplicationStatus | string;
|
|
1606
1606
|
/**
|
|
@@ -1610,19 +1610,22 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1610
1610
|
RequestCharged?: RequestCharged | string;
|
|
1611
1611
|
/**
|
|
1612
1612
|
* <p>Provides information about object restoration operation and expiration time of the
|
|
1613
|
-
*
|
|
1613
|
+
* restored object copy.</p>
|
|
1614
1614
|
*/
|
|
1615
1615
|
Restore?: string;
|
|
1616
1616
|
/**
|
|
1617
|
-
* <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
|
|
1617
|
+
* <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
|
|
1618
|
+
* example, AES256, <code>aws:kms</code>).</p>
|
|
1618
1619
|
*/
|
|
1619
1620
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
1620
1621
|
/**
|
|
1621
|
-
* <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
|
|
1622
|
+
* <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
|
|
1623
|
+
* key was specified for object stored in Amazon S3.</p>
|
|
1622
1624
|
*/
|
|
1623
1625
|
SSECustomerAlgorithm?: string;
|
|
1624
1626
|
/**
|
|
1625
|
-
* <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1627
|
+
* <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1628
|
+
* encryption customer managed key that was used for stored in Amazon S3 object. </p>
|
|
1626
1629
|
*/
|
|
1627
1630
|
SSEKMSKeyId?: string;
|
|
1628
1631
|
/**
|
|
@@ -1634,9 +1637,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1634
1637
|
SSECustomerKeyMD5?: string;
|
|
1635
1638
|
/**
|
|
1636
1639
|
* <p>Provides storage class information of the object. Amazon S3 returns this header for all
|
|
1637
|
-
*
|
|
1638
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
|
|
1639
|
-
* Classes</a>.</p>
|
|
1640
|
+
* objects except for S3 Standard storage class objects.</p>
|
|
1641
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
|
|
1640
1642
|
*/
|
|
1641
1643
|
StorageClass?: StorageClass | string;
|
|
1642
1644
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.327.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"@aws-crypto/sha1-browser": "3.0.0",
|
|
26
26
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
28
|
-
"@aws-sdk/client-sts": "3.
|
|
28
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
29
29
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
30
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
31
31
|
"@aws-sdk/eventstream-serde-browser": "3.310.0",
|
|
32
32
|
"@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
|
|
33
33
|
"@aws-sdk/eventstream-serde-node": "3.310.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"@aws-sdk/middleware-location-constraint": "3.325.0",
|
|
47
47
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
48
48
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
49
|
-
"@aws-sdk/middleware-retry": "3.
|
|
49
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
50
50
|
"@aws-sdk/middleware-sdk-s3": "3.326.0",
|
|
51
51
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
52
52
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
53
53
|
"@aws-sdk/middleware-ssec": "3.325.0",
|
|
54
54
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
55
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
55
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
56
56
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
57
57
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
58
58
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
66
66
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
67
67
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
68
|
-
"@aws-sdk/util-endpoints": "3.
|
|
69
|
-
"@aws-sdk/util-retry": "3.
|
|
68
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
69
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
70
70
|
"@aws-sdk/util-stream-browser": "3.310.0",
|
|
71
71
|
"@aws-sdk/util-stream-node": "3.321.1",
|
|
72
72
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|