diff --git a/docs/source/1.0/spec/aws/aws-ec2-query-protocol.rst b/docs/source/1.0/spec/aws/aws-ec2-query-protocol.rst index 4d0bf945b5e..47589f48416 100644 --- a/docs/source/1.0/spec/aws/aws-ec2-query-protocol.rst +++ b/docs/source/1.0/spec/aws/aws-ec2-query-protocol.rst @@ -143,7 +143,8 @@ resolved using the following process: member, if present. 2. Use the value of the :ref:`xmlName trait ` applied to the member with the first letter capitalized, if present. -3. Use the default value for the member: +3. Use the default value for the member with the first letter capitalized, if + present: .. list-table:: :header-rows: 1 diff --git a/smithy-aws-protocol-tests/model/ec2Query/endpoints.smithy b/smithy-aws-protocol-tests/model/ec2Query/endpoints.smithy index 657ce37dbba..360d066c538 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/endpoints.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/endpoints.smithy @@ -48,7 +48,7 @@ operation EndpointOperation {} body: """ Action=EndpointWithHostLabelOperation &Version=2020-01-08 - &label=bar""", + &Label=bar""", bodyMediaType: "application/x-www-form-urlencoded", host: "example.com", resolvedHost: "foo.bar.example.com", diff --git a/smithy-aws-protocol-tests/model/restJson1/endpoints.smithy b/smithy-aws-protocol-tests/model/restJson1/endpoints.smithy index f7bd74a566a..52a07da3a65 100644 --- a/smithy-aws-protocol-tests/model/restJson1/endpoints.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/endpoints.smithy @@ -36,7 +36,7 @@ operation EndpointOperation {} further customization based on user input.""", protocol: restJson1, method: "POST", - uri: "/EndpointOperation", + uri: "/EndpointWithHostLabelOperation", body: "{\"label\": \"bar\"}", bodyMediaType: "application/json", host: "example.com", diff --git a/smithy-aws-protocol-tests/model/restXml/endpoints.smithy b/smithy-aws-protocol-tests/model/restXml/endpoints.smithy index b926237423d..4420dd6eec2 100644 --- a/smithy-aws-protocol-tests/model/restXml/endpoints.smithy +++ b/smithy-aws-protocol-tests/model/restXml/endpoints.smithy @@ -36,7 +36,7 @@ operation EndpointOperation {} further customization based on user input.""", protocol: restXml, method: "POST", - uri: "/EndpointOperation", + uri: "/EndpointWithHostLabelOperation", body: """ @@ -73,7 +73,7 @@ structure HostLabelInput { as the body or in this case an http header.""", protocol: restXml, method: "POST", - uri: "/EndpointOperation", + uri: "/EndpointWithHostLabelHeaderOperation", body: "", bodyMediaType: "application/xml", host: "example.com",