Base exception class for all service exceptions from MachineLearning service.
+ * + * + */ +export class PredictCommand extends $Command + .classBuilder< + PredictCommandInput, + PredictCommandOutput, + MachineLearningClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: MachineLearningClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getPredictEndpointPlugin(config), + ]; + }) + .s("AmazonML_20141212", "Predict", {}) + .n("MachineLearningClient", "PredictCommand") + .f(void 0, void 0) + .ser(se_PredictCommand) + .de(de_PredictCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: PredictInput; + output: PredictOutput; + }; + sdk: { + input: PredictCommandInput; + output: PredictCommandOutput; + }; + }; +} diff --git a/private/aws-protocoltests-json-schema-machinelearning/src/commands/index.ts b/private/aws-protocoltests-json-schema-machinelearning/src/commands/index.ts new file mode 100644 index 000000000000..afac513a5ec8 --- /dev/null +++ b/private/aws-protocoltests-json-schema-machinelearning/src/commands/index.ts @@ -0,0 +1,2 @@ +// smithy-typescript generated code +export * from "./PredictCommand"; diff --git a/private/aws-protocoltests-json-schema-machinelearning/src/endpoint/EndpointParameters.ts b/private/aws-protocoltests-json-schema-machinelearning/src/endpoint/EndpointParameters.ts new file mode 100644 index 000000000000..554c886e8139 --- /dev/null +++ b/private/aws-protocoltests-json-schema-machinelearning/src/endpoint/EndpointParameters.ts @@ -0,0 +1,40 @@ +// smithy-typescript generated code +import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; + +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | ProviderBase exception class for all service exceptions from APIGateway service.
+ * + * + */ +export class GetRestApisCommand extends $Command + .classBuilder< + GetRestApisCommandInput, + GetRestApisCommandOutput, + APIGatewayClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: APIGatewayClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("BackplaneControlService", "GetRestApis", {}) + .n("APIGatewayClient", "GetRestApisCommand") + .f(void 0, void 0) + .ser(se_GetRestApisCommand) + .de(de_GetRestApisCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: GetRestApisRequest; + output: RestApis; + }; + sdk: { + input: GetRestApisCommandInput; + output: GetRestApisCommandOutput; + }; + }; +} diff --git a/private/aws-protocoltests-restjson-schema-apigateway/src/commands/index.ts b/private/aws-protocoltests-restjson-schema-apigateway/src/commands/index.ts new file mode 100644 index 000000000000..bd64ba7e8e4d --- /dev/null +++ b/private/aws-protocoltests-restjson-schema-apigateway/src/commands/index.ts @@ -0,0 +1,2 @@ +// smithy-typescript generated code +export * from "./GetRestApisCommand"; diff --git a/private/aws-protocoltests-restjson-schema-apigateway/src/endpoint/EndpointParameters.ts b/private/aws-protocoltests-restjson-schema-apigateway/src/endpoint/EndpointParameters.ts new file mode 100644 index 000000000000..4e94fa0b616a --- /dev/null +++ b/private/aws-protocoltests-restjson-schema-apigateway/src/endpoint/EndpointParameters.ts @@ -0,0 +1,40 @@ +// smithy-typescript generated code +import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; + +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | ProviderBase exception class for all service exceptions from Glacier service.
+ * + * + */ +export class UploadArchiveCommand extends $Command + .classBuilder< + UploadArchiveCommandInput, + UploadArchiveCommandOutput, + GlacierClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlacierClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("Glacier", "UploadArchive", {}) + .n("GlacierClient", "UploadArchiveCommand") + .f(UploadArchiveInputFilterSensitiveLog, void 0) + .ser(se_UploadArchiveCommand) + .de(de_UploadArchiveCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: UploadArchiveInput; + output: ArchiveCreationOutput; + }; + sdk: { + input: UploadArchiveCommandInput; + output: UploadArchiveCommandOutput; + }; + }; +} diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts b/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts new file mode 100644 index 000000000000..bcb33913acc1 --- /dev/null +++ b/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts @@ -0,0 +1,115 @@ +// smithy-typescript generated code +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; + +import { commonParams } from "../endpoint/EndpointParameters"; +import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient"; +import { + UploadMultipartPartInput, + UploadMultipartPartInputFilterSensitiveLog, + UploadMultipartPartOutput, +} from "../models/models_0"; +import { de_UploadMultipartPartCommand, se_UploadMultipartPartCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export type { __MetadataBearer }; +export { $Command }; +/** + * @public + * + * The input for {@link UploadMultipartPartCommand}. + */ +export interface UploadMultipartPartCommandInput extends OmitBase exception class for all service exceptions from Glacier service.
+ * + * + */ +export class UploadMultipartPartCommand extends $Command + .classBuilder< + UploadMultipartPartCommandInput, + UploadMultipartPartCommandOutput, + GlacierClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep(commonParams) + .m(function (this: any, Command: any, cs: any, config: GlacierClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("Glacier", "UploadMultipartPart", {}) + .n("GlacierClient", "UploadMultipartPartCommand") + .f(UploadMultipartPartInputFilterSensitiveLog, void 0) + .ser(se_UploadMultipartPartCommand) + .de(de_UploadMultipartPartCommand) + .build() { + /** @internal type navigation helper, not in runtime. */ + protected declare static __types: { + api: { + input: UploadMultipartPartInput; + output: UploadMultipartPartOutput; + }; + sdk: { + input: UploadMultipartPartCommandInput; + output: UploadMultipartPartCommandOutput; + }; + }; +} diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/commands/index.ts b/private/aws-protocoltests-restjson-schema-glacier/src/commands/index.ts new file mode 100644 index 000000000000..8221be9b2ac1 --- /dev/null +++ b/private/aws-protocoltests-restjson-schema-glacier/src/commands/index.ts @@ -0,0 +1,3 @@ +// smithy-typescript generated code +export * from "./UploadArchiveCommand"; +export * from "./UploadMultipartPartCommand"; diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/endpoint/EndpointParameters.ts b/private/aws-protocoltests-restjson-schema-glacier/src/endpoint/EndpointParameters.ts new file mode 100644 index 000000000000..461c6bf68ed2 --- /dev/null +++ b/private/aws-protocoltests-restjson-schema-glacier/src/endpoint/EndpointParameters.ts @@ -0,0 +1,40 @@ +// smithy-typescript generated code +import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; + +/** + * @public + */ +export interface ClientInputEndpointParameters { + region?: string | undefined | Provider