@@ -518,6 +518,7 @@ export const serializeAws_restXmlCompleteMultipartUploadCommand = async (
518
518
let contents: any;
519
519
if (input.MultipartUpload !== undefined) {
520
520
contents = serializeAws_restXmlCompletedMultipartUpload(input.MultipartUpload, context);
521
+ contents = contents.withName("CompleteMultipartUpload");
521
522
body = '<?xml version="1.0" encoding="UTF-8"?>';
522
523
contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
523
524
body += contents.toString();
@@ -3493,6 +3494,7 @@ export const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async
3493
3494
let contents: any;
3494
3495
if (input.LifecycleConfiguration !== undefined) {
3495
3496
contents = serializeAws_restXmlBucketLifecycleConfiguration(input.LifecycleConfiguration, context);
3497
+ contents = contents.withName("LifecycleConfiguration");
3496
3498
body = '<?xml version="1.0" encoding="UTF-8"?>';
3497
3499
contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
3498
3500
body += contents.toString();
@@ -4228,6 +4230,7 @@ export const serializeAws_restXmlPutObjectLegalHoldCommand = async (
4228
4230
let contents: any;
4229
4231
if (input.LegalHold !== undefined) {
4230
4232
contents = serializeAws_restXmlObjectLockLegalHold(input.LegalHold, context);
4233
+ contents = contents.withName("LegalHold");
4231
4234
body = '<?xml version="1.0" encoding="UTF-8"?>';
4232
4235
contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
4233
4236
body += contents.toString();
@@ -4346,6 +4349,7 @@ export const serializeAws_restXmlPutObjectRetentionCommand = async (
4346
4349
let contents: any;
4347
4350
if (input.Retention !== undefined) {
4348
4351
contents = serializeAws_restXmlObjectLockRetention(input.Retention, context);
4352
+ contents = contents.withName("Retention");
4349
4353
body = '<?xml version="1.0" encoding="UTF-8"?>';
4350
4354
contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
4351
4355
body += contents.toString();
0 commit comments