Skip to content

Commit a550721

Browse files
author
awstools
committedJan 15, 2025
feat(client-s3): This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
1 parent 635576b commit a550721

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+970
-409
lines changed
 

‎clients/client-s3/src/commands/AbortMultipartUploadCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
5454
* <p>
5555
* <b>Directory buckets</b> -
5656
* 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>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
57-
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
58-
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
57+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
58+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
5959
* <i>Amazon S3 User Guide</i>.</p>
6060
* </li>
6161
* </ul>

‎clients/client-s3/src/commands/CompleteMultipartUploadCommand.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
7575
* <p>
7676
* <b>Directory buckets</b> -
7777
* 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>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
78-
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
79-
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
78+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
79+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
8080
* <i>Amazon S3 User Guide</i>.</p>
8181
* </note>
8282
* <dl>
@@ -220,6 +220,7 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
220220
* ETag: "STRING_VALUE",
221221
* ChecksumCRC32: "STRING_VALUE",
222222
* ChecksumCRC32C: "STRING_VALUE",
223+
* ChecksumCRC64NVME: "STRING_VALUE",
223224
* ChecksumSHA1: "STRING_VALUE",
224225
* ChecksumSHA256: "STRING_VALUE",
225226
* PartNumber: Number("int"),
@@ -229,8 +230,11 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
229230
* UploadId: "STRING_VALUE", // required
230231
* ChecksumCRC32: "STRING_VALUE",
231232
* ChecksumCRC32C: "STRING_VALUE",
233+
* ChecksumCRC64NVME: "STRING_VALUE",
232234
* ChecksumSHA1: "STRING_VALUE",
233235
* ChecksumSHA256: "STRING_VALUE",
236+
* ChecksumType: "COMPOSITE" || "FULL_OBJECT",
237+
* MpuObjectSize: "STRING_VALUE",
234238
* RequestPayer: "requester",
235239
* ExpectedBucketOwner: "STRING_VALUE",
236240
* IfMatch: "STRING_VALUE",
@@ -249,8 +253,10 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
249253
* // ETag: "STRING_VALUE",
250254
* // ChecksumCRC32: "STRING_VALUE",
251255
* // ChecksumCRC32C: "STRING_VALUE",
256+
* // ChecksumCRC64NVME: "STRING_VALUE",
252257
* // ChecksumSHA1: "STRING_VALUE",
253258
* // ChecksumSHA256: "STRING_VALUE",
259+
* // ChecksumType: "COMPOSITE" || "FULL_OBJECT",
254260
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
255261
* // VersionId: "STRING_VALUE",
256262
* // SSEKMSKeyId: "STRING_VALUE",

0 commit comments

Comments
 (0)
Please sign in to comment.