Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codegen/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
smithyVersion=1.59.0
smithyVersion=1.60.3
smithyGradleVersion=1.2.0
smithyPluginVersion=0.6.0
32 changes: 32 additions & 0 deletions private/aws-protocoltests-ec2-schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,22 @@ PutWithContentEncoding

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

</details>
<details>
<summary>
QueryCompatibleOperation
</summary>

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

</details>
<details>
<summary>
QueryIncompatibleOperation
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -2394,6 +2410,22 @@ SimpleScalarProperties

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

</details>
<details>
<summary>
NonQueryCompatibleOperation
</summary>

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

</details>
<details>
<summary>
QueryCompatibleOperation
</summary>

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

</details>
<details>
<summary>
Expand Down
32 changes: 32 additions & 0 deletions private/aws-protocoltests-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,22 @@ PutWithContentEncoding

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

</details>
<details>
<summary>
QueryCompatibleOperation
</summary>

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

</details>
<details>
<summary>
QueryIncompatibleOperation
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -2394,6 +2410,22 @@ SimpleScalarProperties

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

</details>
<details>
<summary>
NonQueryCompatibleOperation
</summary>

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

</details>
<details>
<summary>
QueryCompatibleOperation
</summary>

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

</details>
<details>
<summary>
Expand Down
32 changes: 32 additions & 0 deletions private/aws-protocoltests-json-10-schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,22 @@ PutWithContentEncoding

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/json-rpc-10/command/PutWithContentEncodingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/PutWithContentEncodingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/PutWithContentEncodingCommandOutput/)

</details>
<details>
<summary>
QueryCompatibleOperation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/json-rpc-10/command/QueryCompatibleOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/QueryCompatibleOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/QueryCompatibleOperationCommandOutput/)

</details>
<details>
<summary>
QueryIncompatibleOperation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/json-rpc-10/command/QueryIncompatibleOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/QueryIncompatibleOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/QueryIncompatibleOperationCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -2392,6 +2408,22 @@ SimpleScalarProperties

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/json-rpc-10/command/SimpleScalarPropertiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/SimpleScalarPropertiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/SimpleScalarPropertiesCommandOutput/)

</details>
<details>
<summary>
NonQueryCompatibleOperation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/json-rpc-10/command/NonQueryCompatibleOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/NonQueryCompatibleOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/NonQueryCompatibleOperationCommandOutput/)

</details>
<details>
<summary>
QueryCompatibleOperation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/json-rpc-10/command/QueryCompatibleOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/QueryCompatibleOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-json-rpc-10/Interface/QueryCompatibleOperationCommandOutput/)

</details>
<details>
<summary>
Expand Down
24 changes: 24 additions & 0 deletions private/aws-protocoltests-json-10-schema/src/JSONRPC10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ import {
PutWithContentEncodingCommandInput,
PutWithContentEncodingCommandOutput,
} from "./commands/PutWithContentEncodingCommand";
import {
QueryIncompatibleOperationCommand,
QueryIncompatibleOperationCommandInput,
QueryIncompatibleOperationCommandOutput,
} from "./commands/QueryIncompatibleOperationCommand";
import {
SimpleScalarPropertiesCommand,
SimpleScalarPropertiesCommandInput,
Expand All @@ -90,6 +95,7 @@ const commands = {
OperationWithRequiredMembersCommand,
OperationWithRequiredMembersWithDefaultsCommand,
PutWithContentEncodingCommand,
QueryIncompatibleOperationCommand,
SimpleScalarPropertiesCommand,
};

Expand Down Expand Up @@ -338,6 +344,24 @@ export interface JSONRPC10 {
cb: (err: any, data?: PutWithContentEncodingCommandOutput) => void
): void;

/**
* @see {@link QueryIncompatibleOperationCommand}
*/
queryIncompatibleOperation(): Promise<QueryIncompatibleOperationCommandOutput>;
queryIncompatibleOperation(
args: QueryIncompatibleOperationCommandInput,
options?: __HttpHandlerOptions
): Promise<QueryIncompatibleOperationCommandOutput>;
queryIncompatibleOperation(
args: QueryIncompatibleOperationCommandInput,
cb: (err: any, data?: QueryIncompatibleOperationCommandOutput) => void
): void;
queryIncompatibleOperation(
args: QueryIncompatibleOperationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: QueryIncompatibleOperationCommandOutput) => void
): void;

/**
* @see {@link SimpleScalarPropertiesCommand}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ import {
PutWithContentEncodingCommandInput,
PutWithContentEncodingCommandOutput,
} from "./commands/PutWithContentEncodingCommand";
import {
QueryIncompatibleOperationCommandInput,
QueryIncompatibleOperationCommandOutput,
} from "./commands/QueryIncompatibleOperationCommand";
import {
SimpleScalarPropertiesCommandInput,
SimpleScalarPropertiesCommandOutput,
Expand Down Expand Up @@ -136,6 +140,7 @@ export type ServiceInputTypes =
| OperationWithRequiredMembersCommandInput
| OperationWithRequiredMembersWithDefaultsCommandInput
| PutWithContentEncodingCommandInput
| QueryIncompatibleOperationCommandInput
| SimpleScalarPropertiesCommandInput;

/**
Expand All @@ -156,6 +161,7 @@ export type ServiceOutputTypes =
| OperationWithRequiredMembersCommandOutput
| OperationWithRequiredMembersWithDefaultsCommandOutput
| PutWithContentEncodingCommandOutput
| QueryIncompatibleOperationCommandOutput
| SimpleScalarPropertiesCommandOutput;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
// smithy-typescript generated code
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client";
import { QueryIncompatibleOperation } from "../schemas/schemas";

/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link QueryIncompatibleOperationCommand}.
*/
export interface QueryIncompatibleOperationCommandInput {}
/**
* @public
*
* The output of {@link QueryIncompatibleOperationCommand}.
*/
export interface QueryIncompatibleOperationCommandOutput extends __MetadataBearer {}

