You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* storage, you should call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a> API operation and ensure that
40
40
* the parts list is empty.</p>
41
41
* <note>
42
-
* <p>
43
-
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
44
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
42
+
* <ul>
43
+
* <li>
44
+
* <p>
45
+
* <b>Directory buckets</b> -
46
+
* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
47
+
* To delete these in-progress multipart uploads, use the
48
+
* <code>ListMultipartUploads</code> operation to list the in-progress multipart
49
+
* uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to
50
+
* abort all the in-progress multipart uploads.
51
+
* </p>
52
+
* </li>
53
+
* <li>
54
+
* <p>
55
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
56
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <p>You can copy individual objects between general purpose buckets, between directory buckets, and
47
47
* between general purpose buckets and directory buckets.</p>
48
48
* <note>
49
-
* <p>
50
-
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
51
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
49
+
* <ul>
50
+
* <li>
51
+
* <p>Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when using the Multi-Region Access Point ARN. </p>
52
+
* </li>
53
+
* <li>
54
+
* <p>
55
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
56
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
52
57
* <i>Amazon S3 User Guide</i>.</p>
58
+
* </li>
59
+
* <li>
60
+
* <p>VPC endpoints don't support cross-Region requests (including copies). If you're using VPC endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC endpoint.</p>
61
+
* </li>
62
+
* </ul>
53
63
* </note>
54
64
* <p>Both the
55
65
* Region that you want to copy the object from and the Region that you want to copy the
* <p>You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a <code>200 OK</code> if the bucket exists and you have permission
33
33
* to access it.</p>
34
-
* <p>If the bucket does not exist or you do not have permission to access it, the
34
+
* <note>
35
+
* <p>If the bucket does not exist or you do not have permission to access it, the
35
36
* <code>HEAD</code> request returns a generic <code>400 Bad Request</code>, <code>403
36
37
* Forbidden</code> or <code>404 Not Found</code> code. A message body is not included, so
37
38
* you cannot determine the exception beyond these HTTP response codes.</p>
38
-
* <note>
39
-
* <p>
40
-
* <b>Directory buckets </b> - You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
41
-
* <i>Amazon S3 User Guide</i>.</p>
42
39
* </note>
43
40
* <dl>
44
41
* <dt>Authentication and authorization</dt>
45
42
* <dd>
46
-
* <p>All <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
43
+
* <p>
44
+
* <b>General purpose buckets</b> - Request to public buckets that grant the s3:ListBucket permission publicly do not need to be signed. All other <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
47
45
* <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
48
46
* <p>
49
-
* <b>Directory bucket</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
47
+
* <b>Directory buckets</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
50
48
* temporary security credentials through the <code>CreateSession</code> API operation.</p>
51
49
* <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
* <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <p>The <code>HEAD</code> operation retrieves metadata from an object without returning the
39
39
* object itself. This operation is useful if you're interested only in an object's metadata.</p>
40
-
* <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
40
+
* <note>
41
+
* <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
41
42
* object. The response is identical to the <code>GET</code> response except that there is no
42
43
* response body. Because of this, if the <code>HEAD</code> request generates an error, it
43
44
* returns a generic code, such as <code>400 Bad Request</code>, <code>403 Forbidden</code>, <code>404 Not
44
45
* Found</code>, <code>405 Method Not Allowed</code>, <code>412 Precondition Failed</code>, or <code>304 Not Modified</code>.
45
46
* It's not possible to retrieve the exact exception of these error codes.</p>
47
+
* </note>
46
48
* <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common
47
49
* Request Headers</a>.</p>
48
-
* <note>
49
-
* <p>
50
-
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
51
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <p>For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
156
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
157
+
* <i>Amazon S3 User Guide</i>.</p>
158
+
* </note>
158
159
* </dd>
159
160
* </dl>
160
161
* <p>The following actions are related to <code>HeadObject</code>:</p>
* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
39
+
* To delete these in-progress multipart uploads, use the <code>ListMultipartUploads</code> operation to list the in-progress multipart
40
+
* uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to abort all the in-progress multipart uploads.
39
41
* </p>
40
42
* </note>
41
43
* <p>The <code>ListMultipartUploads</code> operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart
* For more information about listing objects, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html">Listing object keys
38
38
* programmatically</a> in the <i>Amazon S3 User Guide</i>. To get a list of your buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html">ListBuckets</a>.</p>
39
39
* <note>
40
-
* <p>
41
-
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
42
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
40
+
* <ul>
41
+
* <li>
42
+
* <p>
43
+
* <b>General purpose bucket</b> - For general purpose buckets, <code>ListObjectsV2</code> doesn't return prefixes that are related only to in-progress multipart uploads.</p>
44
+
* </li>
45
+
* <li>
46
+
* <p>
47
+
* <b>Directory buckets</b> -
48
+
* For directory buckets, <code>ListObjectsV2</code> response includes the prefixes that are related only to in-progress multipart uploads.
49
+
* </p>
50
+
* </li>
51
+
* <li>
52
+
* <p>
53
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
54
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* SSE-KMS, you can also configure <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket
42
42
* Keys</a>. If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 does not validate the KMS key ID provided in PutBucketEncryption requests.</p>
43
43
* <important>
44
-
* <p>This action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
44
+
* <p>If you're specifying a customer managed KMS key, we recommend using a fully qualified
45
+
* KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the
46
+
* requester’s account. This behavior can result in data that's encrypted with a KMS key
47
+
* that belongs to the requester, and not the bucket owner.</p>
48
+
* <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
45
49
* Authenticating Requests (Amazon Web Services Signature Version 4)</a>. </p>
46
50
* </important>
47
51
* <p>To use this operation, you must have permission to perform the
0 commit comments