Base exception class for all service exceptions from JSONRPC10 service.
+ * + * + */ +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; + }; + }; +} diff --git a/private/aws-protocoltests-json-10-schema/src/commands/index.ts b/private/aws-protocoltests-json-10-schema/src/commands/index.ts index 62d4da9ffed0d..dcad95b1cf62f 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/index.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/index.ts @@ -13,4 +13,5 @@ export * from "./OperationWithNestedStructureCommand"; export * from "./OperationWithRequiredMembersCommand"; export * from "./OperationWithRequiredMembersWithDefaultsCommand"; export * from "./PutWithContentEncodingCommand"; +export * from "./QueryIncompatibleOperationCommand"; export * from "./SimpleScalarPropertiesCommand"; diff --git a/private/aws-protocoltests-json-10-schema/src/protocols/Aws_json1_0.ts b/private/aws-protocoltests-json-10-schema/src/protocols/Aws_json1_0.ts index 7bd8fa7b2884b..8563f092d1f2d 100644 --- a/private/aws-protocoltests-json-10-schema/src/protocols/Aws_json1_0.ts +++ b/private/aws-protocoltests-json-10-schema/src/protocols/Aws_json1_0.ts @@ -79,6 +79,10 @@ import { PutWithContentEncodingCommandInput, PutWithContentEncodingCommandOutput, } from "../commands/PutWithContentEncodingCommand"; +import { + QueryIncompatibleOperationCommandInput, + QueryIncompatibleOperationCommandOutput, +} from "../commands/QueryIncompatibleOperationCommand"; import { SimpleScalarPropertiesCommandInput, SimpleScalarPropertiesCommandOutput, @@ -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 */ @@ -584,6 +600,23 @@ export const de_PutWithContentEncodingCommand = async ( return response; }; +/** + * deserializeAws_json1_0QueryIncompatibleOperationCommand + */ +export const de_QueryIncompatibleOperationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseBase exception class for all service exceptions from JSONRPC10 service.
+ * + * + */ +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 [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("JsonRpc10", "QueryIncompatibleOperation", {}) + .n("JSONRPC10Client", "QueryIncompatibleOperationCommand") + .f(void 0, void 0) + .ser(se_QueryIncompatibleOperationCommand) + .de(de_QueryIncompatibleOperationCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: {}; + output: {}; + }; + sdk: { + input: QueryIncompatibleOperationCommandInput; + output: QueryIncompatibleOperationCommandOutput; + }; + }; +} diff --git a/private/aws-protocoltests-json-10/src/commands/index.ts b/private/aws-protocoltests-json-10/src/commands/index.ts index 62d4da9ffed0d..dcad95b1cf62f 100644 --- a/private/aws-protocoltests-json-10/src/commands/index.ts +++ b/private/aws-protocoltests-json-10/src/commands/index.ts @@ -13,4 +13,5 @@ export * from "./OperationWithNestedStructureCommand"; export * from "./OperationWithRequiredMembersCommand"; export * from "./OperationWithRequiredMembersWithDefaultsCommand"; export * from "./PutWithContentEncodingCommand"; +export * from "./QueryIncompatibleOperationCommand"; export * from "./SimpleScalarPropertiesCommand"; diff --git a/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts b/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts index 7bd8fa7b2884b..8563f092d1f2d 100644 --- a/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts +++ b/private/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts @@ -79,6 +79,10 @@ import { PutWithContentEncodingCommandInput, PutWithContentEncodingCommandOutput, } from "../commands/PutWithContentEncodingCommand"; +import { + QueryIncompatibleOperationCommandInput, + QueryIncompatibleOperationCommandOutput, +} from "../commands/QueryIncompatibleOperationCommand"; import { SimpleScalarPropertiesCommandInput, SimpleScalarPropertiesCommandOutput, @@ -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 */ @@ -584,6 +600,23 @@ export const de_PutWithContentEncodingCommand = async ( return response; }; +/** + * deserializeAws_json1_0QueryIncompatibleOperationCommand + */ +export const de_QueryIncompatibleOperationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise