Skip to content

Commit 94cd2b3

Browse files
author
awstools
committed
feat(client-s3-control): It allows customers to pass CRC64NVME as a header in S3 Batch Operations copy requests
1 parent f87e55a commit 94cd2b3

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

clients/client-s3-control/src/commands/CreateJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
132132
* ObjectLockMode: "COMPLIANCE" || "GOVERNANCE",
133133
* ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
134134
* BucketKeyEnabled: true || false,
135-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
135+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
136136
* },
137137
* S3PutObjectAcl: { // S3SetObjectAclOperation
138138
* AccessControlPolicy: { // S3AccessControlPolicy

clients/client-s3-control/src/commands/DescribeJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export interface DescribeJobCommandOutput extends DescribeJobResult, __MetadataB
146146
* // ObjectLockMode: "COMPLIANCE" || "GOVERNANCE",
147147
* // ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
148148
* // BucketKeyEnabled: true || false,
149-
* // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
149+
* // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
150150
* // },
151151
* // S3PutObjectAcl: { // S3SetObjectAclOperation
152152
* // AccessControlPolicy: { // S3AccessControlPolicy

clients/client-s3-control/src/models/models_0.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,6 +2439,7 @@ export interface S3SetObjectAclOperation {
24392439
export const S3ChecksumAlgorithm = {
24402440
CRC32: "CRC32",
24412441
CRC32C: "CRC32C",
2442+
CRC64NVME: "CRC64NVME",
24422443
SHA1: "SHA1",
24432444
SHA256: "SHA256",
24442445
} as const;
@@ -2633,12 +2634,8 @@ export interface S3CopyObjectOperation {
26332634
* <li>
26342635
* <p>
26352636
* <b>Directory buckets</b> - For example, to copy objects to a directory bucket named
2636-
* <code>destinationBucket</code> in the Availability Zone identified by the AZ ID <code>usw2-az1</code>, set the <code>TargetResource</code> property to
2637-
* <code>arn:aws:s3express:<i>region</i>:<i>account_id</i>:/bucket/<i>destination_bucket_base_name</i>--<i>usw2-az1</i>--x-s3</code>. A directory bucket as a destination bucket can be in Availability Zone or Local Zone. </p>
2638-
* <note>
2639-
* <p>Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. Otherwise,
2640-
* you get an HTTP <code>400 Bad Request</code> error with the error code <code>InvalidRequest</code>.</p>
2641-
* </note>
2637+
* <code>destinationBucket</code> in the Availability Zone; identified by the AZ ID <code>usw2-az1</code>, set the <code>TargetResource</code> property to
2638+
* <code>arn:aws:s3express:<i>region</i>:<i>account_id</i>:/bucket/<i>destination_bucket_base_name</i>--<i>usw2-az1</i>--x-s3</code>.</p>
26422639
* </li>
26432640
* </ul>
26442641
* @public

codegen/sdk-codegen/aws-models/s3-control.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17257,6 +17257,12 @@
1725717257
"traits": {
1725817258
"smithy.api#enumValue": "SHA256"
1725917259
}
17260+
},
17261+
"CRC64NVME": {
17262+
"target": "smithy.api#Unit",
17263+
"traits": {
17264+
"smithy.api#enumValue": "CRC64NVME"
17265+
}
1726017266
}
1726117267
}
1726217268
},
@@ -17275,7 +17281,7 @@
1727517281
"TargetResource": {
1727617282
"target": "com.amazonaws.s3control#S3RegionalOrS3ExpressBucketArnString",
1727717283
"traits": {
17278-
"smithy.api#documentation": "<p>Specifies the destination bucket\n Amazon Resource Name\n (ARN)\n for the batch copy operation.</p>\n <ul>\n <li>\n <p>\n <b>General purpose buckets</b> - For example, to copy objects to a general purpose bucket named\n <code>destinationBucket</code>, set the <code>TargetResource</code> property to\n <code>arn:aws:s3:::destinationBucket</code>.</p>\n </li>\n <li>\n <p>\n <b>Directory buckets</b> - For example, to copy objects to a directory bucket named\n <code>destinationBucket</code> in the Availability Zone identified by the AZ ID <code>usw2-az1</code>, set the <code>TargetResource</code> property to\n <code>arn:aws:s3express:<i>region</i>:<i>account_id</i>:/bucket/<i>destination_bucket_base_name</i>--<i>usw2-az1</i>--x-s3</code>. A directory bucket as a destination bucket can be in Availability Zone or Local Zone. </p>\n <note>\n <p>Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. Otherwise, \n you get an HTTP <code>400 Bad Request</code> error with the error code <code>InvalidRequest</code>.</p>\n </note>\n </li>\n </ul>"
17284+
"smithy.api#documentation": "<p>Specifies the destination bucket\n Amazon Resource Name\n (ARN)\n for the batch copy operation.</p>\n <ul>\n <li>\n <p>\n <b>General purpose buckets</b> - For example, to copy objects to a general purpose bucket named\n <code>destinationBucket</code>, set the <code>TargetResource</code> property to\n <code>arn:aws:s3:::destinationBucket</code>.</p>\n </li>\n <li>\n <p>\n <b>Directory buckets</b> - For example, to copy objects to a directory bucket named\n <code>destinationBucket</code> in the Availability Zone; identified by the AZ ID <code>usw2-az1</code>, set the <code>TargetResource</code> property to\n <code>arn:aws:s3express:<i>region</i>:<i>account_id</i>:/bucket/<i>destination_bucket_base_name</i>--<i>usw2-az1</i>--x-s3</code>.</p>\n </li>\n </ul>"
1727917285
}
1728017286
},
1728117287
"CannedAccessControlList": {

0 commit comments

Comments
 (0)