Skip to content

Commit

Permalink
chore(codegen): bump smithyVersion=1.50.0 (#6245)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jul 2, 2024
1 parent 675cdf8 commit 72db2b5
Show file tree
Hide file tree
Showing 51 changed files with 6,128 additions and 268 deletions.
2 changes: 1 addition & 1 deletion codegen/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
smithyVersion=1.49.0
smithyVersion=1.50.0
smithyGradleVersion=0.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,11 @@ private static boolean filterProtocolTests(
return true;
}

// ToDo: https://github.com/aws/aws-sdk-js-v3/issues/6246
if (testCase.getId().equals("RestJsonMustSupportParametersInContentType")) {
return true;
}

return false;
}

Expand Down Expand Up @@ -393,6 +398,12 @@ private static boolean filterMalformedRequestTests(
return true;
}

// ToDo: https://github.com/aws/aws-sdk-js-v3/issues/6246
if (testCase.getId().equals("RestJsonStringPayloadNoContentType")
|| testCase.getId().equals("RestJsonWithBodyExpectsApplicationJsonContentTypeNoHeaders")) {
return true;
}

return false;
}
}
56 changes: 56 additions & 0 deletions private/aws-protocoltests-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,14 @@ XmlTimestamps

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/XmlTimestampsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/XmlTimestampsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/XmlTimestampsCommandOutput/)

</details>
<details>
<summary>
ContentTypeParameters
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/ContentTypeParametersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -538,6 +546,14 @@ SparseNullsOperation

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/SparseNullsOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/SparseNullsOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/SparseNullsOperationCommandOutput/)

</details>
<details>
<summary>
ContentTypeParameters
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/ContentTypeParametersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -946,6 +962,14 @@ ConstantQueryString

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/ConstantQueryStringCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ConstantQueryStringCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ConstantQueryStringCommandOutput/)

</details>
<details>
<summary>
ContentTypeParameters
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/ContentTypeParametersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1538,6 +1562,22 @@ OmitsSerializingEmptyLists

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/OmitsSerializingEmptyListsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/OmitsSerializingEmptyListsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/OmitsSerializingEmptyListsCommandOutput/)

</details>
<details>
<summary>
OperationWithDefaults
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/OperationWithDefaultsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/OperationWithDefaultsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/OperationWithDefaultsCommandOutput/)

</details>
<details>
<summary>
OperationWithNestedStructure
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/OperationWithNestedStructureCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/OperationWithNestedStructureCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/OperationWithNestedStructureCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1666,6 +1706,14 @@ TestBodyStructure

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/TestBodyStructureCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/TestBodyStructureCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/TestBodyStructureCommandOutput/)

</details>
<details>
<summary>
TestNoInputNoPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/TestNoInputNoPayloadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/TestNoInputNoPayloadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/TestNoInputNoPayloadCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1834,6 +1882,14 @@ ConstantQueryString

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/ConstantQueryStringCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ConstantQueryStringCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ConstantQueryStringCommandOutput/)

</details>
<details>
<summary>
ContentTypeParameters
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2-protocol/command/ContentTypeParametersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2-protocol/Interface/ContentTypeParametersCommandOutput/)

