@aws-sdk/client-s3 3.740.0 → 3.743.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/index.js +5 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CopyObjectCommand.d.ts +16 -6
- package/dist-types/commands/CreateBucketCommand.d.ts +16 -16
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteObjectCommand.d.ts +13 -13
- package/dist-types/commands/DeleteObjectsCommand.d.ts +30 -31
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectCommand.d.ts +3 -3
- package/dist-types/commands/HeadBucketCommand.d.ts +2 -2
- package/dist-types/commands/HeadObjectCommand.d.ts +3 -3
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -3
- package/dist-types/commands/ListObjectsV2Command.d.ts +3 -3
- package/dist-types/commands/ListPartsCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/PutObjectCommand.d.ts +42 -32
- package/dist-types/commands/UploadPartCommand.d.ts +3 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +115 -86
- package/dist-types/models/models_1.d.ts +38 -33
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +6 -6
|
@@ -47,7 +47,7 @@ export interface PutBucketCorsRequest {
|
|
|
47
47
|
*/
|
|
48
48
|
ContentMD5?: string | undefined;
|
|
49
49
|
/**
|
|
50
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
50
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
51
51
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
52
52
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
53
53
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -92,7 +92,7 @@ export interface PutBucketEncryptionRequest {
|
|
|
92
92
|
*/
|
|
93
93
|
ContentMD5?: string | undefined;
|
|
94
94
|
/**
|
|
95
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
95
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
96
96
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
97
97
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
98
98
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -227,7 +227,7 @@ export interface PutBucketLifecycleConfigurationRequest {
|
|
|
227
227
|
*/
|
|
228
228
|
Bucket: string | undefined;
|
|
229
229
|
/**
|
|
230
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
230
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
231
231
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
232
232
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
233
233
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -316,7 +316,7 @@ export interface PutBucketLoggingRequest {
|
|
|
316
316
|
*/
|
|
317
317
|
ContentMD5?: string | undefined;
|
|
318
318
|
/**
|
|
319
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
319
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
320
320
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
321
321
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
322
322
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -445,7 +445,7 @@ export interface PutBucketPolicyRequest {
|
|
|
445
445
|
*/
|
|
446
446
|
ContentMD5?: string | undefined;
|
|
447
447
|
/**
|
|
448
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
448
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
449
449
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum-<i>algorithm</i>
|
|
450
450
|
* </code> or
|
|
451
451
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>.</p>
|
|
@@ -537,7 +537,7 @@ export interface PutBucketReplicationRequest {
|
|
|
537
537
|
*/
|
|
538
538
|
ContentMD5?: string | undefined;
|
|
539
539
|
/**
|
|
540
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
540
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
541
541
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
542
542
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
543
543
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -595,7 +595,7 @@ export interface PutBucketRequestPaymentRequest {
|
|
|
595
595
|
*/
|
|
596
596
|
ContentMD5?: string | undefined;
|
|
597
597
|
/**
|
|
598
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
598
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
599
599
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
600
600
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
601
601
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -647,7 +647,7 @@ export interface PutBucketTaggingRequest {
|
|
|
647
647
|
*/
|
|
648
648
|
ContentMD5?: string | undefined;
|
|
649
649
|
/**
|
|
650
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
650
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
651
651
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
652
652
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
653
653
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -720,7 +720,7 @@ export interface PutBucketVersioningRequest {
|
|
|
720
720
|
*/
|
|
721
721
|
ContentMD5?: string | undefined;
|
|
722
722
|
/**
|
|
723
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
723
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
724
724
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
725
725
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
726
726
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -796,7 +796,7 @@ export interface PutBucketWebsiteRequest {
|
|
|
796
796
|
*/
|
|
797
797
|
ContentMD5?: string | undefined;
|
|
798
798
|
/**
|
|
799
|
-
* <p>Indicates the algorithm used to create the checksum for the
|
|
799
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
800
800
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
801
801
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
802
802
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
@@ -1075,7 +1075,7 @@ export interface PutObjectRequest {
|
|
|
1075
1075
|
* When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
1076
1076
|
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
1077
1077
|
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
1078
|
-
* <i>
|
|
1078
|
+
* <i>amzn-s3-demo-bucket</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
1079
1079
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
1080
1080
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1081
1081
|
* <p>
|
|
@@ -1084,8 +1084,9 @@ export interface PutObjectRequest {
|
|
|
1084
1084
|
* <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
|
|
1085
1085
|
* </note>
|
|
1086
1086
|
* <p>
|
|
1087
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
1088
|
-
*
|
|
1087
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
1088
|
+
* form <code>
|
|
1089
|
+
* <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, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, 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>
|
|
1089
1090
|
* <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.
|
|
1090
1091
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1091
1092
|
* @public
|
|
@@ -1470,14 +1471,13 @@ export interface PutObjectRequest {
|
|
|
1470
1471
|
* <code>x-amz-server-side-encryption:aws:kms:dsse</code>, but do not provide <code>x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon Web Services managed key
|
|
1471
1472
|
* (<code>aws/s3</code>) to protect the data.</p>
|
|
1472
1473
|
* <p>
|
|
1473
|
-
* <b>Directory buckets</b> -
|
|
1474
|
-
*
|
|
1475
|
-
*
|
|
1476
|
-
*
|
|
1477
|
-
* x-amz-server-side-encryption-aws-kms-key-id</code> header explicitly, you can only specify it with the ID (Key ID or Key ARN) of the KMS
|
|
1478
|
-
* customer managed key that's configured for your directory bucket's default encryption setting. Otherwise, you get an HTTP <code>400 Bad Request</code> error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Your SSE-KMS configuration can only support 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> per directory bucket for the lifetime of the bucket.
|
|
1474
|
+
* <b>Directory buckets</b> - To encrypt data using SSE-KMS, it's recommended to specify the
|
|
1475
|
+
* <code>x-amz-server-side-encryption</code> header to <code>aws:kms</code>. Then, the <code>x-amz-server-side-encryption-aws-kms-key-id</code> header implicitly uses
|
|
1476
|
+
* the bucket's default KMS customer managed key ID. If you want to explicitly set the <code>
|
|
1477
|
+
* x-amz-server-side-encryption-aws-kms-key-id</code> header, it must match the bucket's default customer managed key (using key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> per directory bucket's lifetime.
|
|
1479
1478
|
* The <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a> (<code>aws/s3</code>) isn't supported.
|
|
1480
|
-
*
|
|
1479
|
+
*
|
|
1480
|
+
* Incorrect key specification results in an HTTP <code>400 Bad Request</code> error. </p>
|
|
1481
1481
|
* @public
|
|
1482
1482
|
*/
|
|
1483
1483
|
SSEKMSKeyId?: string | undefined;
|
|
@@ -1614,8 +1614,9 @@ export interface PutObjectAclRequest {
|
|
|
1614
1614
|
* <p>
|
|
1615
1615
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, 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>
|
|
1616
1616
|
* <p>
|
|
1617
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
1618
|
-
*
|
|
1617
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
1618
|
+
* form <code>
|
|
1619
|
+
* <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, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, 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>
|
|
1619
1620
|
* <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.
|
|
1620
1621
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1621
1622
|
* @public
|
|
@@ -1961,8 +1962,9 @@ export interface PutObjectTaggingRequest {
|
|
|
1961
1962
|
* <p>
|
|
1962
1963
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, 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>
|
|
1963
1964
|
* <p>
|
|
1964
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
1965
|
-
*
|
|
1965
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
1966
|
+
* form <code>
|
|
1967
|
+
* <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, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, 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>
|
|
1966
1968
|
* <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.
|
|
1967
1969
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1968
1970
|
* @public
|
|
@@ -2581,8 +2583,9 @@ export interface RestoreObjectRequest {
|
|
|
2581
2583
|
* <p>
|
|
2582
2584
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, 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>
|
|
2583
2585
|
* <p>
|
|
2584
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
2585
|
-
*
|
|
2586
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
2587
|
+
* form <code>
|
|
2588
|
+
* <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, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, 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>
|
|
2586
2589
|
* <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.
|
|
2587
2590
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
2588
2591
|
* @public
|
|
@@ -3087,7 +3090,7 @@ export interface UploadPartRequest {
|
|
|
3087
3090
|
* When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
3088
3091
|
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
3089
3092
|
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
3090
|
-
* <i>
|
|
3093
|
+
* <i>amzn-s3-demo-bucket</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
3091
3094
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
3092
3095
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3093
3096
|
* <p>
|
|
@@ -3096,8 +3099,9 @@ export interface UploadPartRequest {
|
|
|
3096
3099
|
* <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
|
|
3097
3100
|
* </note>
|
|
3098
3101
|
* <p>
|
|
3099
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
3100
|
-
*
|
|
3102
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
3103
|
+
* form <code>
|
|
3104
|
+
* <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, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, 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>
|
|
3101
3105
|
* <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.
|
|
3102
3106
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
3103
3107
|
* @public
|
|
@@ -3364,7 +3368,7 @@ export interface UploadPartCopyRequest {
|
|
|
3364
3368
|
* <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
3365
3369
|
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
3366
3370
|
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
3367
|
-
* <i>
|
|
3371
|
+
* <i>amzn-s3-demo-bucket</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
3368
3372
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
3369
3373
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3370
3374
|
* <note>
|
|
@@ -3377,8 +3381,9 @@ export interface UploadPartCopyRequest {
|
|
|
3377
3381
|
* <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
|
|
3378
3382
|
* </note>
|
|
3379
3383
|
* <p>
|
|
3380
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
3381
|
-
*
|
|
3384
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
3385
|
+
* form <code>
|
|
3386
|
+
* <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, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, 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>
|
|
3382
3387
|
* <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.
|
|
3383
3388
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
3384
3389
|
* @public
|
|
@@ -3820,7 +3825,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3820
3825
|
ChecksumSHA256?: string | undefined;
|
|
3821
3826
|
/**
|
|
3822
3827
|
* <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is not
|
|
3823
|
-
* (<code>false</code>) a delete marker. </p>
|
|
3828
|
+
* (<code>false</code>) a delete marker. To learn more about delete markers, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html">Working with delete markers</a>.</p>
|
|
3824
3829
|
* @public
|
|
3825
3830
|
*/
|
|
3826
3831
|
DeleteMarker?: boolean | undefined;
|
|
@@ -331,16 +331,21 @@ export declare const BucketLocationConstraint: {
|
|
|
331
331
|
readonly ap_southeast_1: "ap-southeast-1";
|
|
332
332
|
readonly ap_southeast_2: "ap-southeast-2";
|
|
333
333
|
readonly ap_southeast_3: "ap-southeast-3";
|
|
334
|
+
readonly ap_southeast_4: "ap-southeast-4";
|
|
335
|
+
readonly ap_southeast_5: "ap-southeast-5";
|
|
334
336
|
readonly ca_central_1: "ca-central-1";
|
|
335
337
|
readonly cn_north_1: "cn-north-1";
|
|
336
338
|
readonly cn_northwest_1: "cn-northwest-1";
|
|
337
339
|
readonly eu_central_1: "eu-central-1";
|
|
340
|
+
readonly eu_central_2: "eu-central-2";
|
|
338
341
|
readonly eu_north_1: "eu-north-1";
|
|
339
342
|
readonly eu_south_1: "eu-south-1";
|
|
340
343
|
readonly eu_south_2: "eu-south-2";
|
|
341
344
|
readonly eu_west_1: "eu-west-1";
|
|
342
345
|
readonly eu_west_2: "eu-west-2";
|
|
343
346
|
readonly eu_west_3: "eu-west-3";
|
|
347
|
+
readonly il_central_1: "il-central-1";
|
|
348
|
+
readonly me_central_1: "me-central-1";
|
|
344
349
|
readonly me_south_1: "me-south-1";
|
|
345
350
|
readonly sa_east_1: "sa-east-1";
|
|
346
351
|
readonly us_east_2: "us-east-2";
|
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.743.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
30
|
"@aws-sdk/core": "3.734.0",
|
|
31
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
31
|
+
"@aws-sdk/credential-provider-node": "3.743.0",
|
|
32
32
|
"@aws-sdk/middleware-bucket-endpoint": "3.734.0",
|
|
33
33
|
"@aws-sdk/middleware-expect-continue": "3.734.0",
|
|
34
34
|
"@aws-sdk/middleware-flexible-checksums": "3.735.0",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
39
39
|
"@aws-sdk/middleware-sdk-s3": "3.740.0",
|
|
40
40
|
"@aws-sdk/middleware-ssec": "3.734.0",
|
|
41
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
+
"@aws-sdk/middleware-user-agent": "3.743.0",
|
|
42
42
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
43
43
|
"@aws-sdk/signature-v4-multi-region": "3.740.0",
|
|
44
44
|
"@aws-sdk/types": "3.734.0",
|
|
45
|
-
"@aws-sdk/util-endpoints": "3.
|
|
45
|
+
"@aws-sdk/util-endpoints": "3.743.0",
|
|
46
46
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
47
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-user-agent-node": "3.743.0",
|
|
48
48
|
"@aws-sdk/xml-builder": "3.734.0",
|
|
49
49
|
"@smithy/config-resolver": "^4.0.1",
|
|
50
50
|
"@smithy/core": "^3.1.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"tslib": "^2.6.2"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
85
|
+
"@aws-sdk/signature-v4-crt": "3.743.0",
|
|
86
86
|
"@tsconfig/node18": "18.2.4",
|
|
87
87
|
"@types/node": "^18.19.69",
|
|
88
88
|
"concurrently": "7.0.0",
|