From 44196e938c8d8eaca8b90b3efeb9cb3c7aa3b832 Mon Sep 17 00:00:00 2001 From: Kevin Stich Date: Mon, 17 Jun 2024 13:51:16 -0700 Subject: [PATCH] Fix ec2Query request ID names --- .../aws/protocols/aws-ec2-query-protocol.rst | 6 ++-- .../model/ec2Query/datetime-offsets.smithy | 4 +-- .../model/ec2Query/empty-input-output.smithy | 4 +-- .../model/ec2Query/fractional-seconds.smithy | 2 +- .../model/ec2Query/main.smithy | 2 +- .../model/ec2Query/xml-errors.smithy | 6 ++-- .../model/ec2Query/xml-lists.smithy | 2 +- .../model/ec2Query/xml-structs.smithy | 32 +++++++++---------- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/docs/source-2.0/aws/protocols/aws-ec2-query-protocol.rst b/docs/source-2.0/aws/protocols/aws-ec2-query-protocol.rst index ceca5c388ca..443d46e6fe3 100644 --- a/docs/source-2.0/aws/protocols/aws-ec2-query-protocol.rst +++ b/docs/source-2.0/aws/protocols/aws-ec2-query-protocol.rst @@ -317,7 +317,7 @@ Operation error serialization Error responses in the ``ec2Query`` protocol are wrapped within an XML root node named ``Response``. Inside this, there is an ``Errors`` tag containing -the actual error, and a ``RequestId`` tag holding the request ID. Nested inside +the actual error, and a ``RequestID`` tag holding the request ID. Nested inside of the ``Errors`` tag is an ``Error`` tag which contains the serialized error structure members. @@ -336,12 +336,12 @@ serialized in the response. setting - foo-id + foo-id * ``Code``: The :token:`shape name ` of the error's :ref:`shape-id`. -* ``RequestId``: Contains a unique identifier for the associated request. +* ``RequestID``: Contains a unique identifier for the associated request. In the above example, ``Message``, and ``AnotherSetting`` are additional, hypothetical members of the serialized error structure. diff --git a/smithy-aws-protocol-tests/model/ec2Query/datetime-offsets.smithy b/smithy-aws-protocol-tests/model/ec2Query/datetime-offsets.smithy index 74550913cb4..06e6f180aa6 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/datetime-offsets.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/datetime-offsets.smithy @@ -23,7 +23,7 @@ apply DatetimeOffsets @httpResponseTests([ body: """ 2019-12-16T22:48:18-01:00 - requestid + requestid """, bodyMediaType: "application/xml", @@ -41,7 +41,7 @@ apply DatetimeOffsets @httpResponseTests([ body: """ 2019-12-17T00:48:18+01:00 - requestid + requestid """, bodyMediaType: "application/xml", diff --git a/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy b/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy index 5cf2a1b6c3e..4f4a0184361 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/empty-input-output.smithy @@ -43,7 +43,7 @@ apply NoInputAndOutput @httpResponseTests([ }, body: """ - requestid + requestid """, bodyMediaType: "application/xml", @@ -87,7 +87,7 @@ apply EmptyInputAndEmptyOutput @httpResponseTests([ }, body: """ - requestid + requestid """, bodyMediaType: "application/xml", diff --git a/smithy-aws-protocol-tests/model/ec2Query/fractional-seconds.smithy b/smithy-aws-protocol-tests/model/ec2Query/fractional-seconds.smithy index bbda602b730..89de76ecc98 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/fractional-seconds.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/fractional-seconds.smithy @@ -22,7 +22,7 @@ apply FractionalSeconds @httpResponseTests([ body: """ 2000-01-02T20:34:56.123Z - requestid + requestid """, bodyMediaType: "application/xml", diff --git a/smithy-aws-protocol-tests/model/ec2Query/main.smithy b/smithy-aws-protocol-tests/model/ec2Query/main.smithy index 8979870fa9d..c0bcbd9950f 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/main.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/main.smithy @@ -18,7 +18,7 @@ // // 1. Unlike aws.query, there's no result wrapper. // 2. EC2 does not utilize output maps. -// 3. RequestId is a child of the root node. It's not nested in some +// 3. requestId is a child of the root node. It's not nested in some // ResponseMetadata element like aws.query. // // EC2 errors have an additional level of nesting. See xml-errors.smithy diff --git a/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy b/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy index 6710b6b8b98..fec1cd73bd1 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/xml-errors.smithy @@ -47,7 +47,7 @@ apply GreetingWithErrors @httpResponseTests([ body: """ Hello - requestid + requestid """, bodyMediaType: "application/xml", @@ -84,7 +84,7 @@ apply InvalidGreeting @httpResponseTests([ Hi - foo-id + foo-id """, bodyMediaType: "application/xml", @@ -128,7 +128,7 @@ apply ComplexError @httpResponseTests([ - foo-id + foo-id """, bodyMediaType: "application/xml", diff --git a/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy b/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy index ccd1fb55e2c..cd8f59f04ee 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/xml-lists.smithy @@ -98,7 +98,7 @@ apply XmlLists @httpResponseTests([ 4 - requestid + requestid """, bodyMediaType: "application/xml", diff --git a/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy b/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy index 49f4f2d7057..ecf614aaa99 100644 --- a/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy +++ b/smithy-aws-protocol-tests/model/ec2Query/xml-structs.smithy @@ -43,7 +43,7 @@ apply SimpleScalarXmlProperties @httpResponseTests([ 4 5.5 6.5 - requestid + requestid """, bodyMediaType: "application/xml", @@ -157,7 +157,7 @@ apply XmlBlobs @httpResponseTests([ body: """ dmFsdWU= - requestid + requestid """, bodyMediaType: "application/xml", @@ -185,7 +185,7 @@ apply XmlEmptyBlobs @httpResponseTests([ body: """ - requestid + requestid """, bodyMediaType: "application/xml", @@ -205,7 +205,7 @@ apply XmlEmptyBlobs @httpResponseTests([ body: """ - requestid + requestid """, bodyMediaType: "application/xml", @@ -239,7 +239,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ 2014-04-29T18:30:38Z - requestid + requestid """, bodyMediaType: "application/xml", @@ -258,7 +258,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ 2014-04-29T18:30:38Z - requestid + requestid """, bodyMediaType: "application/xml", @@ -277,7 +277,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ 2014-04-29T18:30:38Z - requestid + requestid """, bodyMediaType: "application/xml", @@ -296,7 +296,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ 1398796238 - requestid + requestid """, bodyMediaType: "application/xml", @@ -315,7 +315,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ 1398796238 - requestid + requestid """, bodyMediaType: "application/xml", @@ -334,7 +334,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ Tue, 29 Apr 2014 18:30:38 GMT - requestid + requestid """, bodyMediaType: "application/xml", @@ -353,7 +353,7 @@ apply XmlTimestamps @httpResponseTests([ body: """ Tue, 29 Apr 2014 18:30:38 GMT - requestid + requestid """, bodyMediaType: "application/xml", @@ -419,7 +419,7 @@ apply XmlEnums @httpResponseTests([ 0 - requestid + requestid """, bodyMediaType: "application/xml", @@ -483,7 +483,7 @@ apply XmlIntEnums @httpResponseTests([ 2 - requestid + requestid """, bodyMediaType: "application/xml", @@ -538,7 +538,7 @@ apply RecursiveXmlShapes @httpResponseTests([ - requestid + requestid """, bodyMediaType: "application/xml", @@ -596,7 +596,7 @@ apply XmlNamespaces @httpResponseTests([ Baz - requestid + requestid """, bodyMediaType: "application/xml", @@ -653,7 +653,7 @@ apply IgnoresWrappingXmlName @httpResponseTests([ body: """ bar - requestid + requestid """, bodyMediaType: "application/xml",