@aws-sdk/client-s3 3.312.0 → 3.316.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-cjs/S3.js +97 -1302
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/protocols/Aws_restXml.js +373 -466
- package/dist-es/S3.js +97 -1302
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restXml.js +95 -188
- package/dist-types/S3.d.ts +100 -5179
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +14 -22
- package/dist-types/commands/CopyObjectCommand.d.ts +31 -54
- package/dist-types/commands/CreateBucketCommand.d.ts +14 -22
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +49 -75
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +5 -7
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +3 -4
- package/dist-types/commands/DeleteObjectCommand.d.ts +11 -11
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +4 -2
- package/dist-types/commands/DeleteObjectsCommand.d.ts +14 -13
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketAclCommand.d.ts +7 -9
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketCorsCommand.d.ts +0 -1
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -7
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- 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 +0 -4
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -5
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -1
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -2
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +4 -5
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +28 -23
- package/dist-types/commands/GetObjectCommand.d.ts +18 -20
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- 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 +9 -15
- package/dist-types/commands/HeadObjectCommand.d.ts +19 -20
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -4
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -5
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +7 -6
- package/dist-types/commands/ListBucketsCommand.d.ts +1 -3
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -2
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +6 -3
- package/dist-types/commands/ListObjectsV2Command.d.ts +12 -11
- package/dist-types/commands/ListPartsCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
- package/dist-types/commands/PutBucketAclCommand.d.ts +12 -15
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +14 -16
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +8 -20
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +7 -11
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +9 -9
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -4
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -2
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +12 -13
- 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 +4 -4
- package/dist-types/commands/PutObjectAclCommand.d.ts +13 -17
- package/dist-types/commands/PutObjectCommand.d.ts +54 -45
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -3
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +3 -4
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +69 -50
- package/dist-types/commands/SelectObjectContentCommand.d.ts +17 -13
- package/dist-types/commands/UploadPartCommand.d.ts +16 -23
- package/dist-types/commands/UploadPartCopyCommand.d.ts +5 -7
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +22 -33
- package/dist-types/models/models_0.d.ts +363 -426
- package/dist-types/models/models_1.d.ts +76 -81
- package/dist-types/ts3.4/S3.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +6 -6
|
@@ -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 using 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 using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon 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,14 +225,15 @@ 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,
|
|
228
|
+
* AES256, aws:kms).</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
|
|
234
|
-
* supports symmetric
|
|
235
|
-
*
|
|
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">Using symmetric and
|
|
235
|
+
* asymmetric keys</a> in the <i>Amazon Web Services Key Management Service Developer
|
|
236
|
+
* Guide</i>.</p>
|
|
236
237
|
*/
|
|
237
238
|
KMSKeyId?: string;
|
|
238
239
|
/**
|
|
@@ -369,10 +370,8 @@ export interface CSVInput {
|
|
|
369
370
|
FileHeaderInfo?: FileHeaderInfo | string;
|
|
370
371
|
/**
|
|
371
372
|
* <p>A single character used to indicate that a row should be ignored when the character is
|
|
372
|
-
* present at the start of that row. You can specify any character to indicate a comment
|
|
373
|
-
*
|
|
374
|
-
* <p>Default: <code>#</code>
|
|
375
|
-
* </p>
|
|
373
|
+
* present at the start of that row. You can specify any character to indicate a comment
|
|
374
|
+
* line.</p>
|
|
376
375
|
*/
|
|
377
376
|
Comments?: string;
|
|
378
377
|
/**
|
|
@@ -617,8 +616,8 @@ export interface RestoreObjectRequest {
|
|
|
617
616
|
/**
|
|
618
617
|
* <p>The bucket name containing the object to restore. </p>
|
|
619
618
|
* <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>
|
|
620
|
-
* <p>When
|
|
621
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
619
|
+
* <p>When using 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>
|
|
620
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
622
621
|
* <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.
|
|
623
622
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
624
623
|
*/
|
|
@@ -965,7 +964,7 @@ export interface SelectObjectContentRequest {
|
|
|
965
964
|
export interface UploadPartOutput {
|
|
966
965
|
/**
|
|
967
966
|
* <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
|
|
968
|
-
* AES256,
|
|
967
|
+
* AES256, aws:kms).</p>
|
|
969
968
|
*/
|
|
970
969
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
971
970
|
/**
|
|
@@ -1013,12 +1012,11 @@ export interface UploadPartOutput {
|
|
|
1013
1012
|
SSECustomerKeyMD5?: string;
|
|
1014
1013
|
/**
|
|
1015
1014
|
* <p>If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1016
|
-
*
|
|
1015
|
+
* customer managed key was used for the object.</p>
|
|
1017
1016
|
*/
|
|
1018
1017
|
SSEKMSKeyId?: string;
|
|
1019
1018
|
/**
|
|
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>
|
|
1019
|
+
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).</p>
|
|
1022
1020
|
*/
|
|
1023
1021
|
BucketKeyEnabled?: boolean;
|
|
1024
1022
|
/**
|
|
@@ -1038,8 +1036,8 @@ export interface UploadPartRequest {
|
|
|
1038
1036
|
/**
|
|
1039
1037
|
* <p>The name of the bucket to which the multipart upload was initiated.</p>
|
|
1040
1038
|
* <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>
|
|
1041
|
-
* <p>When
|
|
1042
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
1039
|
+
* <p>When using 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>
|
|
1040
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1043
1041
|
* <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.
|
|
1044
1042
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1045
1043
|
*/
|
|
@@ -1063,8 +1061,8 @@ export interface UploadPartRequest {
|
|
|
1063
1061
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1064
1062
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1065
1063
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1066
|
-
* <p>This checksum algorithm must be the same for all parts and it match the checksum
|
|
1067
|
-
*
|
|
1064
|
+
* <p>This checksum algorithm must be the same for all parts and it match the checksum
|
|
1065
|
+
* value supplied in the <code>CreateMultipartUpload</code> request.</p>
|
|
1068
1066
|
*/
|
|
1069
1067
|
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
1070
1068
|
/**
|
|
@@ -1196,7 +1194,7 @@ export interface UploadPartCopyOutput {
|
|
|
1196
1194
|
CopyPartResult?: CopyPartResult;
|
|
1197
1195
|
/**
|
|
1198
1196
|
* <p>The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
|
|
1199
|
-
* AES256,
|
|
1197
|
+
* AES256, aws:kms).</p>
|
|
1200
1198
|
*/
|
|
1201
1199
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
1202
1200
|
/**
|
|
@@ -1212,12 +1210,11 @@ export interface UploadPartCopyOutput {
|
|
|
1212
1210
|
SSECustomerKeyMD5?: string;
|
|
1213
1211
|
/**
|
|
1214
1212
|
* <p>If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1215
|
-
*
|
|
1213
|
+
* customer managed key that was used for the object.</p>
|
|
1216
1214
|
*/
|
|
1217
1215
|
SSEKMSKeyId?: string;
|
|
1218
1216
|
/**
|
|
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>
|
|
1217
|
+
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).</p>
|
|
1221
1218
|
*/
|
|
1222
1219
|
BucketKeyEnabled?: boolean;
|
|
1223
1220
|
/**
|
|
@@ -1233,8 +1230,8 @@ export interface UploadPartCopyRequest {
|
|
|
1233
1230
|
/**
|
|
1234
1231
|
* <p>The bucket name.</p>
|
|
1235
1232
|
* <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>
|
|
1236
|
-
* <p>When
|
|
1237
|
-
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When
|
|
1233
|
+
* <p>When using 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>
|
|
1234
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket 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">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1238
1235
|
* <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.
|
|
1239
1236
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1240
1237
|
*/
|
|
@@ -1479,8 +1476,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1479
1476
|
ContentDisposition?: string;
|
|
1480
1477
|
/**
|
|
1481
1478
|
* <p>Specifies what content encodings have been applied to the object and thus what decoding
|
|
1482
|
-
*
|
|
1483
|
-
*
|
|
1479
|
+
* mechanisms must be applied to obtain the media-type referenced by the Content-Type header
|
|
1480
|
+
* field.</p>
|
|
1484
1481
|
*/
|
|
1485
1482
|
ContentEncoding?: string;
|
|
1486
1483
|
/**
|
|
@@ -1500,52 +1497,52 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1500
1497
|
*/
|
|
1501
1498
|
ContentType?: string;
|
|
1502
1499
|
/**
|
|
1503
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1504
|
-
*
|
|
1505
|
-
*
|
|
1506
|
-
*
|
|
1507
|
-
*
|
|
1508
|
-
*
|
|
1509
|
-
*
|
|
1510
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1511
|
-
*
|
|
1500
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the
|
|
1501
|
+
* same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32 checksum
|
|
1502
|
+
* of the object returned by the Object Lambda function. This may not match the checksum for the
|
|
1503
|
+
* object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
|
|
1504
|
+
* <code>GetObject</code> request required checksum validation. For more information about checksums, see
|
|
1505
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
|
|
1506
|
+
* object 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
|
|
1508
|
+
* checksum headers, this request will fail.</p>
|
|
1512
1509
|
* <p></p>
|
|
1513
1510
|
*/
|
|
1514
1511
|
ChecksumCRC32?: string;
|
|
1515
1512
|
/**
|
|
1516
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
1519
|
-
*
|
|
1520
|
-
*
|
|
1521
|
-
*
|
|
1522
|
-
*
|
|
1523
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1524
|
-
*
|
|
1513
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the
|
|
1514
|
+
* same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C checksum
|
|
1515
|
+
* of the object returned by the Object Lambda function. This may not match the checksum for the
|
|
1516
|
+
* object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
|
|
1517
|
+
* <code>GetObject</code> request required checksum validation. For more information about checksums, see
|
|
1518
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
|
|
1519
|
+
* object 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
|
|
1521
|
+
* checksum headers, this request will fail.</p>
|
|
1525
1522
|
*/
|
|
1526
1523
|
ChecksumCRC32C?: string;
|
|
1527
1524
|
/**
|
|
1528
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1529
|
-
*
|
|
1530
|
-
*
|
|
1531
|
-
*
|
|
1532
|
-
*
|
|
1533
|
-
*
|
|
1534
|
-
*
|
|
1535
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1536
|
-
*
|
|
1525
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the
|
|
1526
|
+
* same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1 digest
|
|
1527
|
+
* of the object returned by the Object Lambda function. This may not match the checksum for the
|
|
1528
|
+
* object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
|
|
1529
|
+
* <code>GetObject</code> request required checksum validation. For more information about checksums, see
|
|
1530
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
|
|
1531
|
+
* object 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
|
|
1533
|
+
* checksum headers, this request will fail.</p>
|
|
1537
1534
|
*/
|
|
1538
1535
|
ChecksumSHA1?: string;
|
|
1539
1536
|
/**
|
|
1540
|
-
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1541
|
-
*
|
|
1542
|
-
*
|
|
1543
|
-
*
|
|
1544
|
-
*
|
|
1545
|
-
*
|
|
1546
|
-
*
|
|
1547
|
-
* <p>Only one checksum header can be specified at a time. If you supply multiple
|
|
1548
|
-
*
|
|
1537
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the
|
|
1538
|
+
* same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256 digest
|
|
1539
|
+
* of the object returned by the Object Lambda function. This may not match the checksum for the
|
|
1540
|
+
* object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
|
|
1541
|
+
* <code>GetObject</code> request required checksum validation. For more information about checksums, see
|
|
1542
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
|
|
1543
|
+
* object 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
|
|
1545
|
+
* checksum headers, this request will fail.</p>
|
|
1549
1546
|
*/
|
|
1550
1547
|
ChecksumSHA256?: string;
|
|
1551
1548
|
/**
|
|
@@ -1563,10 +1560,10 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1563
1560
|
*/
|
|
1564
1561
|
Expires?: Date;
|
|
1565
1562
|
/**
|
|
1566
|
-
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response
|
|
1567
|
-
* this header. It includes the <code>expiry-date</code> and <code>rule-id</code>
|
|
1568
|
-
* pairs that provide the object expiration information. The value of the
|
|
1569
|
-
*
|
|
1563
|
+
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response
|
|
1564
|
+
* includes this header. It includes the <code>expiry-date</code> and <code>rule-id</code>
|
|
1565
|
+
* key-value pairs that provide the object expiration information. The value of the
|
|
1566
|
+
* <code>rule-id</code> is URL-encoded. </p>
|
|
1570
1567
|
*/
|
|
1571
1568
|
Expiration?: string;
|
|
1572
1569
|
/**
|
|
@@ -1585,8 +1582,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1585
1582
|
*/
|
|
1586
1583
|
Metadata?: Record<string, string>;
|
|
1587
1584
|
/**
|
|
1588
|
-
* <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more
|
|
1589
|
-
*
|
|
1585
|
+
* <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more
|
|
1586
|
+
* information about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
|
|
1590
1587
|
*/
|
|
1591
1588
|
ObjectLockMode?: ObjectLockMode | string;
|
|
1592
1589
|
/**
|
|
@@ -1602,8 +1599,8 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1602
1599
|
*/
|
|
1603
1600
|
PartsCount?: number;
|
|
1604
1601
|
/**
|
|
1605
|
-
* <p>Indicates if request involves bucket that is either a source or destination in a
|
|
1606
|
-
*
|
|
1602
|
+
* <p>Indicates if request involves bucket that is either a source or destination in a Replication rule. For more
|
|
1603
|
+
* information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
|
|
1607
1604
|
*/
|
|
1608
1605
|
ReplicationStatus?: ReplicationStatus | string;
|
|
1609
1606
|
/**
|
|
@@ -1613,22 +1610,19 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1613
1610
|
RequestCharged?: RequestCharged | string;
|
|
1614
1611
|
/**
|
|
1615
1612
|
* <p>Provides information about object restoration operation and expiration time of the
|
|
1616
|
-
*
|
|
1613
|
+
* restored object copy.</p>
|
|
1617
1614
|
*/
|
|
1618
1615
|
Restore?: string;
|
|
1619
1616
|
/**
|
|
1620
|
-
* <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
|
|
1621
|
-
* example, AES256, <code>aws:kms</code>).</p>
|
|
1617
|
+
* <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256, aws:kms).</p>
|
|
1622
1618
|
*/
|
|
1623
1619
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
1624
1620
|
/**
|
|
1625
|
-
* <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
|
|
1626
|
-
* key was specified for object stored in Amazon S3.</p>
|
|
1621
|
+
* <p>Encryption algorithm used if server-side encryption with a customer-provided encryption key was specified for object stored in Amazon S3.</p>
|
|
1627
1622
|
*/
|
|
1628
1623
|
SSECustomerAlgorithm?: string;
|
|
1629
1624
|
/**
|
|
1630
|
-
* <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
1631
|
-
* encryption customer managed key that was used for stored in Amazon S3 object. </p>
|
|
1625
|
+
* <p> If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for stored in Amazon S3 object. </p>
|
|
1632
1626
|
*/
|
|
1633
1627
|
SSEKMSKeyId?: string;
|
|
1634
1628
|
/**
|
|
@@ -1640,8 +1634,9 @@ export interface WriteGetObjectResponseRequest {
|
|
|
1640
1634
|
SSECustomerKeyMD5?: string;
|
|
1641
1635
|
/**
|
|
1642
1636
|
* <p>Provides storage class information of the object. Amazon S3 returns this header for all
|
|
1643
|
-
*
|
|
1644
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
|
|
1637
|
+
* objects except for S3 Standard storage class objects.</p>
|
|
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>
|
|
1645
1640
|
*/
|
|
1646
1641
|
StorageClass?: StorageClass | string;
|
|
1647
1642
|
/**
|
package/dist-types/ts3.4/S3.d.ts
CHANGED
|
@@ -372,7 +372,7 @@ import {
|
|
|
372
372
|
WriteGetObjectResponseCommandOutput,
|
|
373
373
|
} from "./commands/WriteGetObjectResponseCommand";
|
|
374
374
|
import { S3Client } from "./S3Client";
|
|
375
|
-
export
|
|
375
|
+
export interface S3 {
|
|
376
376
|
abortMultipartUpload(
|
|
377
377
|
args: AbortMultipartUploadCommandInput,
|
|
378
378
|
options?: __HttpHandlerOptions
|
|
@@ -1643,3 +1643,4 @@ export declare class S3 extends S3Client {
|
|
|
1643
1643
|
cb: (err: any, data?: WriteGetObjectResponseCommandOutput) => void
|
|
1644
1644
|
): void;
|
|
1645
1645
|
}
|
|
1646
|
+
export declare class S3 extends S3Client implements S3 {}
|
|
@@ -191,6 +191,7 @@ export declare const StorageClass: {
|
|
|
191
191
|
readonly ONEZONE_IA: "ONEZONE_IA";
|
|
192
192
|
readonly OUTPOSTS: "OUTPOSTS";
|
|
193
193
|
readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
|
|
194
|
+
readonly SNOW: "SNOW";
|
|
194
195
|
readonly STANDARD: "STANDARD";
|
|
195
196
|
readonly STANDARD_IA: "STANDARD_IA";
|
|
196
197
|
};
|
|
@@ -1703,6 +1704,7 @@ export declare const ObjectStorageClass: {
|
|
|
1703
1704
|
readonly ONEZONE_IA: "ONEZONE_IA";
|
|
1704
1705
|
readonly OUTPOSTS: "OUTPOSTS";
|
|
1705
1706
|
readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
|
|
1707
|
+
readonly SNOW: "SNOW";
|
|
1706
1708
|
readonly STANDARD: "STANDARD";
|
|
1707
1709
|
readonly STANDARD_IA: "STANDARD_IA";
|
|
1708
1710
|
};
|
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.316.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.316.0",
|
|
29
29
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
30
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-node": "3.316.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",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
58
58
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
59
59
|
"@aws-sdk/signature-v4-multi-region": "3.310.0",
|
|
60
|
-
"@aws-sdk/smithy-client": "3.
|
|
60
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
61
61
|
"@aws-sdk/types": "3.310.0",
|
|
62
62
|
"@aws-sdk/url-parser": "3.310.0",
|
|
63
63
|
"@aws-sdk/util-base64": "3.310.0",
|
|
64
64
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
65
65
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
66
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
67
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
66
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
67
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
68
68
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
69
69
|
"@aws-sdk/util-retry": "3.310.0",
|
|
70
70
|
"@aws-sdk/util-stream-browser": "3.310.0",
|