</details>
<details>
<summary>
Expand Down
50 changes: 25 additions & 25 deletions private/aws-protocoltests-ec2/test/functional/ec2query.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ it("Ec2QueryDateTimeWithNegativeOffset:Response", async () => {
},
`<DatetimeOffsetsResponse xmlns="https://example.com/">
<datetime>2019-12-16T22:48:18-01:00</datetime>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</DatetimeOffsetsResponse>
`
),
Expand Down Expand Up @@ -230,7 +230,7 @@ it("Ec2QueryDateTimeWithPositiveOffset:Response", async () => {
},
`<DatetimeOffsetsResponse xmlns="https://example.com/">
<datetime>2019-12-17T00:48:18+01:00</datetime>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</DatetimeOffsetsResponse>
`
),
Expand Down Expand Up @@ -305,7 +305,7 @@ it("Ec2QueryEmptyInputAndEmptyOutput:Response", async () => {
"content-type": "text/xml;charset=UTF-8",
},
`<EmptyInputAndEmptyOutputResponse xmlns="https://example.com/">
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</EmptyInputAndEmptyOutputResponse>
`
),
Expand Down Expand Up @@ -419,7 +419,7 @@ it("Ec2QueryDateTimeWithFractionalSeconds:Response", async () => {
},
`<FractionalSecondsResponse xmlns="https://example.com/">
<datetime>2000-01-02T20:34:56.123Z</datetime>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</FractionalSecondsResponse>
`
),
Expand Down Expand Up @@ -461,7 +461,7 @@ it("Ec2GreetingWithErrors:Response", async () => {
},
`<GreetingWithErrorsResponse xmlns="https://example.com/">
<greeting>Hello</greeting>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</GreetingWithErrorsResponse>
`
),
Expand Down Expand Up @@ -508,7 +508,7 @@ it("Ec2InvalidGreetingError:Error:GreetingWithErrors", async () => {
<Message>Hi</Message>
</Error>
</Errors>
<RequestId>foo-id</RequestId>
<RequestID>foo-id</RequestID>
</Response>
`
),
Expand Down Expand Up @@ -561,7 +561,7 @@ it("Ec2ComplexError:Error:GreetingWithErrors", async () => {
</Nested>
</Error>
</Errors>
<RequestId>foo-id</RequestId>
<RequestID>foo-id</RequestID>
</Response>
`
),
Expand Down Expand Up @@ -644,7 +644,7 @@ it("Ec2IgnoresWrappingXmlName:Response", async () => {
},
`<IgnoresWrappingXmlNameResponse xmlns="https://example.com/">
<foo>bar</foo>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</IgnoresWrappingXmlNameResponse>
`
),
Expand Down Expand Up @@ -764,7 +764,7 @@ it("Ec2QueryNoInputAndOutput:Response", async () => {
"content-type": "text/xml;charset=UTF-8",
},
`<NoInputAndOutputResponse xmlns="https://example.com/">
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</NoInputAndOutputResponse>
`
),
Expand Down Expand Up @@ -1180,7 +1180,7 @@ it("Ec2RecursiveShapes:Response", async () => {
</recursiveMember>
</nested>
</nested>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</RecursiveXmlShapesResponse>
`
),
Expand Down Expand Up @@ -1736,7 +1736,7 @@ it("Ec2SimpleScalarProperties:Response", async () => {
<longValue>4</longValue>
<floatValue>5.5</floatValue>
<DoubleDribble>6.5</DoubleDribble>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</SimpleScalarXmlPropertiesResponse>
`
),
Expand Down Expand Up @@ -1928,7 +1928,7 @@ it("Ec2XmlBlobs:Response", async () => {
},
`<XmlBlobsResponse xmlns="https://example.com/">
<data>dmFsdWU=</data>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlBlobsResponse>
`
),
Expand Down Expand Up @@ -1970,7 +1970,7 @@ it("Ec2XmlEmptyBlobs:Response", async () => {
},
`<XmlEmptyBlobsResponse xmlns="https://example.com/">
<data></data>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlEmptyBlobsResponse>
`
),
Expand Down Expand Up @@ -2012,7 +2012,7 @@ it("Ec2XmlEmptySelfClosedBlobs:Response", async () => {
},
`<XmlEmptyBlobsResponse xmlns="https://example.com/">
<data/>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlEmptyBlobsResponse>
`
),
Expand Down Expand Up @@ -2118,7 +2118,7 @@ it("Ec2XmlEnums:Response", async () => {
<value>0</value>
</entry>
</fooEnumMap>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlEnumsResponse>
`
),
Expand Down Expand Up @@ -2194,7 +2194,7 @@ it("Ec2XmlIntEnums:Response", async () => {
<value>2</value>
</entry>
</intEnumMap>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlIntEnumsResponse>
`
),
Expand Down Expand Up @@ -2317,7 +2317,7 @@ it("Ec2XmlLists:Response", async () => {
<other>4</other>
</item>
</myStructureList>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlListsResponse>
`
),
Expand Down Expand Up @@ -2415,7 +2415,7 @@ it("Ec2XmlNamespaces:Response", async () => {
<member xmlns="http://bux.com">Baz</member>
</values>
</nested>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlNamespacesResponse>
`
),
Expand Down Expand Up @@ -2461,7 +2461,7 @@ it("Ec2XmlTimestamps:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<normal>2014-04-29T18:30:38Z</normal>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down Expand Up @@ -2503,7 +2503,7 @@ it("Ec2XmlTimestampsWithDateTimeFormat:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<dateTime>2014-04-29T18:30:38Z</dateTime>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down Expand Up @@ -2545,7 +2545,7 @@ it("Ec2XmlTimestampsWithDateTimeOnTargetFormat:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<dateTimeOnTarget>2014-04-29T18:30:38Z</dateTimeOnTarget>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down Expand Up @@ -2587,7 +2587,7 @@ it("Ec2XmlTimestampsWithEpochSecondsFormat:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<epochSeconds>1398796238</epochSeconds>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down Expand Up @@ -2629,7 +2629,7 @@ it("Ec2XmlTimestampsWithEpochSecondsOnTargetFormat:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<epochSecondsOnTarget>1398796238</epochSecondsOnTarget>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down Expand Up @@ -2671,7 +2671,7 @@ it("Ec2XmlTimestampsWithHttpDateFormat:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<httpDate>Tue, 29 Apr 2014 18:30:38 GMT</httpDate>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down Expand Up @@ -2713,7 +2713,7 @@ it("Ec2XmlTimestampsWithHttpDateOnTargetFormat:Response", async () => {
},
`<XmlTimestampsResponse xmlns="https://example.com/">
<httpDateOnTarget>Tue, 29 Apr 2014 18:30:38 GMT</httpDateOnTarget>
<RequestId>requestid</RequestId>
<requestId>requestid</requestId>
</XmlTimestampsResponse>
`
),
Expand Down
Loading

0 comments on commit 72db2b5

Please sign in to comment.