@@ -518,6 +518,7 @@ export const serializeAws_restXmlCompleteMultipartUploadCommand = async (
518518 let contents: any;
519519 if (input.MultipartUpload !== undefined) {
520520 contents = serializeAws_restXmlCompletedMultipartUpload(input.MultipartUpload, context);
521+ contents = contents.withName("CompleteMultipartUpload");
521522 body = '<?xml version="1.0" encoding="UTF-8"?>';
522523 contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
523524 body += contents.toString();
@@ -3493,6 +3494,7 @@ export const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async
34933494 let contents: any;
34943495 if (input.LifecycleConfiguration !== undefined) {
34953496 contents = serializeAws_restXmlBucketLifecycleConfiguration(input.LifecycleConfiguration, context);
3497+ contents = contents.withName("LifecycleConfiguration");
34963498 body = '<?xml version="1.0" encoding="UTF-8"?>';
34973499 contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
34983500 body += contents.toString();
@@ -4228,6 +4230,7 @@ export const serializeAws_restXmlPutObjectLegalHoldCommand = async (
42284230 let contents: any;
42294231 if (input.LegalHold !== undefined) {
42304232 contents = serializeAws_restXmlObjectLockLegalHold(input.LegalHold, context);
4233+ contents = contents.withName("LegalHold");
42314234 body = '<?xml version="1.0" encoding="UTF-8"?>';
42324235 contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
42334236 body += contents.toString();
@@ -4346,6 +4349,7 @@ export const serializeAws_restXmlPutObjectRetentionCommand = async (
43464349 let contents: any;
43474350 if (input.Retention !== undefined) {
43484351 contents = serializeAws_restXmlObjectLockRetention(input.Retention, context);
4352+ contents = contents.withName("Retention");
43494353 body = '<?xml version="1.0" encoding="UTF-8"?>';
43504354 contents.addAttribute("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/");
43514355 body += contents.toString();
0 commit comments