diff --git a/codegen/protocol-test-codegen/smithy-build.json b/codegen/protocol-test-codegen/smithy-build.json index af63c4ae7bbe..d7bcdd0755f5 100644 --- a/codegen/protocol-test-codegen/smithy-build.json +++ b/codegen/protocol-test-codegen/smithy-build.json @@ -1,7 +1,7 @@ { "version": "1.0", "projections": { - "aws-ec2": { + "aws-protocoltests-ec2": { "transforms": [ { "name": "includeServices", @@ -12,7 +12,7 @@ ], "plugins": { "typescript-codegen": { - "package": "@aws-sdk/aws-ec2", + "package": "@aws-sdk/aws-protocoltests-ec2", "packageVersion": "1.0.0-alpha.1", "packageJson": { "author": { @@ -25,7 +25,7 @@ } } }, - "aws-json": { + "aws-protocoltests-json": { "transforms": [ { "name": "includeServices", @@ -36,7 +36,7 @@ ], "plugins": { "typescript-codegen": { - "package": "@aws-sdk/aws-json", + "package": "@aws-sdk/aws-protocoltests-json", "packageVersion": "1.0.0-alpha.1", "packageJson": { "author": { @@ -49,7 +49,7 @@ } } }, - "aws-json-10": { + "aws-protocoltests-json-10": { "transforms": [ { "name": "includeServices", @@ -60,7 +60,7 @@ ], "plugins": { "typescript-codegen": { - "package": "@aws-sdk/aws-json-10", + "package": "@aws-sdk/aws-protocoltests-json-10", "packageVersion": "1.0.0-alpha.1", "packageJson": { "author": { @@ -73,7 +73,7 @@ } } }, - "aws-query": { + "aws-protocoltests-query": { "transforms": [ { "name": "includeServices", @@ -84,7 +84,7 @@ ], "plugins": { "typescript-codegen": { - "package": "@aws-sdk/aws-query", + "package": "@aws-sdk/aws-protocoltests-query", "packageVersion": "1.0.0-alpha.1", "packageJson": { "author": { @@ -97,7 +97,7 @@ } } }, - "aws-restjson": { + "aws-protocoltests-restjson": { "transforms": [ { "name": "includeServices", @@ -108,7 +108,7 @@ ], "plugins": { "typescript-codegen": { - "package": "@aws-sdk/aws-restjson", + "package": "@aws-sdk/aws-protocoltests-restjson", "packageVersion": "1.0.0-alpha.1", "packageJson": { "author": { @@ -142,7 +142,7 @@ } } }, - "aws-restxml": { + "aws-protocoltests-restxml": { "transforms": [ { "name": "includeServices", @@ -153,7 +153,7 @@ ], "plugins": { "typescript-codegen": { - "package": "@aws-sdk/aws-restxml", + "package": "@aws-sdk/aws-protocoltests-restxml", "packageVersion": "1.0.0-alpha.1", "packageJson": { "author": { diff --git a/package.json b/package.json index 2030b5f257e0..78b604892659 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./protocol_tests/**/*.tsbuildinfo", "remove-documentation": "rimraf ./docs", "build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build", - "build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-*' --ignore '@aws-sdk/*-server' --include-dependencies build", + "build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-protocoltests-*' --include-dependencies build", "build:server-protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/*-server' --include-dependencies build", "build:all": "yarn build:crypto-dependencies && lerna run build", "build-documentation": "yarn remove-documentation && typedoc", @@ -24,7 +24,7 @@ "test:integration:legacy": "cucumber-js --fail-fast", "test:integration:legacy:since:release": "./tests/integ-legacy/index.js", "test:integration": "jest --config jest.config.integ.js --passWithNoTests", - "test:protocols": "yarn build:protocols && lerna run test --scope '@aws-sdk/aws-*' --ignore '@aws-sdk/*-server'", + "test:protocols": "yarn build:protocols && lerna run test --scope '@aws-sdk/aws-protocoltests-*'", "test:server-protocols": "yarn build:server-protocols && lerna run test --scope '@aws-sdk/*-server'", "pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build", "test:e2e": "node ./tests/e2e/index.js", diff --git a/protocol_tests/aws-json-10/.gitignore b/protocol_tests/aws-protocoltests-ec2/.gitignore similarity index 100% rename from protocol_tests/aws-json-10/.gitignore rename to protocol_tests/aws-protocoltests-ec2/.gitignore diff --git a/protocol_tests/aws-ec2/CHANGELOG.md b/protocol_tests/aws-protocoltests-ec2/CHANGELOG.md similarity index 100% rename from protocol_tests/aws-ec2/CHANGELOG.md rename to protocol_tests/aws-protocoltests-ec2/CHANGELOG.md diff --git a/protocol_tests/aws-ec2/LICENSE b/protocol_tests/aws-protocoltests-ec2/LICENSE similarity index 100% rename from protocol_tests/aws-ec2/LICENSE rename to protocol_tests/aws-protocoltests-ec2/LICENSE diff --git a/protocol_tests/aws-ec2/README.md b/protocol_tests/aws-protocoltests-ec2/README.md similarity index 88% rename from protocol_tests/aws-ec2/README.md rename to protocol_tests/aws-protocoltests-ec2/README.md index 9edecd7abcbf..c81774a0da8b 100644 --- a/protocol_tests/aws-ec2/README.md +++ b/protocol_tests/aws-protocoltests-ec2/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/aws-ec2 +# @aws-sdk/aws-protocoltests-ec2 -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-ec2/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-ec2) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-ec2.svg)](https://www.npmjs.com/package/@aws-sdk/aws-ec2) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-protocoltests-ec2/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-ec2) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-protocoltests-ec2.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-ec2) ## Description @@ -11,12 +11,12 @@ An EC2 query service that sends query requests and XML responses. ## Installing -To install the this package, simply type add or install @aws-sdk/aws-ec2 +To install the this package, simply type add or install @aws-sdk/aws-protocoltests-ec2 using your favorite package manager: -- `npm install @aws-sdk/aws-ec2` -- `yarn add @aws-sdk/aws-ec2` -- `pnpm add @aws-sdk/aws-ec2` +- `npm install @aws-sdk/aws-protocoltests-ec2` +- `yarn add @aws-sdk/aws-protocoltests-ec2` +- `pnpm add @aws-sdk/aws-protocoltests-ec2` ## Getting Started @@ -28,12 +28,12 @@ the commands you need, for example `EmptyInputAndEmptyOutputCommand`: ```js // ES5 example -const { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-ec2"); +const { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-ec2"); ``` ```ts // ES6+ example -import { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-ec2"; +import { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-ec2"; ``` ### Usage @@ -126,7 +126,7 @@ However, it results in a bigger bundle size and may be dropped in next major ver on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) ```ts -import * as AWS from "@aws-sdk/aws-ec2"; +import * as AWS from "@aws-sdk/aws-protocoltests-ec2"; const client = new AWS.EC2Protocol({ region: "REGION" }); // async/await. @@ -193,7 +193,7 @@ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). ## Contributing -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-ec2` package is updated. +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-protocoltests-ec2` package is updated. To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). ## License diff --git a/protocol_tests/aws-ec2/jest.config.js b/protocol_tests/aws-protocoltests-ec2/jest.config.js similarity index 100% rename from protocol_tests/aws-ec2/jest.config.js rename to protocol_tests/aws-protocoltests-ec2/jest.config.js diff --git a/protocol_tests/aws-query/package.json b/protocol_tests/aws-protocoltests-ec2/package.json similarity index 94% rename from protocol_tests/aws-query/package.json rename to protocol_tests/aws-protocoltests-ec2/package.json index 165b9bbd8de3..fe8342be5885 100644 --- a/protocol_tests/aws-query/package.json +++ b/protocol_tests/aws-protocoltests-ec2/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/aws-query", - "description": "@aws-sdk/aws-query client", + "name": "@aws-sdk/aws-protocoltests-ec2", + "description": "@aws-sdk/aws-protocoltests-ec2 client", "version": "3.38.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", @@ -87,10 +87,10 @@ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, "private": true, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-query", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-protocoltests-ec2", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/aws-query" + "directory": "clients/aws-protocoltests-ec2" } } diff --git a/protocol_tests/aws-ec2/src/EC2Protocol.ts b/protocol_tests/aws-protocoltests-ec2/src/EC2Protocol.ts similarity index 100% rename from protocol_tests/aws-ec2/src/EC2Protocol.ts rename to protocol_tests/aws-protocoltests-ec2/src/EC2Protocol.ts diff --git a/protocol_tests/aws-ec2/src/EC2ProtocolClient.ts b/protocol_tests/aws-protocoltests-ec2/src/EC2ProtocolClient.ts similarity index 100% rename from protocol_tests/aws-ec2/src/EC2ProtocolClient.ts rename to protocol_tests/aws-protocoltests-ec2/src/EC2ProtocolClient.ts diff --git a/protocol_tests/aws-ec2/src/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/EmptyInputAndEmptyOutputCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/EmptyInputAndEmptyOutputCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/EmptyInputAndEmptyOutputCommand.ts index d4717dee1737..297a83eb5d00 100644 --- a/protocol_tests/aws-ec2/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -29,8 +29,8 @@ export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmpt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new EmptyInputAndEmptyOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/EndpointOperationCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/EndpointOperationCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/EndpointOperationCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/EndpointOperationCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/EndpointWithHostLabelOperationCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/EndpointWithHostLabelOperationCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/EndpointWithHostLabelOperationCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/EndpointWithHostLabelOperationCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/GreetingWithErrorsCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/GreetingWithErrorsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/GreetingWithErrorsCommand.ts index c13570dbe264..f25e159ed5b4 100644 --- a/protocol_tests/aws-ec2/src/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/GreetingWithErrorsCommand.ts @@ -30,8 +30,8 @@ export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new GreetingWithErrorsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/HostWithPathOperationCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/HostWithPathOperationCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/HostWithPathOperationCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/HostWithPathOperationCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/IgnoresWrappingXmlNameCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/IgnoresWrappingXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/IgnoresWrappingXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/IgnoresWrappingXmlNameCommand.ts index c0825dc84325..4f0ff1a0d316 100644 --- a/protocol_tests/aws-ec2/src/commands/IgnoresWrappingXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/IgnoresWrappingXmlNameCommand.ts @@ -28,8 +28,8 @@ export interface IgnoresWrappingXmlNameCommandOutput extends IgnoresWrappingXmlN * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, IgnoresWrappingXmlNameCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, IgnoresWrappingXmlNameCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, IgnoresWrappingXmlNameCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, IgnoresWrappingXmlNameCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new IgnoresWrappingXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/NestedStructuresCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/NestedStructuresCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/NestedStructuresCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/NestedStructuresCommand.ts index c143a2733211..3e05fe36a3ed 100644 --- a/protocol_tests/aws-ec2/src/commands/NestedStructuresCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/NestedStructuresCommand.ts @@ -26,8 +26,8 @@ export interface NestedStructuresCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, NestedStructuresCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, NestedStructuresCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, NestedStructuresCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, NestedStructuresCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new NestedStructuresCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/NoInputAndOutputCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/NoInputAndOutputCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/NoInputAndOutputCommand.ts index 5dac32eeeb5e..f0f350cdaa5b 100644 --- a/protocol_tests/aws-ec2/src/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/NoInputAndOutputCommand.ts @@ -29,8 +29,8 @@ export interface NoInputAndOutputCommandOutput extends NoInputAndOutputOutput, _ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new NoInputAndOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/QueryIdempotencyTokenAutoFillCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/QueryIdempotencyTokenAutoFillCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 26353fd3b4bf..569261e2dbc2 100644 --- a/protocol_tests/aws-ec2/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -26,8 +26,8 @@ export interface QueryIdempotencyTokenAutoFillCommandOutput extends __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new QueryIdempotencyTokenAutoFillCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/QueryListsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/QueryListsCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/QueryListsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/QueryListsCommand.ts index 7a47782740ed..a517481d22d8 100644 --- a/protocol_tests/aws-ec2/src/commands/QueryListsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/QueryListsCommand.ts @@ -23,8 +23,8 @@ export interface QueryListsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, QueryListsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, QueryListsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, QueryListsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, QueryListsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new QueryListsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/QueryTimestampsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/QueryTimestampsCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/QueryTimestampsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/QueryTimestampsCommand.ts index ca35ce2e391e..2a120e7eae9d 100644 --- a/protocol_tests/aws-ec2/src/commands/QueryTimestampsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/QueryTimestampsCommand.ts @@ -27,8 +27,8 @@ export interface QueryTimestampsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, QueryTimestampsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, QueryTimestampsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, QueryTimestampsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, QueryTimestampsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new QueryTimestampsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/RecursiveXmlShapesCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/RecursiveXmlShapesCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/RecursiveXmlShapesCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/RecursiveXmlShapesCommand.ts index 6a97488c4bfc..3133fa2a45d4 100644 --- a/protocol_tests/aws-ec2/src/commands/RecursiveXmlShapesCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/RecursiveXmlShapesCommand.ts @@ -26,8 +26,8 @@ export interface RecursiveXmlShapesCommandOutput extends RecursiveXmlShapesOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, RecursiveXmlShapesCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, RecursiveXmlShapesCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, RecursiveXmlShapesCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, RecursiveXmlShapesCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new RecursiveXmlShapesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/SimpleInputParamsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/SimpleInputParamsCommand.ts similarity index 96% rename from protocol_tests/aws-ec2/src/commands/SimpleInputParamsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/SimpleInputParamsCommand.ts index 05f7c9d7a2b7..8b9f9a2cf2be 100644 --- a/protocol_tests/aws-ec2/src/commands/SimpleInputParamsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/SimpleInputParamsCommand.ts @@ -26,8 +26,8 @@ export interface SimpleInputParamsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, SimpleInputParamsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, SimpleInputParamsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, SimpleInputParamsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, SimpleInputParamsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new SimpleInputParamsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/SimpleScalarXmlPropertiesCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/SimpleScalarXmlPropertiesCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/SimpleScalarXmlPropertiesCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/SimpleScalarXmlPropertiesCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/XmlBlobsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlBlobsCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/XmlBlobsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlBlobsCommand.ts index 32e836932493..1232529f538a 100644 --- a/protocol_tests/aws-ec2/src/commands/XmlBlobsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlBlobsCommand.ts @@ -23,8 +23,8 @@ export interface XmlBlobsCommandOutput extends XmlBlobsOutput, __MetadataBearer * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, XmlBlobsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, XmlBlobsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, XmlBlobsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, XmlBlobsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new XmlBlobsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/XmlEmptyBlobsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlEmptyBlobsCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/XmlEmptyBlobsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlEmptyBlobsCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/XmlEmptyListsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlEmptyListsCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/XmlEmptyListsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlEmptyListsCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/XmlEnumsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlEnumsCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/XmlEnumsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlEnumsCommand.ts index 8ade6407f7b5..011cd3d719b6 100644 --- a/protocol_tests/aws-ec2/src/commands/XmlEnumsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlEnumsCommand.ts @@ -23,8 +23,8 @@ export interface XmlEnumsCommandOutput extends XmlEnumsOutput, __MetadataBearer * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, XmlEnumsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, XmlEnumsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, XmlEnumsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, XmlEnumsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new XmlEnumsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/XmlListsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlListsCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/XmlListsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlListsCommand.ts index 16e88a3fa144..86034a8ee244 100644 --- a/protocol_tests/aws-ec2/src/commands/XmlListsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlListsCommand.ts @@ -33,8 +33,8 @@ export interface XmlListsCommandOutput extends XmlListsOutput, __MetadataBearer * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, XmlListsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, XmlListsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, XmlListsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, XmlListsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new XmlListsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/XmlNamespacesCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlNamespacesCommand.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/XmlNamespacesCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlNamespacesCommand.ts diff --git a/protocol_tests/aws-ec2/src/commands/XmlTimestampsCommand.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlTimestampsCommand.ts similarity index 97% rename from protocol_tests/aws-ec2/src/commands/XmlTimestampsCommand.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/XmlTimestampsCommand.ts index 3ddc645491fb..dd84204afb33 100644 --- a/protocol_tests/aws-ec2/src/commands/XmlTimestampsCommand.ts +++ b/protocol_tests/aws-protocoltests-ec2/src/commands/XmlTimestampsCommand.ts @@ -25,8 +25,8 @@ export interface XmlTimestampsCommandOutput extends XmlTimestampsOutput, __Metad * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { EC2ProtocolClient, XmlTimestampsCommand } from "@aws-sdk/aws-ec2"; // ES Modules import - * // const { EC2ProtocolClient, XmlTimestampsCommand } = require("@aws-sdk/aws-ec2"); // CommonJS import + * import { EC2ProtocolClient, XmlTimestampsCommand } from "@aws-sdk/aws-protocoltests-ec2"; // ES Modules import + * // const { EC2ProtocolClient, XmlTimestampsCommand } = require("@aws-sdk/aws-protocoltests-ec2"); // CommonJS import * const client = new EC2ProtocolClient(config); * const command = new XmlTimestampsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-ec2/src/commands/index.ts b/protocol_tests/aws-protocoltests-ec2/src/commands/index.ts similarity index 100% rename from protocol_tests/aws-ec2/src/commands/index.ts rename to protocol_tests/aws-protocoltests-ec2/src/commands/index.ts diff --git a/protocol_tests/aws-ec2/src/endpoints.ts b/protocol_tests/aws-protocoltests-ec2/src/endpoints.ts similarity index 100% rename from protocol_tests/aws-ec2/src/endpoints.ts rename to protocol_tests/aws-protocoltests-ec2/src/endpoints.ts diff --git a/protocol_tests/aws-ec2/src/index.ts b/protocol_tests/aws-protocoltests-ec2/src/index.ts similarity index 100% rename from protocol_tests/aws-ec2/src/index.ts rename to protocol_tests/aws-protocoltests-ec2/src/index.ts diff --git a/protocol_tests/aws-ec2/src/models/index.ts b/protocol_tests/aws-protocoltests-ec2/src/models/index.ts similarity index 100% rename from protocol_tests/aws-ec2/src/models/index.ts rename to protocol_tests/aws-protocoltests-ec2/src/models/index.ts diff --git a/protocol_tests/aws-ec2/src/models/models_0.ts b/protocol_tests/aws-protocoltests-ec2/src/models/models_0.ts similarity index 100% rename from protocol_tests/aws-ec2/src/models/models_0.ts rename to protocol_tests/aws-protocoltests-ec2/src/models/models_0.ts diff --git a/protocol_tests/aws-ec2/src/protocols/Aws_ec2.ts b/protocol_tests/aws-protocoltests-ec2/src/protocols/Aws_ec2.ts similarity index 100% rename from protocol_tests/aws-ec2/src/protocols/Aws_ec2.ts rename to protocol_tests/aws-protocoltests-ec2/src/protocols/Aws_ec2.ts diff --git a/protocol_tests/aws-ec2/src/runtimeConfig.browser.ts b/protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.browser.ts similarity index 100% rename from protocol_tests/aws-ec2/src/runtimeConfig.browser.ts rename to protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.browser.ts diff --git a/protocol_tests/aws-ec2/src/runtimeConfig.native.ts b/protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.native.ts similarity index 100% rename from protocol_tests/aws-ec2/src/runtimeConfig.native.ts rename to protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.native.ts diff --git a/protocol_tests/aws-ec2/src/runtimeConfig.shared.ts b/protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.shared.ts similarity index 100% rename from protocol_tests/aws-ec2/src/runtimeConfig.shared.ts rename to protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.shared.ts diff --git a/protocol_tests/aws-ec2/src/runtimeConfig.ts b/protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.ts similarity index 100% rename from protocol_tests/aws-ec2/src/runtimeConfig.ts rename to protocol_tests/aws-protocoltests-ec2/src/runtimeConfig.ts diff --git a/protocol_tests/aws-ec2/test/functional/ec2query.spec.ts b/protocol_tests/aws-protocoltests-ec2/test/functional/ec2query.spec.ts similarity index 100% rename from protocol_tests/aws-ec2/test/functional/ec2query.spec.ts rename to protocol_tests/aws-protocoltests-ec2/test/functional/ec2query.spec.ts diff --git a/protocol_tests/aws-ec2/tsconfig.es.json b/protocol_tests/aws-protocoltests-ec2/tsconfig.es.json similarity index 100% rename from protocol_tests/aws-ec2/tsconfig.es.json rename to protocol_tests/aws-protocoltests-ec2/tsconfig.es.json diff --git a/protocol_tests/aws-ec2/tsconfig.json b/protocol_tests/aws-protocoltests-ec2/tsconfig.json similarity index 100% rename from protocol_tests/aws-ec2/tsconfig.json rename to protocol_tests/aws-protocoltests-ec2/tsconfig.json diff --git a/protocol_tests/aws-ec2/tsconfig.types.json b/protocol_tests/aws-protocoltests-ec2/tsconfig.types.json similarity index 100% rename from protocol_tests/aws-ec2/tsconfig.types.json rename to protocol_tests/aws-protocoltests-ec2/tsconfig.types.json diff --git a/protocol_tests/aws-ec2/.gitignore b/protocol_tests/aws-protocoltests-json-10/.gitignore similarity index 80% rename from protocol_tests/aws-ec2/.gitignore rename to protocol_tests/aws-protocoltests-json-10/.gitignore index 619adfbf932a..54f14c9aef25 100644 --- a/protocol_tests/aws-ec2/.gitignore +++ b/protocol_tests/aws-protocoltests-json-10/.gitignore @@ -7,7 +7,3 @@ *.tgz *.log package-lock.json - -*.d.ts -*.js -*.js.map diff --git a/protocol_tests/aws-json-10/CHANGELOG.md b/protocol_tests/aws-protocoltests-json-10/CHANGELOG.md similarity index 100% rename from protocol_tests/aws-json-10/CHANGELOG.md rename to protocol_tests/aws-protocoltests-json-10/CHANGELOG.md diff --git a/protocol_tests/aws-json-10/LICENSE b/protocol_tests/aws-protocoltests-json-10/LICENSE similarity index 100% rename from protocol_tests/aws-json-10/LICENSE rename to protocol_tests/aws-protocoltests-json-10/LICENSE diff --git a/protocol_tests/aws-json-10/README.md b/protocol_tests/aws-protocoltests-json-10/README.md similarity index 87% rename from protocol_tests/aws-json-10/README.md rename to protocol_tests/aws-protocoltests-json-10/README.md index d77dbcdc6600..d5387252a790 100644 --- a/protocol_tests/aws-json-10/README.md +++ b/protocol_tests/aws-protocoltests-json-10/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/aws-json-10 +# @aws-sdk/aws-protocoltests-json-10 -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-json-10/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-json-10) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-json-10.svg)](https://www.npmjs.com/package/@aws-sdk/aws-json-10) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-protocoltests-json-10/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-json-10) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-protocoltests-json-10.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-json-10) ## Description @@ -9,12 +9,12 @@ AWS SDK for JavaScript JSONRPC10 Client for Node.js, Browser and React Native. ## Installing -To install the this package, simply type add or install @aws-sdk/aws-json-10 +To install the this package, simply type add or install @aws-sdk/aws-protocoltests-json-10 using your favorite package manager: -- `npm install @aws-sdk/aws-json-10` -- `yarn add @aws-sdk/aws-json-10` -- `pnpm add @aws-sdk/aws-json-10` +- `npm install @aws-sdk/aws-protocoltests-json-10` +- `yarn add @aws-sdk/aws-protocoltests-json-10` +- `pnpm add @aws-sdk/aws-protocoltests-json-10` ## Getting Started @@ -26,12 +26,12 @@ the commands you need, for example `EmptyInputAndEmptyOutputCommand`: ```js // ES5 example -const { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-json-10"); +const { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-json-10"); ``` ```ts // ES6+ example -import { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-json-10"; +import { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-json-10"; ``` ### Usage @@ -124,7 +124,7 @@ However, it results in a bigger bundle size and may be dropped in next major ver on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) ```ts -import * as AWS from "@aws-sdk/aws-json-10"; +import * as AWS from "@aws-sdk/aws-protocoltests-json-10"; const client = new AWS.JSONRPC10({ region: "REGION" }); // async/await. @@ -191,7 +191,7 @@ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). ## Contributing -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-json-10` package is updated. +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-protocoltests-json-10` package is updated. To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). ## License diff --git a/protocol_tests/aws-json-10/jest.config.js b/protocol_tests/aws-protocoltests-json-10/jest.config.js similarity index 100% rename from protocol_tests/aws-json-10/jest.config.js rename to protocol_tests/aws-protocoltests-json-10/jest.config.js diff --git a/protocol_tests/aws-json-10/package.json b/protocol_tests/aws-protocoltests-json-10/package.json similarity index 93% rename from protocol_tests/aws-json-10/package.json rename to protocol_tests/aws-protocoltests-json-10/package.json index 2a24c79a603f..e9e7e651283f 100644 --- a/protocol_tests/aws-json-10/package.json +++ b/protocol_tests/aws-protocoltests-json-10/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/aws-json-10", - "description": "@aws-sdk/aws-json-10 client", + "name": "@aws-sdk/aws-protocoltests-json-10", + "description": "@aws-sdk/aws-protocoltests-json-10 client", "version": "3.38.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", @@ -85,10 +85,10 @@ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, "private": true, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-json-10", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-protocoltests-json-10", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/aws-json-10" + "directory": "clients/aws-protocoltests-json-10" } } diff --git a/protocol_tests/aws-json-10/src/JSONRPC10.ts b/protocol_tests/aws-protocoltests-json-10/src/JSONRPC10.ts similarity index 100% rename from protocol_tests/aws-json-10/src/JSONRPC10.ts rename to protocol_tests/aws-protocoltests-json-10/src/JSONRPC10.ts diff --git a/protocol_tests/aws-json-10/src/JSONRPC10Client.ts b/protocol_tests/aws-protocoltests-json-10/src/JSONRPC10Client.ts similarity index 100% rename from protocol_tests/aws-json-10/src/JSONRPC10Client.ts rename to protocol_tests/aws-protocoltests-json-10/src/JSONRPC10Client.ts diff --git a/protocol_tests/aws-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts similarity index 96% rename from protocol_tests/aws-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts index d9bd0f370b7c..156d28111e97 100644 --- a/protocol_tests/aws-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -29,8 +29,8 @@ export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmpt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-json-10"; // ES Modules import - * // const { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-json-10"); // CommonJS import + * import { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-json-10"; // ES Modules import + * // const { JSONRPC10Client, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-json-10"); // CommonJS import * const client = new JSONRPC10Client(config); * const command = new EmptyInputAndEmptyOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json-10/src/commands/EndpointOperationCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/EndpointOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json-10/src/commands/EndpointOperationCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/EndpointOperationCommand.ts diff --git a/protocol_tests/aws-json-10/src/commands/EndpointWithHostLabelOperationCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/EndpointWithHostLabelOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json-10/src/commands/EndpointWithHostLabelOperationCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/EndpointWithHostLabelOperationCommand.ts diff --git a/protocol_tests/aws-json-10/src/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/GreetingWithErrorsCommand.ts similarity index 96% rename from protocol_tests/aws-json-10/src/commands/GreetingWithErrorsCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/GreetingWithErrorsCommand.ts index 234b8e4b77d3..faea0676ae2a 100644 --- a/protocol_tests/aws-json-10/src/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-protocoltests-json-10/src/commands/GreetingWithErrorsCommand.ts @@ -33,8 +33,8 @@ export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JSONRPC10Client, GreetingWithErrorsCommand } from "@aws-sdk/aws-json-10"; // ES Modules import - * // const { JSONRPC10Client, GreetingWithErrorsCommand } = require("@aws-sdk/aws-json-10"); // CommonJS import + * import { JSONRPC10Client, GreetingWithErrorsCommand } from "@aws-sdk/aws-protocoltests-json-10"; // ES Modules import + * // const { JSONRPC10Client, GreetingWithErrorsCommand } = require("@aws-sdk/aws-protocoltests-json-10"); // CommonJS import * const client = new JSONRPC10Client(config); * const command = new GreetingWithErrorsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json-10/src/commands/HostWithPathOperationCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/HostWithPathOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json-10/src/commands/HostWithPathOperationCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/HostWithPathOperationCommand.ts diff --git a/protocol_tests/aws-json-10/src/commands/JsonUnionsCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/JsonUnionsCommand.ts similarity index 97% rename from protocol_tests/aws-json-10/src/commands/JsonUnionsCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/JsonUnionsCommand.ts index 1068b725c351..69aab9b76c7c 100644 --- a/protocol_tests/aws-json-10/src/commands/JsonUnionsCommand.ts +++ b/protocol_tests/aws-protocoltests-json-10/src/commands/JsonUnionsCommand.ts @@ -26,8 +26,8 @@ export interface JsonUnionsCommandOutput extends UnionInputOutput, __MetadataBea * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JSONRPC10Client, JsonUnionsCommand } from "@aws-sdk/aws-json-10"; // ES Modules import - * // const { JSONRPC10Client, JsonUnionsCommand } = require("@aws-sdk/aws-json-10"); // CommonJS import + * import { JSONRPC10Client, JsonUnionsCommand } from "@aws-sdk/aws-protocoltests-json-10"; // ES Modules import + * // const { JSONRPC10Client, JsonUnionsCommand } = require("@aws-sdk/aws-protocoltests-json-10"); // CommonJS import * const client = new JSONRPC10Client(config); * const command = new JsonUnionsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json-10/src/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/NoInputAndNoOutputCommand.ts similarity index 96% rename from protocol_tests/aws-json-10/src/commands/NoInputAndNoOutputCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/NoInputAndNoOutputCommand.ts index 6567513fc546..076599e0dc95 100644 --- a/protocol_tests/aws-json-10/src/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-json-10/src/commands/NoInputAndNoOutputCommand.ts @@ -27,8 +27,8 @@ export interface NoInputAndNoOutputCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JSONRPC10Client, NoInputAndNoOutputCommand } from "@aws-sdk/aws-json-10"; // ES Modules import - * // const { JSONRPC10Client, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-json-10"); // CommonJS import + * import { JSONRPC10Client, NoInputAndNoOutputCommand } from "@aws-sdk/aws-protocoltests-json-10"; // ES Modules import + * // const { JSONRPC10Client, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-protocoltests-json-10"); // CommonJS import * const client = new JSONRPC10Client(config); * const command = new NoInputAndNoOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json-10/src/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/NoInputAndOutputCommand.ts similarity index 96% rename from protocol_tests/aws-json-10/src/commands/NoInputAndOutputCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/NoInputAndOutputCommand.ts index a0459b8c36dd..6ffef247a863 100644 --- a/protocol_tests/aws-json-10/src/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-json-10/src/commands/NoInputAndOutputCommand.ts @@ -29,8 +29,8 @@ export interface NoInputAndOutputCommandOutput extends NoInputAndOutputOutput, _ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JSONRPC10Client, NoInputAndOutputCommand } from "@aws-sdk/aws-json-10"; // ES Modules import - * // const { JSONRPC10Client, NoInputAndOutputCommand } = require("@aws-sdk/aws-json-10"); // CommonJS import + * import { JSONRPC10Client, NoInputAndOutputCommand } from "@aws-sdk/aws-protocoltests-json-10"; // ES Modules import + * // const { JSONRPC10Client, NoInputAndOutputCommand } = require("@aws-sdk/aws-protocoltests-json-10"); // CommonJS import * const client = new JSONRPC10Client(config); * const command = new NoInputAndOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json-10/src/commands/SimpleScalarPropertiesCommand.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/SimpleScalarPropertiesCommand.ts similarity index 100% rename from protocol_tests/aws-json-10/src/commands/SimpleScalarPropertiesCommand.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/SimpleScalarPropertiesCommand.ts diff --git a/protocol_tests/aws-json-10/src/commands/index.ts b/protocol_tests/aws-protocoltests-json-10/src/commands/index.ts similarity index 100% rename from protocol_tests/aws-json-10/src/commands/index.ts rename to protocol_tests/aws-protocoltests-json-10/src/commands/index.ts diff --git a/protocol_tests/aws-json-10/src/endpoints.ts b/protocol_tests/aws-protocoltests-json-10/src/endpoints.ts similarity index 100% rename from protocol_tests/aws-json-10/src/endpoints.ts rename to protocol_tests/aws-protocoltests-json-10/src/endpoints.ts diff --git a/protocol_tests/aws-json-10/src/index.ts b/protocol_tests/aws-protocoltests-json-10/src/index.ts similarity index 100% rename from protocol_tests/aws-json-10/src/index.ts rename to protocol_tests/aws-protocoltests-json-10/src/index.ts diff --git a/protocol_tests/aws-json-10/src/models/index.ts b/protocol_tests/aws-protocoltests-json-10/src/models/index.ts similarity index 100% rename from protocol_tests/aws-json-10/src/models/index.ts rename to protocol_tests/aws-protocoltests-json-10/src/models/index.ts diff --git a/protocol_tests/aws-json-10/src/models/models_0.ts b/protocol_tests/aws-protocoltests-json-10/src/models/models_0.ts similarity index 100% rename from protocol_tests/aws-json-10/src/models/models_0.ts rename to protocol_tests/aws-protocoltests-json-10/src/models/models_0.ts diff --git a/protocol_tests/aws-json-10/src/protocols/Aws_json1_0.ts b/protocol_tests/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts similarity index 100% rename from protocol_tests/aws-json-10/src/protocols/Aws_json1_0.ts rename to protocol_tests/aws-protocoltests-json-10/src/protocols/Aws_json1_0.ts diff --git a/protocol_tests/aws-json-10/src/runtimeConfig.browser.ts b/protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.browser.ts similarity index 100% rename from protocol_tests/aws-json-10/src/runtimeConfig.browser.ts rename to protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.browser.ts diff --git a/protocol_tests/aws-json-10/src/runtimeConfig.native.ts b/protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.native.ts similarity index 100% rename from protocol_tests/aws-json-10/src/runtimeConfig.native.ts rename to protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.native.ts diff --git a/protocol_tests/aws-json-10/src/runtimeConfig.shared.ts b/protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.shared.ts similarity index 100% rename from protocol_tests/aws-json-10/src/runtimeConfig.shared.ts rename to protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.shared.ts diff --git a/protocol_tests/aws-json-10/src/runtimeConfig.ts b/protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.ts similarity index 100% rename from protocol_tests/aws-json-10/src/runtimeConfig.ts rename to protocol_tests/aws-protocoltests-json-10/src/runtimeConfig.ts diff --git a/protocol_tests/aws-json-10/test/functional/awsjson1_0.spec.ts b/protocol_tests/aws-protocoltests-json-10/test/functional/awsjson1_0.spec.ts similarity index 100% rename from protocol_tests/aws-json-10/test/functional/awsjson1_0.spec.ts rename to protocol_tests/aws-protocoltests-json-10/test/functional/awsjson1_0.spec.ts diff --git a/protocol_tests/aws-json-10/tsconfig.es.json b/protocol_tests/aws-protocoltests-json-10/tsconfig.es.json similarity index 100% rename from protocol_tests/aws-json-10/tsconfig.es.json rename to protocol_tests/aws-protocoltests-json-10/tsconfig.es.json diff --git a/protocol_tests/aws-json-10/tsconfig.json b/protocol_tests/aws-protocoltests-json-10/tsconfig.json similarity index 100% rename from protocol_tests/aws-json-10/tsconfig.json rename to protocol_tests/aws-protocoltests-json-10/tsconfig.json diff --git a/protocol_tests/aws-json-10/tsconfig.types.json b/protocol_tests/aws-protocoltests-json-10/tsconfig.types.json similarity index 100% rename from protocol_tests/aws-json-10/tsconfig.types.json rename to protocol_tests/aws-protocoltests-json-10/tsconfig.types.json diff --git a/protocol_tests/aws-json/.gitignore b/protocol_tests/aws-protocoltests-json/.gitignore similarity index 65% rename from protocol_tests/aws-json/.gitignore rename to protocol_tests/aws-protocoltests-json/.gitignore index 619adfbf932a..bff6121c007d 100644 --- a/protocol_tests/aws-json/.gitignore +++ b/protocol_tests/aws-protocoltests-json/.gitignore @@ -6,8 +6,4 @@ *.tsbuildinfo *.tgz *.log -package-lock.json - -*.d.ts -*.js -*.js.map +package-lock.json \ No newline at end of file diff --git a/protocol_tests/aws-json/CHANGELOG.md b/protocol_tests/aws-protocoltests-json/CHANGELOG.md similarity index 100% rename from protocol_tests/aws-json/CHANGELOG.md rename to protocol_tests/aws-protocoltests-json/CHANGELOG.md diff --git a/protocol_tests/aws-json/LICENSE b/protocol_tests/aws-protocoltests-json/LICENSE similarity index 100% rename from protocol_tests/aws-json/LICENSE rename to protocol_tests/aws-protocoltests-json/LICENSE diff --git a/protocol_tests/aws-json/README.md b/protocol_tests/aws-protocoltests-json/README.md similarity index 88% rename from protocol_tests/aws-json/README.md rename to protocol_tests/aws-protocoltests-json/README.md index 05cc3349047c..439b9b21e9d4 100644 --- a/protocol_tests/aws-json/README.md +++ b/protocol_tests/aws-protocoltests-json/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/aws-json +# @aws-sdk/aws-protocoltests-json -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-json/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-json) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-json.svg)](https://www.npmjs.com/package/@aws-sdk/aws-json) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-protocoltests-json/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-json) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-protocoltests-json.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-json) ## Description @@ -9,12 +9,12 @@ AWS SDK for JavaScript JsonProtocol Client for Node.js, Browser and React Native ## Installing -To install the this package, simply type add or install @aws-sdk/aws-json +To install the this package, simply type add or install @aws-sdk/aws-protocoltests-json using your favorite package manager: -- `npm install @aws-sdk/aws-json` -- `yarn add @aws-sdk/aws-json` -- `pnpm add @aws-sdk/aws-json` +- `npm install @aws-sdk/aws-protocoltests-json` +- `yarn add @aws-sdk/aws-protocoltests-json` +- `pnpm add @aws-sdk/aws-protocoltests-json` ## Getting Started @@ -26,12 +26,12 @@ the commands you need, for example `EmptyOperationCommand`: ```js // ES5 example -const { JsonProtocolClient, EmptyOperationCommand } = require("@aws-sdk/aws-json"); +const { JsonProtocolClient, EmptyOperationCommand } = require("@aws-sdk/aws-protocoltests-json"); ``` ```ts // ES6+ example -import { JsonProtocolClient, EmptyOperationCommand } from "@aws-sdk/aws-json"; +import { JsonProtocolClient, EmptyOperationCommand } from "@aws-sdk/aws-protocoltests-json"; ``` ### Usage @@ -124,7 +124,7 @@ However, it results in a bigger bundle size and may be dropped in next major ver on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) ```ts -import * as AWS from "@aws-sdk/aws-json"; +import * as AWS from "@aws-sdk/aws-protocoltests-json"; const client = new AWS.JsonProtocol({ region: "REGION" }); // async/await. @@ -191,7 +191,7 @@ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). ## Contributing -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-json` package is updated. +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-protocoltests-json` package is updated. To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). ## License diff --git a/protocol_tests/aws-json/jest.config.js b/protocol_tests/aws-protocoltests-json/jest.config.js similarity index 100% rename from protocol_tests/aws-json/jest.config.js rename to protocol_tests/aws-protocoltests-json/jest.config.js diff --git a/protocol_tests/aws-json/package.json b/protocol_tests/aws-protocoltests-json/package.json similarity index 94% rename from protocol_tests/aws-json/package.json rename to protocol_tests/aws-protocoltests-json/package.json index edfb18db3c15..67d4484047e6 100644 --- a/protocol_tests/aws-json/package.json +++ b/protocol_tests/aws-protocoltests-json/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/aws-json", - "description": "@aws-sdk/aws-json client", + "name": "@aws-sdk/aws-protocoltests-json", + "description": "@aws-sdk/aws-protocoltests-json client", "version": "3.38.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", @@ -88,10 +88,10 @@ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, "private": true, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-json", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-protocoltests-json", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/aws-json" + "directory": "clients/aws-protocoltests-json" } } diff --git a/protocol_tests/aws-json/src/JsonProtocol.ts b/protocol_tests/aws-protocoltests-json/src/JsonProtocol.ts similarity index 100% rename from protocol_tests/aws-json/src/JsonProtocol.ts rename to protocol_tests/aws-protocoltests-json/src/JsonProtocol.ts diff --git a/protocol_tests/aws-json/src/JsonProtocolClient.ts b/protocol_tests/aws-protocoltests-json/src/JsonProtocolClient.ts similarity index 100% rename from protocol_tests/aws-json/src/JsonProtocolClient.ts rename to protocol_tests/aws-protocoltests-json/src/JsonProtocolClient.ts diff --git a/protocol_tests/aws-json/src/commands/EmptyOperationCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/EmptyOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/EmptyOperationCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/EmptyOperationCommand.ts diff --git a/protocol_tests/aws-json/src/commands/EndpointOperationCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/EndpointOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/EndpointOperationCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/EndpointOperationCommand.ts diff --git a/protocol_tests/aws-json/src/commands/EndpointWithHostLabelOperationCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/EndpointWithHostLabelOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/EndpointWithHostLabelOperationCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/EndpointWithHostLabelOperationCommand.ts diff --git a/protocol_tests/aws-json/src/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/GreetingWithErrorsCommand.ts similarity index 96% rename from protocol_tests/aws-json/src/commands/GreetingWithErrorsCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/GreetingWithErrorsCommand.ts index 61daee4e693a..91b5a143b839 100644 --- a/protocol_tests/aws-json/src/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-protocoltests-json/src/commands/GreetingWithErrorsCommand.ts @@ -33,8 +33,8 @@ export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JsonProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-json"; // ES Modules import - * // const { JsonProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-json"); // CommonJS import + * import { JsonProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-protocoltests-json"; // ES Modules import + * // const { JsonProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-protocoltests-json"); // CommonJS import * const client = new JsonProtocolClient(config); * const command = new GreetingWithErrorsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json/src/commands/HostWithPathOperationCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/HostWithPathOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/HostWithPathOperationCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/HostWithPathOperationCommand.ts diff --git a/protocol_tests/aws-json/src/commands/JsonEnumsCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/JsonEnumsCommand.ts similarity index 97% rename from protocol_tests/aws-json/src/commands/JsonEnumsCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/JsonEnumsCommand.ts index 9cd64350215e..0401450a2707 100644 --- a/protocol_tests/aws-json/src/commands/JsonEnumsCommand.ts +++ b/protocol_tests/aws-protocoltests-json/src/commands/JsonEnumsCommand.ts @@ -23,8 +23,8 @@ export interface JsonEnumsCommandOutput extends JsonEnumsInputOutput, __Metadata * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JsonProtocolClient, JsonEnumsCommand } from "@aws-sdk/aws-json"; // ES Modules import - * // const { JsonProtocolClient, JsonEnumsCommand } = require("@aws-sdk/aws-json"); // CommonJS import + * import { JsonProtocolClient, JsonEnumsCommand } from "@aws-sdk/aws-protocoltests-json"; // ES Modules import + * // const { JsonProtocolClient, JsonEnumsCommand } = require("@aws-sdk/aws-protocoltests-json"); // CommonJS import * const client = new JsonProtocolClient(config); * const command = new JsonEnumsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json/src/commands/JsonUnionsCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/JsonUnionsCommand.ts similarity index 97% rename from protocol_tests/aws-json/src/commands/JsonUnionsCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/JsonUnionsCommand.ts index 79ba991c21b1..d2d66a33a896 100644 --- a/protocol_tests/aws-json/src/commands/JsonUnionsCommand.ts +++ b/protocol_tests/aws-protocoltests-json/src/commands/JsonUnionsCommand.ts @@ -26,8 +26,8 @@ export interface JsonUnionsCommandOutput extends UnionInputOutput, __MetadataBea * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JsonProtocolClient, JsonUnionsCommand } from "@aws-sdk/aws-json"; // ES Modules import - * // const { JsonProtocolClient, JsonUnionsCommand } = require("@aws-sdk/aws-json"); // CommonJS import + * import { JsonProtocolClient, JsonUnionsCommand } from "@aws-sdk/aws-protocoltests-json"; // ES Modules import + * // const { JsonProtocolClient, JsonUnionsCommand } = require("@aws-sdk/aws-protocoltests-json"); // CommonJS import * const client = new JsonProtocolClient(config); * const command = new JsonUnionsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json/src/commands/KitchenSinkOperationCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/KitchenSinkOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/KitchenSinkOperationCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/KitchenSinkOperationCommand.ts diff --git a/protocol_tests/aws-json/src/commands/NullOperationCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/NullOperationCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/NullOperationCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/NullOperationCommand.ts diff --git a/protocol_tests/aws-json/src/commands/OperationWithOptionalInputOutputCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/OperationWithOptionalInputOutputCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/OperationWithOptionalInputOutputCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/OperationWithOptionalInputOutputCommand.ts diff --git a/protocol_tests/aws-json/src/commands/PutAndGetInlineDocumentsCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/PutAndGetInlineDocumentsCommand.ts similarity index 96% rename from protocol_tests/aws-json/src/commands/PutAndGetInlineDocumentsCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/PutAndGetInlineDocumentsCommand.ts index 2ba1e28bc91f..6de2a9f3de3e 100644 --- a/protocol_tests/aws-json/src/commands/PutAndGetInlineDocumentsCommand.ts +++ b/protocol_tests/aws-protocoltests-json/src/commands/PutAndGetInlineDocumentsCommand.ts @@ -26,8 +26,8 @@ export interface PutAndGetInlineDocumentsCommandOutput extends PutAndGetInlineDo * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { JsonProtocolClient, PutAndGetInlineDocumentsCommand } from "@aws-sdk/aws-json"; // ES Modules import - * // const { JsonProtocolClient, PutAndGetInlineDocumentsCommand } = require("@aws-sdk/aws-json"); // CommonJS import + * import { JsonProtocolClient, PutAndGetInlineDocumentsCommand } from "@aws-sdk/aws-protocoltests-json"; // ES Modules import + * // const { JsonProtocolClient, PutAndGetInlineDocumentsCommand } = require("@aws-sdk/aws-protocoltests-json"); // CommonJS import * const client = new JsonProtocolClient(config); * const command = new PutAndGetInlineDocumentsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-json/src/commands/SimpleScalarPropertiesCommand.ts b/protocol_tests/aws-protocoltests-json/src/commands/SimpleScalarPropertiesCommand.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/SimpleScalarPropertiesCommand.ts rename to protocol_tests/aws-protocoltests-json/src/commands/SimpleScalarPropertiesCommand.ts diff --git a/protocol_tests/aws-json/src/commands/index.ts b/protocol_tests/aws-protocoltests-json/src/commands/index.ts similarity index 100% rename from protocol_tests/aws-json/src/commands/index.ts rename to protocol_tests/aws-protocoltests-json/src/commands/index.ts diff --git a/protocol_tests/aws-json/src/endpoints.ts b/protocol_tests/aws-protocoltests-json/src/endpoints.ts similarity index 100% rename from protocol_tests/aws-json/src/endpoints.ts rename to protocol_tests/aws-protocoltests-json/src/endpoints.ts diff --git a/protocol_tests/aws-json/src/index.ts b/protocol_tests/aws-protocoltests-json/src/index.ts similarity index 100% rename from protocol_tests/aws-json/src/index.ts rename to protocol_tests/aws-protocoltests-json/src/index.ts diff --git a/protocol_tests/aws-json/src/models/index.ts b/protocol_tests/aws-protocoltests-json/src/models/index.ts similarity index 100% rename from protocol_tests/aws-json/src/models/index.ts rename to protocol_tests/aws-protocoltests-json/src/models/index.ts diff --git a/protocol_tests/aws-json/src/models/models_0.ts b/protocol_tests/aws-protocoltests-json/src/models/models_0.ts similarity index 100% rename from protocol_tests/aws-json/src/models/models_0.ts rename to protocol_tests/aws-protocoltests-json/src/models/models_0.ts diff --git a/protocol_tests/aws-json/src/protocols/Aws_json1_1.ts b/protocol_tests/aws-protocoltests-json/src/protocols/Aws_json1_1.ts similarity index 100% rename from protocol_tests/aws-json/src/protocols/Aws_json1_1.ts rename to protocol_tests/aws-protocoltests-json/src/protocols/Aws_json1_1.ts diff --git a/protocol_tests/aws-json/src/runtimeConfig.browser.ts b/protocol_tests/aws-protocoltests-json/src/runtimeConfig.browser.ts similarity index 100% rename from protocol_tests/aws-json/src/runtimeConfig.browser.ts rename to protocol_tests/aws-protocoltests-json/src/runtimeConfig.browser.ts diff --git a/protocol_tests/aws-json/src/runtimeConfig.native.ts b/protocol_tests/aws-protocoltests-json/src/runtimeConfig.native.ts similarity index 100% rename from protocol_tests/aws-json/src/runtimeConfig.native.ts rename to protocol_tests/aws-protocoltests-json/src/runtimeConfig.native.ts diff --git a/protocol_tests/aws-json/src/runtimeConfig.shared.ts b/protocol_tests/aws-protocoltests-json/src/runtimeConfig.shared.ts similarity index 100% rename from protocol_tests/aws-json/src/runtimeConfig.shared.ts rename to protocol_tests/aws-protocoltests-json/src/runtimeConfig.shared.ts diff --git a/protocol_tests/aws-json/src/runtimeConfig.ts b/protocol_tests/aws-protocoltests-json/src/runtimeConfig.ts similarity index 100% rename from protocol_tests/aws-json/src/runtimeConfig.ts rename to protocol_tests/aws-protocoltests-json/src/runtimeConfig.ts diff --git a/protocol_tests/aws-json/test/functional/awsjson1_1.spec.ts b/protocol_tests/aws-protocoltests-json/test/functional/awsjson1_1.spec.ts similarity index 100% rename from protocol_tests/aws-json/test/functional/awsjson1_1.spec.ts rename to protocol_tests/aws-protocoltests-json/test/functional/awsjson1_1.spec.ts diff --git a/protocol_tests/aws-json/tsconfig.es.json b/protocol_tests/aws-protocoltests-json/tsconfig.es.json similarity index 100% rename from protocol_tests/aws-json/tsconfig.es.json rename to protocol_tests/aws-protocoltests-json/tsconfig.es.json diff --git a/protocol_tests/aws-json/tsconfig.json b/protocol_tests/aws-protocoltests-json/tsconfig.json similarity index 100% rename from protocol_tests/aws-json/tsconfig.json rename to protocol_tests/aws-protocoltests-json/tsconfig.json diff --git a/protocol_tests/aws-json/tsconfig.types.json b/protocol_tests/aws-protocoltests-json/tsconfig.types.json similarity index 100% rename from protocol_tests/aws-json/tsconfig.types.json rename to protocol_tests/aws-protocoltests-json/tsconfig.types.json diff --git a/protocol_tests/aws-query/.gitignore b/protocol_tests/aws-protocoltests-query/.gitignore similarity index 65% rename from protocol_tests/aws-query/.gitignore rename to protocol_tests/aws-protocoltests-query/.gitignore index 619adfbf932a..bff6121c007d 100644 --- a/protocol_tests/aws-query/.gitignore +++ b/protocol_tests/aws-protocoltests-query/.gitignore @@ -6,8 +6,4 @@ *.tsbuildinfo *.tgz *.log -package-lock.json - -*.d.ts -*.js -*.js.map +package-lock.json \ No newline at end of file diff --git a/protocol_tests/aws-query/CHANGELOG.md b/protocol_tests/aws-protocoltests-query/CHANGELOG.md similarity index 100% rename from protocol_tests/aws-query/CHANGELOG.md rename to protocol_tests/aws-protocoltests-query/CHANGELOG.md diff --git a/protocol_tests/aws-query/LICENSE b/protocol_tests/aws-protocoltests-query/LICENSE similarity index 100% rename from protocol_tests/aws-query/LICENSE rename to protocol_tests/aws-protocoltests-query/LICENSE diff --git a/protocol_tests/aws-query/README.md b/protocol_tests/aws-protocoltests-query/README.md similarity index 87% rename from protocol_tests/aws-query/README.md rename to protocol_tests/aws-protocoltests-query/README.md index 1d71e346a373..37361db40487 100644 --- a/protocol_tests/aws-query/README.md +++ b/protocol_tests/aws-protocoltests-query/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/aws-query +# @aws-sdk/aws-protocoltests-query -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-query/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-query) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-query.svg)](https://www.npmjs.com/package/@aws-sdk/aws-query) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-protocoltests-query/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-query) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-protocoltests-query.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-query) ## Description @@ -11,12 +11,12 @@ A query service that sends query requests and XML responses. ## Installing -To install the this package, simply type add or install @aws-sdk/aws-query +To install the this package, simply type add or install @aws-sdk/aws-protocoltests-query using your favorite package manager: -- `npm install @aws-sdk/aws-query` -- `yarn add @aws-sdk/aws-query` -- `pnpm add @aws-sdk/aws-query` +- `npm install @aws-sdk/aws-protocoltests-query` +- `yarn add @aws-sdk/aws-protocoltests-query` +- `pnpm add @aws-sdk/aws-protocoltests-query` ## Getting Started @@ -28,12 +28,12 @@ the commands you need, for example `EmptyInputAndEmptyOutputCommand`: ```js // ES5 example -const { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-query"); +const { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-query"); ``` ```ts // ES6+ example -import { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-query"; +import { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-query"; ``` ### Usage @@ -126,7 +126,7 @@ However, it results in a bigger bundle size and may be dropped in next major ver on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) ```ts -import * as AWS from "@aws-sdk/aws-query"; +import * as AWS from "@aws-sdk/aws-protocoltests-query"; const client = new AWS.QueryProtocol({ region: "REGION" }); // async/await. @@ -193,7 +193,7 @@ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). ## Contributing -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-query` package is updated. +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-protocoltests-query` package is updated. To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). ## License diff --git a/protocol_tests/aws-query/jest.config.js b/protocol_tests/aws-protocoltests-query/jest.config.js similarity index 100% rename from protocol_tests/aws-query/jest.config.js rename to protocol_tests/aws-protocoltests-query/jest.config.js diff --git a/protocol_tests/aws-ec2/package.json b/protocol_tests/aws-protocoltests-query/package.json similarity index 93% rename from protocol_tests/aws-ec2/package.json rename to protocol_tests/aws-protocoltests-query/package.json index 234c53789d75..1569ac1e83f0 100644 --- a/protocol_tests/aws-ec2/package.json +++ b/protocol_tests/aws-protocoltests-query/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/aws-ec2", - "description": "@aws-sdk/aws-ec2 client", + "name": "@aws-sdk/aws-protocoltests-query", + "description": "@aws-sdk/aws-protocoltests-query client", "version": "3.38.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", @@ -87,10 +87,10 @@ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, "private": true, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-ec2", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-protocoltests-query", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/aws-ec2" + "directory": "clients/aws-protocoltests-query" } } diff --git a/protocol_tests/aws-query/src/QueryProtocol.ts b/protocol_tests/aws-protocoltests-query/src/QueryProtocol.ts similarity index 100% rename from protocol_tests/aws-query/src/QueryProtocol.ts rename to protocol_tests/aws-protocoltests-query/src/QueryProtocol.ts diff --git a/protocol_tests/aws-query/src/QueryProtocolClient.ts b/protocol_tests/aws-protocoltests-query/src/QueryProtocolClient.ts similarity index 100% rename from protocol_tests/aws-query/src/QueryProtocolClient.ts rename to protocol_tests/aws-protocoltests-query/src/QueryProtocolClient.ts diff --git a/protocol_tests/aws-query/src/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/EmptyInputAndEmptyOutputCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/EmptyInputAndEmptyOutputCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/EmptyInputAndEmptyOutputCommand.ts index 1a1212577703..318ef58f52b1 100644 --- a/protocol_tests/aws-query/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -29,8 +29,8 @@ export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmpt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new EmptyInputAndEmptyOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/EndpointOperationCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/EndpointOperationCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/EndpointOperationCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/EndpointOperationCommand.ts diff --git a/protocol_tests/aws-query/src/commands/EndpointWithHostLabelOperationCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/EndpointWithHostLabelOperationCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/EndpointWithHostLabelOperationCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/EndpointWithHostLabelOperationCommand.ts diff --git a/protocol_tests/aws-query/src/commands/FlattenedXmlMapCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/FlattenedXmlMapCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapCommand.ts index 2cc4a459b447..8c92b8f8d673 100644 --- a/protocol_tests/aws-query/src/commands/FlattenedXmlMapCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapCommand.ts @@ -26,8 +26,8 @@ export interface FlattenedXmlMapCommandOutput extends FlattenedXmlMapOutput, __M * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, FlattenedXmlMapCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, FlattenedXmlMapCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, FlattenedXmlMapCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, FlattenedXmlMapCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new FlattenedXmlMapCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/FlattenedXmlMapWithXmlNameCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapWithXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/FlattenedXmlMapWithXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapWithXmlNameCommand.ts index 505d1d4c1fa9..7abf3e130d74 100644 --- a/protocol_tests/aws-query/src/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -26,8 +26,8 @@ export interface FlattenedXmlMapWithXmlNameCommandOutput extends FlattenedXmlMap * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, FlattenedXmlMapWithXmlNameCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, FlattenedXmlMapWithXmlNameCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, FlattenedXmlMapWithXmlNameCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, FlattenedXmlMapWithXmlNameCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new FlattenedXmlMapWithXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index 8d0eee5e7477..2d84a8bfd6e9 100644 --- a/protocol_tests/aws-query/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -28,8 +28,8 @@ export interface FlattenedXmlMapWithXmlNamespaceCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new FlattenedXmlMapWithXmlNamespaceCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/GreetingWithErrorsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/GreetingWithErrorsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/GreetingWithErrorsCommand.ts index a2cfdb3a8693..de2403c59feb 100644 --- a/protocol_tests/aws-query/src/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/GreetingWithErrorsCommand.ts @@ -30,8 +30,8 @@ export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new GreetingWithErrorsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/HostWithPathOperationCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/HostWithPathOperationCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/HostWithPathOperationCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/HostWithPathOperationCommand.ts diff --git a/protocol_tests/aws-query/src/commands/IgnoresWrappingXmlNameCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/IgnoresWrappingXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/IgnoresWrappingXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/IgnoresWrappingXmlNameCommand.ts index b45e2d705af3..a40c05d358f4 100644 --- a/protocol_tests/aws-query/src/commands/IgnoresWrappingXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/IgnoresWrappingXmlNameCommand.ts @@ -29,8 +29,8 @@ export interface IgnoresWrappingXmlNameCommandOutput extends IgnoresWrappingXmlN * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, IgnoresWrappingXmlNameCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, IgnoresWrappingXmlNameCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, IgnoresWrappingXmlNameCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, IgnoresWrappingXmlNameCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new IgnoresWrappingXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/NestedStructuresCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/NestedStructuresCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/NestedStructuresCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/NestedStructuresCommand.ts index 221b5766111d..ed48c8d719c5 100644 --- a/protocol_tests/aws-query/src/commands/NestedStructuresCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/NestedStructuresCommand.ts @@ -26,8 +26,8 @@ export interface NestedStructuresCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, NestedStructuresCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, NestedStructuresCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, NestedStructuresCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, NestedStructuresCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new NestedStructuresCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/NoInputAndNoOutputCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/NoInputAndNoOutputCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/NoInputAndNoOutputCommand.ts index a7f97ffaef91..884284d841d0 100644 --- a/protocol_tests/aws-query/src/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/NoInputAndNoOutputCommand.ts @@ -28,8 +28,8 @@ export interface NoInputAndNoOutputCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, NoInputAndNoOutputCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, NoInputAndNoOutputCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new NoInputAndNoOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/NoInputAndOutputCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/NoInputAndOutputCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/NoInputAndOutputCommand.ts index 0e3e0b549bd5..3b00c2f101ac 100644 --- a/protocol_tests/aws-query/src/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/NoInputAndOutputCommand.ts @@ -29,8 +29,8 @@ export interface NoInputAndOutputCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new NoInputAndOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/QueryIdempotencyTokenAutoFillCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/QueryIdempotencyTokenAutoFillCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 86a03475439d..514ab9a87df4 100644 --- a/protocol_tests/aws-query/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -26,8 +26,8 @@ export interface QueryIdempotencyTokenAutoFillCommandOutput extends __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new QueryIdempotencyTokenAutoFillCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/QueryListsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/QueryListsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/QueryListsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/QueryListsCommand.ts index e21c94e375f2..241e04c0fc53 100644 --- a/protocol_tests/aws-query/src/commands/QueryListsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/QueryListsCommand.ts @@ -23,8 +23,8 @@ export interface QueryListsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, QueryListsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, QueryListsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, QueryListsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, QueryListsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new QueryListsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/QueryMapsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/QueryMapsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/QueryMapsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/QueryMapsCommand.ts index 702a4527fa03..c4a9a70bc505 100644 --- a/protocol_tests/aws-query/src/commands/QueryMapsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/QueryMapsCommand.ts @@ -23,8 +23,8 @@ export interface QueryMapsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, QueryMapsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, QueryMapsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, QueryMapsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, QueryMapsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new QueryMapsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/QueryTimestampsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/QueryTimestampsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/QueryTimestampsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/QueryTimestampsCommand.ts index 836ee20a3b09..21e5be71a42f 100644 --- a/protocol_tests/aws-query/src/commands/QueryTimestampsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/QueryTimestampsCommand.ts @@ -30,8 +30,8 @@ export interface QueryTimestampsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, QueryTimestampsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, QueryTimestampsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, QueryTimestampsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, QueryTimestampsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new QueryTimestampsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/RecursiveXmlShapesCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/RecursiveXmlShapesCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/RecursiveXmlShapesCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/RecursiveXmlShapesCommand.ts index dcb2015c82d6..f51e9a6f695a 100644 --- a/protocol_tests/aws-query/src/commands/RecursiveXmlShapesCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/RecursiveXmlShapesCommand.ts @@ -26,8 +26,8 @@ export interface RecursiveXmlShapesCommandOutput extends RecursiveXmlShapesOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, RecursiveXmlShapesCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, RecursiveXmlShapesCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, RecursiveXmlShapesCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, RecursiveXmlShapesCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new RecursiveXmlShapesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/SimpleInputParamsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/SimpleInputParamsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/SimpleInputParamsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/SimpleInputParamsCommand.ts index 0271d414429c..4d2c4627b52b 100644 --- a/protocol_tests/aws-query/src/commands/SimpleInputParamsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/SimpleInputParamsCommand.ts @@ -26,8 +26,8 @@ export interface SimpleInputParamsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, SimpleInputParamsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, SimpleInputParamsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, SimpleInputParamsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, SimpleInputParamsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new SimpleInputParamsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/SimpleScalarXmlPropertiesCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/SimpleScalarXmlPropertiesCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/SimpleScalarXmlPropertiesCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/SimpleScalarXmlPropertiesCommand.ts diff --git a/protocol_tests/aws-query/src/commands/XmlBlobsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlBlobsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/XmlBlobsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlBlobsCommand.ts index dc36246f5f5c..14b27bf2f7c3 100644 --- a/protocol_tests/aws-query/src/commands/XmlBlobsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/XmlBlobsCommand.ts @@ -23,8 +23,8 @@ export interface XmlBlobsCommandOutput extends XmlBlobsOutput, __MetadataBearer * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, XmlBlobsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, XmlBlobsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, XmlBlobsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, XmlBlobsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new XmlBlobsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/XmlEmptyBlobsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlEmptyBlobsCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/XmlEmptyBlobsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlEmptyBlobsCommand.ts diff --git a/protocol_tests/aws-query/src/commands/XmlEmptyListsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlEmptyListsCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/XmlEmptyListsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlEmptyListsCommand.ts diff --git a/protocol_tests/aws-query/src/commands/XmlEmptyMapsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlEmptyMapsCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/XmlEmptyMapsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlEmptyMapsCommand.ts diff --git a/protocol_tests/aws-query/src/commands/XmlEnumsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlEnumsCommand.ts similarity index 97% rename from protocol_tests/aws-query/src/commands/XmlEnumsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlEnumsCommand.ts index a06fc1cd726f..ede4f701b44f 100644 --- a/protocol_tests/aws-query/src/commands/XmlEnumsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/XmlEnumsCommand.ts @@ -23,8 +23,8 @@ export interface XmlEnumsCommandOutput extends XmlEnumsOutput, __MetadataBearer * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, XmlEnumsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, XmlEnumsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, XmlEnumsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, XmlEnumsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new XmlEnumsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/XmlListsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlListsCommand.ts similarity index 97% rename from protocol_tests/aws-query/src/commands/XmlListsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlListsCommand.ts index c046311c2164..6f9dbebbb9fc 100644 --- a/protocol_tests/aws-query/src/commands/XmlListsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/XmlListsCommand.ts @@ -32,8 +32,8 @@ export interface XmlListsCommandOutput extends XmlListsOutput, __MetadataBearer * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, XmlListsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, XmlListsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, XmlListsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, XmlListsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new XmlListsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/XmlMapsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlMapsCommand.ts similarity index 97% rename from protocol_tests/aws-query/src/commands/XmlMapsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlMapsCommand.ts index a2f97abe140b..85b53d29fdb6 100644 --- a/protocol_tests/aws-query/src/commands/XmlMapsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/XmlMapsCommand.ts @@ -23,8 +23,8 @@ export interface XmlMapsCommandOutput extends XmlMapsOutput, __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, XmlMapsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, XmlMapsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, XmlMapsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, XmlMapsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new XmlMapsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/XmlMapsXmlNameCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlMapsXmlNameCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/XmlMapsXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlMapsXmlNameCommand.ts diff --git a/protocol_tests/aws-query/src/commands/XmlNamespacesCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlNamespacesCommand.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/XmlNamespacesCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlNamespacesCommand.ts diff --git a/protocol_tests/aws-query/src/commands/XmlTimestampsCommand.ts b/protocol_tests/aws-protocoltests-query/src/commands/XmlTimestampsCommand.ts similarity index 96% rename from protocol_tests/aws-query/src/commands/XmlTimestampsCommand.ts rename to protocol_tests/aws-protocoltests-query/src/commands/XmlTimestampsCommand.ts index 88363be7fb64..f293cfddf10e 100644 --- a/protocol_tests/aws-query/src/commands/XmlTimestampsCommand.ts +++ b/protocol_tests/aws-protocoltests-query/src/commands/XmlTimestampsCommand.ts @@ -28,8 +28,8 @@ export interface XmlTimestampsCommandOutput extends XmlTimestampsOutput, __Metad * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { QueryProtocolClient, XmlTimestampsCommand } from "@aws-sdk/aws-query"; // ES Modules import - * // const { QueryProtocolClient, XmlTimestampsCommand } = require("@aws-sdk/aws-query"); // CommonJS import + * import { QueryProtocolClient, XmlTimestampsCommand } from "@aws-sdk/aws-protocoltests-query"; // ES Modules import + * // const { QueryProtocolClient, XmlTimestampsCommand } = require("@aws-sdk/aws-protocoltests-query"); // CommonJS import * const client = new QueryProtocolClient(config); * const command = new XmlTimestampsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-query/src/commands/index.ts b/protocol_tests/aws-protocoltests-query/src/commands/index.ts similarity index 100% rename from protocol_tests/aws-query/src/commands/index.ts rename to protocol_tests/aws-protocoltests-query/src/commands/index.ts diff --git a/protocol_tests/aws-query/src/endpoints.ts b/protocol_tests/aws-protocoltests-query/src/endpoints.ts similarity index 100% rename from protocol_tests/aws-query/src/endpoints.ts rename to protocol_tests/aws-protocoltests-query/src/endpoints.ts diff --git a/protocol_tests/aws-query/src/index.ts b/protocol_tests/aws-protocoltests-query/src/index.ts similarity index 100% rename from protocol_tests/aws-query/src/index.ts rename to protocol_tests/aws-protocoltests-query/src/index.ts diff --git a/protocol_tests/aws-query/src/models/index.ts b/protocol_tests/aws-protocoltests-query/src/models/index.ts similarity index 100% rename from protocol_tests/aws-query/src/models/index.ts rename to protocol_tests/aws-protocoltests-query/src/models/index.ts diff --git a/protocol_tests/aws-query/src/models/models_0.ts b/protocol_tests/aws-protocoltests-query/src/models/models_0.ts similarity index 100% rename from protocol_tests/aws-query/src/models/models_0.ts rename to protocol_tests/aws-protocoltests-query/src/models/models_0.ts diff --git a/protocol_tests/aws-query/src/protocols/Aws_query.ts b/protocol_tests/aws-protocoltests-query/src/protocols/Aws_query.ts similarity index 100% rename from protocol_tests/aws-query/src/protocols/Aws_query.ts rename to protocol_tests/aws-protocoltests-query/src/protocols/Aws_query.ts diff --git a/protocol_tests/aws-query/src/runtimeConfig.browser.ts b/protocol_tests/aws-protocoltests-query/src/runtimeConfig.browser.ts similarity index 100% rename from protocol_tests/aws-query/src/runtimeConfig.browser.ts rename to protocol_tests/aws-protocoltests-query/src/runtimeConfig.browser.ts diff --git a/protocol_tests/aws-query/src/runtimeConfig.native.ts b/protocol_tests/aws-protocoltests-query/src/runtimeConfig.native.ts similarity index 100% rename from protocol_tests/aws-query/src/runtimeConfig.native.ts rename to protocol_tests/aws-protocoltests-query/src/runtimeConfig.native.ts diff --git a/protocol_tests/aws-query/src/runtimeConfig.shared.ts b/protocol_tests/aws-protocoltests-query/src/runtimeConfig.shared.ts similarity index 100% rename from protocol_tests/aws-query/src/runtimeConfig.shared.ts rename to protocol_tests/aws-protocoltests-query/src/runtimeConfig.shared.ts diff --git a/protocol_tests/aws-query/src/runtimeConfig.ts b/protocol_tests/aws-protocoltests-query/src/runtimeConfig.ts similarity index 100% rename from protocol_tests/aws-query/src/runtimeConfig.ts rename to protocol_tests/aws-protocoltests-query/src/runtimeConfig.ts diff --git a/protocol_tests/aws-query/test/functional/awsquery.spec.ts b/protocol_tests/aws-protocoltests-query/test/functional/awsquery.spec.ts similarity index 100% rename from protocol_tests/aws-query/test/functional/awsquery.spec.ts rename to protocol_tests/aws-protocoltests-query/test/functional/awsquery.spec.ts diff --git a/protocol_tests/aws-query/tsconfig.es.json b/protocol_tests/aws-protocoltests-query/tsconfig.es.json similarity index 100% rename from protocol_tests/aws-query/tsconfig.es.json rename to protocol_tests/aws-protocoltests-query/tsconfig.es.json diff --git a/protocol_tests/aws-query/tsconfig.json b/protocol_tests/aws-protocoltests-query/tsconfig.json similarity index 100% rename from protocol_tests/aws-query/tsconfig.json rename to protocol_tests/aws-protocoltests-query/tsconfig.json diff --git a/protocol_tests/aws-query/tsconfig.types.json b/protocol_tests/aws-protocoltests-query/tsconfig.types.json similarity index 100% rename from protocol_tests/aws-query/tsconfig.types.json rename to protocol_tests/aws-protocoltests-query/tsconfig.types.json diff --git a/protocol_tests/aws-restjson/.gitignore b/protocol_tests/aws-protocoltests-restjson/.gitignore similarity index 65% rename from protocol_tests/aws-restjson/.gitignore rename to protocol_tests/aws-protocoltests-restjson/.gitignore index 619adfbf932a..bff6121c007d 100644 --- a/protocol_tests/aws-restjson/.gitignore +++ b/protocol_tests/aws-protocoltests-restjson/.gitignore @@ -6,8 +6,4 @@ *.tsbuildinfo *.tgz *.log -package-lock.json - -*.d.ts -*.js -*.js.map +package-lock.json \ No newline at end of file diff --git a/protocol_tests/aws-restjson/CHANGELOG.md b/protocol_tests/aws-protocoltests-restjson/CHANGELOG.md similarity index 100% rename from protocol_tests/aws-restjson/CHANGELOG.md rename to protocol_tests/aws-protocoltests-restjson/CHANGELOG.md diff --git a/protocol_tests/aws-restjson/LICENSE b/protocol_tests/aws-protocoltests-restjson/LICENSE similarity index 100% rename from protocol_tests/aws-restjson/LICENSE rename to protocol_tests/aws-protocoltests-restjson/LICENSE diff --git a/protocol_tests/aws-restjson/README.md b/protocol_tests/aws-protocoltests-restjson/README.md similarity index 87% rename from protocol_tests/aws-restjson/README.md rename to protocol_tests/aws-protocoltests-restjson/README.md index 0c8302c39d56..da75b669b9ad 100644 --- a/protocol_tests/aws-restjson/README.md +++ b/protocol_tests/aws-protocoltests-restjson/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/aws-restjson +# @aws-sdk/aws-protocoltests-restjson -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-restjson/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-restjson) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-restjson.svg)](https://www.npmjs.com/package/@aws-sdk/aws-restjson) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-protocoltests-restjson/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-restjson) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-protocoltests-restjson.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-restjson) ## Description @@ -11,12 +11,12 @@ A REST JSON service that sends JSON requests and responses. ## Installing -To install the this package, simply type add or install @aws-sdk/aws-restjson +To install the this package, simply type add or install @aws-sdk/aws-protocoltests-restjson using your favorite package manager: -- `npm install @aws-sdk/aws-restjson` -- `yarn add @aws-sdk/aws-restjson` -- `pnpm add @aws-sdk/aws-restjson` +- `npm install @aws-sdk/aws-protocoltests-restjson` +- `yarn add @aws-sdk/aws-protocoltests-restjson` +- `pnpm add @aws-sdk/aws-protocoltests-restjson` ## Getting Started @@ -28,12 +28,12 @@ the commands you need, for example `AllQueryStringTypesCommand`: ```js // ES5 example -const { RestJsonProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-restjson"); +const { RestJsonProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-protocoltests-restjson"); ``` ```ts // ES6+ example -import { RestJsonProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-restjson"; +import { RestJsonProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-protocoltests-restjson"; ``` ### Usage @@ -126,7 +126,7 @@ However, it results in a bigger bundle size and may be dropped in next major ver on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) ```ts -import * as AWS from "@aws-sdk/aws-restjson"; +import * as AWS from "@aws-sdk/aws-protocoltests-restjson"; const client = new AWS.RestJsonProtocol({ region: "REGION" }); // async/await. @@ -193,7 +193,7 @@ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). ## Contributing -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-restjson` package is updated. +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-protocoltests-restjson` package is updated. To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). ## License diff --git a/protocol_tests/aws-restjson/jest.config.js b/protocol_tests/aws-protocoltests-restjson/jest.config.js similarity index 100% rename from protocol_tests/aws-restjson/jest.config.js rename to protocol_tests/aws-protocoltests-restjson/jest.config.js diff --git a/protocol_tests/aws-restjson/package.json b/protocol_tests/aws-protocoltests-restjson/package.json similarity index 93% rename from protocol_tests/aws-restjson/package.json rename to protocol_tests/aws-protocoltests-restjson/package.json index 46c7668c612e..5631187b9631 100644 --- a/protocol_tests/aws-restjson/package.json +++ b/protocol_tests/aws-protocoltests-restjson/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/aws-restjson", - "description": "@aws-sdk/aws-restjson client", + "name": "@aws-sdk/aws-protocoltests-restjson", + "description": "@aws-sdk/aws-protocoltests-restjson client", "version": "3.38.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", @@ -90,10 +90,10 @@ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, "private": true, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-restjson", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-protocoltests-restjson", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/aws-restjson" + "directory": "clients/aws-protocoltests-restjson" } } diff --git a/protocol_tests/aws-restjson/src/RestJsonProtocol.ts b/protocol_tests/aws-protocoltests-restjson/src/RestJsonProtocol.ts similarity index 100% rename from protocol_tests/aws-restjson/src/RestJsonProtocol.ts rename to protocol_tests/aws-protocoltests-restjson/src/RestJsonProtocol.ts diff --git a/protocol_tests/aws-restjson/src/RestJsonProtocolClient.ts b/protocol_tests/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts similarity index 100% rename from protocol_tests/aws-restjson/src/RestJsonProtocolClient.ts rename to protocol_tests/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts diff --git a/protocol_tests/aws-restjson/src/commands/AllQueryStringTypesCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/AllQueryStringTypesCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/AllQueryStringTypesCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/AllQueryStringTypesCommand.ts index e36adabb5708..086e9d19fe4c 100644 --- a/protocol_tests/aws-restjson/src/commands/AllQueryStringTypesCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/AllQueryStringTypesCommand.ts @@ -26,8 +26,8 @@ export interface AllQueryStringTypesCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new AllQueryStringTypesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/ConstantAndVariableQueryStringCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/ConstantAndVariableQueryStringCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/ConstantAndVariableQueryStringCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/ConstantAndVariableQueryStringCommand.ts index b9b8ba8a50e4..9fa021d052b2 100644 --- a/protocol_tests/aws-restjson/src/commands/ConstantAndVariableQueryStringCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/ConstantAndVariableQueryStringCommand.ts @@ -28,8 +28,8 @@ export interface ConstantAndVariableQueryStringCommandOutput extends __MetadataB * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, ConstantAndVariableQueryStringCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, ConstantAndVariableQueryStringCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, ConstantAndVariableQueryStringCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, ConstantAndVariableQueryStringCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new ConstantAndVariableQueryStringCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/ConstantQueryStringCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/ConstantQueryStringCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/ConstantQueryStringCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/ConstantQueryStringCommand.ts index ac4277463d62..67e82e6ab301 100644 --- a/protocol_tests/aws-restjson/src/commands/ConstantQueryStringCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/ConstantQueryStringCommand.ts @@ -29,8 +29,8 @@ export interface ConstantQueryStringCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, ConstantQueryStringCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, ConstantQueryStringCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, ConstantQueryStringCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, ConstantQueryStringCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new ConstantQueryStringCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/DocumentTypeAsPayloadCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/DocumentTypeAsPayloadCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/DocumentTypeAsPayloadCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/DocumentTypeAsPayloadCommand.ts index 686677e41427..5b8751cdf867 100644 --- a/protocol_tests/aws-restjson/src/commands/DocumentTypeAsPayloadCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/DocumentTypeAsPayloadCommand.ts @@ -26,8 +26,8 @@ export interface DocumentTypeAsPayloadCommandOutput extends DocumentTypeAsPayloa * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, DocumentTypeAsPayloadCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, DocumentTypeAsPayloadCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, DocumentTypeAsPayloadCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, DocumentTypeAsPayloadCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new DocumentTypeAsPayloadCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/DocumentTypeCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/DocumentTypeCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/DocumentTypeCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/DocumentTypeCommand.ts index 57436c35a8ff..0f1352469230 100644 --- a/protocol_tests/aws-restjson/src/commands/DocumentTypeCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/DocumentTypeCommand.ts @@ -26,8 +26,8 @@ export interface DocumentTypeCommandOutput extends DocumentTypeInputOutput, __Me * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, DocumentTypeCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, DocumentTypeCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, DocumentTypeCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, DocumentTypeCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new DocumentTypeCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/EmptyInputAndEmptyOutputCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/EmptyInputAndEmptyOutputCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/EmptyInputAndEmptyOutputCommand.ts index b7e4145bec24..24f726b44100 100644 --- a/protocol_tests/aws-restjson/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -29,8 +29,8 @@ export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmpt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new EmptyInputAndEmptyOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/EndpointOperationCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/EndpointOperationCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/EndpointOperationCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/EndpointOperationCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/EndpointWithHostLabelOperationCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/EndpointWithHostLabelOperationCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/EndpointWithHostLabelOperationCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/EndpointWithHostLabelOperationCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/GreetingWithErrorsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/GreetingWithErrorsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/GreetingWithErrorsCommand.ts index 555704a91ce7..d752fcf6af4b 100644 --- a/protocol_tests/aws-restjson/src/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/GreetingWithErrorsCommand.ts @@ -35,8 +35,8 @@ export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new GreetingWithErrorsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HostWithPathOperationCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HostWithPathOperationCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/HostWithPathOperationCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HostWithPathOperationCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/HttpChecksumRequiredCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpChecksumRequiredCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpChecksumRequiredCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpChecksumRequiredCommand.ts index 5bdd49b8cc5e..b36be66e0461 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpChecksumRequiredCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpChecksumRequiredCommand.ts @@ -27,8 +27,8 @@ export interface HttpChecksumRequiredCommandOutput extends HttpChecksumRequiredI * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpChecksumRequiredCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpChecksumRequiredCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpChecksumRequiredCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpChecksumRequiredCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpChecksumRequiredCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpEnumPayloadCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpEnumPayloadCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/HttpEnumPayloadCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpEnumPayloadCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/HttpPayloadTraitsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadTraitsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpPayloadTraitsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadTraitsCommand.ts index 7b40d7fce7c7..e92db52fc102 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpPayloadTraitsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadTraitsCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadTraitsCommandOutput extends HttpPayloadTraitsInputOu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpPayloadTraitsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpPayloadTraitsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpPayloadTraitsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpPayloadTraitsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpPayloadTraitsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index 7f563c5d2539..2b8bd6eba142 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadTraitsWithMediaTypeCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpPayloadTraitsWithMediaTypeCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpPayloadWithStructureCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadWithStructureCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpPayloadWithStructureCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadWithStructureCommand.ts index 6ca541f1f23d..1128967853b9 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpPayloadWithStructureCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPayloadWithStructureCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadWithStructureCommandOutput extends HttpPayloadWithSt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpPayloadWithStructureCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpPayloadWithStructureCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpPayloadWithStructureCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpPayloadWithStructureCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpPayloadWithStructureCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpPrefixHeadersCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPrefixHeadersCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpPrefixHeadersCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpPrefixHeadersCommand.ts index ff20649078df..26f4f0e3616c 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpPrefixHeadersCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPrefixHeadersCommand.ts @@ -26,8 +26,8 @@ export interface HttpPrefixHeadersCommandOutput extends HttpPrefixHeadersInputOu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpPrefixHeadersCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpPrefixHeadersCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpPrefixHeadersCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpPrefixHeadersCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpPrefixHeadersCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpPrefixHeadersResponseCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPrefixHeadersResponseCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpPrefixHeadersResponseCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpPrefixHeadersResponseCommand.ts index f529da01f79f..4aa93c192d3c 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpPrefixHeadersResponseCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpPrefixHeadersResponseCommand.ts @@ -26,8 +26,8 @@ export interface HttpPrefixHeadersResponseCommandOutput extends HttpPrefixHeader * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpPrefixHeadersResponseCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpPrefixHeadersResponseCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpPrefixHeadersResponseCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpPrefixHeadersResponseCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpPrefixHeadersResponseCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpRequestWithFloatLabelsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithFloatLabelsCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/HttpRequestWithFloatLabelsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithFloatLabelsCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts similarity index 95% rename from protocol_tests/aws-restjson/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index 09fbd24337f6..b0e0d8641556 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -28,8 +28,8 @@ export interface HttpRequestWithLabelsAndTimestampFormatCommandOutput extends __ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpRequestWithLabelsAndTimestampFormatCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpRequestWithLabelsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithLabelsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/HttpRequestWithLabelsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithLabelsCommand.ts index a546bae17440..7b1a5282170a 100644 --- a/protocol_tests/aws-restjson/src/commands/HttpRequestWithLabelsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpRequestWithLabelsCommand.ts @@ -27,8 +27,8 @@ export interface HttpRequestWithLabelsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, HttpRequestWithLabelsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, HttpRequestWithLabelsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, HttpRequestWithLabelsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, HttpRequestWithLabelsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new HttpRequestWithLabelsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/HttpResponseCodeCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpResponseCodeCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/HttpResponseCodeCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpResponseCodeCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/HttpStringPayloadCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/HttpStringPayloadCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/HttpStringPayloadCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/HttpStringPayloadCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/IgnoreQueryParamsInResponseCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/IgnoreQueryParamsInResponseCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/IgnoreQueryParamsInResponseCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/IgnoreQueryParamsInResponseCommand.ts index 6b808a275e7b..1bab8868204b 100644 --- a/protocol_tests/aws-restjson/src/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/IgnoreQueryParamsInResponseCommand.ts @@ -28,8 +28,8 @@ export interface IgnoreQueryParamsInResponseCommandOutput extends IgnoreQueryPar * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, IgnoreQueryParamsInResponseCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, IgnoreQueryParamsInResponseCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, IgnoreQueryParamsInResponseCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, IgnoreQueryParamsInResponseCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new IgnoreQueryParamsInResponseCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/InputAndOutputWithHeadersCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/InputAndOutputWithHeadersCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/InputAndOutputWithHeadersCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/InputAndOutputWithHeadersCommand.ts index 3473014816b3..46ddf56ab33b 100644 --- a/protocol_tests/aws-restjson/src/commands/InputAndOutputWithHeadersCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/InputAndOutputWithHeadersCommand.ts @@ -27,8 +27,8 @@ export interface InputAndOutputWithHeadersCommandOutput extends InputAndOutputWi * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, InputAndOutputWithHeadersCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, InputAndOutputWithHeadersCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, InputAndOutputWithHeadersCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, InputAndOutputWithHeadersCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new InputAndOutputWithHeadersCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/JsonBlobsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonBlobsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/JsonBlobsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/JsonBlobsCommand.ts index 8e920a7731b3..9c0d0d1c3033 100644 --- a/protocol_tests/aws-restjson/src/commands/JsonBlobsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonBlobsCommand.ts @@ -26,8 +26,8 @@ export interface JsonBlobsCommandOutput extends JsonBlobsInputOutput, __Metadata * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, JsonBlobsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, JsonBlobsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, JsonBlobsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, JsonBlobsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new JsonBlobsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/JsonEnumsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonEnumsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/JsonEnumsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/JsonEnumsCommand.ts index 75c38bc9a64c..b07445bb5a5e 100644 --- a/protocol_tests/aws-restjson/src/commands/JsonEnumsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonEnumsCommand.ts @@ -26,8 +26,8 @@ export interface JsonEnumsCommandOutput extends JsonEnumsInputOutput, __Metadata * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, JsonEnumsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, JsonEnumsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, JsonEnumsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, JsonEnumsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new JsonEnumsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/JsonListsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonListsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/JsonListsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/JsonListsCommand.ts index de88586a02cb..610e9df3866d 100644 --- a/protocol_tests/aws-restjson/src/commands/JsonListsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonListsCommand.ts @@ -32,8 +32,8 @@ export interface JsonListsCommandOutput extends JsonListsInputOutput, __Metadata * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, JsonListsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, JsonListsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, JsonListsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, JsonListsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new JsonListsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/JsonMapsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonMapsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/JsonMapsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/JsonMapsCommand.ts index a667b2d08901..757bd2b6883c 100644 --- a/protocol_tests/aws-restjson/src/commands/JsonMapsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonMapsCommand.ts @@ -26,8 +26,8 @@ export interface JsonMapsCommandOutput extends JsonMapsInputOutput, __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, JsonMapsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, JsonMapsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, JsonMapsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, JsonMapsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new JsonMapsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/JsonTimestampsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonTimestampsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/JsonTimestampsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/JsonTimestampsCommand.ts index 6779db5dce4c..5f97b5df8189 100644 --- a/protocol_tests/aws-restjson/src/commands/JsonTimestampsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonTimestampsCommand.ts @@ -28,8 +28,8 @@ export interface JsonTimestampsCommandOutput extends JsonTimestampsInputOutput, * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, JsonTimestampsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, JsonTimestampsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, JsonTimestampsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, JsonTimestampsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new JsonTimestampsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/JsonUnionsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonUnionsCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/JsonUnionsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/JsonUnionsCommand.ts index 3158d6a63d58..60c0b1989814 100644 --- a/protocol_tests/aws-restjson/src/commands/JsonUnionsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/JsonUnionsCommand.ts @@ -26,8 +26,8 @@ export interface JsonUnionsCommandOutput extends UnionInputOutput, __MetadataBea * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, JsonUnionsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, JsonUnionsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, JsonUnionsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, JsonUnionsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new JsonUnionsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/MalformedAcceptWithBodyCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedAcceptWithBodyCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedAcceptWithBodyCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedAcceptWithBodyCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedAcceptWithGenericStringCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedAcceptWithGenericStringCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedAcceptWithGenericStringCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedAcceptWithGenericStringCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedAcceptWithPayloadCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedAcceptWithPayloadCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedAcceptWithPayloadCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedAcceptWithPayloadCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedBlobCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedBlobCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedBlobCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedBlobCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedBooleanCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedBooleanCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedBooleanCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedBooleanCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedByteCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedByteCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedByteCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedByteCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithBodyCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithBodyCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithBodyCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithBodyCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithGenericStringCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithGenericStringCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithGenericStringCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithGenericStringCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithPayloadCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithPayloadCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithPayloadCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithPayloadCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithoutBodyCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithoutBodyCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedContentTypeWithoutBodyCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedContentTypeWithoutBodyCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedDoubleCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedDoubleCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedDoubleCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedDoubleCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedFloatCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedFloatCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedFloatCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedFloatCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedIntegerCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedIntegerCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedIntegerCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedIntegerCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedListCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedListCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedListCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedListCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedLongCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedLongCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedLongCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedLongCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedMapCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedMapCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedMapCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedMapCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedRequestBodyCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedRequestBodyCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedRequestBodyCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedRequestBodyCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedSetCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedSetCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedSetCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedSetCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedShortCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedShortCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedShortCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedShortCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedStringCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedStringCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedStringCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedStringCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampBodyDateTimeCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampBodyDateTimeCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampBodyDateTimeCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampBodyDateTimeCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampBodyDefaultCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampBodyDefaultCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampBodyDefaultCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampBodyDefaultCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampBodyHttpDateCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampBodyHttpDateCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampBodyHttpDateCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampBodyHttpDateCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampHeaderDateTimeCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampHeaderDateTimeCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampHeaderDateTimeCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampHeaderDateTimeCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampHeaderDefaultCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampHeaderDefaultCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampHeaderDefaultCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampHeaderDefaultCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampHeaderEpochCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampHeaderEpochCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampHeaderEpochCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampHeaderEpochCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampPathDefaultCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampPathDefaultCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampPathDefaultCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampPathDefaultCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampPathEpochCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampPathEpochCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampPathEpochCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampPathEpochCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampPathHttpDateCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampPathHttpDateCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampPathHttpDateCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampPathHttpDateCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampQueryDefaultCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampQueryDefaultCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampQueryDefaultCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampQueryDefaultCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampQueryEpochCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampQueryEpochCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampQueryEpochCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampQueryEpochCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedTimestampQueryHttpDateCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampQueryHttpDateCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedTimestampQueryHttpDateCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedTimestampQueryHttpDateCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MalformedUnionCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MalformedUnionCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/MalformedUnionCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MalformedUnionCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/MediaTypeHeaderCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/MediaTypeHeaderCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/MediaTypeHeaderCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/MediaTypeHeaderCommand.ts index 745d4913e8ec..613815066734 100644 --- a/protocol_tests/aws-restjson/src/commands/MediaTypeHeaderCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/MediaTypeHeaderCommand.ts @@ -26,8 +26,8 @@ export interface MediaTypeHeaderCommandOutput extends MediaTypeHeaderOutput, __M * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, MediaTypeHeaderCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, MediaTypeHeaderCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, MediaTypeHeaderCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, MediaTypeHeaderCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new MediaTypeHeaderCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/NoInputAndNoOutputCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/NoInputAndNoOutputCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/NoInputAndNoOutputCommand.ts index 1854c390c9f3..44653767c903 100644 --- a/protocol_tests/aws-restjson/src/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/NoInputAndNoOutputCommand.ts @@ -27,8 +27,8 @@ export interface NoInputAndNoOutputCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, NoInputAndNoOutputCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, NoInputAndNoOutputCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new NoInputAndNoOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/NoInputAndOutputCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/NoInputAndOutputCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/NoInputAndOutputCommand.ts index 27c8f6909426..b834e6b635b1 100644 --- a/protocol_tests/aws-restjson/src/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/NoInputAndOutputCommand.ts @@ -29,8 +29,8 @@ export interface NoInputAndOutputCommandOutput extends NoInputAndOutputOutput, _ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new NoInputAndOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/NullAndEmptyHeadersClientCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/NullAndEmptyHeadersClientCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/NullAndEmptyHeadersClientCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/NullAndEmptyHeadersClientCommand.ts index 02bcc75ebfbb..7aa96cdebc02 100644 --- a/protocol_tests/aws-restjson/src/commands/NullAndEmptyHeadersClientCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/NullAndEmptyHeadersClientCommand.ts @@ -26,8 +26,8 @@ export interface NullAndEmptyHeadersClientCommandOutput extends NullAndEmptyHead * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, NullAndEmptyHeadersClientCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, NullAndEmptyHeadersClientCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, NullAndEmptyHeadersClientCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, NullAndEmptyHeadersClientCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new NullAndEmptyHeadersClientCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/NullAndEmptyHeadersServerCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/NullAndEmptyHeadersServerCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/NullAndEmptyHeadersServerCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/NullAndEmptyHeadersServerCommand.ts index a73931075e23..62b9054a838d 100644 --- a/protocol_tests/aws-restjson/src/commands/NullAndEmptyHeadersServerCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/NullAndEmptyHeadersServerCommand.ts @@ -26,8 +26,8 @@ export interface NullAndEmptyHeadersServerCommandOutput extends NullAndEmptyHead * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, NullAndEmptyHeadersServerCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, NullAndEmptyHeadersServerCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, NullAndEmptyHeadersServerCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, NullAndEmptyHeadersServerCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new NullAndEmptyHeadersServerCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/OmitsNullSerializesEmptyStringCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/OmitsNullSerializesEmptyStringCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/OmitsNullSerializesEmptyStringCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/OmitsNullSerializesEmptyStringCommand.ts index 6916d251a273..908e58db5275 100644 --- a/protocol_tests/aws-restjson/src/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -26,8 +26,8 @@ export interface OmitsNullSerializesEmptyStringCommandOutput extends __MetadataB * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, OmitsNullSerializesEmptyStringCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, OmitsNullSerializesEmptyStringCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, OmitsNullSerializesEmptyStringCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, OmitsNullSerializesEmptyStringCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new OmitsNullSerializesEmptyStringCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/QueryIdempotencyTokenAutoFillCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/QueryIdempotencyTokenAutoFillCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 8a1f53e93de2..dc694a7ba03d 100644 --- a/protocol_tests/aws-restjson/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -26,8 +26,8 @@ export interface QueryIdempotencyTokenAutoFillCommandOutput extends __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new QueryIdempotencyTokenAutoFillCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/QueryParamsAsStringListMapCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/QueryParamsAsStringListMapCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/QueryParamsAsStringListMapCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/QueryParamsAsStringListMapCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/QueryPrecedenceCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/QueryPrecedenceCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/QueryPrecedenceCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/QueryPrecedenceCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/RecursiveShapesCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/RecursiveShapesCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/RecursiveShapesCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/RecursiveShapesCommand.ts index fd11768b0043..a1e7027b2bbd 100644 --- a/protocol_tests/aws-restjson/src/commands/RecursiveShapesCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/RecursiveShapesCommand.ts @@ -26,8 +26,8 @@ export interface RecursiveShapesCommandOutput extends RecursiveShapesInputOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, RecursiveShapesCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, RecursiveShapesCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, RecursiveShapesCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, RecursiveShapesCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new RecursiveShapesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/SimpleScalarPropertiesCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/SimpleScalarPropertiesCommand.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/SimpleScalarPropertiesCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/SimpleScalarPropertiesCommand.ts diff --git a/protocol_tests/aws-restjson/src/commands/StreamingTraitsCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsCommand.ts similarity index 97% rename from protocol_tests/aws-restjson/src/commands/StreamingTraitsCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsCommand.ts index 4b73953368ac..ffcc824a5c08 100644 --- a/protocol_tests/aws-restjson/src/commands/StreamingTraitsCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsCommand.ts @@ -38,8 +38,8 @@ export interface StreamingTraitsCommandOutput extends StreamingTraitsInputOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, StreamingTraitsCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, StreamingTraitsCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, StreamingTraitsCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, StreamingTraitsCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new StreamingTraitsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/StreamingTraitsRequireLengthCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsRequireLengthCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/StreamingTraitsRequireLengthCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsRequireLengthCommand.ts index e56079847b93..2a5ebb003a22 100644 --- a/protocol_tests/aws-restjson/src/commands/StreamingTraitsRequireLengthCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsRequireLengthCommand.ts @@ -41,8 +41,8 @@ export interface StreamingTraitsRequireLengthCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, StreamingTraitsRequireLengthCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, StreamingTraitsRequireLengthCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, StreamingTraitsRequireLengthCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, StreamingTraitsRequireLengthCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new StreamingTraitsRequireLengthCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/StreamingTraitsWithMediaTypeCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsWithMediaTypeCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/StreamingTraitsWithMediaTypeCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsWithMediaTypeCommand.ts index 0f85aa21b8eb..857f60e33124 100644 --- a/protocol_tests/aws-restjson/src/commands/StreamingTraitsWithMediaTypeCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/StreamingTraitsWithMediaTypeCommand.ts @@ -40,8 +40,8 @@ export interface StreamingTraitsWithMediaTypeCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, StreamingTraitsWithMediaTypeCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, StreamingTraitsWithMediaTypeCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, StreamingTraitsWithMediaTypeCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, StreamingTraitsWithMediaTypeCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new StreamingTraitsWithMediaTypeCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/TimestampFormatHeadersCommand.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/TimestampFormatHeadersCommand.ts similarity index 96% rename from protocol_tests/aws-restjson/src/commands/TimestampFormatHeadersCommand.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/TimestampFormatHeadersCommand.ts index 8c5a4a54f4df..ea9fb44629ee 100644 --- a/protocol_tests/aws-restjson/src/commands/TimestampFormatHeadersCommand.ts +++ b/protocol_tests/aws-protocoltests-restjson/src/commands/TimestampFormatHeadersCommand.ts @@ -26,8 +26,8 @@ export interface TimestampFormatHeadersCommandOutput extends TimestampFormatHead * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestJsonProtocolClient, TimestampFormatHeadersCommand } from "@aws-sdk/aws-restjson"; // ES Modules import - * // const { RestJsonProtocolClient, TimestampFormatHeadersCommand } = require("@aws-sdk/aws-restjson"); // CommonJS import + * import { RestJsonProtocolClient, TimestampFormatHeadersCommand } from "@aws-sdk/aws-protocoltests-restjson"; // ES Modules import + * // const { RestJsonProtocolClient, TimestampFormatHeadersCommand } = require("@aws-sdk/aws-protocoltests-restjson"); // CommonJS import * const client = new RestJsonProtocolClient(config); * const command = new TimestampFormatHeadersCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restjson/src/commands/index.ts b/protocol_tests/aws-protocoltests-restjson/src/commands/index.ts similarity index 100% rename from protocol_tests/aws-restjson/src/commands/index.ts rename to protocol_tests/aws-protocoltests-restjson/src/commands/index.ts diff --git a/protocol_tests/aws-restjson/src/endpoints.ts b/protocol_tests/aws-protocoltests-restjson/src/endpoints.ts similarity index 100% rename from protocol_tests/aws-restjson/src/endpoints.ts rename to protocol_tests/aws-protocoltests-restjson/src/endpoints.ts diff --git a/protocol_tests/aws-restjson/src/index.ts b/protocol_tests/aws-protocoltests-restjson/src/index.ts similarity index 100% rename from protocol_tests/aws-restjson/src/index.ts rename to protocol_tests/aws-protocoltests-restjson/src/index.ts diff --git a/protocol_tests/aws-restjson/src/models/index.ts b/protocol_tests/aws-protocoltests-restjson/src/models/index.ts similarity index 100% rename from protocol_tests/aws-restjson/src/models/index.ts rename to protocol_tests/aws-protocoltests-restjson/src/models/index.ts diff --git a/protocol_tests/aws-restjson/src/models/models_0.ts b/protocol_tests/aws-protocoltests-restjson/src/models/models_0.ts similarity index 100% rename from protocol_tests/aws-restjson/src/models/models_0.ts rename to protocol_tests/aws-protocoltests-restjson/src/models/models_0.ts diff --git a/protocol_tests/aws-restjson/src/protocols/Aws_restJson1.ts b/protocol_tests/aws-protocoltests-restjson/src/protocols/Aws_restJson1.ts similarity index 100% rename from protocol_tests/aws-restjson/src/protocols/Aws_restJson1.ts rename to protocol_tests/aws-protocoltests-restjson/src/protocols/Aws_restJson1.ts diff --git a/protocol_tests/aws-restjson/src/runtimeConfig.browser.ts b/protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.browser.ts similarity index 100% rename from protocol_tests/aws-restjson/src/runtimeConfig.browser.ts rename to protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.browser.ts diff --git a/protocol_tests/aws-restjson/src/runtimeConfig.native.ts b/protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.native.ts similarity index 100% rename from protocol_tests/aws-restjson/src/runtimeConfig.native.ts rename to protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.native.ts diff --git a/protocol_tests/aws-restjson/src/runtimeConfig.shared.ts b/protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.shared.ts similarity index 100% rename from protocol_tests/aws-restjson/src/runtimeConfig.shared.ts rename to protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.shared.ts diff --git a/protocol_tests/aws-restjson/src/runtimeConfig.ts b/protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.ts similarity index 100% rename from protocol_tests/aws-restjson/src/runtimeConfig.ts rename to protocol_tests/aws-protocoltests-restjson/src/runtimeConfig.ts diff --git a/protocol_tests/aws-restjson/test/functional/restjson1.spec.ts b/protocol_tests/aws-protocoltests-restjson/test/functional/restjson1.spec.ts similarity index 100% rename from protocol_tests/aws-restjson/test/functional/restjson1.spec.ts rename to protocol_tests/aws-protocoltests-restjson/test/functional/restjson1.spec.ts diff --git a/protocol_tests/aws-restjson/tsconfig.es.json b/protocol_tests/aws-protocoltests-restjson/tsconfig.es.json similarity index 100% rename from protocol_tests/aws-restjson/tsconfig.es.json rename to protocol_tests/aws-protocoltests-restjson/tsconfig.es.json diff --git a/protocol_tests/aws-restjson/tsconfig.json b/protocol_tests/aws-protocoltests-restjson/tsconfig.json similarity index 100% rename from protocol_tests/aws-restjson/tsconfig.json rename to protocol_tests/aws-protocoltests-restjson/tsconfig.json diff --git a/protocol_tests/aws-restjson/tsconfig.types.json b/protocol_tests/aws-protocoltests-restjson/tsconfig.types.json similarity index 100% rename from protocol_tests/aws-restjson/tsconfig.types.json rename to protocol_tests/aws-protocoltests-restjson/tsconfig.types.json diff --git a/protocol_tests/aws-protocoltests-restxml/.gitignore b/protocol_tests/aws-protocoltests-restxml/.gitignore new file mode 100644 index 000000000000..bff6121c007d --- /dev/null +++ b/protocol_tests/aws-protocoltests-restxml/.gitignore @@ -0,0 +1,9 @@ +/node_modules/ +/build/ +/coverage/ +/docs/ +/dist-* +*.tsbuildinfo +*.tgz +*.log +package-lock.json \ No newline at end of file diff --git a/protocol_tests/aws-restxml/CHANGELOG.md b/protocol_tests/aws-protocoltests-restxml/CHANGELOG.md similarity index 100% rename from protocol_tests/aws-restxml/CHANGELOG.md rename to protocol_tests/aws-protocoltests-restxml/CHANGELOG.md diff --git a/protocol_tests/aws-restxml/LICENSE b/protocol_tests/aws-protocoltests-restxml/LICENSE similarity index 100% rename from protocol_tests/aws-restxml/LICENSE rename to protocol_tests/aws-protocoltests-restxml/LICENSE diff --git a/protocol_tests/aws-restxml/README.md b/protocol_tests/aws-protocoltests-restxml/README.md similarity index 87% rename from protocol_tests/aws-restxml/README.md rename to protocol_tests/aws-protocoltests-restxml/README.md index 39d9b7164234..0556eb71cdf0 100644 --- a/protocol_tests/aws-restxml/README.md +++ b/protocol_tests/aws-protocoltests-restxml/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/aws-restxml +# @aws-sdk/aws-protocoltests-restxml -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-restxml/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-restxml) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-restxml.svg)](https://www.npmjs.com/package/@aws-sdk/aws-restxml) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/aws-protocoltests-restxml/latest.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-restxml) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/aws-protocoltests-restxml.svg)](https://www.npmjs.com/package/@aws-sdk/aws-protocoltests-restxml) ## Description @@ -11,12 +11,12 @@ A REST XML service that sends XML requests and responses. ## Installing -To install the this package, simply type add or install @aws-sdk/aws-restxml +To install the this package, simply type add or install @aws-sdk/aws-protocoltests-restxml using your favorite package manager: -- `npm install @aws-sdk/aws-restxml` -- `yarn add @aws-sdk/aws-restxml` -- `pnpm add @aws-sdk/aws-restxml` +- `npm install @aws-sdk/aws-protocoltests-restxml` +- `yarn add @aws-sdk/aws-protocoltests-restxml` +- `pnpm add @aws-sdk/aws-protocoltests-restxml` ## Getting Started @@ -28,12 +28,12 @@ the commands you need, for example `AllQueryStringTypesCommand`: ```js // ES5 example -const { RestXmlProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-restxml"); +const { RestXmlProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-protocoltests-restxml"); ``` ```ts // ES6+ example -import { RestXmlProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-restxml"; +import { RestXmlProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-protocoltests-restxml"; ``` ### Usage @@ -126,7 +126,7 @@ However, it results in a bigger bundle size and may be dropped in next major ver on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) ```ts -import * as AWS from "@aws-sdk/aws-restxml"; +import * as AWS from "@aws-sdk/aws-protocoltests-restxml"; const client = new AWS.RestXmlProtocol({ region: "REGION" }); // async/await. @@ -193,7 +193,7 @@ visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). ## Contributing -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-restxml` package is updated. +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/aws-protocoltests-restxml` package is updated. To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). ## License diff --git a/protocol_tests/aws-restxml/jest.config.js b/protocol_tests/aws-protocoltests-restxml/jest.config.js similarity index 100% rename from protocol_tests/aws-restxml/jest.config.js rename to protocol_tests/aws-protocoltests-restxml/jest.config.js diff --git a/protocol_tests/aws-restxml/package.json b/protocol_tests/aws-protocoltests-restxml/package.json similarity index 93% rename from protocol_tests/aws-restxml/package.json rename to protocol_tests/aws-protocoltests-restxml/package.json index 6d95aa4aeada..53a6f264238e 100644 --- a/protocol_tests/aws-restxml/package.json +++ b/protocol_tests/aws-protocoltests-restxml/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/aws-restxml", - "description": "@aws-sdk/aws-restxml client", + "name": "@aws-sdk/aws-protocoltests-restxml", + "description": "@aws-sdk/aws-protocoltests-restxml client", "version": "3.38.0", "scripts": { "build": "yarn build:cjs && yarn build:es && yarn build:types", @@ -89,10 +89,10 @@ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, "private": true, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-restxml", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/aws-protocoltests-restxml", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/aws-restxml" + "directory": "clients/aws-protocoltests-restxml" } } diff --git a/protocol_tests/aws-restxml/src/RestXmlProtocol.ts b/protocol_tests/aws-protocoltests-restxml/src/RestXmlProtocol.ts similarity index 100% rename from protocol_tests/aws-restxml/src/RestXmlProtocol.ts rename to protocol_tests/aws-protocoltests-restxml/src/RestXmlProtocol.ts diff --git a/protocol_tests/aws-restxml/src/RestXmlProtocolClient.ts b/protocol_tests/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts similarity index 100% rename from protocol_tests/aws-restxml/src/RestXmlProtocolClient.ts rename to protocol_tests/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts diff --git a/protocol_tests/aws-restxml/src/commands/AllQueryStringTypesCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/AllQueryStringTypesCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts index 72ee50d88130..6d6548e25bcc 100644 --- a/protocol_tests/aws-restxml/src/commands/AllQueryStringTypesCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts @@ -26,8 +26,8 @@ export interface AllQueryStringTypesCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, AllQueryStringTypesCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, AllQueryStringTypesCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new AllQueryStringTypesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/BodyWithXmlNameCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/BodyWithXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts index 0b5dde28ecb9..9facc20d3947 100644 --- a/protocol_tests/aws-restxml/src/commands/BodyWithXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts @@ -27,8 +27,8 @@ export interface BodyWithXmlNameCommandOutput extends BodyWithXmlNameInputOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, BodyWithXmlNameCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, BodyWithXmlNameCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, BodyWithXmlNameCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, BodyWithXmlNameCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new BodyWithXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts index 70d5ab95c803..df327c821d6d 100644 --- a/protocol_tests/aws-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts @@ -28,8 +28,8 @@ export interface ConstantAndVariableQueryStringCommandOutput extends __MetadataB * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, ConstantAndVariableQueryStringCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, ConstantAndVariableQueryStringCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, ConstantAndVariableQueryStringCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, ConstantAndVariableQueryStringCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new ConstantAndVariableQueryStringCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/ConstantQueryStringCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/ConstantQueryStringCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts index 2fc0c1fdd9d9..a2e595abb7f3 100644 --- a/protocol_tests/aws-restxml/src/commands/ConstantQueryStringCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts @@ -29,8 +29,8 @@ export interface ConstantQueryStringCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, ConstantQueryStringCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, ConstantQueryStringCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, ConstantQueryStringCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, ConstantQueryStringCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new ConstantQueryStringCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts index 6b8409c52e98..a88f31af42b9 100644 --- a/protocol_tests/aws-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -29,8 +29,8 @@ export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmpt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, EmptyInputAndEmptyOutputCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, EmptyInputAndEmptyOutputCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new EmptyInputAndEmptyOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/EndpointOperationCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/EndpointOperationCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/EndpointOperationCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/EndpointOperationCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/FlattenedXmlMapCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/FlattenedXmlMapCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts index 643458043f39..00dd893f39f4 100644 --- a/protocol_tests/aws-restxml/src/commands/FlattenedXmlMapCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts @@ -26,8 +26,8 @@ export interface FlattenedXmlMapCommandOutput extends FlattenedXmlMapInputOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, FlattenedXmlMapCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, FlattenedXmlMapCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, FlattenedXmlMapCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, FlattenedXmlMapCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new FlattenedXmlMapCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts index 74e484d5dfea..7b6994a162f4 100644 --- a/protocol_tests/aws-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -28,8 +28,8 @@ export interface FlattenedXmlMapWithXmlNameCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, FlattenedXmlMapWithXmlNameCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, FlattenedXmlMapWithXmlNameCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, FlattenedXmlMapWithXmlNameCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, FlattenedXmlMapWithXmlNameCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new FlattenedXmlMapWithXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index 3b4353702909..01e5c7391648 100644 --- a/protocol_tests/aws-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -28,8 +28,8 @@ export interface FlattenedXmlMapWithXmlNamespaceCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, FlattenedXmlMapWithXmlNamespaceCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new FlattenedXmlMapWithXmlNamespaceCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/GreetingWithErrorsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts index f152b1e946d6..993fb98921a0 100644 --- a/protocol_tests/aws-restxml/src/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts @@ -34,8 +34,8 @@ export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutpu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, GreetingWithErrorsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, GreetingWithErrorsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new GreetingWithErrorsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadTraitsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadTraitsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts index e8a1fa558e80..fc2e3f0af9d1 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadTraitsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadTraitsCommandOutput extends HttpPayloadTraitsInputOu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadTraitsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadTraitsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadTraitsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadTraitsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadTraitsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index a8bc31403330..65c7cc0e266d 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadTraitsWithMediaTypeCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadTraitsWithMediaTypeCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadTraitsWithMediaTypeCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts index 47f65913d65a..3051395808a1 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadWithMemberXmlNameCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadWithMemberXmlNameCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadWithMemberXmlNameCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadWithMemberXmlNameCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadWithMemberXmlNameCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadWithMemberXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithStructureCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadWithStructureCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts index 6be5d445c244..cde30ef08c96 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithStructureCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadWithStructureCommandOutput extends HttpPayloadWithSt * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadWithStructureCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadWithStructureCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadWithStructureCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadWithStructureCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadWithStructureCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts index 8d2add1594bd..e8dc0dacf60d 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts @@ -27,8 +27,8 @@ export interface HttpPayloadWithXmlNameCommandOutput extends HttpPayloadWithXmlN * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadWithXmlNameCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadWithXmlNameCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadWithXmlNameCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadWithXmlNameCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadWithXmlNameCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts index e786fb4213bb..c8e1443416c2 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts @@ -29,8 +29,8 @@ export interface HttpPayloadWithXmlNamespaceAndPrefixCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceAndPrefixCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceAndPrefixCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceAndPrefixCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceAndPrefixCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadWithXmlNamespaceAndPrefixCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts index d4271291409f..03b5cd41022b 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts @@ -28,8 +28,8 @@ export interface HttpPayloadWithXmlNamespaceCommandOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPayloadWithXmlNamespaceCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPayloadWithXmlNamespaceCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpPrefixHeadersCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpPrefixHeadersCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts index b5dd7f1583e8..8ffc3656f1bb 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpPrefixHeadersCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts @@ -26,8 +26,8 @@ export interface HttpPrefixHeadersCommandOutput extends HttpPrefixHeadersInputOu * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpPrefixHeadersCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpPrefixHeadersCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpPrefixHeadersCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpPrefixHeadersCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpPrefixHeadersCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts similarity index 95% rename from protocol_tests/aws-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index fb7facf59085..1aabf293effb 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -28,8 +28,8 @@ export interface HttpRequestWithLabelsAndTimestampFormatCommandOutput extends __ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpRequestWithLabelsAndTimestampFormatCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpRequestWithLabelsAndTimestampFormatCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpRequestWithLabelsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/HttpRequestWithLabelsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts index 35598fe47b6d..df4ae928ca33 100644 --- a/protocol_tests/aws-restxml/src/commands/HttpRequestWithLabelsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts @@ -27,8 +27,8 @@ export interface HttpRequestWithLabelsCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, HttpRequestWithLabelsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, HttpRequestWithLabelsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, HttpRequestWithLabelsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, HttpRequestWithLabelsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new HttpRequestWithLabelsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/HttpResponseCodeCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/HttpResponseCodeCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/HttpResponseCodeCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/HttpResponseCodeCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts index 632343a9a207..9cec947751e1 100644 --- a/protocol_tests/aws-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts @@ -28,8 +28,8 @@ export interface IgnoreQueryParamsInResponseCommandOutput extends IgnoreQueryPar * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, IgnoreQueryParamsInResponseCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, IgnoreQueryParamsInResponseCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, IgnoreQueryParamsInResponseCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, IgnoreQueryParamsInResponseCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new IgnoreQueryParamsInResponseCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/InputAndOutputWithHeadersCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/InputAndOutputWithHeadersCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts index cd3f80667132..c9a9c5cfc84a 100644 --- a/protocol_tests/aws-restxml/src/commands/InputAndOutputWithHeadersCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts @@ -27,8 +27,8 @@ export interface InputAndOutputWithHeadersCommandOutput extends InputAndOutputWi * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, InputAndOutputWithHeadersCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, InputAndOutputWithHeadersCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, InputAndOutputWithHeadersCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, InputAndOutputWithHeadersCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new InputAndOutputWithHeadersCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/NestedXmlMapsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/NestedXmlMapsCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/NestedXmlMapsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/NestedXmlMapsCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/NoInputAndNoOutputCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts index 7c043b6d7b1b..1b2658cd1005 100644 --- a/protocol_tests/aws-restxml/src/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts @@ -27,8 +27,8 @@ export interface NoInputAndNoOutputCommandOutput extends __MetadataBearer {} * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, NoInputAndNoOutputCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, NoInputAndNoOutputCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, NoInputAndNoOutputCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new NoInputAndNoOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/NoInputAndOutputCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts index 047da54a288d..fbc91389dd2d 100644 --- a/protocol_tests/aws-restxml/src/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts @@ -29,8 +29,8 @@ export interface NoInputAndOutputCommandOutput extends NoInputAndOutputOutput, _ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, NoInputAndOutputCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, NoInputAndOutputCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new NoInputAndOutputCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts index 9a2bee421d80..cf0ecca40907 100644 --- a/protocol_tests/aws-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts @@ -26,8 +26,8 @@ export interface NullAndEmptyHeadersClientCommandOutput extends NullAndEmptyHead * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, NullAndEmptyHeadersClientCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, NullAndEmptyHeadersClientCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, NullAndEmptyHeadersClientCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, NullAndEmptyHeadersClientCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new NullAndEmptyHeadersClientCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts index 0b5dfcec6bb8..d6d4c5f716ba 100644 --- a/protocol_tests/aws-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts @@ -26,8 +26,8 @@ export interface NullAndEmptyHeadersServerCommandOutput extends NullAndEmptyHead * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, NullAndEmptyHeadersServerCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, NullAndEmptyHeadersServerCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, NullAndEmptyHeadersServerCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, NullAndEmptyHeadersServerCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new NullAndEmptyHeadersServerCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts index 240dca5fc6b2..75fe14d3fd89 100644 --- a/protocol_tests/aws-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -26,8 +26,8 @@ export interface OmitsNullSerializesEmptyStringCommandOutput extends __MetadataB * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, OmitsNullSerializesEmptyStringCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, OmitsNullSerializesEmptyStringCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, OmitsNullSerializesEmptyStringCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, OmitsNullSerializesEmptyStringCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new OmitsNullSerializesEmptyStringCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 13ffa1a0b844..1973f5aab88c 100644 --- a/protocol_tests/aws-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -26,8 +26,8 @@ export interface QueryIdempotencyTokenAutoFillCommandOutput extends __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, QueryIdempotencyTokenAutoFillCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, QueryIdempotencyTokenAutoFillCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new QueryIdempotencyTokenAutoFillCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/QueryParamsAsStringListMapCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/QueryParamsAsStringListMapCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/QueryParamsAsStringListMapCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/QueryParamsAsStringListMapCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/QueryPrecedenceCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/QueryPrecedenceCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/QueryPrecedenceCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/QueryPrecedenceCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/RecursiveShapesCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/RecursiveShapesCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts index 3c11eed828ee..611155ccaa9d 100644 --- a/protocol_tests/aws-restxml/src/commands/RecursiveShapesCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts @@ -26,8 +26,8 @@ export interface RecursiveShapesCommandOutput extends RecursiveShapesInputOutput * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, RecursiveShapesCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, RecursiveShapesCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, RecursiveShapesCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, RecursiveShapesCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new RecursiveShapesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/SimpleScalarPropertiesCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/SimpleScalarPropertiesCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/SimpleScalarPropertiesCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/SimpleScalarPropertiesCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/TimestampFormatHeadersCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/TimestampFormatHeadersCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts index 5c60f3a2a33a..8e075629fdd4 100644 --- a/protocol_tests/aws-restxml/src/commands/TimestampFormatHeadersCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts @@ -26,8 +26,8 @@ export interface TimestampFormatHeadersCommandOutput extends TimestampFormatHead * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, TimestampFormatHeadersCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, TimestampFormatHeadersCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, TimestampFormatHeadersCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, TimestampFormatHeadersCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new TimestampFormatHeadersCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlAttributesCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlAttributesCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts index 707831200167..f7c07eb32ebe 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlAttributesCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts @@ -26,8 +26,8 @@ export interface XmlAttributesCommandOutput extends XmlAttributesInputOutput, __ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlAttributesCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlAttributesCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlAttributesCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlAttributesCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlAttributesCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlAttributesOnPayloadCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlAttributesOnPayloadCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts index db71d5472f4c..2da60886a09d 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlAttributesOnPayloadCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts @@ -26,8 +26,8 @@ export interface XmlAttributesOnPayloadCommandOutput extends XmlAttributesOnPayl * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlAttributesOnPayloadCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlAttributesOnPayloadCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlAttributesOnPayloadCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlAttributesOnPayloadCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlAttributesOnPayloadCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlBlobsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlBlobsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts index 2b4ce9a2d575..9e5ab80cff31 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlBlobsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts @@ -23,8 +23,8 @@ export interface XmlBlobsCommandOutput extends XmlBlobsInputOutput, __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlBlobsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlBlobsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlBlobsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlBlobsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlBlobsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlEmptyBlobsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlEmptyBlobsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts index a54dc19a2e57..4a07eeeb6df4 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlEmptyBlobsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts @@ -26,8 +26,8 @@ export interface XmlEmptyBlobsCommandOutput extends XmlBlobsInputOutput, __Metad * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlEmptyBlobsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlEmptyBlobsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlEmptyBlobsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlEmptyBlobsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlEmptyBlobsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlEmptyListsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyListsCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/XmlEmptyListsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyListsCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/XmlEmptyMapsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyMapsCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/XmlEmptyMapsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyMapsCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/XmlEmptyStringsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyStringsCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/XmlEmptyStringsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlEmptyStringsCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/XmlEnumsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlEnumsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts index 655783fe322a..5149ed4a3ee4 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlEnumsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts @@ -23,8 +23,8 @@ export interface XmlEnumsCommandOutput extends XmlEnumsInputOutput, __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlEnumsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlEnumsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlEnumsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlEnumsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlEnumsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlListsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts similarity index 97% rename from protocol_tests/aws-restxml/src/commands/XmlListsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts index 91a3858ce153..84f5a70b3c3f 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlListsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts @@ -34,8 +34,8 @@ export interface XmlListsCommandOutput extends XmlListsInputOutput, __MetadataBe * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlListsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlListsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlListsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlListsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlListsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlMapsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlMapsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts index 2cad49b1f160..ef2bae358dc6 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlMapsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts @@ -23,8 +23,8 @@ export interface XmlMapsCommandOutput extends XmlMapsInputOutput, __MetadataBear * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlMapsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlMapsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlMapsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlMapsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlMapsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlMapsXmlNameCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlMapsXmlNameCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/XmlMapsXmlNameCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlMapsXmlNameCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/XmlNamespacesCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlNamespacesCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/XmlNamespacesCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlNamespacesCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/XmlTimestampsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts similarity index 96% rename from protocol_tests/aws-restxml/src/commands/XmlTimestampsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts index 5c34569fc7bb..54974057f855 100644 --- a/protocol_tests/aws-restxml/src/commands/XmlTimestampsCommand.ts +++ b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts @@ -28,8 +28,8 @@ export interface XmlTimestampsCommandOutput extends XmlTimestampsInputOutput, __ * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript - * import { RestXmlProtocolClient, XmlTimestampsCommand } from "@aws-sdk/aws-restxml"; // ES Modules import - * // const { RestXmlProtocolClient, XmlTimestampsCommand } = require("@aws-sdk/aws-restxml"); // CommonJS import + * import { RestXmlProtocolClient, XmlTimestampsCommand } from "@aws-sdk/aws-protocoltests-restxml"; // ES Modules import + * // const { RestXmlProtocolClient, XmlTimestampsCommand } = require("@aws-sdk/aws-protocoltests-restxml"); // CommonJS import * const client = new RestXmlProtocolClient(config); * const command = new XmlTimestampsCommand(input); * const response = await client.send(command); diff --git a/protocol_tests/aws-restxml/src/commands/XmlUnionsCommand.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/XmlUnionsCommand.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/XmlUnionsCommand.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/XmlUnionsCommand.ts diff --git a/protocol_tests/aws-restxml/src/commands/index.ts b/protocol_tests/aws-protocoltests-restxml/src/commands/index.ts similarity index 100% rename from protocol_tests/aws-restxml/src/commands/index.ts rename to protocol_tests/aws-protocoltests-restxml/src/commands/index.ts diff --git a/protocol_tests/aws-restxml/src/endpoints.ts b/protocol_tests/aws-protocoltests-restxml/src/endpoints.ts similarity index 100% rename from protocol_tests/aws-restxml/src/endpoints.ts rename to protocol_tests/aws-protocoltests-restxml/src/endpoints.ts diff --git a/protocol_tests/aws-restxml/src/index.ts b/protocol_tests/aws-protocoltests-restxml/src/index.ts similarity index 100% rename from protocol_tests/aws-restxml/src/index.ts rename to protocol_tests/aws-protocoltests-restxml/src/index.ts diff --git a/protocol_tests/aws-restxml/src/models/index.ts b/protocol_tests/aws-protocoltests-restxml/src/models/index.ts similarity index 100% rename from protocol_tests/aws-restxml/src/models/index.ts rename to protocol_tests/aws-protocoltests-restxml/src/models/index.ts diff --git a/protocol_tests/aws-restxml/src/models/models_0.ts b/protocol_tests/aws-protocoltests-restxml/src/models/models_0.ts similarity index 100% rename from protocol_tests/aws-restxml/src/models/models_0.ts rename to protocol_tests/aws-protocoltests-restxml/src/models/models_0.ts diff --git a/protocol_tests/aws-restxml/src/protocols/Aws_restXml.ts b/protocol_tests/aws-protocoltests-restxml/src/protocols/Aws_restXml.ts similarity index 100% rename from protocol_tests/aws-restxml/src/protocols/Aws_restXml.ts rename to protocol_tests/aws-protocoltests-restxml/src/protocols/Aws_restXml.ts diff --git a/protocol_tests/aws-restxml/src/runtimeConfig.browser.ts b/protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.browser.ts similarity index 100% rename from protocol_tests/aws-restxml/src/runtimeConfig.browser.ts rename to protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.browser.ts diff --git a/protocol_tests/aws-restxml/src/runtimeConfig.native.ts b/protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.native.ts similarity index 100% rename from protocol_tests/aws-restxml/src/runtimeConfig.native.ts rename to protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.native.ts diff --git a/protocol_tests/aws-restxml/src/runtimeConfig.shared.ts b/protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.shared.ts similarity index 100% rename from protocol_tests/aws-restxml/src/runtimeConfig.shared.ts rename to protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.shared.ts diff --git a/protocol_tests/aws-restxml/src/runtimeConfig.ts b/protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.ts similarity index 100% rename from protocol_tests/aws-restxml/src/runtimeConfig.ts rename to protocol_tests/aws-protocoltests-restxml/src/runtimeConfig.ts diff --git a/protocol_tests/aws-restxml/test/functional/restxml.spec.ts b/protocol_tests/aws-protocoltests-restxml/test/functional/restxml.spec.ts similarity index 100% rename from protocol_tests/aws-restxml/test/functional/restxml.spec.ts rename to protocol_tests/aws-protocoltests-restxml/test/functional/restxml.spec.ts diff --git a/protocol_tests/aws-restxml/tsconfig.es.json b/protocol_tests/aws-protocoltests-restxml/tsconfig.es.json similarity index 100% rename from protocol_tests/aws-restxml/tsconfig.es.json rename to protocol_tests/aws-protocoltests-restxml/tsconfig.es.json diff --git a/protocol_tests/aws-restxml/tsconfig.json b/protocol_tests/aws-protocoltests-restxml/tsconfig.json similarity index 100% rename from protocol_tests/aws-restxml/tsconfig.json rename to protocol_tests/aws-protocoltests-restxml/tsconfig.json diff --git a/protocol_tests/aws-restxml/tsconfig.types.json b/protocol_tests/aws-protocoltests-restxml/tsconfig.types.json similarity index 100% rename from protocol_tests/aws-restxml/tsconfig.types.json rename to protocol_tests/aws-protocoltests-restxml/tsconfig.types.json diff --git a/protocol_tests/aws-restxml/.gitignore b/protocol_tests/aws-restxml/.gitignore deleted file mode 100644 index 619adfbf932a..000000000000 --- a/protocol_tests/aws-restxml/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -/node_modules/ -/build/ -/coverage/ -/docs/ -/dist-* -*.tsbuildinfo -*.tgz -*.log -package-lock.json - -*.d.ts -*.js -*.js.map