Skip to content

Commit

Permalink
chore(codegen): update smithyVersion to 1.40.0 (#5462)
Browse files Browse the repository at this point in the history
* chore(codegen): update smithyVersion to 1.40.0

* chore(codegen): update smithy-ts to commit with smithyVersion=1.40.0

* chore(codegen): run codegen for smithy 1.40.0
  • Loading branch information
kuhe authored Nov 7, 2023
1 parent 54cc5c4 commit aa2e38f
Show file tree
Hide file tree
Showing 18 changed files with 711 additions and 10 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.39.0
smithyVersion=1.40.0
smithyGradleVersion=0.6.0
16 changes: 16 additions & 0 deletions private/aws-protocoltests-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,14 @@ GreetingWithErrors

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/classes/greetingwitherrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/greetingwitherrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/greetingwitherrorscommandoutput.html)

</details>
<details>
<summary>
HttpEnumPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/classes/httpenumpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/httpenumpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/httpenumpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1962,6 +1970,14 @@ HttpResponseCode

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/classes/httpresponsecodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/httpresponsecodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/httpresponsecodecommandoutput.html)

</details>
<details>
<summary>
HttpStringPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/classes/httpstringpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/httpstringpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2-protocol/interfaces/httpstringpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down
16 changes: 16 additions & 0 deletions private/aws-protocoltests-json-10/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,14 @@ GreetingWithErrors

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/classes/greetingwitherrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/greetingwitherrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/greetingwitherrorscommandoutput.html)

</details>
<details>
<summary>
HttpEnumPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/classes/httpenumpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/httpenumpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/httpenumpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1960,6 +1968,14 @@ HttpResponseCode

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/classes/httpresponsecodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/httpresponsecodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/httpresponsecodecommandoutput.html)

</details>
<details>
<summary>
HttpStringPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/classes/httpstringpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/httpstringpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-rpc-10/interfaces/httpstringpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down
16 changes: 16 additions & 0 deletions private/aws-protocoltests-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,14 @@ GreetingWithErrors

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/classes/greetingwitherrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/greetingwitherrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/greetingwitherrorscommandoutput.html)

</details>
<details>
<summary>
HttpEnumPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/classes/httpenumpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/httpenumpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/httpenumpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1960,6 +1968,14 @@ HttpResponseCode

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/classes/httpresponsecodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/httpresponsecodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/httpresponsecodecommandoutput.html)

</details>
<details>
<summary>
HttpStringPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/classes/httpstringpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/httpstringpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-json-protocol/interfaces/httpstringpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down
16 changes: 16 additions & 0 deletions private/aws-protocoltests-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,14 @@ GreetingWithErrors

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/classes/greetingwitherrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/greetingwitherrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/greetingwitherrorscommandoutput.html)

</details>
<details>
<summary>
HttpEnumPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/classes/httpenumpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/httpenumpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/httpenumpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1962,6 +1970,14 @@ HttpResponseCode

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/classes/httpresponsecodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/httpresponsecodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/httpresponsecodecommandoutput.html)

</details>
<details>
<summary>
HttpStringPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/classes/httpstringpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/httpstringpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-query-protocol/interfaces/httpstringpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down
16 changes: 16 additions & 0 deletions private/aws-protocoltests-restjson/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,14 @@ GreetingWithErrors

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/classes/greetingwitherrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/greetingwitherrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/greetingwitherrorscommandoutput.html)

</details>
<details>
<summary>
HttpEnumPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/classes/httpenumpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/httpenumpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/httpenumpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1962,6 +1970,14 @@ HttpResponseCode

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/classes/httpresponsecodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/httpresponsecodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/httpresponsecodecommandoutput.html)

</details>
<details>
<summary>
HttpStringPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/classes/httpstringpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/httpstringpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-json-protocol/interfaces/httpstringpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ it("RestJsonHttpChecksumRequired:Request", async () => {
}
});