/**
* @public
*
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { JSONRPC10Client, QueryIncompatibleOperationCommand } from "@aws-sdk/aws-protocoltests-json-10-schema"; // ES Modules import
* // const { JSONRPC10Client, QueryIncompatibleOperationCommand } = require("@aws-sdk/aws-protocoltests-json-10-schema"); // CommonJS import
* const client = new JSONRPC10Client(config);
* const input = {};
* const command = new QueryIncompatibleOperationCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param QueryIncompatibleOperationCommandInput - {@link QueryIncompatibleOperationCommandInput}
* @returns {@link QueryIncompatibleOperationCommandOutput}
* @see {@link QueryIncompatibleOperationCommandInput} for command's `input` shape.
* @see {@link QueryIncompatibleOperationCommandOutput} for command's `response` shape.
* @see {@link JSONRPC10ClientResolvedConfig | config} for JSONRPC10Client's `config` shape.
*
* @throws {@link JSONRPC10ServiceException}
* <p>Base exception class for all service exceptions from JSONRPC10 service.</p>
*
*
*/
export class QueryIncompatibleOperationCommand extends $Command
.classBuilder<
QueryIncompatibleOperationCommandInput,
QueryIncompatibleOperationCommandOutput,
JSONRPC10ClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
>()
.ep(commonParams)
.m(function (this: any, Command: any, cs: any, config: JSONRPC10ClientResolvedConfig, o: any) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("JsonRpc10", "QueryIncompatibleOperation", {})
.n("JSONRPC10Client", "QueryIncompatibleOperationCommand")
.f(void 0, void 0)
.sc(QueryIncompatibleOperation)
.build() {
/** @internal type navigation helper, not in runtime. */
protected declare static __types: {
api: {
input: {};
output: {};
};
sdk: {
input: QueryIncompatibleOperationCommandInput;
output: QueryIncompatibleOperationCommandOutput;
};
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ export * from "./OperationWithNestedStructureCommand";
export * from "./OperationWithRequiredMembersCommand";
export * from "./OperationWithRequiredMembersWithDefaultsCommand";
export * from "./PutWithContentEncodingCommand";
export * from "./QueryIncompatibleOperationCommand";
export * from "./SimpleScalarPropertiesCommand";
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ import {
PutWithContentEncodingCommandInput,
PutWithContentEncodingCommandOutput,
} from "../commands/PutWithContentEncodingCommand";
import {
QueryIncompatibleOperationCommandInput,
QueryIncompatibleOperationCommandOutput,
} from "../commands/QueryIncompatibleOperationCommand";
import {
SimpleScalarPropertiesCommandInput,
SimpleScalarPropertiesCommandOutput,
Expand Down Expand Up @@ -306,6 +310,18 @@ export const se_PutWithContentEncodingCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};

/**
* serializeAws_json1_0QueryIncompatibleOperationCommand
*/
export const se_QueryIncompatibleOperationCommand = async (
input: QueryIncompatibleOperationCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> => {
const headers: __HeaderBag = sharedHeaders("QueryIncompatibleOperation");
const body = "{}";
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};

/**
* serializeAws_json1_0SimpleScalarPropertiesCommand
*/
Expand Down Expand Up @@ -584,6 +600,23 @@ export const de_PutWithContentEncodingCommand = async (
return response;
};

/**
* deserializeAws_json1_0QueryIncompatibleOperationCommand
*/
export const de_QueryIncompatibleOperationCommand = async (
output: __HttpResponse,
context: __SerdeContext
): Promise<QueryIncompatibleOperationCommandOutput> => {
if (output.statusCode >= 300) {
return de_CommandError(output, context);
}
await collectBody(output.body, context);
const response: QueryIncompatibleOperationCommandOutput = {
$metadata: deserializeMetadata(output),
};
return response;
};

/**
* deserializeAws_json1_0SimpleScalarPropertiesCommand
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const _OWRMWD = "OperationWithRequiredMembersWithDefaults";
const _OWRMWDO = "OperationWithRequiredMembersWithDefaultsOutput";
const _PWCE = "PutWithContentEncoding";
const _PWCEI = "PutWithContentEncodingInput";
const _QIO = "QueryIncompatibleOperation";
const _SSP = "SimpleScalarProperties";
const _SSPI = "SimpleScalarPropertiesInput";
const _SSPO = "SimpleScalarPropertiesOutput";
Expand Down Expand Up @@ -471,6 +472,13 @@ export var PutWithContentEncoding = op(
() => PutWithContentEncodingInput,
() => Unit
);
export var QueryIncompatibleOperation = op(
n0,
_QIO,
2,
() => Unit,
() => Unit
);
export var SimpleScalarProperties = op(
n0,
_SSP,
Expand Down
Loading
Loading