Skip to content

Commit c7c525a

Browse files
author
awstools
committed
feat(client-s3): Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long.
1 parent 57276bb commit c7c525a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: clients/client-s3/src/commands/CompleteMultipartUploadCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
234234
* ChecksumSHA1: "STRING_VALUE",
235235
* ChecksumSHA256: "STRING_VALUE",
236236
* ChecksumType: "COMPOSITE" || "FULL_OBJECT",
237-
* MpuObjectSize: "STRING_VALUE",
237+
* MpuObjectSize: Number("long"),
238238
* RequestPayer: "requester",
239239
* ExpectedBucketOwner: "STRING_VALUE",
240240
* IfMatch: "STRING_VALUE",

Diff for: clients/client-s3/src/models/models_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ export interface CompleteMultipartUploadRequest {
766766
* <code>HTTP 400 InvalidRequest</code> error. </p>
767767
* @public
768768
*/
769-
MpuObjectSize?: string | undefined;
769+
MpuObjectSize?: number | undefined;
770770

771771
/**
772772
* <p>Confirms that the requester knows that they will be charged for the request. Bucket

Diff for: clients/client-s3/src/protocols/Aws_restXml.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export const se_CompleteMultipartUploadCommand = async (
510510
[_xacs]: input[_CSHA]!,
511511
[_xacs_]: input[_CSHAh]!,
512512
[_xact]: input[_CT]!,
513-
[_xamos]: input[_MOS]!,
513+
[_xamos]: [() => isSerializableHeaderValue(input[_MOS]), () => input[_MOS]!.toString()],
514514
[_xarp]: input[_RP]!,
515515
[_xaebo]: input[_EBO]!,
516516
[_im]: input[_IM]!,

Diff for: codegen/sdk-codegen/aws-models/s3.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29730,7 +29730,7 @@
2973029730
"type": "integer"
2973129731
},
2973229732
"com.amazonaws.s3#MpuObjectSize": {
29733-
"type": "string"
29733+
"type": "long"
2973429734
},
2973529735
"com.amazonaws.s3#MultipartUpload": {
2973629736
"type": "structure",

0 commit comments

Comments
 (0)