it("EnumPayloadRequest:Request", async () => {
it("RestJsonEnumPayloadRequest:Request", async () => {
const client = new RestJsonProtocolClient({
...clientParams,
requestHandler: new RequestSerializationTestHandler(),
Expand Down Expand Up @@ -2189,7 +2189,7 @@ it("EnumPayloadRequest:Request", async () => {
}
});

it("EnumPayloadResponse:Response", async () => {
it("RestJsonEnumPayloadResponse:Response", async () => {
const client = new RestJsonProtocolClient({
...clientParams,
requestHandler: new ResponseDeserializationTestHandler(true, 200, undefined, `enumvalue`),
Expand Down Expand Up @@ -3192,7 +3192,7 @@ it("RestJsonHttpResponseCodeWithNoPayload:Response", async () => {
});
});

it("StringPayloadRequest:Request", async () => {
it("RestJsonStringPayloadRequest:Request", async () => {
const client = new RestJsonProtocolClient({
...clientParams,
requestHandler: new RequestSerializationTestHandler(),
Expand Down Expand Up @@ -3222,7 +3222,7 @@ it("StringPayloadRequest:Request", async () => {
}
});

it("StringPayloadResponse:Response", async () => {
it("RestJsonStringPayloadResponse:Response", async () => {
const client = new RestJsonProtocolClient({
...clientParams,
requestHandler: new ResponseDeserializationTestHandler(true, 200, undefined, `rawstring`),
Expand Down
16 changes: 16 additions & 0 deletions private/aws-protocoltests-restxml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,14 @@ GreetingWithErrors

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/classes/greetingwitherrorscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/greetingwitherrorscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/greetingwitherrorscommandoutput.html)

</details>
<details>
<summary>
HttpEnumPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/classes/httpenumpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/httpenumpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/httpenumpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1962,6 +1970,14 @@ HttpResponseCode

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/classes/httpresponsecodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/httpresponsecodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/httpresponsecodecommandoutput.html)

</details>
<details>
<summary>
HttpStringPayload
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/classes/httpstringpayloadcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/httpstringpayloadcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rest-xml-protocol/interfaces/httpstringpayloadcommandoutput.html)

</details>
<details>
<summary>
Expand Down
43 changes: 43 additions & 0 deletions private/aws-protocoltests-restxml/src/RestXmlProtocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ import {
GreetingWithErrorsCommandInput,
GreetingWithErrorsCommandOutput,
} from "./commands/GreetingWithErrorsCommand";
import {
HttpEnumPayloadCommand,
HttpEnumPayloadCommandInput,
HttpEnumPayloadCommandOutput,
} from "./commands/HttpEnumPayloadCommand";
import {
HttpPayloadTraitsCommand,
HttpPayloadTraitsCommandInput,
Expand Down Expand Up @@ -142,6 +147,11 @@ import {
HttpResponseCodeCommandInput,
HttpResponseCodeCommandOutput,
} from "./commands/HttpResponseCodeCommand";
import {
HttpStringPayloadCommand,
HttpStringPayloadCommandInput,
HttpStringPayloadCommandOutput,
} from "./commands/HttpStringPayloadCommand";
import {
IgnoreQueryParamsInResponseCommand,
IgnoreQueryParamsInResponseCommandInput,
Expand Down Expand Up @@ -290,6 +300,7 @@ const commands = {
FlattenedXmlMapWithXmlNamespaceCommand,
FractionalSecondsCommand,
GreetingWithErrorsCommand,
HttpEnumPayloadCommand,
HttpPayloadTraitsCommand,
HttpPayloadTraitsWithMediaTypeCommand,
HttpPayloadWithMemberXmlNameCommand,
Expand All @@ -304,6 +315,7 @@ const commands = {
HttpRequestWithLabelsCommand,
HttpRequestWithLabelsAndTimestampFormatCommand,
HttpResponseCodeCommand,
HttpStringPayloadCommand,
IgnoreQueryParamsInResponseCommand,
InputAndOutputWithHeadersCommand,
NestedXmlMapsCommand,
Expand Down Expand Up @@ -567,6 +579,20 @@ export interface RestXmlProtocol {
cb: (err: any, data?: GreetingWithErrorsCommandOutput) => void
): void;

/**
* @see {@link HttpEnumPayloadCommand}
*/
httpEnumPayload(
args: HttpEnumPayloadCommandInput,
options?: __HttpHandlerOptions
): Promise<HttpEnumPayloadCommandOutput>;
httpEnumPayload(args: HttpEnumPayloadCommandInput, cb: (err: any, data?: HttpEnumPayloadCommandOutput) => void): void;
httpEnumPayload(
args: HttpEnumPayloadCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: HttpEnumPayloadCommandOutput) => void
): void;

/**
* @see {@link HttpPayloadTraitsCommand}
*/
Expand Down Expand Up @@ -805,6 +831,23 @@ export interface RestXmlProtocol {
cb: (err: any, data?: HttpResponseCodeCommandOutput) => void
): void;

/**
* @see {@link HttpStringPayloadCommand}
*/
httpStringPayload(
args: HttpStringPayloadCommandInput,
options?: __HttpHandlerOptions
): Promise<HttpStringPayloadCommandOutput>;
httpStringPayload(
args: HttpStringPayloadCommandInput,
cb: (err: any, data?: HttpStringPayloadCommandOutput) => void
): void;
httpStringPayload(
args: HttpStringPayloadCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: HttpStringPayloadCommandOutput) => void
): void;

/**
* @see {@link IgnoreQueryParamsInResponseCommand}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ import {
} from "./commands/FlattenedXmlMapWithXmlNamespaceCommand";
import { FractionalSecondsCommandInput, FractionalSecondsCommandOutput } from "./commands/FractionalSecondsCommand";
import { GreetingWithErrorsCommandInput, GreetingWithErrorsCommandOutput } from "./commands/GreetingWithErrorsCommand";
import { HttpEnumPayloadCommandInput, HttpEnumPayloadCommandOutput } from "./commands/HttpEnumPayloadCommand";
import { HttpPayloadTraitsCommandInput, HttpPayloadTraitsCommandOutput } from "./commands/HttpPayloadTraitsCommand";
import {
HttpPayloadTraitsWithMediaTypeCommandInput,
Expand Down Expand Up @@ -134,6 +135,7 @@ import {
HttpRequestWithLabelsCommandOutput,
} from "./commands/HttpRequestWithLabelsCommand";
import { HttpResponseCodeCommandInput, HttpResponseCodeCommandOutput } from "./commands/HttpResponseCodeCommand";
import { HttpStringPayloadCommandInput, HttpStringPayloadCommandOutput } from "./commands/HttpStringPayloadCommand";
import {
IgnoreQueryParamsInResponseCommandInput,
IgnoreQueryParamsInResponseCommandOutput,
Expand Down Expand Up @@ -224,6 +226,7 @@ export type ServiceInputTypes =
| FlattenedXmlMapWithXmlNamespaceCommandInput
| FractionalSecondsCommandInput
| GreetingWithErrorsCommandInput
| HttpEnumPayloadCommandInput
| HttpPayloadTraitsCommandInput
| HttpPayloadTraitsWithMediaTypeCommandInput
| HttpPayloadWithMemberXmlNameCommandInput
Expand All @@ -238,6 +241,7 @@ export type ServiceInputTypes =
| HttpRequestWithLabelsAndTimestampFormatCommandInput
| HttpRequestWithLabelsCommandInput
| HttpResponseCodeCommandInput
| HttpStringPayloadCommandInput
| IgnoreQueryParamsInResponseCommandInput
| InputAndOutputWithHeadersCommandInput
| NestedXmlMapsCommandInput
Expand Down Expand Up @@ -288,6 +292,7 @@ export type ServiceOutputTypes =
| FlattenedXmlMapWithXmlNamespaceCommandOutput
| FractionalSecondsCommandOutput
| GreetingWithErrorsCommandOutput
| HttpEnumPayloadCommandOutput
| HttpPayloadTraitsCommandOutput
| HttpPayloadTraitsWithMediaTypeCommandOutput
| HttpPayloadWithMemberXmlNameCommandOutput
Expand All @@ -302,6 +307,7 @@ export type ServiceOutputTypes =
| HttpRequestWithLabelsAndTimestampFormatCommandOutput
| HttpRequestWithLabelsCommandOutput
| HttpResponseCodeCommandOutput
| HttpStringPayloadCommandOutput
| IgnoreQueryParamsInResponseCommandOutput
| InputAndOutputWithHeadersCommandOutput
| NestedXmlMapsCommandOutput
Expand Down
Loading

0 comments on commit aa2e38f

Please sign in to comment.