Skip to content

Commit efdb590

Browse files
committed
fix(aws-restxml): use xmlTrait from inputShape while naming wrapper
1 parent 1cdbade commit efdb590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol_tests/aws-restxml/protocols/Aws_restXml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export const serializeAws_restXmlBodyWithXmlNameCommand = async (
243243
let resolvedPath = "/BodyWithXmlName";
244244
let body: any;
245245
body = '<?xml version="1.0" encoding="UTF-8"?>';
246-
const bodyNode = new __XmlNode("BodyWithXmlNameInputOutput");
246+
const bodyNode = new __XmlNode("Ahoy");
247247
if (input.nested !== undefined) {
248248
const node = serializeAws_restXmlPayloadWithXmlName(input.nested, context).withName("nested");
249249
bodyNode.addChildNode(node);

0 commit comments

Comments
 (0)