2
2
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3" ;
3
3
import { getSsecPlugin } from "@aws-sdk/middleware-ssec" ;
4
4
import { getEndpointPlugin } from "@smithy/middleware-endpoint" ;
5
- import { getSerdePlugin } from "@smithy/middleware-serde" ;
6
5
import { Command as $Command } from "@smithy/smithy-client" ;
7
6
import { MetadataBearer as __MetadataBearer } from "@smithy/types" ;
8
7
@@ -13,8 +12,8 @@ import {
13
12
CompleteMultipartUploadRequest ,
14
13
CompleteMultipartUploadRequestFilterSensitiveLog ,
15
14
} from "../models/models_0" ;
16
- import { de_CompleteMultipartUploadCommand , se_CompleteMultipartUploadCommand } from "../protocols/Aws_restXml" ;
17
15
import { S3ClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../S3Client" ;
16
+ import { CompleteMultipartUpload } from "../schemas/com.amazonaws.s3" ;
18
17
19
18
/**
20
19
* @public
@@ -325,7 +324,6 @@ export class CompleteMultipartUploadCommand extends $Command
325
324
} )
326
325
. m ( function ( this : any , Command : any , cs : any , config : S3ClientResolvedConfig , o : any ) {
327
326
return [
328
- getSerdePlugin ( config , this . serialize , this . deserialize ) ,
329
327
getEndpointPlugin ( config , Command . getEndpointParameterInstructions ( ) ) ,
330
328
getThrow200ExceptionsPlugin ( config ) ,
331
329
getSsecPlugin ( config ) ,
@@ -334,8 +332,7 @@ export class CompleteMultipartUploadCommand extends $Command
334
332
. s ( "AmazonS3" , "CompleteMultipartUpload" , { } )
335
333
. n ( "S3Client" , "CompleteMultipartUploadCommand" )
336
334
. f ( CompleteMultipartUploadRequestFilterSensitiveLog , CompleteMultipartUploadOutputFilterSensitiveLog )
337
- . ser ( se_CompleteMultipartUploadCommand )
338
- . de ( de_CompleteMultipartUploadCommand )
335
+ . sc ( CompleteMultipartUpload )
339
336
. build ( ) {
340
337
/** @internal type navigation helper, not in runtime. */
341
338
protected declare static __types : {
0 commit comments