diff --git a/private/aws-protocoltests-ec2-schema/src/commands/DatetimeOffsetsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/DatetimeOffsetsCommand.ts index f1e62864af4d..4fc912393695 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/DatetimeOffsetsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/DatetimeOffsetsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DatetimeOffsetsOutput } from "../models/models_0"; -import { DatetimeOffsets } from "../schemas/schemas_9_"; +import { DatetimeOffsets } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts index 160fb7f03039..e0299aba287f 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0"; -import { EmptyInputAndEmptyOutput } from "../schemas/schemas_12_EmptyInputAndEmptyOutput"; +import { EmptyInputAndEmptyOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/EndpointOperationCommand.ts index 9eb88a1cb129..cf616c98d7f3 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/EndpointOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { EndpointOperation } from "../schemas/schemas_17_EndpointOperation"; +import { EndpointOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/EndpointWithHostLabelOperationCommand.ts index 810e05591696..f4cac19f9843 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { HostLabelInput } from "../models/models_0"; -import { EndpointWithHostLabelOperation } from "../schemas/schemas_15_EndpointWithHostLabelOperation"; +import { EndpointWithHostLabelOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/FractionalSecondsCommand.ts index a9806ba8ed65..79b2b7839cac 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/FractionalSecondsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { FractionalSecondsOutput } from "../models/models_0"; -import { FractionalSeconds } from "../schemas/schemas_9_"; +import { FractionalSeconds } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/GreetingWithErrorsCommand.ts index 4f0301d913db..c8fd6ce47d2d 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingWithErrorsOutput } from "../models/models_0"; -import { GreetingWithErrors } from "../schemas/schemas_7_GreetingWithErrors"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/HostWithPathOperationCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/HostWithPathOperationCommand.ts index a784f8071707..318929de755f 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/HostWithPathOperationCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/HostWithPathOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; -import { HostWithPathOperation } from "../schemas/schemas_11_HostWithPathOperation"; +import { HostWithPathOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/IgnoresWrappingXmlNameCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/IgnoresWrappingXmlNameCommand.ts index 4ed27cb3a0c3..b2761747b00b 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/IgnoresWrappingXmlNameCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/IgnoresWrappingXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { IgnoresWrappingXmlNameOutput } from "../models/models_0"; -import { IgnoresWrappingXmlName } from "../schemas/schemas_16_IgnoresWrappingXmlName"; +import { IgnoresWrappingXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/NestedStructuresCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/NestedStructuresCommand.ts index cea8c4677786..534b069e4fb8 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/NestedStructuresCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/NestedStructuresCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { NestedStructuresInput } from "../models/models_0"; -import { NestedStructures } from "../schemas/schemas_2_Xml"; +import { NestedStructures } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/NoInputAndOutputCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/NoInputAndOutputCommand.ts index fdaf96ec1ff3..10172417cba7 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/NoInputAndOutputCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/NoInputAndOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { NoInputAndOutputOutput } from "../models/models_0"; -import { NoInputAndOutput } from "../schemas/schemas_8_NoInputAndOutput"; +import { NoInputAndOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/PutWithContentEncodingCommand.ts index 6566d39bfc06..dc0da2232b78 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/PutWithContentEncodingCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutWithContentEncodingInput } from "../models/models_0"; -import { PutWithContentEncoding } from "../schemas/schemas_14_PutWithContentEncoding"; +import { PutWithContentEncoding } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 433104114b80..a48c04db2e35 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryIdempotencyTokenAutoFillInput } from "../models/models_0"; -import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_13_QueryIdempotencyTokenAutoFill"; +import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/QueryListsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/QueryListsCommand.ts index 0e3b5afd7115..77fc1a1430fa 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/QueryListsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/QueryListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryListsInput } from "../models/models_0"; -import { QueryLists } from "../schemas/schemas_6_Lists"; +import { QueryLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/QueryTimestampsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/QueryTimestampsCommand.ts index 800f3ff78f67..9bd264fc43b7 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/QueryTimestampsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/QueryTimestampsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryTimestampsInput } from "../models/models_0"; -import { QueryTimestamps } from "../schemas/schemas_3_Xml"; +import { QueryTimestamps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/RecursiveXmlShapesCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/RecursiveXmlShapesCommand.ts index 4a56ceafdbae..e0808eeae334 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/RecursiveXmlShapesCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/RecursiveXmlShapesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { RecursiveXmlShapesOutput } from "../models/models_0"; -import { RecursiveXmlShapes } from "../schemas/schemas_10_RecursiveXmlShapes"; +import { RecursiveXmlShapes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/SimpleInputParamsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/SimpleInputParamsCommand.ts index e18efaf8b987..c8ca72baf2b5 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/SimpleInputParamsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/SimpleInputParamsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleInputParamsInput } from "../models/models_0"; -import { SimpleInputParams } from "../schemas/schemas_1_Xml"; +import { SimpleInputParams } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts index 1b3472dadc2f..4a799358a76c 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleScalarXmlPropertiesOutput } from "../models/models_0"; -import { SimpleScalarXmlProperties } from "../schemas/schemas_2_Xml"; +import { SimpleScalarXmlProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlBlobsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlBlobsCommand.ts index 01f0613f5880..0861bfcc8afd 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlBlobsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlBlobsOutput } from "../models/models_0"; -import { XmlBlobs } from "../schemas/schemas_4_Blobs"; +import { XmlBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyBlobsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyBlobsCommand.ts index 6ac960a67243..292b186cf14d 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyBlobsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlBlobsOutput } from "../models/models_0"; -import { XmlEmptyBlobs } from "../schemas/schemas_4_Blobs"; +import { XmlEmptyBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyListsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyListsCommand.ts index d4a6fa403928..f8d11f1fda9b 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyListsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlEmptyListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlListsOutput } from "../models/models_0"; -import { XmlEmptyLists } from "../schemas/schemas_1_Xml"; +import { XmlEmptyLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlEnumsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlEnumsCommand.ts index e08b499542f3..8ee726096859 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlEnumsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEnumsOutput } from "../models/models_0"; -import { XmlEnums } from "../schemas/schemas_1_Xml"; +import { XmlEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlIntEnumsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlIntEnumsCommand.ts index ecb4a6143f95..d194c5be39df 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlIntEnumsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlIntEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlIntEnumsOutput } from "../models/models_0"; -import { XmlIntEnums } from "../schemas/schemas_1_Xml"; +import { XmlIntEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlListsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlListsCommand.ts index 2fec38666794..68be5c8813fb 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlListsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlListsOutput } from "../models/models_0"; -import { XmlLists } from "../schemas/schemas_1_Xml"; +import { XmlLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlNamespacesCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlNamespacesCommand.ts index 0fa31c497b91..a6f8c6d0847c 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlNamespacesCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlNamespacesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlNamespacesOutput } from "../models/models_0"; -import { XmlNamespaces } from "../schemas/schemas_5_XmlNamespaces"; +import { XmlNamespaces } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/commands/XmlTimestampsCommand.ts b/private/aws-protocoltests-ec2-schema/src/commands/XmlTimestampsCommand.ts index 13b30ae36040..360fc583ebe0 100644 --- a/private/aws-protocoltests-ec2-schema/src/commands/XmlTimestampsCommand.ts +++ b/private/aws-protocoltests-ec2-schema/src/commands/XmlTimestampsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EC2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2ProtocolClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlTimestampsOutput } from "../models/models_0"; -import { XmlTimestamps } from "../schemas/schemas_3_Xml"; +import { XmlTimestamps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_0.ts index d0f80a79e174..2656ec3d5dc0 100644 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_0.ts @@ -178,11 +178,514 @@ export const n0 = "aws.protocoltests.ec2"; export const n1 = "aws.protocoltests.shared"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; import { EC2ProtocolServiceException as __EC2ProtocolServiceException } from "../models/EC2ProtocolServiceException"; +import { ComplexError as __ComplexError, InvalidGreeting as __InvalidGreeting } from "../models/index"; /* eslint no-var: 0 */ -export var EC2ProtocolServiceException = error(_s, "EC2ProtocolServiceException", 0, [], [], null); +export var ComplexError: StaticErrorSchema = [ + -3, + n0, + _CE, + { + [_e]: _c, + }, + [_TL, _N], + [0, () => ComplexNestedErrorData], +]; +TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [3, n0, _CNED, 0, [_F], [0]]; +export var DatetimeOffsetsOutput: StaticStructureSchema = [3, n0, _DOO, 0, [_d], [5]]; +export var EmptyInputAndEmptyOutputInput: StaticStructureSchema = [3, n0, _EIAEOI, 0, [], []]; +export var EmptyInputAndEmptyOutputOutput: StaticStructureSchema = [3, n0, _EIAEOO, 0, [], []]; +export var FractionalSecondsOutput: StaticStructureSchema = [3, n0, _FSO, 0, [_d], [5]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [3, n0, _GWEO, 0, [_g], [0]]; +export var HostLabelInput: StaticStructureSchema = [ + 3, + n0, + _HLI, + 0, + [_l], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ], +]; +export var IgnoresWrappingXmlNameOutput: StaticStructureSchema = [ + 3, + n0, + _IWXNO, + { + [_xN]: _IM, + }, + [_f], + [0], +]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n0, + _IG, + { + [_e]: _c, + }, + [_M], + [0], +]; +TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); + +export var NestedStructuresInput: StaticStructureSchema = [3, n0, _NSI, 0, [_N], [() => StructArg]]; +export var NestedStructWithList: StaticStructureSchema = [3, n0, _NSWL, 0, [_LA], [64 | 0]]; +export var NoInputAndOutputOutput: StaticStructureSchema = [3, n0, _NIAOO, 0, [], []]; +export var PutWithContentEncodingInput: StaticStructureSchema = [ + 3, + n0, + _PWCEI, + 0, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ], +]; +export var QueryIdempotencyTokenAutoFillInput: StaticStructureSchema = [3, n0, _QITAFI, 0, [_t], [[0, 4]]]; +export var QueryListsInput: StaticStructureSchema = [ + 3, + n0, + _QLI, + 0, + [_LA, _CLA, _LAWXNM, _LAWXN, _NWL], + [ + 64 | 0, + () => GreetingList, + [() => ListWithXmlName, 0], + [ + () => ListWithXmlName, + { + [_xN]: _H, + }, + ], + () => NestedStructWithList, + ], +]; +export var QueryTimestampsInput: StaticStructureSchema = [3, n0, _QTI, 0, [_nF, _eM, _eT], [4, 7, 7]]; +export var RecursiveXmlShapesOutput: StaticStructureSchema = [ + 3, + n0, + _RXSO, + 0, + [_n], + [() => RecursiveXmlShapesOutputNested1], +]; +export var RecursiveXmlShapesOutputNested1: StaticStructureSchema = [ + 3, + n0, + _RXSON, + 0, + [_f, _n], + [0, () => RecursiveXmlShapesOutputNested2], +]; +export var RecursiveXmlShapesOutputNested2: StaticStructureSchema = [ + 3, + n0, + _RXSONe, + 0, + [_b, _rM], + [0, () => RecursiveXmlShapesOutputNested1], +]; +export var SimpleInputParamsInput: StaticStructureSchema = [ + 3, + n0, + _SIPI, + 0, + [_F, _B, _Ba, _Bam, _FV, _Bo, _Q, _FE, _HQN, _HQAXN, _UXN], + [ + 0, + 0, + 2, + 1, + 1, + 1, + 21, + 0, + [ + 0, + { + [_eQN]: `HasQueryName`, + }, + ], + [ + 0, + { + [_eQN]: `HasQueryAndXmlName`, + [_xN]: _hQAXN, + }, + ], + [ + 0, + { + [_xN]: _uXN, + }, + ], + ], +]; +export var SimpleScalarXmlPropertiesOutput: StaticStructureSchema = [ + 3, + n0, + _SSXPO, + 0, + [_sV, _eSV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], + [ + [ + 0, + { + [_eQN]: `IgnoreMe`, + }, + ], + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_xN]: _DD, + }, + ], + ], +]; +export var StructArg: StaticStructureSchema = [3, n0, _SA, 0, [_SAt, _OA, _RA], [0, 2, () => StructArg]]; +export var StructureListMember: StaticStructureSchema = [ + 3, + n0, + _SLM, + 0, + [_a, _b_], + [ + [ + 0, + { + [_xN]: _v, + }, + ], + [ + 0, + { + [_xN]: _o, + }, + ], + ], +]; +export var XmlBlobsOutput: StaticStructureSchema = [3, n0, _XBO, 0, [_da], [21]]; +export var XmlEnumsOutput: StaticStructureSchema = [ + 3, + n0, + _XEO, + 0, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0], +]; +export var XmlIntEnumsOutput: StaticStructureSchema = [ + 3, + n0, + _XIEO, + 0, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1], +]; +export var XmlListsOutput: StaticStructureSchema = [ + 3, + n0, + _XLO, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n1, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + () => ListWithMemberNamespace, + { + [_xF]: 1, + }, + ], + [ + () => ListWithNamespace, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + ], +]; +export var XmlNamespaceNested: StaticStructureSchema = [ + 3, + n0, + _XNN, + { + [_xNm]: [_, _h], + }, + [_f, _va], + [ + [ + 0, + { + [_xNm]: [_ba, _ht], + }, + ], + [ + () => XmlNamespacedList, + { + [_xNm]: [_, _htt], + }, + ], + ], +]; +export var XmlNamespacesOutput: StaticStructureSchema = [ + 3, + n0, + _XNO, + { + [_xNm]: [_, _h], + }, + [_n], + [[() => XmlNamespaceNested, 0]], +]; +export var XmlTimestampsOutput: StaticStructureSchema = [ + 3, + n0, + _XTO, + 0, + [_no, _dT, _dTOT, _eS, _eSOT, _hD, _hDOT], + [4, 5, 5, 7, 7, 6, 6], +]; +export var GreetingStruct: StaticStructureSchema = [3, n1, _GS, 0, [_hi], [0]]; +export var Unit = "unit" as const; + +export var EC2ProtocolServiceException: StaticErrorSchema = [-3, _s, "EC2ProtocolServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(EC2ProtocolServiceException, __EC2ProtocolServiceException); + +export var ListWithMemberNamespace: StaticListSchema = [ + 1, + n0, + _LWMN, + { + [_xNm]: [_, _hl], + }, + [ + 0, + { + [_xNm]: [_, _hm], + }, + ], +]; +export var ListWithNamespace: StaticListSchema = [ + 1, + n0, + _LWN, + { + [_xNm]: [_, _hl], + }, + 0, +]; +export var ListWithXmlName: StaticListSchema = [ + 1, + n0, + _LWXN, + 0, + [ + 0, + { + [_xN]: _i, + }, + ], +]; +export var RenamedListMembers: StaticListSchema = [ + 1, + n0, + _RLM, + 0, + [ + 0, + { + [_xN]: _i, + }, + ], +]; +export var StructureList: StaticListSchema = [ + 1, + n0, + _SL, + 0, + [ + () => StructureListMember, + { + [_xN]: _i, + }, + ], +]; +export var XmlNamespacedList: StaticListSchema = [ + 1, + n0, + _XNL, + 0, + [ + 0, + { + [_xNm]: [_, _http], + }, + ], +]; +export var BooleanList = 64 | 2; + +export var FooEnumList = 64 | 0; + +export var FooEnumSet = 64 | 0; + +export var GreetingList: StaticListSchema = [1, n1, _GL, 0, () => GreetingStruct]; +export var IntegerEnumList = 64 | 1; + +export var IntegerEnumSet = 64 | 1; + +export var IntegerList = 64 | 1; + +export var NestedStringList: StaticListSchema = [1, n1, _NSL, 0, 64 | 0]; +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var FooEnumMap = 128 | 0; + +export var IntegerEnumMap = 128 | 1; + +export var DatetimeOffsets: StaticOperationSchema = [9, n0, _DO, 0, () => Unit, () => DatetimeOffsetsOutput]; +export var EmptyInputAndEmptyOutput: StaticOperationSchema = [ + 9, + n0, + _EIAEO, + 0, + () => EmptyInputAndEmptyOutputInput, + () => EmptyInputAndEmptyOutputOutput, +]; +export var EndpointOperation: StaticOperationSchema = [ + 9, + n0, + _EO, + { + [_end]: ["foo."], + }, + () => Unit, + () => Unit, +]; +export var EndpointWithHostLabelOperation: StaticOperationSchema = [ + 9, + n0, + _EWHLO, + { + [_end]: ["foo.{label}."], + }, + () => HostLabelInput, + () => Unit, +]; +export var FractionalSeconds: StaticOperationSchema = [9, n0, _FS, 0, () => Unit, () => FractionalSecondsOutput]; +export var GreetingWithErrors: StaticOperationSchema = [9, n0, _GWE, 0, () => Unit, () => GreetingWithErrorsOutput]; +export var HostWithPathOperation: StaticOperationSchema = [9, n0, _HWPO, 0, () => Unit, () => Unit]; +export var IgnoresWrappingXmlName: StaticOperationSchema = [ + 9, + n0, + _IWXN, + 0, + () => Unit, + () => IgnoresWrappingXmlNameOutput, +]; +export var NestedStructures: StaticOperationSchema = [9, n0, _NS, 0, () => NestedStructuresInput, () => Unit]; +export var NoInputAndOutput: StaticOperationSchema = [9, n0, _NIAO, 0, () => Unit, () => NoInputAndOutputOutput]; +export var PutWithContentEncoding: StaticOperationSchema = [ + 9, + n0, + _PWCE, + 0, + () => PutWithContentEncodingInput, + () => Unit, +]; +export var QueryIdempotencyTokenAutoFill: StaticOperationSchema = [ + 9, + n0, + _QITAF, + 0, + () => QueryIdempotencyTokenAutoFillInput, + () => Unit, +]; +export var QueryLists: StaticOperationSchema = [9, n0, _QL, 0, () => QueryListsInput, () => Unit]; +export var QueryTimestamps: StaticOperationSchema = [9, n0, _QT, 0, () => QueryTimestampsInput, () => Unit]; +export var RecursiveXmlShapes: StaticOperationSchema = [9, n0, _RXS, 0, () => Unit, () => RecursiveXmlShapesOutput]; +export var SimpleInputParams: StaticOperationSchema = [9, n0, _SIP, 0, () => SimpleInputParamsInput, () => Unit]; +export var SimpleScalarXmlProperties: StaticOperationSchema = [ + 9, + n0, + _SSXP, + 0, + () => Unit, + () => SimpleScalarXmlPropertiesOutput, +]; +export var XmlBlobs: StaticOperationSchema = [9, n0, _XB, 0, () => Unit, () => XmlBlobsOutput]; +export var XmlEmptyBlobs: StaticOperationSchema = [9, n0, _XEB, 0, () => Unit, () => XmlBlobsOutput]; +export var XmlEmptyLists: StaticOperationSchema = [9, n0, _XEL, 0, () => Unit, () => XmlListsOutput]; +export var XmlEnums: StaticOperationSchema = [9, n0, _XE, 0, () => Unit, () => XmlEnumsOutput]; +export var XmlIntEnums: StaticOperationSchema = [9, n0, _XIE, 0, () => Unit, () => XmlIntEnumsOutput]; +export var XmlLists: StaticOperationSchema = [9, n0, _XL, 0, () => Unit, () => XmlListsOutput]; +export var XmlNamespaces: StaticOperationSchema = [9, n0, _XN, 0, () => Unit, () => XmlNamespacesOutput]; +export var XmlTimestamps: StaticOperationSchema = [9, n0, _XT, 0, () => Unit, () => XmlTimestampsOutput]; diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_10_RecursiveXmlShapes.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_10_RecursiveXmlShapes.ts deleted file mode 100644 index 649e13ebf3c5..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_10_RecursiveXmlShapes.ts +++ /dev/null @@ -1,30 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _f, _n, _rM, _RXS, _RXSO, _RXSON, _RXSONe, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var RecursiveXmlShapesOutput = struct(n0, _RXSO, 0, [_n], [() => RecursiveXmlShapesOutputNested1]); -export var RecursiveXmlShapesOutputNested1 = struct( - n0, - _RXSON, - 0, - [_f, _n], - [0, () => RecursiveXmlShapesOutputNested2] -); -export var RecursiveXmlShapesOutputNested2 = struct( - n0, - _RXSONe, - 0, - [_b, _rM], - [0, () => RecursiveXmlShapesOutputNested1] -); -export var RecursiveXmlShapes = op( - n0, - _RXS, - 0, - () => Unit, - () => RecursiveXmlShapesOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_11_HostWithPathOperation.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_11_HostWithPathOperation.ts deleted file mode 100644 index 18001125c1cf..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_11_HostWithPathOperation.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _HWPO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var HostWithPathOperation = op( - n0, - _HWPO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_12_EmptyInputAndEmptyOutput.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_12_EmptyInputAndEmptyOutput.ts deleted file mode 100644 index 1c9adc964cea..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_12_EmptyInputAndEmptyOutput.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _EIAEO, _EIAEOI, _EIAEOO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EmptyInputAndEmptyOutputInput = struct(n0, _EIAEOI, 0, [], []); -export var EmptyInputAndEmptyOutputOutput = struct(n0, _EIAEOO, 0, [], []); -export var EmptyInputAndEmptyOutput = op( - n0, - _EIAEO, - 0, - () => EmptyInputAndEmptyOutputInput, - () => EmptyInputAndEmptyOutputOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_13_QueryIdempotencyTokenAutoFill.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_13_QueryIdempotencyTokenAutoFill.ts deleted file mode 100644 index 97c695cff642..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_13_QueryIdempotencyTokenAutoFill.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _QITAF, _QITAFI, _t, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var QueryIdempotencyTokenAutoFillInput = struct(n0, _QITAFI, 0, [_t], [[0, 4]]); -export var QueryIdempotencyTokenAutoFill = op( - n0, - _QITAF, - 0, - () => QueryIdempotencyTokenAutoFillInput, - () => Unit -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_14_PutWithContentEncoding.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_14_PutWithContentEncoding.ts deleted file mode 100644 index 07b1ec187ead..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_14_PutWithContentEncoding.ts +++ /dev/null @@ -1,30 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CE_, _da, _en, _hH, _PWCE, _PWCEI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var PutWithContentEncodingInput = struct( - n0, - _PWCEI, - 0, - [_en, _da], - [ - [ - 0, - { - [_hH]: _CE_, - }, - ], - 0, - ] -); -export var PutWithContentEncoding = op( - n0, - _PWCE, - 0, - () => PutWithContentEncodingInput, - () => Unit -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_15_EndpointWithHostLabelOperation.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_15_EndpointWithHostLabelOperation.ts deleted file mode 100644 index 49638c0b83c8..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_15_EndpointWithHostLabelOperation.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _end, _EWHLO, _hL, _HLI, _l, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var HostLabelInput = struct( - n0, - _HLI, - 0, - [_l], - [ - [ - 0, - { - [_hL]: 1, - }, - ], - ] -); -export var EndpointWithHostLabelOperation = op( - n0, - _EWHLO, - { - [_end]: ["foo.{label}."], - }, - () => HostLabelInput, - () => Unit -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_16_IgnoresWrappingXmlName.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_16_IgnoresWrappingXmlName.ts deleted file mode 100644 index 4a4d7b1de86b..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_16_IgnoresWrappingXmlName.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _f, _IM, _IWXN, _IWXNO, _xN, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var IgnoresWrappingXmlNameOutput = struct( - n0, - _IWXNO, - { - [_xN]: _IM, - }, - [_f], - [0] -); -export var IgnoresWrappingXmlName = op( - n0, - _IWXN, - 0, - () => Unit, - () => IgnoresWrappingXmlNameOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_17_EndpointOperation.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_17_EndpointOperation.ts deleted file mode 100644 index 8c5eddd477a9..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_17_EndpointOperation.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _end, _EO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var EndpointOperation = op( - n0, - _EO, - { - [_end]: ["foo."], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_1_Xml.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_1_Xml.ts deleted file mode 100644 index 98be3e9c87dc..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_1_Xml.ts +++ /dev/null @@ -1,291 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { - _, - _a, - _B, - _b_, - _Ba, - _Bam, - _bL, - _Bo, - _cN, - _eL, - _eQN, - _F, - _FE, - _fE, - _fEL, - _fEM, - _fEo, - _fEoo, - _fES, - _fL, - _fLl, - _fLWMN, - _fLWN, - _FV, - _hl, - _hm, - _HQAXN, - _hQAXN, - _HQN, - _i, - _iE, - _iEL, - _iEM, - _iEn, - _iEnt, - _iES, - _iL, - _LWMN, - _LWN, - _mSL, - _NSL, - _nSL, - _o, - _Q, - _r, - _RLM, - _rLM, - _SIP, - _SIPI, - _SL, - _sL, - _SLM, - _sLt, - _sS, - _tL, - _UXN, - _uXN, - _v, - _XE, - _XEL, - _XEO, - _xF, - _XIE, - _XIEO, - _XL, - _XLO, - _xN, - _xNm, - n0, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var SimpleInputParamsInput = struct( - n0, - _SIPI, - 0, - [_F, _B, _Ba, _Bam, _FV, _Bo, _Q, _FE, _HQN, _HQAXN, _UXN], - [ - 0, - 0, - 2, - 1, - 1, - 1, - 21, - 0, - [ - 0, - { - [_eQN]: `HasQueryName`, - }, - ], - [ - 0, - { - [_eQN]: `HasQueryAndXmlName`, - [_xN]: _hQAXN, - }, - ], - [ - 0, - { - [_xN]: _uXN, - }, - ], - ] -); -export var StructureListMember = struct( - n0, - _SLM, - 0, - [_a, _b_], - [ - [ - 0, - { - [_xN]: _v, - }, - ], - [ - 0, - { - [_xN]: _o, - }, - ], - ] -); -export var XmlEnumsOutput = struct( - n0, - _XEO, - 0, - [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], - [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] -); -export var XmlIntEnumsOutput = struct( - n0, - _XIEO, - 0, - [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], - [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] -); -export var XmlListsOutput = struct( - n0, - _XLO, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n1, _NSL, 0, 64 | 0), - [ - () => RenamedListMembers, - { - [_xN]: _r, - }, - ], - [ - () => RenamedListMembers, - { - [_xF]: 1, - }, - ], - [ - () => RenamedListMembers, - { - [_xN]: _cN, - [_xF]: 1, - }, - ], - [ - () => ListWithMemberNamespace, - { - [_xF]: 1, - }, - ], - [ - () => ListWithNamespace, - { - [_xF]: 1, - }, - ], - [ - () => StructureList, - { - [_xN]: _mSL, - }, - ], - ] -); -export var Unit = "unit" as const; - -export var ListWithMemberNamespace = list( - n0, - _LWMN, - { - [_xNm]: [_, _hl], - }, - [ - 0, - { - [_xNm]: [_, _hm], - }, - ] -); -export var ListWithNamespace = list( - n0, - _LWN, - { - [_xNm]: [_, _hl], - }, - 0 -); -export var RenamedListMembers = list(n0, _RLM, 0, [ - 0, - { - [_xN]: _i, - }, -]); -export var StructureList = list(n0, _SL, 0, [ - () => StructureListMember, - { - [_xN]: _i, - }, -]); -export var BooleanList = 64 | 2; - -export var FooEnumList = 64 | 0; - -export var FooEnumSet = 64 | 0; - -export var IntegerEnumList = 64 | 1; - -export var IntegerEnumSet = 64 | 1; - -export var IntegerList = 64 | 1; - -export var NestedStringList = list(n1, _NSL, 0, 64 | 0); -export var StringSet = 64 | 0; - -export var TimestampList = 64 | 4; - -export var FooEnumMap = 128 | 0; - -export var IntegerEnumMap = 128 | 1; - -export var SimpleInputParams = op( - n0, - _SIP, - 0, - () => SimpleInputParamsInput, - () => Unit -); -export var XmlEmptyLists = op( - n0, - _XEL, - 0, - () => Unit, - () => XmlListsOutput -); -export var XmlEnums = op( - n0, - _XE, - 0, - () => Unit, - () => XmlEnumsOutput -); -export var XmlIntEnums = op( - n0, - _XIE, - 0, - () => Unit, - () => XmlIntEnumsOutput -); -export var XmlLists = op( - n0, - _XL, - 0, - () => Unit, - () => XmlListsOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_2_Xml.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_2_Xml.ts deleted file mode 100644 index feb6367abb71..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_2_Xml.ts +++ /dev/null @@ -1,76 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _bV, - _DD, - _dV, - _eQN, - _eSV, - _fBV, - _fV, - _iV, - _lV, - _N, - _NS, - _NSI, - _OA, - _RA, - _SA, - _SAt, - _SSXP, - _SSXPO, - _sV, - _sVh, - _tBV, - _xN, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var NestedStructuresInput = struct(n0, _NSI, 0, [_N], [() => StructArg]); -export var SimpleScalarXmlPropertiesOutput = struct( - n0, - _SSXPO, - 0, - [_sV, _eSV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], - [ - [ - 0, - { - [_eQN]: `IgnoreMe`, - }, - ], - 0, - 2, - 2, - 1, - 1, - 1, - 1, - 1, - [ - 1, - { - [_xN]: _DD, - }, - ], - ] -); -export var StructArg = struct(n0, _SA, 0, [_SAt, _OA, _RA], [0, 2, () => StructArg]); -export var NestedStructures = op( - n0, - _NS, - 0, - () => NestedStructuresInput, - () => Unit -); -export var SimpleScalarXmlProperties = op( - n0, - _SSXP, - 0, - () => Unit, - () => SimpleScalarXmlPropertiesOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_3_Xml.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_3_Xml.ts deleted file mode 100644 index 30efdd7b39ff..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_3_Xml.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _dT, _dTOT, _eM, _eS, _eSOT, _eT, _hD, _hDOT, _nF, _no, _QT, _QTI, _XT, _XTO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var QueryTimestampsInput = struct(n0, _QTI, 0, [_nF, _eM, _eT], [4, 7, 7]); -export var XmlTimestampsOutput = struct(n0, _XTO, 0, [_no, _dT, _dTOT, _eS, _eSOT, _hD, _hDOT], [4, 5, 5, 7, 7, 6, 6]); -export var QueryTimestamps = op( - n0, - _QT, - 0, - () => QueryTimestampsInput, - () => Unit -); -export var XmlTimestamps = op( - n0, - _XT, - 0, - () => Unit, - () => XmlTimestampsOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_4_Blobs.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_4_Blobs.ts deleted file mode 100644 index 6969adb684e5..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_4_Blobs.ts +++ /dev/null @@ -1,23 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _da, _XB, _XBO, _XEB, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var XmlBlobsOutput = struct(n0, _XBO, 0, [_da], [21]); -export var XmlBlobs = op( - n0, - _XB, - 0, - () => Unit, - () => XmlBlobsOutput -); -export var XmlEmptyBlobs = op( - n0, - _XEB, - 0, - () => Unit, - () => XmlBlobsOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_5_XmlNamespaces.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_5_XmlNamespaces.ts deleted file mode 100644 index b9230033a88c..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_5_XmlNamespaces.ts +++ /dev/null @@ -1,52 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { _, _ba, _f, _h, _ht, _htt, _http, _n, _va, _XN, _XNL, _xNm, _XNN, _XNO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var XmlNamespaceNested = struct( - n0, - _XNN, - { - [_xNm]: [_, _h], - }, - [_f, _va], - [ - [ - 0, - { - [_xNm]: [_ba, _ht], - }, - ], - [ - () => XmlNamespacedList, - { - [_xNm]: [_, _htt], - }, - ], - ] -); -export var XmlNamespacesOutput = struct( - n0, - _XNO, - { - [_xNm]: [_, _h], - }, - [_n], - [[() => XmlNamespaceNested, 0]] -); -export var XmlNamespacedList = list(n0, _XNL, 0, [ - 0, - { - [_xNm]: [_, _http], - }, -]); -export var XmlNamespaces = op( - n0, - _XN, - 0, - () => Unit, - () => XmlNamespacesOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_6_Lists.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_6_Lists.ts deleted file mode 100644 index 14b5cb90590f..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_6_Lists.ts +++ /dev/null @@ -1,62 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { - _CLA, - _GL, - _GS, - _H, - _hi, - _i, - _LA, - _LAWXN, - _LAWXNM, - _LWXN, - _NSWL, - _NWL, - _QL, - _QLI, - _xN, - n0, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var NestedStructWithList = struct(n0, _NSWL, 0, [_LA], [64 | 0]); -export var QueryListsInput = struct( - n0, - _QLI, - 0, - [_LA, _CLA, _LAWXNM, _LAWXN, _NWL], - [ - 64 | 0, - () => GreetingList, - [() => ListWithXmlName, 0], - [ - () => ListWithXmlName, - { - [_xN]: _H, - }, - ], - () => NestedStructWithList, - ] -); -export var GreetingStruct = struct(n1, _GS, 0, [_hi], [0]); -export var ListWithXmlName = list(n0, _LWXN, 0, [ - 0, - { - [_xN]: _i, - }, -]); -export var GreetingList = list(n1, _GL, 0, () => GreetingStruct); -export var StringList = 64 | 0; - -export var QueryLists = op( - n0, - _QL, - 0, - () => QueryListsInput, - () => Unit -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_7_GreetingWithErrors.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_7_GreetingWithErrors.ts deleted file mode 100644 index 11a8345d2b85..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_7_GreetingWithErrors.ts +++ /dev/null @@ -1,42 +0,0 @@ -// smithy-typescript generated code -import { error, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { ComplexError as __ComplexError, InvalidGreeting as __InvalidGreeting } from "../models/index"; -import { _c, _CE, _CNED, _e, _F, _g, _GWE, _GWEO, _IG, _M, _N, _TL, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var ComplexError = error( - n0, - _CE, - { - [_e]: _c, - }, - [_TL, _N], - [0, () => ComplexNestedErrorData], - null -); -TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct(n0, _CNED, 0, [_F], [0]); -export var GreetingWithErrorsOutput = struct(n0, _GWEO, 0, [_g], [0]); -export var InvalidGreeting = error( - n0, - _IG, - { - [_e]: _c, - }, - [_M], - [0], - null -); -TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); - -export var GreetingWithErrors = op( - n0, - _GWE, - 0, - () => Unit, - () => GreetingWithErrorsOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_8_NoInputAndOutput.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_8_NoInputAndOutput.ts deleted file mode 100644 index b6713b96b345..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_8_NoInputAndOutput.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _NIAO, _NIAOO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var NoInputAndOutputOutput = struct(n0, _NIAOO, 0, [], []); -export var NoInputAndOutput = op( - n0, - _NIAO, - 0, - () => Unit, - () => NoInputAndOutputOutput -); diff --git a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_9_.ts b/private/aws-protocoltests-ec2-schema/src/schemas/schemas_9_.ts deleted file mode 100644 index d4ceeb9988b0..000000000000 --- a/private/aws-protocoltests-ec2-schema/src/schemas/schemas_9_.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _d, _DO, _DOO, _FS, _FSO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var DatetimeOffsetsOutput = struct(n0, _DOO, 0, [_d], [5]); -export var FractionalSecondsOutput = struct(n0, _FSO, 0, [_d], [5]); -export var DatetimeOffsets = op( - n0, - _DO, - 0, - () => Unit, - () => DatetimeOffsetsOutput -); -export var FractionalSeconds = op( - n0, - _FS, - 0, - () => Unit, - () => FractionalSecondsOutput -); diff --git a/private/aws-protocoltests-json-10-schema/src/commands/ContentTypeParametersCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/ContentTypeParametersCommand.ts index 42ea3641cfbb..19ddc5c429b7 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/ContentTypeParametersCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/ContentTypeParametersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { ContentTypeParametersInput, ContentTypeParametersOutput } from "../models/models_0"; -import { ContentTypeParameters } from "../schemas/schemas_3_OperationWith"; +import { ContentTypeParameters } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts index 45263e4c7e4f..2072598b8552 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0"; -import { EmptyInputAndEmptyOutput } from "../schemas/schemas_4_EmptyInputAndEmptyOutput"; +import { EmptyInputAndEmptyOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/EndpointOperationCommand.ts index a90e65f1aae3..e1f0a382270d 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/EndpointOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; -import { EndpointOperation } from "../schemas/schemas_9_EndpointOperation"; +import { EndpointOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/EndpointWithHostLabelOperationCommand.ts index 5bc575564596..1ecca4aee76a 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { EndpointWithHostLabelOperationInput } from "../models/models_0"; -import { EndpointWithHostLabelOperation } from "../schemas/schemas_1_With"; +import { EndpointWithHostLabelOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/GreetingWithErrorsCommand.ts index 98437ccfe240..29224fbb989d 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { GreetingWithErrorsInput, GreetingWithErrorsOutput } from "../models/models_0"; -import { GreetingWithErrors } from "../schemas/schemas_1_With"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/HostWithPathOperationCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/HostWithPathOperationCommand.ts index 082634b61b6a..04d8fed79bae 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/HostWithPathOperationCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/HostWithPathOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; -import { HostWithPathOperation } from "../schemas/schemas_6_HostWithPathOperation"; +import { HostWithPathOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/JsonUnionsCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/JsonUnionsCommand.ts index 63b79784240b..65668ce90630 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/JsonUnionsCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/JsonUnionsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { JsonUnionsInput, JsonUnionsOutput } from "../models/models_0"; -import { JsonUnions } from "../schemas/schemas_1_With"; +import { JsonUnions } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndNoOutputCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndNoOutputCommand.ts index 0db42e6506d4..f281ccea12d5 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndNoOutputCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndNoOutputCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; -import { NoInputAndNoOutput } from "../schemas/schemas_5_NoInputAndNoOutput"; +import { NoInputAndNoOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndOutputCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndOutputCommand.ts index 8c6755061655..e39d9b94d999 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndOutputCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/NoInputAndOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { NoInputAndOutputOutput } from "../models/models_0"; -import { NoInputAndOutput } from "../schemas/schemas_8_NoInputAndOutput"; +import { NoInputAndOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithDefaultsCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithDefaultsCommand.ts index 500145b75641..b99b327b4bdc 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithDefaultsCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithDefaultsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { OperationWithDefaultsInput, OperationWithDefaultsOutput } from "../models/models_0"; -import { OperationWithDefaults } from "../schemas/schemas_1_With"; +import { OperationWithDefaults } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithNestedStructureCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithNestedStructureCommand.ts index 1c94e97e6e3d..b9d2f3531449 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithNestedStructureCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithNestedStructureCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { OperationWithNestedStructureInput, OperationWithNestedStructureOutput } from "../models/models_0"; -import { OperationWithNestedStructure } from "../schemas/schemas_1_With"; +import { OperationWithNestedStructure } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersCommand.ts index feed9eb10c47..8c877d9f64ba 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { OperationWithRequiredMembersOutput } from "../models/models_0"; -import { OperationWithRequiredMembers } from "../schemas/schemas_1_With"; +import { OperationWithRequiredMembers } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersWithDefaultsCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersWithDefaultsCommand.ts index b39419c40b97..51f18ee1f9e8 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersWithDefaultsCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/OperationWithRequiredMembersWithDefaultsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { OperationWithRequiredMembersWithDefaultsOutput } from "../models/models_0"; -import { OperationWithRequiredMembersWithDefaults } from "../schemas/schemas_1_With"; +import { OperationWithRequiredMembersWithDefaults } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/PutWithContentEncodingCommand.ts index ad438403560d..9924b639a862 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/PutWithContentEncodingCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { PutWithContentEncodingInput } from "../models/models_0"; -import { PutWithContentEncoding } from "../schemas/schemas_1_With"; +import { PutWithContentEncoding } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/QueryIncompatibleOperationCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/QueryIncompatibleOperationCommand.ts index e90142fbb904..26b02efabd45 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/QueryIncompatibleOperationCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/QueryIncompatibleOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; -import { QueryIncompatibleOperation } from "../schemas/schemas_7_QueryIncompatibleOperation"; +import { QueryIncompatibleOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-json-10-schema/src/commands/SimpleScalarPropertiesCommand.ts index f622e31bb3e0..7514a9cc1f63 100644 --- a/private/aws-protocoltests-json-10-schema/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-json-10-schema/src/commands/SimpleScalarPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client"; import { SimpleScalarPropertiesInput, SimpleScalarPropertiesOutput } from "../models/models_0"; -import { SimpleScalarProperties } from "../schemas/schemas_2_OperationWith"; +import { SimpleScalarProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_0.ts index b7a5585ead46..4acdb8f46a6a 100644 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_0.ts @@ -136,11 +136,357 @@ export const n0 = "aws.protocoltests.json10"; export const n1 = "aws.protocoltests.shared"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +import { + ComplexError as __ComplexError, + FooError as __FooError, + InvalidGreeting as __InvalidGreeting, +} from "../models/index"; import { JSONRPC10ServiceException as __JSONRPC10ServiceException } from "../models/JSONRPC10ServiceException"; /* eslint no-var: 0 */ -export var JSONRPC10ServiceException = error(_sm, "JSONRPC10ServiceException", 0, [], [], null); +export var ClientOptionalDefaults: StaticStructureSchema = [3, n0, _COD, 0, [_m], [1]]; +export var ComplexError: StaticErrorSchema = [ + -3, + n0, + _CE, + { + [_e]: _c, + }, + [_TL, _N], + [0, [() => ComplexNestedErrorData, 0]], +]; +TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [ + 3, + n0, + _CNED, + 0, + [_F], + [ + [ + 0, + { + [_jN]: _Fo, + }, + ], + ], +]; +export var ContentTypeParametersInput: StaticStructureSchema = [3, n0, _CTPI, 0, [_v], [1]]; +export var ContentTypeParametersOutput: StaticStructureSchema = [3, n0, _CTPO, 0, [], []]; +export var Defaults: StaticStructureSchema = [ + 3, + n0, + _D, + 0, + [ + _dS, + _dB, + _dL, + _dDM, + _dDS, + _dDB, + _dDL, + _dND, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1], +]; +export var Dialog: StaticStructureSchema = [3, n0, _Di, 0, [_l, _g, _f], [0, 0, () => Farewell]]; +export var EmptyInputAndEmptyOutputInput: StaticStructureSchema = [3, n0, _EIAEOI, 0, [], []]; +export var EmptyInputAndEmptyOutputOutput: StaticStructureSchema = [3, n0, _EIAEOO, 0, [], []]; +export var EndpointWithHostLabelOperationInput: StaticStructureSchema = [ + 3, + n0, + _EWHLOI, + 0, + [_la], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ], +]; +export var Farewell: StaticStructureSchema = [3, n0, _Fa, 0, [_p], [0]]; +export var FooError: StaticErrorSchema = [ + -3, + n0, + _FE, + { + [_e]: _s, + }, + [], + [], +]; +TypeRegistry.for(n0).registerError(FooError, __FooError); + +export var GreetingWithErrorsInput: StaticStructureSchema = [3, n0, _GWEI, 0, [_g], [0]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [3, n0, _GWEO, 0, [_g], [0]]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n0, + _IG, + { + [_e]: _c, + }, + [_M], + [0], +]; +TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); + +export var JsonUnionsInput: StaticStructureSchema = [3, n0, _JUI, 0, [_co], [() => MyUnion]]; +export var JsonUnionsOutput: StaticStructureSchema = [3, n0, _JUO, 0, [_co], [() => MyUnion]]; +export var NoInputAndOutputOutput: StaticStructureSchema = [3, n0, _NIAOO, 0, [], []]; +export var OperationWithDefaultsInput: StaticStructureSchema = [ + 3, + n0, + _OWDI, + 0, + [_d, _cOD, _tLD, _oTLD], + [() => Defaults, () => ClientOptionalDefaults, 0, 1], +]; +export var OperationWithDefaultsOutput: StaticStructureSchema = [ + 3, + n0, + _OWDO, + 0, + [ + _dS, + _dB, + _dL, + _dDM, + _dDS, + _dDB, + _dDL, + _dND, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1], +]; +export var OperationWithNestedStructureInput: StaticStructureSchema = [3, n0, _OWNSI, 0, [_tL], [() => TopLevel]]; +export var OperationWithNestedStructureOutput: StaticStructureSchema = [ + 3, + n0, + _OWNSO, + 0, + [_di, _dLi, _dMi], + [() => Dialog, () => DialogList, () => DialogMap], +]; +export var OperationWithRequiredMembersOutput: StaticStructureSchema = [ + 3, + n0, + _OWRMO, + 0, + [_rS, _rB, _rL, _rT, _rBe, _rBeq, _rSe, _rI, _rLe, _rF, _rD, _rM], + [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0], +]; +export var OperationWithRequiredMembersWithDefaultsOutput: StaticStructureSchema = [ + 3, + n0, + _OWRMWDO, + 0, + [_rS, _rB, _rL, _rT, _rBe, _rBeq, _rSe, _rI, _rLe, _rF, _rD, _rM, _rE, _rIE], + [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1], +]; +export var PutWithContentEncodingInput: StaticStructureSchema = [ + 3, + n0, + _PWCEI, + 0, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ], +]; +export var SimpleScalarPropertiesInput: StaticStructureSchema = [3, n0, _SSPI, 0, [_fV, _dV], [1, 1]]; +export var SimpleScalarPropertiesOutput: StaticStructureSchema = [3, n0, _SSPO, 0, [_fV, _dV], [1, 1]]; +export var TopLevel: StaticStructureSchema = [ + 3, + n0, + _TL, + 0, + [_di, _dLi, _dMi], + [() => Dialog, () => DialogList, () => DialogMap], +]; +export var GreetingStruct: StaticStructureSchema = [3, n1, _GS, 0, [_h], [0]]; +export var Unit = "unit" as const; + +export var JSONRPC10ServiceException: StaticErrorSchema = [-3, _sm, "JSONRPC10ServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(JSONRPC10ServiceException, __JSONRPC10ServiceException); + +export var DialogList: StaticListSchema = [1, n0, _DL, 0, () => Dialog]; +export var RequiredStringList = 64 | 0; + +export var TestStringList = 64 | 0; + +export var StringList = 64 | 0; + +export var DialogMap: StaticMapSchema = [2, n0, _DM, 0, 0, () => Dialog]; +export var RequiredStringMap = 128 | 0; + +export var TestStringMap = 128 | 0; + +export var StringMap = 128 | 0; + +export var MyUnion: StaticStructureSchema = [ + 3, + n0, + _MU, + 0, + [_sV, _bV, _nV, _bVl, _tV, _eV, _iEV, _lV, _mV, _sVt], + [0, 2, 1, 21, 4, 0, 1, 64 | 0, 128 | 0, () => GreetingStruct], +]; +export var ContentTypeParameters: StaticOperationSchema = [ + 9, + n0, + _CTP, + 0, + () => ContentTypeParametersInput, + () => ContentTypeParametersOutput, +]; +export var EmptyInputAndEmptyOutput: StaticOperationSchema = [ + 9, + n0, + _EIAEO, + 0, + () => EmptyInputAndEmptyOutputInput, + () => EmptyInputAndEmptyOutputOutput, +]; +export var EndpointOperation: StaticOperationSchema = [ + 9, + n0, + _EO, + { + [_end]: ["foo."], + }, + () => Unit, + () => Unit, +]; +export var EndpointWithHostLabelOperation: StaticOperationSchema = [ + 9, + n0, + _EWHLO, + { + [_end]: ["foo.{label}."], + }, + () => EndpointWithHostLabelOperationInput, + () => Unit, +]; +export var GreetingWithErrors: StaticOperationSchema = [ + 9, + n0, + _GWE, + 2, + () => GreetingWithErrorsInput, + () => GreetingWithErrorsOutput, +]; +export var HostWithPathOperation: StaticOperationSchema = [9, n0, _HWPO, 0, () => Unit, () => Unit]; +export var JsonUnions: StaticOperationSchema = [9, n0, _JU, 2, () => JsonUnionsInput, () => JsonUnionsOutput]; +export var NoInputAndNoOutput: StaticOperationSchema = [9, n0, _NIANO, 0, () => Unit, () => Unit]; +export var NoInputAndOutput: StaticOperationSchema = [9, n0, _NIAO, 0, () => Unit, () => NoInputAndOutputOutput]; +export var OperationWithDefaults: StaticOperationSchema = [ + 9, + n0, + _OWD, + 0, + () => OperationWithDefaultsInput, + () => OperationWithDefaultsOutput, +]; +export var OperationWithNestedStructure: StaticOperationSchema = [ + 9, + n0, + _OWNS, + 0, + () => OperationWithNestedStructureInput, + () => OperationWithNestedStructureOutput, +]; +export var OperationWithRequiredMembers: StaticOperationSchema = [ + 9, + n0, + _OWRM, + 0, + () => Unit, + () => OperationWithRequiredMembersOutput, +]; +export var OperationWithRequiredMembersWithDefaults: StaticOperationSchema = [ + 9, + n0, + _OWRMWD, + 0, + () => Unit, + () => OperationWithRequiredMembersWithDefaultsOutput, +]; +export var PutWithContentEncoding: StaticOperationSchema = [ + 9, + n0, + _PWCE, + 0, + () => PutWithContentEncodingInput, + () => Unit, +]; +export var QueryIncompatibleOperation: StaticOperationSchema = [9, n0, _QIO, 2, () => Unit, () => Unit]; +export var SimpleScalarProperties: StaticOperationSchema = [ + 9, + n0, + _SSP, + 0, + () => SimpleScalarPropertiesInput, + () => SimpleScalarPropertiesOutput, +]; diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_1_With.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_1_With.ts deleted file mode 100644 index c235401c3e0e..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_1_With.ts +++ /dev/null @@ -1,400 +0,0 @@ -// smithy-typescript generated code -import { error, list, map, op, struct, struct as uni, TypeRegistry } from "@smithy/core/schema"; - -import { - ComplexError as __ComplexError, - FooError as __FooError, - InvalidGreeting as __InvalidGreeting, -} from "../models/index"; -import { - _bV, - _bVl, - _c, - _CE, - _CE_, - _CNED, - _co, - _COD, - _cOD, - _D, - _d, - _da, - _dB, - _dBe, - _dBef, - _dD, - _dDB, - _dDL, - _dDM, - _dDS, - _dE, - _dF, - _Di, - _dI, - _di, - _dIE, - _DL, - _dL, - _dLe, - _dLi, - _DM, - _dM, - _dMi, - _dND, - _dS, - _dSe, - _dT, - _e, - _eB, - _en, - _end, - _eS, - _eV, - _EWHLO, - _EWHLOI, - _F, - _f, - _Fa, - _fB, - _FE, - _Fo, - _g, - _GS, - _GWE, - _GWEI, - _GWEO, - _h, - _hH, - _hL, - _iEV, - _IG, - _jN, - _JU, - _JUI, - _JUO, - _l, - _la, - _lV, - _M, - _m, - _MU, - _mV, - _N, - _nV, - _oTLD, - _OWD, - _OWDI, - _OWDO, - _OWNS, - _OWNSI, - _OWNSO, - _OWRM, - _OWRMO, - _OWRMWD, - _OWRMWDO, - _p, - _PWCE, - _PWCEI, - _rB, - _rBe, - _rBeq, - _rD, - _rE, - _rF, - _rI, - _rIE, - _rL, - _rLe, - _rM, - _rS, - _rSe, - _rT, - _s, - _sV, - _sVt, - _TL, - _tL, - _tLD, - _tV, - _zB, - _zD, - _zF, - _zI, - _zL, - _zS, - n0, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var ClientOptionalDefaults = struct(n0, _COD, 0, [_m], [1]); -export var ComplexError = error( - n0, - _CE, - { - [_e]: _c, - }, - [_TL, _N], - [0, [() => ComplexNestedErrorData, 0]], - null -); -TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct( - n0, - _CNED, - 0, - [_F], - [ - [ - 0, - { - [_jN]: _Fo, - }, - ], - ] -); -export var Defaults = struct( - n0, - _D, - 0, - [ - _dS, - _dB, - _dL, - _dDM, - _dDS, - _dDB, - _dDL, - _dND, - _dT, - _dBe, - _dBef, - _dSe, - _dI, - _dLe, - _dF, - _dD, - _dM, - _dE, - _dIE, - _eS, - _fB, - _eB, - _zB, - _zS, - _zI, - _zL, - _zF, - _zD, - ], - [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] -); -export var Dialog = struct(n0, _Di, 0, [_l, _g, _f], [0, 0, () => Farewell]); -export var EndpointWithHostLabelOperationInput = struct( - n0, - _EWHLOI, - 0, - [_la], - [ - [ - 0, - { - [_hL]: 1, - }, - ], - ] -); -export var Farewell = struct(n0, _Fa, 0, [_p], [0]); -export var FooError = error( - n0, - _FE, - { - [_e]: _s, - }, - [], - [], - null -); -TypeRegistry.for(n0).registerError(FooError, __FooError); - -export var GreetingWithErrorsInput = struct(n0, _GWEI, 0, [_g], [0]); -export var GreetingWithErrorsOutput = struct(n0, _GWEO, 0, [_g], [0]); -export var InvalidGreeting = error( - n0, - _IG, - { - [_e]: _c, - }, - [_M], - [0], - null -); -TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); - -export var JsonUnionsInput = struct(n0, _JUI, 0, [_co], [() => MyUnion]); -export var JsonUnionsOutput = struct(n0, _JUO, 0, [_co], [() => MyUnion]); -export var OperationWithDefaultsInput = struct( - n0, - _OWDI, - 0, - [_d, _cOD, _tLD, _oTLD], - [() => Defaults, () => ClientOptionalDefaults, 0, 1] -); -export var OperationWithDefaultsOutput = struct( - n0, - _OWDO, - 0, - [ - _dS, - _dB, - _dL, - _dDM, - _dDS, - _dDB, - _dDL, - _dND, - _dT, - _dBe, - _dBef, - _dSe, - _dI, - _dLe, - _dF, - _dD, - _dM, - _dE, - _dIE, - _eS, - _fB, - _eB, - _zB, - _zS, - _zI, - _zL, - _zF, - _zD, - ], - [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] -); -export var OperationWithNestedStructureInput = struct(n0, _OWNSI, 0, [_tL], [() => TopLevel]); -export var OperationWithNestedStructureOutput = struct( - n0, - _OWNSO, - 0, - [_di, _dLi, _dMi], - [() => Dialog, () => DialogList, () => DialogMap] -); -export var OperationWithRequiredMembersOutput = struct( - n0, - _OWRMO, - 0, - [_rS, _rB, _rL, _rT, _rBe, _rBeq, _rSe, _rI, _rLe, _rF, _rD, _rM], - [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0] -); -export var OperationWithRequiredMembersWithDefaultsOutput = struct( - n0, - _OWRMWDO, - 0, - [_rS, _rB, _rL, _rT, _rBe, _rBeq, _rSe, _rI, _rLe, _rF, _rD, _rM, _rE, _rIE], - [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1] -); -export var PutWithContentEncodingInput = struct( - n0, - _PWCEI, - 0, - [_en, _da], - [ - [ - 0, - { - [_hH]: _CE_, - }, - ], - 0, - ] -); -export var TopLevel = struct(n0, _TL, 0, [_di, _dLi, _dMi], [() => Dialog, () => DialogList, () => DialogMap]); -export var GreetingStruct = struct(n1, _GS, 0, [_h], [0]); -export var Unit = "unit" as const; - -export var DialogList = list(n0, _DL, 0, () => Dialog); -export var RequiredStringList = 64 | 0; - -export var TestStringList = 64 | 0; - -export var StringList = 64 | 0; - -export var DialogMap = map(n0, _DM, 0, 0, () => Dialog); -export var RequiredStringMap = 128 | 0; - -export var TestStringMap = 128 | 0; - -export var StringMap = 128 | 0; - -export var MyUnion = uni( - n0, - _MU, - 0, - [_sV, _bV, _nV, _bVl, _tV, _eV, _iEV, _lV, _mV, _sVt], - [0, 2, 1, 21, 4, 0, 1, 64 | 0, 128 | 0, () => GreetingStruct] -); -export var EndpointWithHostLabelOperation = op( - n0, - _EWHLO, - { - [_end]: ["foo.{label}."], - }, - () => EndpointWithHostLabelOperationInput, - () => Unit -); -export var GreetingWithErrors = op( - n0, - _GWE, - 2, - () => GreetingWithErrorsInput, - () => GreetingWithErrorsOutput -); -export var JsonUnions = op( - n0, - _JU, - 2, - () => JsonUnionsInput, - () => JsonUnionsOutput -); -export var OperationWithDefaults = op( - n0, - _OWD, - 0, - () => OperationWithDefaultsInput, - () => OperationWithDefaultsOutput -); -export var OperationWithNestedStructure = op( - n0, - _OWNS, - 0, - () => OperationWithNestedStructureInput, - () => OperationWithNestedStructureOutput -); -export var OperationWithRequiredMembers = op( - n0, - _OWRM, - 0, - () => Unit, - () => OperationWithRequiredMembersOutput -); -export var OperationWithRequiredMembersWithDefaults = op( - n0, - _OWRMWD, - 0, - () => Unit, - () => OperationWithRequiredMembersWithDefaultsOutput -); -export var PutWithContentEncoding = op( - n0, - _PWCE, - 0, - () => PutWithContentEncodingInput, - () => Unit -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_2_OperationWith.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_2_OperationWith.ts deleted file mode 100644 index 95e4152b3d99..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_2_OperationWith.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _dV, _fV, _SSP, _SSPI, _SSPO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var SimpleScalarPropertiesInput = struct(n0, _SSPI, 0, [_fV, _dV], [1, 1]); -export var SimpleScalarPropertiesOutput = struct(n0, _SSPO, 0, [_fV, _dV], [1, 1]); -export var SimpleScalarProperties = op( - n0, - _SSP, - 0, - () => SimpleScalarPropertiesInput, - () => SimpleScalarPropertiesOutput -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_3_OperationWith.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_3_OperationWith.ts deleted file mode 100644 index f69911cd8f37..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_3_OperationWith.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CTP, _CTPI, _CTPO, _v, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var ContentTypeParametersInput = struct(n0, _CTPI, 0, [_v], [1]); -export var ContentTypeParametersOutput = struct(n0, _CTPO, 0, [], []); -export var ContentTypeParameters = op( - n0, - _CTP, - 0, - () => ContentTypeParametersInput, - () => ContentTypeParametersOutput -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_4_EmptyInputAndEmptyOutput.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_4_EmptyInputAndEmptyOutput.ts deleted file mode 100644 index 1c9adc964cea..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_4_EmptyInputAndEmptyOutput.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _EIAEO, _EIAEOI, _EIAEOO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EmptyInputAndEmptyOutputInput = struct(n0, _EIAEOI, 0, [], []); -export var EmptyInputAndEmptyOutputOutput = struct(n0, _EIAEOO, 0, [], []); -export var EmptyInputAndEmptyOutput = op( - n0, - _EIAEO, - 0, - () => EmptyInputAndEmptyOutputInput, - () => EmptyInputAndEmptyOutputOutput -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_5_NoInputAndNoOutput.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_5_NoInputAndNoOutput.ts deleted file mode 100644 index a9845213145f..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_5_NoInputAndNoOutput.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _NIANO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_With"; - -/* eslint no-var: 0 */ - -export var NoInputAndNoOutput = op( - n0, - _NIANO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_6_HostWithPathOperation.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_6_HostWithPathOperation.ts deleted file mode 100644 index 6a38288f50e4..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_6_HostWithPathOperation.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _HWPO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_With"; - -/* eslint no-var: 0 */ - -export var HostWithPathOperation = op( - n0, - _HWPO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_7_QueryIncompatibleOperation.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_7_QueryIncompatibleOperation.ts deleted file mode 100644 index 224eed29f68a..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_7_QueryIncompatibleOperation.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _QIO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_With"; - -/* eslint no-var: 0 */ - -export var QueryIncompatibleOperation = op( - n0, - _QIO, - 2, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_8_NoInputAndOutput.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_8_NoInputAndOutput.ts deleted file mode 100644 index 61d7da4896a5..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_8_NoInputAndOutput.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _NIAO, _NIAOO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_With"; - -/* eslint no-var: 0 */ - -export var NoInputAndOutputOutput = struct(n0, _NIAOO, 0, [], []); -export var NoInputAndOutput = op( - n0, - _NIAO, - 0, - () => Unit, - () => NoInputAndOutputOutput -); diff --git a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_9_EndpointOperation.ts b/private/aws-protocoltests-json-10-schema/src/schemas/schemas_9_EndpointOperation.ts deleted file mode 100644 index 07684eddb23c..000000000000 --- a/private/aws-protocoltests-json-10-schema/src/schemas/schemas_9_EndpointOperation.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _end, _EO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_With"; - -/* eslint no-var: 0 */ - -export var EndpointOperation = op( - n0, - _EO, - { - [_end]: ["foo."], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-json-schema-machinelearning/src/commands/PredictCommand.ts b/private/aws-protocoltests-json-schema-machinelearning/src/commands/PredictCommand.ts index e4dcb9facc6b..21ae8f0d57fb 100644 --- a/private/aws-protocoltests-json-schema-machinelearning/src/commands/PredictCommand.ts +++ b/private/aws-protocoltests-json-schema-machinelearning/src/commands/PredictCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient"; import { PredictInput, PredictOutput } from "../models/models_0"; -import { Predict } from "../schemas/schemas_1_Predict"; +import { Predict } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts b/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts index 970b3bd00097..79bc4e6a550e 100644 --- a/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_0.ts @@ -24,11 +24,97 @@ export const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.machinelearning"; export const n0 = "com.amazonaws.machinelearning"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { StaticErrorSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; +import { + InternalServerException as __InternalServerException, + InvalidInputException as __InvalidInputException, + LimitExceededException as __LimitExceededException, + PredictorNotMountedException as __PredictorNotMountedException, + ResourceNotFoundException as __ResourceNotFoundException, +} from "../models/index"; import { MachineLearningServiceException as __MachineLearningServiceException } from "../models/MachineLearningServiceException"; /* eslint no-var: 0 */ -export var MachineLearningServiceException = error(_sm, "MachineLearningServiceException", 0, [], [], null); +export var InternalServerException: StaticErrorSchema = [ + -3, + n0, + _ISE, + { + [_e]: _s, + [_hE]: 500, + }, + [_m, _c], + [0, 1], +]; +TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException); + +export var InvalidInputException: StaticErrorSchema = [ + -3, + n0, + _IIE, + { + [_e]: _cl, + [_hE]: 400, + }, + [_m, _c], + [0, 1], +]; +TypeRegistry.for(n0).registerError(InvalidInputException, __InvalidInputException); + +export var LimitExceededException: StaticErrorSchema = [ + -3, + n0, + _LEE, + { + [_e]: _cl, + [_hE]: 417, + }, + [_m, _c], + [0, 1], +]; +TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException); + +export var PredictInput: StaticStructureSchema = [3, n0, _PI, 0, [_MLMI, _R, _PE], [0, 128 | 0, 0]]; +export var Prediction: StaticStructureSchema = [3, n0, _P, 0, [_pL, _pV, _pS, _d], [0, 1, 128 | 1, 128 | 0]]; +export var PredictorNotMountedException: StaticErrorSchema = [ + -3, + n0, + _PNME, + { + [_e]: _cl, + [_hE]: 400, + }, + [_m], + [0], +]; +TypeRegistry.for(n0).registerError(PredictorNotMountedException, __PredictorNotMountedException); + +export var PredictOutput: StaticStructureSchema = [3, n0, _PO, 0, [_P], [() => Prediction]]; +export var ResourceNotFoundException: StaticErrorSchema = [ + -3, + n0, + _RNFE, + { + [_e]: _cl, + [_hE]: 404, + }, + [_m, _c], + [0, 1], +]; +TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException); + +export var Unit = "unit" as const; + +export var MachineLearningServiceException: StaticErrorSchema = [-3, _sm, "MachineLearningServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(MachineLearningServiceException, __MachineLearningServiceException); + +export var DetailsMap = 128 | 0; + +export var _Record = 128 | 0; + +export var ScoreValuePerLabelMap = 128 | 1; + +export var Predict: StaticOperationSchema = [9, n0, _Pr, 0, () => PredictInput, () => PredictOutput]; diff --git a/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_1_Predict.ts b/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_1_Predict.ts deleted file mode 100644 index c835692a21e7..000000000000 --- a/private/aws-protocoltests-json-schema-machinelearning/src/schemas/schemas_1_Predict.ts +++ /dev/null @@ -1,121 +0,0 @@ -// smithy-typescript generated code -import { error, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { - InternalServerException as __InternalServerException, - InvalidInputException as __InvalidInputException, - LimitExceededException as __LimitExceededException, - PredictorNotMountedException as __PredictorNotMountedException, - ResourceNotFoundException as __ResourceNotFoundException, -} from "../models/index"; -import { - _c, - _cl, - _d, - _e, - _hE, - _IIE, - _ISE, - _LEE, - _m, - _MLMI, - _P, - _PE, - _PI, - _pL, - _PNME, - _PO, - _Pr, - _pS, - _pV, - _R, - _RNFE, - _s, - n0, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var InternalServerException = error( - n0, - _ISE, - { - [_e]: _s, - [_hE]: 500, - }, - [_m, _c], - [0, 1], - null -); -TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException); - -export var InvalidInputException = error( - n0, - _IIE, - { - [_e]: _cl, - [_hE]: 400, - }, - [_m, _c], - [0, 1], - null -); -TypeRegistry.for(n0).registerError(InvalidInputException, __InvalidInputException); - -export var LimitExceededException = error( - n0, - _LEE, - { - [_e]: _cl, - [_hE]: 417, - }, - [_m, _c], - [0, 1], - null -); -TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException); - -export var PredictInput = struct(n0, _PI, 0, [_MLMI, _R, _PE], [0, 128 | 0, 0]); -export var Prediction = struct(n0, _P, 0, [_pL, _pV, _pS, _d], [0, 1, 128 | 1, 128 | 0]); -export var PredictorNotMountedException = error( - n0, - _PNME, - { - [_e]: _cl, - [_hE]: 400, - }, - [_m], - [0], - null -); -TypeRegistry.for(n0).registerError(PredictorNotMountedException, __PredictorNotMountedException); - -export var PredictOutput = struct(n0, _PO, 0, [_P], [() => Prediction]); -export var ResourceNotFoundException = error( - n0, - _RNFE, - { - [_e]: _cl, - [_hE]: 404, - }, - [_m, _c], - [0, 1], - null -); -TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException); - -export var Unit = "unit" as const; - -export var DetailsMap = 128 | 0; - -export var _Record = 128 | 0; - -export var ScoreValuePerLabelMap = 128 | 1; - -export var Predict = op( - n0, - _Pr, - 0, - () => PredictInput, - () => PredictOutput -); diff --git a/private/aws-protocoltests-json-schema/src/commands/ContentTypeParametersCommand.ts b/private/aws-protocoltests-json-schema/src/commands/ContentTypeParametersCommand.ts index 5eb6f103625f..6276293bfc3a 100644 --- a/private/aws-protocoltests-json-schema/src/commands/ContentTypeParametersCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/ContentTypeParametersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { ContentTypeParametersInput, ContentTypeParametersOutput } from "../models/models_0"; -import { ContentTypeParameters } from "../schemas/schemas_3_"; +import { ContentTypeParameters } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/DatetimeOffsetsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/DatetimeOffsetsCommand.ts index 20e9968c967c..8d8221783d98 100644 --- a/private/aws-protocoltests-json-schema/src/commands/DatetimeOffsetsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/DatetimeOffsetsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { DatetimeOffsetsOutput } from "../models/models_0"; -import { DatetimeOffsets } from "../schemas/schemas_5_"; +import { DatetimeOffsets } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/EmptyOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/EmptyOperationCommand.ts index 3fcd7518a5c6..b07ead92ffe7 100644 --- a/private/aws-protocoltests-json-schema/src/commands/EmptyOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/EmptyOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; -import { EmptyOperation } from "../schemas/schemas_8_EmptyOperation"; +import { EmptyOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/EndpointOperationCommand.ts index c35aacfe8317..88ac21944171 100644 --- a/private/aws-protocoltests-json-schema/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/EndpointOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; -import { EndpointOperation } from "../schemas/schemas_6_EndpointOperation"; +import { EndpointOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/EndpointWithHostLabelOperationCommand.ts index 8cdcfc5830ea..163ce150debd 100644 --- a/private/aws-protocoltests-json-schema/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { HostLabelInput } from "../models/models_0"; -import { EndpointWithHostLabelOperation } from "../schemas/schemas_1_Operation"; +import { EndpointWithHostLabelOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/FractionalSecondsCommand.ts index 5455b0226e1e..69cb4ac7201a 100644 --- a/private/aws-protocoltests-json-schema/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/FractionalSecondsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { FractionalSecondsOutput } from "../models/models_0"; -import { FractionalSeconds } from "../schemas/schemas_5_"; +import { FractionalSeconds } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/GreetingWithErrorsCommand.ts index 64a7a246f2cf..34e461476788 100644 --- a/private/aws-protocoltests-json-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { GreetingWithErrorsOutput } from "../models/models_0"; -import { GreetingWithErrors } from "../schemas/schemas_1_Operation"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/HostWithPathOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/HostWithPathOperationCommand.ts index 4d2de868dae5..811519bd0383 100644 --- a/private/aws-protocoltests-json-schema/src/commands/HostWithPathOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/HostWithPathOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; -import { HostWithPathOperation } from "../schemas/schemas_4_HostWithPathOperation"; +import { HostWithPathOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/JsonEnumsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/JsonEnumsCommand.ts index cd63b7652efd..a683040e0587 100644 --- a/private/aws-protocoltests-json-schema/src/commands/JsonEnumsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/JsonEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { JsonEnumsInputOutput } from "../models/models_0"; -import { JsonEnums } from "../schemas/schemas_1_Operation"; +import { JsonEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/JsonIntEnumsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/JsonIntEnumsCommand.ts index 23fa0d303ecb..720605512526 100644 --- a/private/aws-protocoltests-json-schema/src/commands/JsonIntEnumsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/JsonIntEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { JsonIntEnumsInputOutput } from "../models/models_0"; -import { JsonIntEnums } from "../schemas/schemas_1_Operation"; +import { JsonIntEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/JsonUnionsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/JsonUnionsCommand.ts index 851a7ebc9d77..e29d24aebd9d 100644 --- a/private/aws-protocoltests-json-schema/src/commands/JsonUnionsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/JsonUnionsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { UnionInputOutput } from "../models/models_0"; -import { JsonUnions } from "../schemas/schemas_1_Operation"; +import { JsonUnions } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/KitchenSinkOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/KitchenSinkOperationCommand.ts index fb68f0646b59..6b728c00b0af 100644 --- a/private/aws-protocoltests-json-schema/src/commands/KitchenSinkOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/KitchenSinkOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { KitchenSink } from "../models/models_0"; -import { KitchenSinkOperation } from "../schemas/schemas_1_Operation"; +import { KitchenSinkOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/NullOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/NullOperationCommand.ts index 56dd906ed15a..c6421d8d5d75 100644 --- a/private/aws-protocoltests-json-schema/src/commands/NullOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/NullOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { NullOperationInputOutput } from "../models/models_0"; -import { NullOperation } from "../schemas/schemas_1_Operation"; +import { NullOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/OperationWithOptionalInputOutputCommand.ts b/private/aws-protocoltests-json-schema/src/commands/OperationWithOptionalInputOutputCommand.ts index a1f6012b7abc..2bea8deda5d1 100644 --- a/private/aws-protocoltests-json-schema/src/commands/OperationWithOptionalInputOutputCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/OperationWithOptionalInputOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { OperationWithOptionalInputOutputInput, OperationWithOptionalInputOutputOutput } from "../models/models_0"; -import { OperationWithOptionalInputOutput } from "../schemas/schemas_1_Operation"; +import { OperationWithOptionalInputOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/PutAndGetInlineDocumentsCommand.ts b/private/aws-protocoltests-json-schema/src/commands/PutAndGetInlineDocumentsCommand.ts index 4a2d77fe1374..7fc9234a8f54 100644 --- a/private/aws-protocoltests-json-schema/src/commands/PutAndGetInlineDocumentsCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/PutAndGetInlineDocumentsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { PutAndGetInlineDocumentsInputOutput } from "../models/models_0"; -import { PutAndGetInlineDocuments } from "../schemas/schemas_7_PutAndGetInlineDocuments"; +import { PutAndGetInlineDocuments } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-json-schema/src/commands/PutWithContentEncodingCommand.ts index 6735e653396f..4e8833b5e305 100644 --- a/private/aws-protocoltests-json-schema/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/PutWithContentEncodingCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { PutWithContentEncodingInput } from "../models/models_0"; -import { PutWithContentEncoding } from "../schemas/schemas_1_Operation"; +import { PutWithContentEncoding } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-json-schema/src/commands/SimpleScalarPropertiesCommand.ts index ed4d8d627445..6c994a79ead5 100644 --- a/private/aws-protocoltests-json-schema/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/SimpleScalarPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { SimpleScalarPropertiesInputOutput } from "../models/models_0"; -import { SimpleScalarProperties } from "../schemas/schemas_2_"; +import { SimpleScalarProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/commands/SparseNullsOperationCommand.ts b/private/aws-protocoltests-json-schema/src/commands/SparseNullsOperationCommand.ts index c8a086762f6e..7850cefd92e0 100644 --- a/private/aws-protocoltests-json-schema/src/commands/SparseNullsOperationCommand.ts +++ b/private/aws-protocoltests-json-schema/src/commands/SparseNullsOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JsonProtocolClient"; import { SparseNullsOperationInputOutput } from "../models/models_0"; -import { SparseNullsOperation } from "../schemas/schemas_1_Operation"; +import { SparseNullsOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_0.ts index 1d3b92d6cee4..4a40d674fc8c 100644 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-json-schema/src/schemas/schemas_0.ts @@ -137,11 +137,410 @@ export const n0 = "aws.protocoltests.json"; export const n1 = "aws.protocoltests.shared"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticSimpleSchema, + StaticStructureSchema, +} from "@smithy/types"; +import { + ComplexError as __ComplexError, + ErrorWithMembers as __ErrorWithMembers, + ErrorWithoutMembers as __ErrorWithoutMembers, + FooError as __FooError, + InvalidGreeting as __InvalidGreeting, +} from "../models/index"; import { JsonProtocolServiceException as __JsonProtocolServiceException } from "../models/JsonProtocolServiceException"; /* eslint no-var: 0 */ -export var JsonProtocolServiceException = error(_sm, "JsonProtocolServiceException", 0, [], [], null); +export var JsonValue: StaticSimpleSchema = [ + 0, + n0, + _JV, + { + [_mT]: _a, + }, + + 0, +]; +export var ComplexError: StaticErrorSchema = [ + -3, + n0, + _CE, + { + [_e]: _c, + }, + [_TL, _N], + [0, [() => ComplexNestedErrorData, 0]], +]; +TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [ + 3, + n0, + _CNED, + 0, + [_F], + [ + [ + 0, + { + [_jN]: _Fo, + }, + ], + ], +]; +export var ContentTypeParametersInput: StaticStructureSchema = [3, n0, _CTPI, 0, [_v], [1]]; +export var ContentTypeParametersOutput: StaticStructureSchema = [3, n0, _CTPO, 0, [], []]; +export var DatetimeOffsetsOutput: StaticStructureSchema = [3, n0, _DOO, 0, [_d], [5]]; +export var EmptyStruct: StaticStructureSchema = [3, n0, _ES, 0, [], []]; +export var ErrorWithMembers: StaticErrorSchema = [ + -3, + n0, + _EWM, + { + [_e]: _c, + }, + [_C, _CD, _IF, _LF, _MF, _M, _SF], + [0, [() => KitchenSink, 0], 1, 64 | 0, 128 | 0, 0, 0], +]; +TypeRegistry.for(n0).registerError(ErrorWithMembers, __ErrorWithMembers); + +export var ErrorWithoutMembers: StaticErrorSchema = [ + -3, + n0, + _EWMr, + { + [_e]: _s, + }, + [], + [], +]; +TypeRegistry.for(n0).registerError(ErrorWithoutMembers, __ErrorWithoutMembers); + +export var FooError: StaticErrorSchema = [ + -3, + n0, + _FE, + { + [_e]: _s, + }, + [], + [], +]; +TypeRegistry.for(n0).registerError(FooError, __FooError); + +export var FractionalSecondsOutput: StaticStructureSchema = [3, n0, _FSO, 0, [_d], [5]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [3, n0, _GWEO, 0, [_g], [0]]; +export var HostLabelInput: StaticStructureSchema = [ + 3, + n0, + _HLI, + 0, + [_l], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ], +]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n0, + _IG, + { + [_e]: _c, + }, + [_M], + [0], +]; +TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); + +export var JsonEnumsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JEIO, + 0, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0], +]; +export var JsonIntEnumsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JIEIO, + 0, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1], +]; +export var KitchenSink: StaticStructureSchema = [ + 3, + n0, + _KS, + 0, + [ + _B, + _Bo, + _D, + _ES, + _Fl, + _HT, + _I, + _IT, + _JV, + _LOL, + _LOMOS, + _LOS, + _LOSi, + _L, + _MOLOS, + _MOM, + _MOS, + _MOSa, + _RL, + _RM, + _RS, + _SS, + _S, + _SWJN, + _T, + _UT, + ], + [ + 21, + 2, + 1, + () => EmptyStruct, + 1, + 6, + 1, + 5, + [() => JsonValue, 0], + [1, n0, _LOLOS, 0, 64 | 0] as StaticListSchema, + [1, n0, _LOMOS, 0, 128 | 0] as StaticListSchema, + 64 | 0, + () => ListOfStructs, + 1, + [2, n0, _MOLOS, 0, 64 | 0] as StaticMapSchema, + [2, n0, _MOMOS, 0, 0, 128 | 0] as StaticMapSchema, + 128 | 0, + () => MapOfStructs, + [() => ListOfKitchenSinks, 0], + [() => MapOfKitchenSinks, 0], + [() => KitchenSink, 0], + () => SimpleStruct, + 0, + [() => StructWithJsonName, 0], + 4, + 7, + ], +]; +export var NullOperationInputOutput: StaticStructureSchema = [3, n0, _NOIO, 0, [_st], [0]]; +export var OperationWithOptionalInputOutputInput: StaticStructureSchema = [3, n0, _OWOIOI, 0, [_V], [0]]; +export var OperationWithOptionalInputOutputOutput: StaticStructureSchema = [3, n0, _OWOIOO, 0, [_V], [0]]; +export var PutAndGetInlineDocumentsInputOutput: StaticStructureSchema = [3, n0, _PAGIDIO, 0, [_iD], [15]]; +export var PutWithContentEncodingInput: StaticStructureSchema = [ + 3, + n0, + _PWCEI, + 0, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ], +]; +export var SimpleScalarPropertiesInputOutput: StaticStructureSchema = [3, n0, _SSPIO, 0, [_fV, _dV], [1, 1]]; +export var SimpleStruct: StaticStructureSchema = [3, n0, _SS, 0, [_V], [0]]; +export var SparseNullsOperationInputOutput: StaticStructureSchema = [ + 3, + n0, + _SNOIO, + 0, + [_sSL, _sSM], + [ + [() => SparseStringList, 0], + [() => SparseStringMap, 0], + ], +]; +export var StructWithJsonName: StaticStructureSchema = [ + 3, + n0, + _SWJN, + 0, + [_V], + [ + [ + 0, + { + [_jN]: _RMe, + }, + ], + ], +]; +export var UnionInputOutput: StaticStructureSchema = [3, n0, _UIO, 0, [_co], [() => MyUnion]]; +export var GreetingStruct: StaticStructureSchema = [3, n1, _GS, 0, [_h], [0]]; +export var Unit = "unit" as const; + +export var JsonProtocolServiceException: StaticErrorSchema = [-3, _sm, "JsonProtocolServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(JsonProtocolServiceException, __JsonProtocolServiceException); + +export var ListOfKitchenSinks: StaticListSchema = [1, n0, _LOKS, 0, [() => KitchenSink, 0]]; +export var ListOfListOfStrings: StaticListSchema = [1, n0, _LOLOS, 0, 64 | 0]; +export var ListOfMapsOfStrings: StaticListSchema = [1, n0, _LOMOS, 0, 128 | 0]; +export var ListOfStrings = 64 | 0; + +export var ListOfStructs: StaticListSchema = [1, n0, _LOSi, 0, () => SimpleStruct]; +export var FooEnumList = 64 | 0; + +export var FooEnumSet = 64 | 0; + +export var IntegerEnumList = 64 | 1; + +export var IntegerEnumSet = 64 | 1; + +export var SparseStringList: StaticListSchema = [ + 1, + n1, + _SSL, + { + [_sp]: 1, + }, + 0, +]; +export var StringList = 64 | 0; + +export var MapOfKitchenSinks: StaticMapSchema = [2, n0, _MOKS, 0, [0, 0], [() => KitchenSink, 0]]; +export var MapOfListsOfStrings: StaticMapSchema = [2, n0, _MOLOS, 0, 0, 64 | 0]; +export var MapOfMapOfStrings: StaticMapSchema = [2, n0, _MOMOS, 0, 0, 128 | 0]; +export var MapOfStrings = 128 | 0; + +export var MapOfStructs: StaticMapSchema = [2, n0, _MOSa, 0, 0, () => SimpleStruct]; +export var FooEnumMap = 128 | 0; + +export var IntegerEnumMap = 128 | 1; + +export var SparseStringMap: StaticMapSchema = [ + 2, + n1, + _SSM, + { + [_sp]: 1, + }, + 0, + 0, +]; +export var StringMap = 128 | 0; + +export var MyUnion: StaticStructureSchema = [ + 3, + n0, + _MU, + 0, + [_sV, _bV, _nV, _bVl, _tV, _eV, _lV, _mV, _sVt], + [0, 2, 1, 21, 4, 0, 64 | 0, 128 | 0, () => GreetingStruct], +]; +export var ContentTypeParameters: StaticOperationSchema = [ + 9, + n0, + _CTP, + 0, + () => ContentTypeParametersInput, + () => ContentTypeParametersOutput, +]; +export var DatetimeOffsets: StaticOperationSchema = [9, n0, _DO, 0, () => Unit, () => DatetimeOffsetsOutput]; +export var EmptyOperation: StaticOperationSchema = [9, n0, _EO, 0, () => Unit, () => Unit]; +export var EndpointOperation: StaticOperationSchema = [ + 9, + n0, + _EOn, + { + [_end]: ["foo."], + }, + () => Unit, + () => Unit, +]; +export var EndpointWithHostLabelOperation: StaticOperationSchema = [ + 9, + n0, + _EWHLO, + { + [_end]: ["foo.{label}."], + }, + () => HostLabelInput, + () => Unit, +]; +export var FractionalSeconds: StaticOperationSchema = [9, n0, _FS, 0, () => Unit, () => FractionalSecondsOutput]; +export var GreetingWithErrors: StaticOperationSchema = [9, n0, _GWE, 2, () => Unit, () => GreetingWithErrorsOutput]; +export var HostWithPathOperation: StaticOperationSchema = [9, n0, _HWPO, 0, () => Unit, () => Unit]; +export var JsonEnums: StaticOperationSchema = [9, n0, _JE, 2, () => JsonEnumsInputOutput, () => JsonEnumsInputOutput]; +export var JsonIntEnums: StaticOperationSchema = [ + 9, + n0, + _JIE, + 2, + () => JsonIntEnumsInputOutput, + () => JsonIntEnumsInputOutput, +]; +export var JsonUnions: StaticOperationSchema = [9, n0, _JU, 2, () => UnionInputOutput, () => UnionInputOutput]; +export var KitchenSinkOperation: StaticOperationSchema = [9, n0, _KSO, 0, () => KitchenSink, () => KitchenSink]; +export var NullOperation: StaticOperationSchema = [ + 9, + n0, + _NO, + 0, + () => NullOperationInputOutput, + () => NullOperationInputOutput, +]; +export var OperationWithOptionalInputOutput: StaticOperationSchema = [ + 9, + n0, + _OWOIO, + 0, + () => OperationWithOptionalInputOutputInput, + () => OperationWithOptionalInputOutputOutput, +]; +export var PutAndGetInlineDocuments: StaticOperationSchema = [ + 9, + n0, + _PAGID, + 0, + () => PutAndGetInlineDocumentsInputOutput, + () => PutAndGetInlineDocumentsInputOutput, +]; +export var PutWithContentEncoding: StaticOperationSchema = [ + 9, + n0, + _PWCE, + 0, + () => PutWithContentEncodingInput, + () => Unit, +]; +export var SimpleScalarProperties: StaticOperationSchema = [ + 9, + n0, + _SSP, + 0, + () => SimpleScalarPropertiesInputOutput, + () => SimpleScalarPropertiesInputOutput, +]; +export var SparseNullsOperation: StaticOperationSchema = [ + 9, + n0, + _SNO, + 0, + () => SparseNullsOperationInputOutput, + () => SparseNullsOperationInputOutput, +]; diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_1_Operation.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_1_Operation.ts deleted file mode 100644 index dd94e60f2f18..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_1_Operation.ts +++ /dev/null @@ -1,471 +0,0 @@ -// smithy-typescript generated code -import { error, list, map, op, sim, struct, struct as uni, TypeRegistry } from "@smithy/core/schema"; - -import { - ComplexError as __ComplexError, - ErrorWithMembers as __ErrorWithMembers, - ErrorWithoutMembers as __ErrorWithoutMembers, - FooError as __FooError, - InvalidGreeting as __InvalidGreeting, -} from "../models/index"; -import { - _a, - _B, - _Bo, - _bV, - _bVl, - _C, - _c, - _CD, - _CE, - _CE_, - _CNED, - _co, - _D, - _da, - _e, - _en, - _end, - _ES, - _eV, - _EWHLO, - _EWM, - _EWMr, - _F, - _FE, - _fE, - _fEL, - _fEM, - _fEo, - _fEoo, - _fES, - _Fl, - _Fo, - _g, - _GS, - _GWE, - _GWEO, - _h, - _hH, - _hL, - _HLI, - _HT, - _I, - _iE, - _iEL, - _iEM, - _iEn, - _iEnt, - _iES, - _IF, - _IG, - _IT, - _JE, - _JEIO, - _JIE, - _JIEIO, - _jN, - _JU, - _JV, - _KS, - _KSO, - _L, - _l, - _LF, - _LOKS, - _LOL, - _LOLOS, - _LOMOS, - _LOS, - _LOSi, - _lV, - _M, - _MF, - _MOKS, - _MOLOS, - _MOM, - _MOMOS, - _MOS, - _MOSa, - _mT, - _MU, - _mV, - _N, - _NO, - _NOIO, - _nV, - _OWOIO, - _OWOIOI, - _OWOIOO, - _PWCE, - _PWCEI, - _RL, - _RM, - _RMe, - _RS, - _S, - _s, - _SF, - _SNO, - _SNOIO, - _sp, - _SS, - _SSL, - _sSL, - _SSM, - _sSM, - _st, - _sV, - _sVt, - _SWJN, - _T, - _TL, - _tV, - _UIO, - _UT, - _V, - n0, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var JsonValue = sim(n0, _JV, 0, { - [_mT]: _a, -}); -export var ComplexError = error( - n0, - _CE, - { - [_e]: _c, - }, - [_TL, _N], - [0, [() => ComplexNestedErrorData, 0]], - null -); -TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct( - n0, - _CNED, - 0, - [_F], - [ - [ - 0, - { - [_jN]: _Fo, - }, - ], - ] -); -export var EmptyStruct = struct(n0, _ES, 0, [], []); -export var ErrorWithMembers = error( - n0, - _EWM, - { - [_e]: _c, - }, - [_C, _CD, _IF, _LF, _MF, _M, _SF], - [0, [() => KitchenSink, 0], 1, 64 | 0, 128 | 0, 0, 0], - null -); -TypeRegistry.for(n0).registerError(ErrorWithMembers, __ErrorWithMembers); - -export var ErrorWithoutMembers = error( - n0, - _EWMr, - { - [_e]: _s, - }, - [], - [], - null -); -TypeRegistry.for(n0).registerError(ErrorWithoutMembers, __ErrorWithoutMembers); - -export var FooError = error( - n0, - _FE, - { - [_e]: _s, - }, - [], - [], - null -); -TypeRegistry.for(n0).registerError(FooError, __FooError); - -export var GreetingWithErrorsOutput = struct(n0, _GWEO, 0, [_g], [0]); -export var HostLabelInput = struct( - n0, - _HLI, - 0, - [_l], - [ - [ - 0, - { - [_hL]: 1, - }, - ], - ] -); -export var InvalidGreeting = error( - n0, - _IG, - { - [_e]: _c, - }, - [_M], - [0], - null -); -TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); - -export var JsonEnumsInputOutput = struct( - n0, - _JEIO, - 0, - [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], - [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] -); -export var JsonIntEnumsInputOutput = struct( - n0, - _JIEIO, - 0, - [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], - [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] -); -export var KitchenSink = struct( - n0, - _KS, - 0, - [ - _B, - _Bo, - _D, - _ES, - _Fl, - _HT, - _I, - _IT, - _JV, - _LOL, - _LOMOS, - _LOS, - _LOSi, - _L, - _MOLOS, - _MOM, - _MOS, - _MOSa, - _RL, - _RM, - _RS, - _SS, - _S, - _SWJN, - _T, - _UT, - ], - [ - 21, - 2, - 1, - () => EmptyStruct, - 1, - 6, - 1, - 5, - [() => JsonValue, 0], - list(n0, _LOLOS, 0, 64 | 0), - list(n0, _LOMOS, 0, 128 | 0), - 64 | 0, - () => ListOfStructs, - 1, - map(n0, _MOLOS, 0, 0, 64 | 0), - map(n0, _MOMOS, 0, 0, 128 | 0), - 128 | 0, - () => MapOfStructs, - [() => ListOfKitchenSinks, 0], - [() => MapOfKitchenSinks, 0], - [() => KitchenSink, 0], - () => SimpleStruct, - 0, - [() => StructWithJsonName, 0], - 4, - 7, - ] -); -export var NullOperationInputOutput = struct(n0, _NOIO, 0, [_st], [0]); -export var OperationWithOptionalInputOutputInput = struct(n0, _OWOIOI, 0, [_V], [0]); -export var OperationWithOptionalInputOutputOutput = struct(n0, _OWOIOO, 0, [_V], [0]); -export var PutWithContentEncodingInput = struct( - n0, - _PWCEI, - 0, - [_en, _da], - [ - [ - 0, - { - [_hH]: _CE_, - }, - ], - 0, - ] -); -export var SimpleStruct = struct(n0, _SS, 0, [_V], [0]); -export var SparseNullsOperationInputOutput = struct( - n0, - _SNOIO, - 0, - [_sSL, _sSM], - [ - [() => SparseStringList, 0], - [() => SparseStringMap, 0], - ] -); -export var StructWithJsonName = struct( - n0, - _SWJN, - 0, - [_V], - [ - [ - 0, - { - [_jN]: _RMe, - }, - ], - ] -); -export var UnionInputOutput = struct(n0, _UIO, 0, [_co], [() => MyUnion]); -export var GreetingStruct = struct(n1, _GS, 0, [_h], [0]); -export var Unit = "unit" as const; - -export var ListOfKitchenSinks = list(n0, _LOKS, 0, [() => KitchenSink, 0]); -export var ListOfListOfStrings = list(n0, _LOLOS, 0, 64 | 0); -export var ListOfMapsOfStrings = list(n0, _LOMOS, 0, 128 | 0); -export var ListOfStrings = 64 | 0; - -export var ListOfStructs = list(n0, _LOSi, 0, () => SimpleStruct); -export var FooEnumList = 64 | 0; - -export var FooEnumSet = 64 | 0; - -export var IntegerEnumList = 64 | 1; - -export var IntegerEnumSet = 64 | 1; - -export var SparseStringList = list( - n1, - _SSL, - { - [_sp]: 1, - }, - 0 -); -export var StringList = 64 | 0; - -export var MapOfKitchenSinks = map(n0, _MOKS, 0, [0, 0], [() => KitchenSink, 0]); -export var MapOfListsOfStrings = map(n0, _MOLOS, 0, 0, 64 | 0); -export var MapOfMapOfStrings = map(n0, _MOMOS, 0, 0, 128 | 0); -export var MapOfStrings = 128 | 0; - -export var MapOfStructs = map(n0, _MOSa, 0, 0, () => SimpleStruct); -export var FooEnumMap = 128 | 0; - -export var IntegerEnumMap = 128 | 1; - -export var SparseStringMap = map( - n1, - _SSM, - { - [_sp]: 1, - }, - 0, - 0 -); -export var StringMap = 128 | 0; - -export var MyUnion = uni( - n0, - _MU, - 0, - [_sV, _bV, _nV, _bVl, _tV, _eV, _lV, _mV, _sVt], - [0, 2, 1, 21, 4, 0, 64 | 0, 128 | 0, () => GreetingStruct] -); -export var EndpointWithHostLabelOperation = op( - n0, - _EWHLO, - { - [_end]: ["foo.{label}."], - }, - () => HostLabelInput, - () => Unit -); -export var GreetingWithErrors = op( - n0, - _GWE, - 2, - () => Unit, - () => GreetingWithErrorsOutput -); -export var JsonEnums = op( - n0, - _JE, - 2, - () => JsonEnumsInputOutput, - () => JsonEnumsInputOutput -); -export var JsonIntEnums = op( - n0, - _JIE, - 2, - () => JsonIntEnumsInputOutput, - () => JsonIntEnumsInputOutput -); -export var JsonUnions = op( - n0, - _JU, - 2, - () => UnionInputOutput, - () => UnionInputOutput -); -export var KitchenSinkOperation = op( - n0, - _KSO, - 0, - () => KitchenSink, - () => KitchenSink -); -export var NullOperation = op( - n0, - _NO, - 0, - () => NullOperationInputOutput, - () => NullOperationInputOutput -); -export var OperationWithOptionalInputOutput = op( - n0, - _OWOIO, - 0, - () => OperationWithOptionalInputOutputInput, - () => OperationWithOptionalInputOutputOutput -); -export var PutWithContentEncoding = op( - n0, - _PWCE, - 0, - () => PutWithContentEncodingInput, - () => Unit -); -export var SparseNullsOperation = op( - n0, - _SNO, - 0, - () => SparseNullsOperationInputOutput, - () => SparseNullsOperationInputOutput -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_2_.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_2_.ts deleted file mode 100644 index a82400a86bfc..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_2_.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _dV, _fV, _SSP, _SSPIO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var SimpleScalarPropertiesInputOutput = struct(n0, _SSPIO, 0, [_fV, _dV], [1, 1]); -export var SimpleScalarProperties = op( - n0, - _SSP, - 0, - () => SimpleScalarPropertiesInputOutput, - () => SimpleScalarPropertiesInputOutput -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_3_.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_3_.ts deleted file mode 100644 index f69911cd8f37..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_3_.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CTP, _CTPI, _CTPO, _v, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var ContentTypeParametersInput = struct(n0, _CTPI, 0, [_v], [1]); -export var ContentTypeParametersOutput = struct(n0, _CTPO, 0, [], []); -export var ContentTypeParameters = op( - n0, - _CTP, - 0, - () => ContentTypeParametersInput, - () => ContentTypeParametersOutput -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_4_HostWithPathOperation.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_4_HostWithPathOperation.ts deleted file mode 100644 index e1d7a43254d2..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_4_HostWithPathOperation.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _HWPO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Operation"; - -/* eslint no-var: 0 */ - -export var HostWithPathOperation = op( - n0, - _HWPO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_5_.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_5_.ts deleted file mode 100644 index e41e55aa1eb1..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_5_.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _d, _DO, _DOO, _FS, _FSO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Operation"; - -/* eslint no-var: 0 */ - -export var DatetimeOffsetsOutput = struct(n0, _DOO, 0, [_d], [5]); -export var FractionalSecondsOutput = struct(n0, _FSO, 0, [_d], [5]); -export var DatetimeOffsets = op( - n0, - _DO, - 0, - () => Unit, - () => DatetimeOffsetsOutput -); -export var FractionalSeconds = op( - n0, - _FS, - 0, - () => Unit, - () => FractionalSecondsOutput -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_6_EndpointOperation.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_6_EndpointOperation.ts deleted file mode 100644 index 3800aa93677a..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_6_EndpointOperation.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _end, _EOn, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Operation"; - -/* eslint no-var: 0 */ - -export var EndpointOperation = op( - n0, - _EOn, - { - [_end]: ["foo."], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_7_PutAndGetInlineDocuments.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_7_PutAndGetInlineDocuments.ts deleted file mode 100644 index 2250b03235bd..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_7_PutAndGetInlineDocuments.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _iD, _PAGID, _PAGIDIO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var PutAndGetInlineDocumentsInputOutput = struct(n0, _PAGIDIO, 0, [_iD], [15]); -export var PutAndGetInlineDocuments = op( - n0, - _PAGID, - 0, - () => PutAndGetInlineDocumentsInputOutput, - () => PutAndGetInlineDocumentsInputOutput -); diff --git a/private/aws-protocoltests-json-schema/src/schemas/schemas_8_EmptyOperation.ts b/private/aws-protocoltests-json-schema/src/schemas/schemas_8_EmptyOperation.ts deleted file mode 100644 index d03d6a3cd4c6..000000000000 --- a/private/aws-protocoltests-json-schema/src/schemas/schemas_8_EmptyOperation.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _EO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Operation"; - -/* eslint no-var: 0 */ - -export var EmptyOperation = op( - n0, - _EO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/commands/DatetimeOffsetsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/DatetimeOffsetsCommand.ts index aff97fd4d0b6..c327858b9b2f 100644 --- a/private/aws-protocoltests-query-schema/src/commands/DatetimeOffsetsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/DatetimeOffsetsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DatetimeOffsetsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { DatetimeOffsets } from "../schemas/schemas_12_"; +import { DatetimeOffsets } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts b/private/aws-protocoltests-query-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts index 2f893409b039..01b94ea76430 100644 --- a/private/aws-protocoltests-query-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { EmptyInputAndEmptyOutput } from "../schemas/schemas_8_EmptyInputAndEmptyOutput"; +import { EmptyInputAndEmptyOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-query-schema/src/commands/EndpointOperationCommand.ts index 667c1c7b79a9..ebf27c60ad65 100644 --- a/private/aws-protocoltests-query-schema/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/EndpointOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { EndpointOperation } from "../schemas/schemas_21_EndpointOperation"; +import { EndpointOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-query-schema/src/commands/EndpointWithHostLabelOperationCommand.ts index 2f9c9586f55d..480a03097f05 100644 --- a/private/aws-protocoltests-query-schema/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HostLabelInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { EndpointWithHostLabelOperation } from "../schemas/schemas_13_EndpointWithHostLabelOperation"; +import { EndpointWithHostLabelOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapCommand.ts b/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapCommand.ts index e9dd05ce49b6..1388a0477c08 100644 --- a/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FlattenedXmlMapOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { FlattenedXmlMap } from "../schemas/schemas_1_Xml"; +import { FlattenedXmlMap } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts b/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts index 3055fcb3c79c..2db43003a566 100644 --- a/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FlattenedXmlMapWithXmlNameOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { FlattenedXmlMapWithXmlName } from "../schemas/schemas_15_FlattenedXmlMapWithXmlName"; +import { FlattenedXmlMapWithXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index 7402ae4c3086..82708b76bd0b 100644 --- a/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FlattenedXmlMapWithXmlNamespaceOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { FlattenedXmlMapWithXmlNamespace } from "../schemas/schemas_10_FlattenedXmlMapWithXmlNamespace"; +import { FlattenedXmlMapWithXmlNamespace } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/FractionalSecondsCommand.ts index 23ffcf00f33f..c7d8e4710f16 100644 --- a/private/aws-protocoltests-query-schema/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/FractionalSecondsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FractionalSecondsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { FractionalSeconds } from "../schemas/schemas_12_"; +import { FractionalSeconds } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/GreetingWithErrorsCommand.ts index 36393f00ecc1..feb15b46b528 100644 --- a/private/aws-protocoltests-query-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingWithErrorsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { GreetingWithErrors } from "../schemas/schemas_14_GreetingWithErrors"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/HostWithPathOperationCommand.ts b/private/aws-protocoltests-query-schema/src/commands/HostWithPathOperationCommand.ts index 2ee9d6e4ceff..3dc89227a205 100644 --- a/private/aws-protocoltests-query-schema/src/commands/HostWithPathOperationCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/HostWithPathOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { HostWithPathOperation } from "../schemas/schemas_20_HostWithPathOperation"; +import { HostWithPathOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/IgnoresWrappingXmlNameCommand.ts b/private/aws-protocoltests-query-schema/src/commands/IgnoresWrappingXmlNameCommand.ts index 1262288b570a..8dcdef90ab98 100644 --- a/private/aws-protocoltests-query-schema/src/commands/IgnoresWrappingXmlNameCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/IgnoresWrappingXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { IgnoresWrappingXmlNameOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { IgnoresWrappingXmlName } from "../schemas/schemas_19_IgnoresWrappingXmlName"; +import { IgnoresWrappingXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/NestedStructuresCommand.ts b/private/aws-protocoltests-query-schema/src/commands/NestedStructuresCommand.ts index 49a9df10b0e8..1987e3adf209 100644 --- a/private/aws-protocoltests-query-schema/src/commands/NestedStructuresCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/NestedStructuresCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NestedStructuresInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { NestedStructures } from "../schemas/schemas_3_Xml"; +import { NestedStructures } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/NoInputAndNoOutputCommand.ts b/private/aws-protocoltests-query-schema/src/commands/NoInputAndNoOutputCommand.ts index 25e488e63d11..02053aee4c4d 100644 --- a/private/aws-protocoltests-query-schema/src/commands/NoInputAndNoOutputCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/NoInputAndNoOutputCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { NoInputAndNoOutput } from "../schemas/schemas_18_NoInputAndNoOutput"; +import { NoInputAndNoOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/NoInputAndOutputCommand.ts b/private/aws-protocoltests-query-schema/src/commands/NoInputAndOutputCommand.ts index fec2c3d2c637..332031c7831a 100644 --- a/private/aws-protocoltests-query-schema/src/commands/NoInputAndOutputCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/NoInputAndOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NoInputAndOutputInput, NoInputAndOutputOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { NoInputAndOutput } from "../schemas/schemas_9_NoInputAndOutput"; +import { NoInputAndOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-query-schema/src/commands/PutWithContentEncodingCommand.ts index 3d0a16d58323..6266c5055ff7 100644 --- a/private/aws-protocoltests-query-schema/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/PutWithContentEncodingCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutWithContentEncodingInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { PutWithContentEncoding } from "../schemas/schemas_16_PutWithContentEncoding"; +import { PutWithContentEncoding } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/private/aws-protocoltests-query-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index cf264ee70800..af1a0829d6f9 100644 --- a/private/aws-protocoltests-query-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryIdempotencyTokenAutoFillInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_11_QueryIdempotencyTokenAutoFill"; +import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/QueryListsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/QueryListsCommand.ts index ca909bee26d5..5f6debb91964 100644 --- a/private/aws-protocoltests-query-schema/src/commands/QueryListsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/QueryListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryListsInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { QueryLists } from "../schemas/schemas_6_Maps"; +import { QueryLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/QueryMapsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/QueryMapsCommand.ts index 5bbe8003b618..48c709c4fb6d 100644 --- a/private/aws-protocoltests-query-schema/src/commands/QueryMapsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/QueryMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryMapsInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { QueryMaps } from "../schemas/schemas_6_Maps"; +import { QueryMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/QueryTimestampsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/QueryTimestampsCommand.ts index 4902eeac5bf7..04188165ac23 100644 --- a/private/aws-protocoltests-query-schema/src/commands/QueryTimestampsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/QueryTimestampsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryTimestampsInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { QueryTimestamps } from "../schemas/schemas_2_Xml"; +import { QueryTimestamps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/RecursiveXmlShapesCommand.ts b/private/aws-protocoltests-query-schema/src/commands/RecursiveXmlShapesCommand.ts index 66482804c762..42d874e7cc0d 100644 --- a/private/aws-protocoltests-query-schema/src/commands/RecursiveXmlShapesCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/RecursiveXmlShapesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RecursiveXmlShapesOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { RecursiveXmlShapes } from "../schemas/schemas_4_RecursiveXmlShapes"; +import { RecursiveXmlShapes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/SimpleInputParamsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/SimpleInputParamsCommand.ts index 3135a9acf6cf..cf4cca221446 100644 --- a/private/aws-protocoltests-query-schema/src/commands/SimpleInputParamsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/SimpleInputParamsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleInputParamsInput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { SimpleInputParams } from "../schemas/schemas_1_Xml"; +import { SimpleInputParams } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts b/private/aws-protocoltests-query-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts index ab19514aca63..9b5d6dbe9a13 100644 --- a/private/aws-protocoltests-query-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/SimpleScalarXmlPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleScalarXmlPropertiesOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { SimpleScalarXmlProperties } from "../schemas/schemas_3_Xml"; +import { SimpleScalarXmlProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlBlobsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlBlobsCommand.ts index c5477433590a..1fa021c1ec5c 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlBlobsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlBlobsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlBlobs } from "../schemas/schemas_7_Blobs"; +import { XmlBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlEmptyBlobsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlEmptyBlobsCommand.ts index 86c6cb1a740a..c03e22fe0ecc 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlEmptyBlobsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlEmptyBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlBlobsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlEmptyBlobs } from "../schemas/schemas_7_Blobs"; +import { XmlEmptyBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlEmptyListsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlEmptyListsCommand.ts index 3980179ec4b8..5fdb43a568d5 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlEmptyListsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlEmptyListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlListsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlEmptyLists } from "../schemas/schemas_1_Xml"; +import { XmlEmptyLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlEmptyMapsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlEmptyMapsCommand.ts index 0bdff093dd9e..b130a0016a90 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlEmptyMapsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlEmptyMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlMapsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlEmptyMaps } from "../schemas/schemas_6_Maps"; +import { XmlEmptyMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlEnumsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlEnumsCommand.ts index e045fd9df8cc..bcf556006f3c 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlEnumsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEnumsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlEnums } from "../schemas/schemas_1_Xml"; +import { XmlEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlIntEnumsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlIntEnumsCommand.ts index 27f922dcb03a..f249527a6cfa 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlIntEnumsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlIntEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlIntEnumsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlIntEnums } from "../schemas/schemas_1_Xml"; +import { XmlIntEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlListsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlListsCommand.ts index 66568be582d1..c08166a2fe67 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlListsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlListsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlLists } from "../schemas/schemas_1_Xml"; +import { XmlLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlMapsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlMapsCommand.ts index 0af791df28cb..82dfebbe53f2 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlMapsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlMapsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlMaps } from "../schemas/schemas_6_Maps"; +import { XmlMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlMapsXmlNameCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlMapsXmlNameCommand.ts index 4b525f0c6bcf..2be01e0cc759 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlMapsXmlNameCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlMapsXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlMapsXmlNameOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlMapsXmlName } from "../schemas/schemas_6_Maps"; +import { XmlMapsXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlNamespacesCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlNamespacesCommand.ts index 1e12cf8feb58..1cd7f75c590d 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlNamespacesCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlNamespacesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlNamespacesOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlNamespaces } from "../schemas/schemas_17_XmlNamespaces"; +import { XmlNamespaces } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/commands/XmlTimestampsCommand.ts b/private/aws-protocoltests-query-schema/src/commands/XmlTimestampsCommand.ts index dfa936c0b50e..850c7f98cb2b 100644 --- a/private/aws-protocoltests-query-schema/src/commands/XmlTimestampsCommand.ts +++ b/private/aws-protocoltests-query-schema/src/commands/XmlTimestampsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlTimestampsOutput } from "../models/models_0"; import { QueryProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QueryProtocolClient"; -import { XmlTimestamps } from "../schemas/schemas_2_Xml"; +import { XmlTimestamps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_0.ts index 9bff1e267236..03903413421e 100644 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-query-schema/src/schemas/schemas_0.ts @@ -215,11 +215,705 @@ export const n0 = "aws.protocoltests.query"; export const n1 = "aws.protocoltests.shared"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +import { + ComplexError as __ComplexError, + CustomCodeError as __CustomCodeError, + InvalidGreeting as __InvalidGreeting, +} from "../models/index"; import { QueryProtocolServiceException as __QueryProtocolServiceException } from "../models/QueryProtocolServiceException"; /* eslint no-var: 0 */ -export var QueryProtocolServiceException = error(_s, "QueryProtocolServiceException", 0, [], [], null); +export var ComplexError: StaticErrorSchema = [ + -3, + n0, + _CE, + { + [_e]: _c, + }, + [_TL, _N], + [0, () => ComplexNestedErrorData], +]; +TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [3, n0, _CNED, 0, [_F], [0]]; +export var CustomCodeError: StaticErrorSchema = [ + -3, + n0, + _CCE, + { + [_e]: _c, + [_aQE]: [`Customized`, 402], + }, + [_M], + [0], +]; +TypeRegistry.for(n0).registerError(CustomCodeError, __CustomCodeError); + +export var DatetimeOffsetsOutput: StaticStructureSchema = [3, n0, _DOO, 0, [_d], [5]]; +export var EmptyInputAndEmptyOutputInput: StaticStructureSchema = [3, n0, _EIAEOI, 0, [], []]; +export var EmptyInputAndEmptyOutputOutput: StaticStructureSchema = [3, n0, _EIAEOO, 0, [], []]; +export var FlattenedXmlMapOutput: StaticStructureSchema = [ + 3, + n0, + _FXMO, + 0, + [_mM], + [ + [ + 128 | 0, + { + [_xF]: 1, + }, + ], + ], +]; +export var FlattenedXmlMapWithXmlNameOutput: StaticStructureSchema = [ + 3, + n0, + _FXMWXNO, + 0, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNameOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + }, + ], + ], +]; +export var FlattenedXmlMapWithXmlNamespaceOutput: StaticStructureSchema = [ + 3, + n0, + _FXMWXNOl, + 0, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNamespaceOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + [_xNm]: [_, _hm], + }, + ], + ], +]; +export var FractionalSecondsOutput: StaticStructureSchema = [3, n0, _FSO, 0, [_d], [5]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [3, n0, _GWEO, 0, [_g], [0]]; +export var HostLabelInput: StaticStructureSchema = [ + 3, + n0, + _HLI, + 0, + [_l], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ], +]; +export var IgnoresWrappingXmlNameOutput: StaticStructureSchema = [ + 3, + n0, + _IWXNO, + { + [_xN]: _IM, + }, + [_f], + [0], +]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n0, + _IG, + { + [_e]: _c, + }, + [_M], + [0], +]; +TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); + +export var NestedStructuresInput: StaticStructureSchema = [3, n0, _NSI, 0, [_N], [() => StructArg]]; +export var NestedStructWithList: StaticStructureSchema = [3, n0, _NSWL, 0, [_LA], [64 | 0]]; +export var NestedStructWithMap: StaticStructureSchema = [3, n0, _NSWM, 0, [_MA], [128 | 0]]; +export var NoInputAndOutputInput: StaticStructureSchema = [3, n0, _NIAOI, 0, [], []]; +export var NoInputAndOutputOutput: StaticStructureSchema = [3, n0, _NIAOO, 0, [], []]; +export var PutWithContentEncodingInput: StaticStructureSchema = [ + 3, + n0, + _PWCEI, + 0, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ], +]; +export var QueryIdempotencyTokenAutoFillInput: StaticStructureSchema = [3, n0, _QITAFI, 0, [_t], [[0, 4]]]; +export var QueryListsInput: StaticStructureSchema = [ + 3, + n0, + _QLI, + 0, + [_LA, _CLA, _FLA, _LAWXNM, _FLAWXN, _NWL], + [ + 64 | 0, + () => GreetingList, + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [() => ListWithXmlName, 0], + [ + () => ListWithXmlName, + { + [_xN]: _H, + [_xF]: 1, + }, + ], + () => NestedStructWithList, + ], +]; +export var QueryMapsInput: StaticStructureSchema = [ + 3, + n0, + _QMI, + 0, + [_MA, _RMA, _CMA, _MWXMN, _FM, _FMWXN, _MOL, _NSWM], + [ + 128 | 0, + [ + 128 | 0, + { + [_xN]: _F, + }, + ], + () => ComplexMap, + [() => MapWithXmlName, 0], + [ + 128 | 0, + { + [_xF]: 1, + }, + ], + [ + () => MapWithXmlName, + { + [_xN]: _H, + [_xF]: 1, + }, + ], + [2, n0, _MOL, 0, 64 | 0] as StaticMapSchema, + () => NestedStructWithMap, + ], +]; +export var QueryTimestampsInput: StaticStructureSchema = [3, n0, _QTI, 0, [_nF, _eM, _eT], [4, 7, 7]]; +export var RecursiveXmlShapesOutput: StaticStructureSchema = [ + 3, + n0, + _RXSO, + 0, + [_n], + [() => RecursiveXmlShapesOutputNested1], +]; +export var RecursiveXmlShapesOutputNested1: StaticStructureSchema = [ + 3, + n0, + _RXSON, + 0, + [_f, _n], + [0, () => RecursiveXmlShapesOutputNested2], +]; +export var RecursiveXmlShapesOutputNested2: StaticStructureSchema = [ + 3, + n0, + _RXSONe, + 0, + [_b, _rM], + [0, () => RecursiveXmlShapesOutputNested1], +]; +export var SimpleInputParamsInput: StaticStructureSchema = [ + 3, + n0, + _SIPI, + 0, + [_F, _B, _Ba, _Bam, _FV, _Bo, _Q, _FE, _IE], + [0, 0, 2, 1, 1, 1, 21, 0, 1], +]; +export var SimpleScalarXmlPropertiesOutput: StaticStructureSchema = [ + 3, + n0, + _SSXPO, + 0, + [_sV, _eSV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], + [ + 0, + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_xN]: _DD, + }, + ], + ], +]; +export var StructArg: StaticStructureSchema = [3, n0, _SA, 0, [_SAt, _OA, _RA], [0, 2, () => StructArg]]; +export var StructureListMember: StaticStructureSchema = [ + 3, + n0, + _SLM, + 0, + [_a, _b_], + [ + [ + 0, + { + [_xN]: _v, + }, + ], + [ + 0, + { + [_xN]: _o, + }, + ], + ], +]; +export var XmlBlobsOutput: StaticStructureSchema = [3, n0, _XBO, 0, [_da], [21]]; +export var XmlEnumsOutput: StaticStructureSchema = [ + 3, + n0, + _XEO, + 0, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0], +]; +export var XmlIntEnumsOutput: StaticStructureSchema = [ + 3, + n0, + _XIEO, + 0, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1], +]; +export var XmlListsOutput: StaticStructureSchema = [ + 3, + n0, + _XLO, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n1, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + () => ListWithMemberNamespace, + { + [_xF]: 1, + }, + ], + [ + () => ListWithNamespace, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + ], +]; +export var XmlMapsOutput: StaticStructureSchema = [3, n0, _XMO, 0, [_mM], [() => XmlMapsOutputMap]]; +export var XmlMapsXmlNameOutput: StaticStructureSchema = [ + 3, + n0, + _XMXNO, + 0, + [_mM], + [[() => XmlMapsXmlNameOutputMap, 0]], +]; +export var XmlNamespaceNested: StaticStructureSchema = [ + 3, + n0, + _XNN, + { + [_xNm]: [_, _h], + }, + [_f, _va], + [ + [ + 0, + { + [_xNm]: [_ba, _ht], + }, + ], + [ + () => XmlNamespacedList, + { + [_xNm]: [_, _htt], + }, + ], + ], +]; +export var XmlNamespacesOutput: StaticStructureSchema = [ + 3, + n0, + _XNO, + { + [_xNm]: [_, _http], + }, + [_n], + [[() => XmlNamespaceNested, 0]], +]; +export var XmlTimestampsOutput: StaticStructureSchema = [ + 3, + n0, + _XTO, + 0, + [_no, _dT, _dTOT, _eS, _eSOT, _hD, _hDOT], + [4, 5, 5, 7, 7, 6, 6], +]; +export var GreetingStruct: StaticStructureSchema = [3, n1, _GS, 0, [_hi], [0]]; +export var Unit = "unit" as const; + +export var QueryProtocolServiceException: StaticErrorSchema = [-3, _s, "QueryProtocolServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(QueryProtocolServiceException, __QueryProtocolServiceException); + +export var ListWithMemberNamespace: StaticListSchema = [ + 1, + n0, + _LWMN, + { + [_xNm]: [_, _hl], + }, + [ + 0, + { + [_xNm]: [_, _hm_], + }, + ], +]; +export var ListWithNamespace: StaticListSchema = [ + 1, + n0, + _LWN, + { + [_xNm]: [_, _hl], + }, + 0, +]; +export var ListWithXmlName: StaticListSchema = [ + 1, + n0, + _LWXN, + 0, + [ + 0, + { + [_xN]: _i, + }, + ], +]; +export var RenamedListMembers: StaticListSchema = [ + 1, + n0, + _RLM, + 0, + [ + 0, + { + [_xN]: _i, + }, + ], +]; +export var StructureList: StaticListSchema = [ + 1, + n0, + _SL, + 0, + [ + () => StructureListMember, + { + [_xN]: _i, + }, + ], +]; +export var XmlNamespacedList: StaticListSchema = [ + 1, + n0, + _XNL, + 0, + [ + 0, + { + [_xNm]: [_, _httpb], + }, + ], +]; +export var BooleanList = 64 | 2; + +export var FooEnumList = 64 | 0; + +export var FooEnumSet = 64 | 0; + +export var GreetingList: StaticListSchema = [1, n1, _GL, 0, () => GreetingStruct]; +export var IntegerEnumList = 64 | 1; + +export var IntegerEnumSet = 64 | 1; + +export var IntegerList = 64 | 1; + +export var NestedStringList: StaticListSchema = [1, n1, _NSL, 0, 64 | 0]; +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var ComplexMap: StaticMapSchema = [2, n0, _CM, 0, 0, () => GreetingStruct]; +export var FlattenedXmlMapWithXmlNameOutputMap: StaticMapSchema = [ + 2, + n0, + _FXMWXNOM, + 0, + [ + 0, + { + [_xN]: _K, + }, + ], + [ + 0, + { + [_xN]: _V, + }, + ], +]; +export var FlattenedXmlMapWithXmlNamespaceOutputMap: StaticMapSchema = [ + 2, + n0, + _FXMWXNOMl, + 0, + [ + 0, + { + [_xNm]: [_, _hk], + [_xN]: _K, + }, + ], + [ + 0, + { + [_xNm]: [_, _hv], + [_xN]: _V, + }, + ], +]; +export var MapOfLists: StaticMapSchema = [2, n0, _MOL, 0, 0, 64 | 0]; +export var MapWithXmlName: StaticMapSchema = [ + 2, + n0, + _MWXN, + 0, + [ + 0, + { + [_xN]: _K, + }, + ], + [ + 0, + { + [_xN]: _V, + }, + ], +]; +export var XmlMapsOutputMap: StaticMapSchema = [2, n0, _XMOM, 0, 0, () => GreetingStruct]; +export var XmlMapsXmlNameOutputMap: StaticMapSchema = [ + 2, + n0, + _XMXNOM, + 0, + [ + 0, + { + [_xN]: _A, + }, + ], + [ + () => GreetingStruct, + { + [_xN]: _S, + }, + ], +]; +export var FooEnumMap = 128 | 0; + +export var IntegerEnumMap = 128 | 1; + +export var StringMap = 128 | 0; + +export var DatetimeOffsets: StaticOperationSchema = [9, n0, _DO, 0, () => Unit, () => DatetimeOffsetsOutput]; +export var EmptyInputAndEmptyOutput: StaticOperationSchema = [ + 9, + n0, + _EIAEO, + 0, + () => EmptyInputAndEmptyOutputInput, + () => EmptyInputAndEmptyOutputOutput, +]; +export var EndpointOperation: StaticOperationSchema = [ + 9, + n0, + _EO, + { + [_end]: ["foo."], + }, + () => Unit, + () => Unit, +]; +export var EndpointWithHostLabelOperation: StaticOperationSchema = [ + 9, + n0, + _EWHLO, + { + [_end]: ["foo.{label}."], + }, + () => HostLabelInput, + () => Unit, +]; +export var FlattenedXmlMap: StaticOperationSchema = [9, n0, _FXM, 0, () => Unit, () => FlattenedXmlMapOutput]; +export var FlattenedXmlMapWithXmlName: StaticOperationSchema = [ + 9, + n0, + _FXMWXN, + 0, + () => Unit, + () => FlattenedXmlMapWithXmlNameOutput, +]; +export var FlattenedXmlMapWithXmlNamespace: StaticOperationSchema = [ + 9, + n0, + _FXMWXNl, + 0, + () => Unit, + () => FlattenedXmlMapWithXmlNamespaceOutput, +]; +export var FractionalSeconds: StaticOperationSchema = [9, n0, _FS, 0, () => Unit, () => FractionalSecondsOutput]; +export var GreetingWithErrors: StaticOperationSchema = [9, n0, _GWE, 0, () => Unit, () => GreetingWithErrorsOutput]; +export var HostWithPathOperation: StaticOperationSchema = [9, n0, _HWPO, 0, () => Unit, () => Unit]; +export var IgnoresWrappingXmlName: StaticOperationSchema = [ + 9, + n0, + _IWXN, + 0, + () => Unit, + () => IgnoresWrappingXmlNameOutput, +]; +export var NestedStructures: StaticOperationSchema = [9, n0, _NS, 0, () => NestedStructuresInput, () => Unit]; +export var NoInputAndNoOutput: StaticOperationSchema = [9, n0, _NIANO, 0, () => Unit, () => Unit]; +export var NoInputAndOutput: StaticOperationSchema = [ + 9, + n0, + _NIAO, + 0, + () => NoInputAndOutputInput, + () => NoInputAndOutputOutput, +]; +export var PutWithContentEncoding: StaticOperationSchema = [ + 9, + n0, + _PWCE, + 0, + () => PutWithContentEncodingInput, + () => Unit, +]; +export var QueryIdempotencyTokenAutoFill: StaticOperationSchema = [ + 9, + n0, + _QITAF, + 0, + () => QueryIdempotencyTokenAutoFillInput, + () => Unit, +]; +export var QueryLists: StaticOperationSchema = [9, n0, _QL, 0, () => QueryListsInput, () => Unit]; +export var QueryMaps: StaticOperationSchema = [9, n0, _QM, 0, () => QueryMapsInput, () => Unit]; +export var QueryTimestamps: StaticOperationSchema = [9, n0, _QT, 0, () => QueryTimestampsInput, () => Unit]; +export var RecursiveXmlShapes: StaticOperationSchema = [9, n0, _RXS, 0, () => Unit, () => RecursiveXmlShapesOutput]; +export var SimpleInputParams: StaticOperationSchema = [9, n0, _SIP, 0, () => SimpleInputParamsInput, () => Unit]; +export var SimpleScalarXmlProperties: StaticOperationSchema = [ + 9, + n0, + _SSXP, + 0, + () => Unit, + () => SimpleScalarXmlPropertiesOutput, +]; +export var XmlBlobs: StaticOperationSchema = [9, n0, _XB, 0, () => Unit, () => XmlBlobsOutput]; +export var XmlEmptyBlobs: StaticOperationSchema = [9, n0, _XEB, 0, () => Unit, () => XmlBlobsOutput]; +export var XmlEmptyLists: StaticOperationSchema = [9, n0, _XEL, 0, () => Unit, () => XmlListsOutput]; +export var XmlEmptyMaps: StaticOperationSchema = [9, n0, _XEM, 0, () => Unit, () => XmlMapsOutput]; +export var XmlEnums: StaticOperationSchema = [9, n0, _XE, 0, () => Unit, () => XmlEnumsOutput]; +export var XmlIntEnums: StaticOperationSchema = [9, n0, _XIE, 0, () => Unit, () => XmlIntEnumsOutput]; +export var XmlLists: StaticOperationSchema = [9, n0, _XL, 0, () => Unit, () => XmlListsOutput]; +export var XmlMaps: StaticOperationSchema = [9, n0, _XM, 0, () => Unit, () => XmlMapsOutput]; +export var XmlMapsXmlName: StaticOperationSchema = [9, n0, _XMXN, 0, () => Unit, () => XmlMapsXmlNameOutput]; +export var XmlNamespaces: StaticOperationSchema = [9, n0, _XN, 0, () => Unit, () => XmlNamespacesOutput]; +export var XmlTimestamps: StaticOperationSchema = [9, n0, _XT, 0, () => Unit, () => XmlTimestampsOutput]; diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_10_FlattenedXmlMapWithXmlNamespace.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_10_FlattenedXmlMapWithXmlNamespace.ts deleted file mode 100644 index 73c82c45f71c..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_10_FlattenedXmlMapWithXmlNamespace.ts +++ /dev/null @@ -1,50 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { _, _FXMWXNl, _FXMWXNOl, _FXMWXNOMl, _hk, _hm, _hv, _K, _KVP, _mM, _V, _xF, _xN, _xNm, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var FlattenedXmlMapWithXmlNamespaceOutput = struct( - n0, - _FXMWXNOl, - 0, - [_mM], - [ - [ - () => FlattenedXmlMapWithXmlNamespaceOutputMap, - { - [_xN]: _KVP, - [_xF]: 1, - [_xNm]: [_, _hm], - }, - ], - ] -); -export var FlattenedXmlMapWithXmlNamespaceOutputMap = map( - n0, - _FXMWXNOMl, - 0, - [ - 0, - { - [_xNm]: [_, _hk], - [_xN]: _K, - }, - ], - [ - 0, - { - [_xNm]: [_, _hv], - [_xN]: _V, - }, - ] -); -export var FlattenedXmlMapWithXmlNamespace = op( - n0, - _FXMWXNl, - 0, - () => Unit, - () => FlattenedXmlMapWithXmlNamespaceOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_11_QueryIdempotencyTokenAutoFill.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_11_QueryIdempotencyTokenAutoFill.ts deleted file mode 100644 index 97c695cff642..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_11_QueryIdempotencyTokenAutoFill.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _QITAF, _QITAFI, _t, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var QueryIdempotencyTokenAutoFillInput = struct(n0, _QITAFI, 0, [_t], [[0, 4]]); -export var QueryIdempotencyTokenAutoFill = op( - n0, - _QITAF, - 0, - () => QueryIdempotencyTokenAutoFillInput, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_12_.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_12_.ts deleted file mode 100644 index d4ceeb9988b0..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_12_.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _d, _DO, _DOO, _FS, _FSO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var DatetimeOffsetsOutput = struct(n0, _DOO, 0, [_d], [5]); -export var FractionalSecondsOutput = struct(n0, _FSO, 0, [_d], [5]); -export var DatetimeOffsets = op( - n0, - _DO, - 0, - () => Unit, - () => DatetimeOffsetsOutput -); -export var FractionalSeconds = op( - n0, - _FS, - 0, - () => Unit, - () => FractionalSecondsOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_13_EndpointWithHostLabelOperation.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_13_EndpointWithHostLabelOperation.ts deleted file mode 100644 index 49638c0b83c8..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_13_EndpointWithHostLabelOperation.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _end, _EWHLO, _hL, _HLI, _l, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var HostLabelInput = struct( - n0, - _HLI, - 0, - [_l], - [ - [ - 0, - { - [_hL]: 1, - }, - ], - ] -); -export var EndpointWithHostLabelOperation = op( - n0, - _EWHLO, - { - [_end]: ["foo.{label}."], - }, - () => HostLabelInput, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_14_GreetingWithErrors.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_14_GreetingWithErrors.ts deleted file mode 100644 index 5ab213687411..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_14_GreetingWithErrors.ts +++ /dev/null @@ -1,59 +0,0 @@ -// smithy-typescript generated code -import { error, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { - ComplexError as __ComplexError, - CustomCodeError as __CustomCodeError, - InvalidGreeting as __InvalidGreeting, -} from "../models/index"; -import { _aQE, _c, _CCE, _CE, _CNED, _e, _F, _g, _GWE, _GWEO, _IG, _M, _N, _TL, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var ComplexError = error( - n0, - _CE, - { - [_e]: _c, - }, - [_TL, _N], - [0, () => ComplexNestedErrorData], - null -); -TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct(n0, _CNED, 0, [_F], [0]); -export var CustomCodeError = error( - n0, - _CCE, - { - [_e]: _c, - [_aQE]: [`Customized`, 402], - }, - [_M], - [0], - null -); -TypeRegistry.for(n0).registerError(CustomCodeError, __CustomCodeError); - -export var GreetingWithErrorsOutput = struct(n0, _GWEO, 0, [_g], [0]); -export var InvalidGreeting = error( - n0, - _IG, - { - [_e]: _c, - }, - [_M], - [0], - null -); -TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); - -export var GreetingWithErrors = op( - n0, - _GWE, - 0, - () => Unit, - () => GreetingWithErrorsOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_15_FlattenedXmlMapWithXmlName.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_15_FlattenedXmlMapWithXmlName.ts deleted file mode 100644 index ce178d8f2cb9..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_15_FlattenedXmlMapWithXmlName.ts +++ /dev/null @@ -1,47 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { _FXMWXN, _FXMWXNO, _FXMWXNOM, _K, _KVP, _mM, _V, _xF, _xN, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var FlattenedXmlMapWithXmlNameOutput = struct( - n0, - _FXMWXNO, - 0, - [_mM], - [ - [ - () => FlattenedXmlMapWithXmlNameOutputMap, - { - [_xN]: _KVP, - [_xF]: 1, - }, - ], - ] -); -export var FlattenedXmlMapWithXmlNameOutputMap = map( - n0, - _FXMWXNOM, - 0, - [ - 0, - { - [_xN]: _K, - }, - ], - [ - 0, - { - [_xN]: _V, - }, - ] -); -export var FlattenedXmlMapWithXmlName = op( - n0, - _FXMWXN, - 0, - () => Unit, - () => FlattenedXmlMapWithXmlNameOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_16_PutWithContentEncoding.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_16_PutWithContentEncoding.ts deleted file mode 100644 index 07b1ec187ead..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_16_PutWithContentEncoding.ts +++ /dev/null @@ -1,30 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CE_, _da, _en, _hH, _PWCE, _PWCEI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var PutWithContentEncodingInput = struct( - n0, - _PWCEI, - 0, - [_en, _da], - [ - [ - 0, - { - [_hH]: _CE_, - }, - ], - 0, - ] -); -export var PutWithContentEncoding = op( - n0, - _PWCE, - 0, - () => PutWithContentEncodingInput, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_17_XmlNamespaces.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_17_XmlNamespaces.ts deleted file mode 100644 index 72e2c00ae7dc..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_17_XmlNamespaces.ts +++ /dev/null @@ -1,52 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { _, _ba, _f, _h, _ht, _htt, _http, _httpb, _n, _va, _XN, _XNL, _xNm, _XNN, _XNO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var XmlNamespaceNested = struct( - n0, - _XNN, - { - [_xNm]: [_, _h], - }, - [_f, _va], - [ - [ - 0, - { - [_xNm]: [_ba, _ht], - }, - ], - [ - () => XmlNamespacedList, - { - [_xNm]: [_, _htt], - }, - ], - ] -); -export var XmlNamespacesOutput = struct( - n0, - _XNO, - { - [_xNm]: [_, _http], - }, - [_n], - [[() => XmlNamespaceNested, 0]] -); -export var XmlNamespacedList = list(n0, _XNL, 0, [ - 0, - { - [_xNm]: [_, _httpb], - }, -]); -export var XmlNamespaces = op( - n0, - _XN, - 0, - () => Unit, - () => XmlNamespacesOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_18_NoInputAndNoOutput.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_18_NoInputAndNoOutput.ts deleted file mode 100644 index 4a6d36729e03..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_18_NoInputAndNoOutput.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _NIANO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var NoInputAndNoOutput = op( - n0, - _NIANO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_19_IgnoresWrappingXmlName.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_19_IgnoresWrappingXmlName.ts deleted file mode 100644 index 4a4d7b1de86b..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_19_IgnoresWrappingXmlName.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _f, _IM, _IWXN, _IWXNO, _xN, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var IgnoresWrappingXmlNameOutput = struct( - n0, - _IWXNO, - { - [_xN]: _IM, - }, - [_f], - [0] -); -export var IgnoresWrappingXmlName = op( - n0, - _IWXN, - 0, - () => Unit, - () => IgnoresWrappingXmlNameOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_1_Xml.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_1_Xml.ts deleted file mode 100644 index 3954285f3aa7..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_1_Xml.ts +++ /dev/null @@ -1,282 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { - _, - _a, - _B, - _b_, - _Ba, - _Bam, - _bL, - _Bo, - _cN, - _eL, - _F, - _FE, - _fE, - _fEL, - _fEM, - _fEo, - _fEoo, - _fES, - _fL, - _fLl, - _fLWMN, - _fLWN, - _FV, - _FXM, - _FXMO, - _hl, - _hm_, - _i, - _IE, - _iE, - _iEL, - _iEM, - _iEn, - _iEnt, - _iES, - _iL, - _LWMN, - _LWN, - _mM, - _mSL, - _NSL, - _nSL, - _o, - _Q, - _r, - _RLM, - _rLM, - _SIP, - _SIPI, - _SL, - _sL, - _SLM, - _sLt, - _sS, - _tL, - _v, - _XE, - _XEL, - _XEO, - _xF, - _XIE, - _XIEO, - _XL, - _XLO, - _xN, - _xNm, - n0, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var FlattenedXmlMapOutput = struct( - n0, - _FXMO, - 0, - [_mM], - [ - [ - 128 | 0, - { - [_xF]: 1, - }, - ], - ] -); -export var SimpleInputParamsInput = struct( - n0, - _SIPI, - 0, - [_F, _B, _Ba, _Bam, _FV, _Bo, _Q, _FE, _IE], - [0, 0, 2, 1, 1, 1, 21, 0, 1] -); -export var StructureListMember = struct( - n0, - _SLM, - 0, - [_a, _b_], - [ - [ - 0, - { - [_xN]: _v, - }, - ], - [ - 0, - { - [_xN]: _o, - }, - ], - ] -); -export var XmlEnumsOutput = struct( - n0, - _XEO, - 0, - [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], - [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] -); -export var XmlIntEnumsOutput = struct( - n0, - _XIEO, - 0, - [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], - [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] -); -export var XmlListsOutput = struct( - n0, - _XLO, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n1, _NSL, 0, 64 | 0), - [ - () => RenamedListMembers, - { - [_xN]: _r, - }, - ], - [ - () => RenamedListMembers, - { - [_xF]: 1, - }, - ], - [ - () => RenamedListMembers, - { - [_xN]: _cN, - [_xF]: 1, - }, - ], - [ - () => ListWithMemberNamespace, - { - [_xF]: 1, - }, - ], - [ - () => ListWithNamespace, - { - [_xF]: 1, - }, - ], - [ - () => StructureList, - { - [_xN]: _mSL, - }, - ], - ] -); -export var Unit = "unit" as const; - -export var ListWithMemberNamespace = list( - n0, - _LWMN, - { - [_xNm]: [_, _hl], - }, - [ - 0, - { - [_xNm]: [_, _hm_], - }, - ] -); -export var ListWithNamespace = list( - n0, - _LWN, - { - [_xNm]: [_, _hl], - }, - 0 -); -export var RenamedListMembers = list(n0, _RLM, 0, [ - 0, - { - [_xN]: _i, - }, -]); -export var StructureList = list(n0, _SL, 0, [ - () => StructureListMember, - { - [_xN]: _i, - }, -]); -export var BooleanList = 64 | 2; - -export var FooEnumList = 64 | 0; - -export var FooEnumSet = 64 | 0; - -export var IntegerEnumList = 64 | 1; - -export var IntegerEnumSet = 64 | 1; - -export var IntegerList = 64 | 1; - -export var NestedStringList = list(n1, _NSL, 0, 64 | 0); -export var StringSet = 64 | 0; - -export var TimestampList = 64 | 4; - -export var FooEnumMap = 128 | 0; - -export var IntegerEnumMap = 128 | 1; - -export var FlattenedXmlMap = op( - n0, - _FXM, - 0, - () => Unit, - () => FlattenedXmlMapOutput -); -export var SimpleInputParams = op( - n0, - _SIP, - 0, - () => SimpleInputParamsInput, - () => Unit -); -export var XmlEmptyLists = op( - n0, - _XEL, - 0, - () => Unit, - () => XmlListsOutput -); -export var XmlEnums = op( - n0, - _XE, - 0, - () => Unit, - () => XmlEnumsOutput -); -export var XmlIntEnums = op( - n0, - _XIE, - 0, - () => Unit, - () => XmlIntEnumsOutput -); -export var XmlLists = op( - n0, - _XL, - 0, - () => Unit, - () => XmlListsOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_20_HostWithPathOperation.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_20_HostWithPathOperation.ts deleted file mode 100644 index 18001125c1cf..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_20_HostWithPathOperation.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _HWPO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var HostWithPathOperation = op( - n0, - _HWPO, - 0, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_21_EndpointOperation.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_21_EndpointOperation.ts deleted file mode 100644 index 8c5eddd477a9..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_21_EndpointOperation.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _end, _EO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var EndpointOperation = op( - n0, - _EO, - { - [_end]: ["foo."], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_2_Xml.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_2_Xml.ts deleted file mode 100644 index 30efdd7b39ff..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_2_Xml.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _dT, _dTOT, _eM, _eS, _eSOT, _eT, _hD, _hDOT, _nF, _no, _QT, _QTI, _XT, _XTO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var QueryTimestampsInput = struct(n0, _QTI, 0, [_nF, _eM, _eT], [4, 7, 7]); -export var XmlTimestampsOutput = struct(n0, _XTO, 0, [_no, _dT, _dTOT, _eS, _eSOT, _hD, _hDOT], [4, 5, 5, 7, 7, 6, 6]); -export var QueryTimestamps = op( - n0, - _QT, - 0, - () => QueryTimestampsInput, - () => Unit -); -export var XmlTimestamps = op( - n0, - _XT, - 0, - () => Unit, - () => XmlTimestampsOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_3_Xml.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_3_Xml.ts deleted file mode 100644 index cbd6b02b9ad3..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_3_Xml.ts +++ /dev/null @@ -1,70 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _bV, - _DD, - _dV, - _eSV, - _fBV, - _fV, - _iV, - _lV, - _N, - _NS, - _NSI, - _OA, - _RA, - _SA, - _SAt, - _SSXP, - _SSXPO, - _sV, - _sVh, - _tBV, - _xN, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var NestedStructuresInput = struct(n0, _NSI, 0, [_N], [() => StructArg]); -export var SimpleScalarXmlPropertiesOutput = struct( - n0, - _SSXPO, - 0, - [_sV, _eSV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], - [ - 0, - 0, - 2, - 2, - 1, - 1, - 1, - 1, - 1, - [ - 1, - { - [_xN]: _DD, - }, - ], - ] -); -export var StructArg = struct(n0, _SA, 0, [_SAt, _OA, _RA], [0, 2, () => StructArg]); -export var NestedStructures = op( - n0, - _NS, - 0, - () => NestedStructuresInput, - () => Unit -); -export var SimpleScalarXmlProperties = op( - n0, - _SSXP, - 0, - () => Unit, - () => SimpleScalarXmlPropertiesOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_4_RecursiveXmlShapes.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_4_RecursiveXmlShapes.ts deleted file mode 100644 index 649e13ebf3c5..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_4_RecursiveXmlShapes.ts +++ /dev/null @@ -1,30 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _f, _n, _rM, _RXS, _RXSO, _RXSON, _RXSONe, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var RecursiveXmlShapesOutput = struct(n0, _RXSO, 0, [_n], [() => RecursiveXmlShapesOutputNested1]); -export var RecursiveXmlShapesOutputNested1 = struct( - n0, - _RXSON, - 0, - [_f, _n], - [0, () => RecursiveXmlShapesOutputNested2] -); -export var RecursiveXmlShapesOutputNested2 = struct( - n0, - _RXSONe, - 0, - [_b, _rM], - [0, () => RecursiveXmlShapesOutputNested1] -); -export var RecursiveXmlShapes = op( - n0, - _RXS, - 0, - () => Unit, - () => RecursiveXmlShapesOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_5_Lists.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_5_Lists.ts deleted file mode 100644 index e7156ef783ad..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_5_Lists.ts +++ /dev/null @@ -1,4 +0,0 @@ -// smithy-typescript generated code -/* eslint no-var: 0 */ - -export var StringList = 64 | 0; diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_6_Maps.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_6_Maps.ts deleted file mode 100644 index 0393f2ffc1f9..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_6_Maps.ts +++ /dev/null @@ -1,196 +0,0 @@ -// smithy-typescript generated code -import { list, map, op, struct } from "@smithy/core/schema"; - -import { - _A, - _CLA, - _CM, - _CMA, - _F, - _FLA, - _FLAWXN, - _FM, - _FMWXN, - _GL, - _GS, - _H, - _hi, - _i, - _K, - _LA, - _LAWXNM, - _LWXN, - _MA, - _mM, - _MOL, - _MWXMN, - _MWXN, - _NSWL, - _NSWM, - _NWL, - _QL, - _QLI, - _QM, - _QMI, - _RMA, - _S, - _V, - _XEM, - _xF, - _XM, - _XMO, - _XMOM, - _XMXN, - _XMXNO, - _XMXNOM, - _xN, - n0, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var NestedStructWithList = struct(n0, _NSWL, 0, [_LA], [64 | 0]); -export var NestedStructWithMap = struct(n0, _NSWM, 0, [_MA], [128 | 0]); -export var QueryListsInput = struct( - n0, - _QLI, - 0, - [_LA, _CLA, _FLA, _LAWXNM, _FLAWXN, _NWL], - [ - 64 | 0, - () => GreetingList, - [ - 64 | 0, - { - [_xF]: 1, - }, - ], - [() => ListWithXmlName, 0], - [ - () => ListWithXmlName, - { - [_xN]: _H, - [_xF]: 1, - }, - ], - () => NestedStructWithList, - ] -); -export var QueryMapsInput = struct( - n0, - _QMI, - 0, - [_MA, _RMA, _CMA, _MWXMN, _FM, _FMWXN, _MOL, _NSWM], - [ - 128 | 0, - [ - 128 | 0, - { - [_xN]: _F, - }, - ], - () => ComplexMap, - [() => MapWithXmlName, 0], - [ - 128 | 0, - { - [_xF]: 1, - }, - ], - [ - () => MapWithXmlName, - { - [_xN]: _H, - [_xF]: 1, - }, - ], - map(n0, _MOL, 0, 0, 64 | 0), - () => NestedStructWithMap, - ] -); -export var XmlMapsOutput = struct(n0, _XMO, 0, [_mM], [() => XmlMapsOutputMap]); -export var XmlMapsXmlNameOutput = struct(n0, _XMXNO, 0, [_mM], [[() => XmlMapsXmlNameOutputMap, 0]]); -export var GreetingStruct = struct(n1, _GS, 0, [_hi], [0]); -export var ListWithXmlName = list(n0, _LWXN, 0, [ - 0, - { - [_xN]: _i, - }, -]); -export var GreetingList = list(n1, _GL, 0, () => GreetingStruct); -export var ComplexMap = map(n0, _CM, 0, 0, () => GreetingStruct); -export var MapOfLists = map(n0, _MOL, 0, 0, 64 | 0); -export var MapWithXmlName = map( - n0, - _MWXN, - 0, - [ - 0, - { - [_xN]: _K, - }, - ], - [ - 0, - { - [_xN]: _V, - }, - ] -); -export var XmlMapsOutputMap = map(n0, _XMOM, 0, 0, () => GreetingStruct); -export var XmlMapsXmlNameOutputMap = map( - n0, - _XMXNOM, - 0, - [ - 0, - { - [_xN]: _A, - }, - ], - [ - () => GreetingStruct, - { - [_xN]: _S, - }, - ] -); -export var StringMap = 128 | 0; - -export var QueryLists = op( - n0, - _QL, - 0, - () => QueryListsInput, - () => Unit -); -export var QueryMaps = op( - n0, - _QM, - 0, - () => QueryMapsInput, - () => Unit -); -export var XmlEmptyMaps = op( - n0, - _XEM, - 0, - () => Unit, - () => XmlMapsOutput -); -export var XmlMaps = op( - n0, - _XM, - 0, - () => Unit, - () => XmlMapsOutput -); -export var XmlMapsXmlName = op( - n0, - _XMXN, - 0, - () => Unit, - () => XmlMapsXmlNameOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_7_Blobs.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_7_Blobs.ts deleted file mode 100644 index 6969adb684e5..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_7_Blobs.ts +++ /dev/null @@ -1,23 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _da, _XB, _XBO, _XEB, n0 } from "./schemas_0"; -import { Unit } from "./schemas_1_Xml"; - -/* eslint no-var: 0 */ - -export var XmlBlobsOutput = struct(n0, _XBO, 0, [_da], [21]); -export var XmlBlobs = op( - n0, - _XB, - 0, - () => Unit, - () => XmlBlobsOutput -); -export var XmlEmptyBlobs = op( - n0, - _XEB, - 0, - () => Unit, - () => XmlBlobsOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_8_EmptyInputAndEmptyOutput.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_8_EmptyInputAndEmptyOutput.ts deleted file mode 100644 index 1c9adc964cea..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_8_EmptyInputAndEmptyOutput.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _EIAEO, _EIAEOI, _EIAEOO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EmptyInputAndEmptyOutputInput = struct(n0, _EIAEOI, 0, [], []); -export var EmptyInputAndEmptyOutputOutput = struct(n0, _EIAEOO, 0, [], []); -export var EmptyInputAndEmptyOutput = op( - n0, - _EIAEO, - 0, - () => EmptyInputAndEmptyOutputInput, - () => EmptyInputAndEmptyOutputOutput -); diff --git a/private/aws-protocoltests-query-schema/src/schemas/schemas_9_NoInputAndOutput.ts b/private/aws-protocoltests-query-schema/src/schemas/schemas_9_NoInputAndOutput.ts deleted file mode 100644 index c9d40f20eaa3..000000000000 --- a/private/aws-protocoltests-query-schema/src/schemas/schemas_9_NoInputAndOutput.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _NIAO, _NIAOI, _NIAOO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var NoInputAndOutputInput = struct(n0, _NIAOI, 0, [], []); -export var NoInputAndOutputOutput = struct(n0, _NIAOO, 0, [], []); -export var NoInputAndOutput = op( - n0, - _NIAO, - 0, - () => NoInputAndOutputInput, - () => NoInputAndOutputOutput -); diff --git a/private/aws-protocoltests-restjson-schema-apigateway/src/commands/GetRestApisCommand.ts b/private/aws-protocoltests-restjson-schema-apigateway/src/commands/GetRestApisCommand.ts index 4d442463acde..0bea4cd24d6d 100644 --- a/private/aws-protocoltests-restjson-schema-apigateway/src/commands/GetRestApisCommand.ts +++ b/private/aws-protocoltests-restjson-schema-apigateway/src/commands/GetRestApisCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetRestApisRequest, RestApis } from "../models/models_0"; -import { GetRestApis } from "../schemas/schemas_1_GetRestApis"; +import { GetRestApis } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts b/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts index e91da565ebdf..63448635be4f 100644 --- a/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_0.ts @@ -40,11 +40,136 @@ export const _w = "warnings"; export const n0 = "com.amazonaws.apigateway"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; import { APIGatewayServiceException as __APIGatewayServiceException } from "../models/APIGatewayServiceException"; +import { + BadRequestException as __BadRequestException, + TooManyRequestsException as __TooManyRequestsException, + UnauthorizedException as __UnauthorizedException, +} from "../models/index"; /* eslint no-var: 0 */ -export var APIGatewayServiceException = error(_s, "APIGatewayServiceException", 0, [], [], null); +export var BadRequestException: StaticErrorSchema = [ + -3, + n0, + _BRE, + { + [_e]: _c, + [_hE]: 400, + }, + [_m], + [0], +]; +TypeRegistry.for(n0).registerError(BadRequestException, __BadRequestException); + +export var EndpointConfiguration: StaticStructureSchema = [3, n0, _EC, 0, [_t, _vEI], [64 | 0, 64 | 0]]; +export var GetRestApisRequest: StaticStructureSchema = [ + 3, + n0, + _GRAR, + 0, + [_p, _l], + [ + [ + 0, + { + [_hQ]: _p, + }, + ], + [ + 1, + { + [_hQ]: _l, + }, + ], + ], +]; +export var RestApi: StaticStructureSchema = [ + 3, + n0, + _RA, + 0, + [_i, _n, _d, _cD, _v, _w, _bMT, _mCS, _aKS, _eC, _po, _ta, _dEAE], + [0, 0, 0, 4, 0, 64 | 0, 64 | 0, 1, 0, () => EndpointConfiguration, 0, 128 | 0, 2], +]; +export var RestApis: StaticStructureSchema = [ + 3, + n0, + _RAe, + 0, + [_it, _p], + [ + [ + () => ListOfRestApi, + { + [_jN]: _ite, + }, + ], + 0, + ], +]; +export var TooManyRequestsException: StaticErrorSchema = [ + -3, + n0, + _TMRE, + { + [_e]: _c, + [_hE]: 429, + }, + [_rAS, _m], + [ + [ + 0, + { + [_hH]: _RA_, + }, + ], + 0, + ], +]; +TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException); + +export var UnauthorizedException: StaticErrorSchema = [ + -3, + n0, + _UE, + { + [_e]: _c, + [_hE]: 401, + }, + [_m], + [0], +]; +TypeRegistry.for(n0).registerError(UnauthorizedException, __UnauthorizedException); + +export var Unit = "unit" as const; + +export var APIGatewayServiceException: StaticErrorSchema = [-3, _s, "APIGatewayServiceException", 0, [], []]; TypeRegistry.for(_s).registerError(APIGatewayServiceException, __APIGatewayServiceException); + +export var ListOfEndpointType = 64 | 0; + +export var ListOfRestApi: StaticListSchema = [1, n0, _LORA, 0, () => RestApi]; +export var ListOfString = 64 | 0; + +export var MapOfStringToString = 128 | 0; + +export var GetRestApis: StaticOperationSchema = [ + 9, + n0, + _GRA, + { + [_h]: ["GET", "/restapis", 200], + }, + () => GetRestApisRequest, + () => RestApis, +]; diff --git a/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_1_GetRestApis.ts b/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_1_GetRestApis.ts deleted file mode 100644 index ba8bc394ec89..000000000000 --- a/private/aws-protocoltests-restjson-schema-apigateway/src/schemas/schemas_1_GetRestApis.ts +++ /dev/null @@ -1,160 +0,0 @@ -// smithy-typescript generated code -import { error, list, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { - BadRequestException as __BadRequestException, - TooManyRequestsException as __TooManyRequestsException, - UnauthorizedException as __UnauthorizedException, -} from "../models/index"; -import { - _aKS, - _bMT, - _BRE, - _c, - _cD, - _d, - _dEAE, - _e, - _EC, - _eC, - _GRA, - _GRAR, - _h, - _hE, - _hH, - _hQ, - _i, - _it, - _ite, - _jN, - _l, - _LORA, - _m, - _mCS, - _n, - _p, - _po, - _RA, - _RA_, - _RAe, - _rAS, - _t, - _ta, - _TMRE, - _UE, - _v, - _vEI, - _w, - n0, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var BadRequestException = error( - n0, - _BRE, - { - [_e]: _c, - [_hE]: 400, - }, - [_m], - [0], - null -); -TypeRegistry.for(n0).registerError(BadRequestException, __BadRequestException); - -export var EndpointConfiguration = struct(n0, _EC, 0, [_t, _vEI], [64 | 0, 64 | 0]); -export var GetRestApisRequest = struct( - n0, - _GRAR, - 0, - [_p, _l], - [ - [ - 0, - { - [_hQ]: _p, - }, - ], - [ - 1, - { - [_hQ]: _l, - }, - ], - ] -); -export var RestApi = struct( - n0, - _RA, - 0, - [_i, _n, _d, _cD, _v, _w, _bMT, _mCS, _aKS, _eC, _po, _ta, _dEAE], - [0, 0, 0, 4, 0, 64 | 0, 64 | 0, 1, 0, () => EndpointConfiguration, 0, 128 | 0, 2] -); -export var RestApis = struct( - n0, - _RAe, - 0, - [_it, _p], - [ - [ - () => ListOfRestApi, - { - [_jN]: _ite, - }, - ], - 0, - ] -); -export var TooManyRequestsException = error( - n0, - _TMRE, - { - [_e]: _c, - [_hE]: 429, - }, - [_rAS, _m], - [ - [ - 0, - { - [_hH]: _RA_, - }, - ], - 0, - ], - null -); -TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException); - -export var UnauthorizedException = error( - n0, - _UE, - { - [_e]: _c, - [_hE]: 401, - }, - [_m], - [0], - null -); -TypeRegistry.for(n0).registerError(UnauthorizedException, __UnauthorizedException); - -export var Unit = "unit" as const; - -export var ListOfEndpointType = 64 | 0; - -export var ListOfRestApi = list(n0, _LORA, 0, () => RestApi); -export var ListOfString = 64 | 0; - -export var MapOfStringToString = 128 | 0; - -export var GetRestApis = op( - n0, - _GRA, - { - [_h]: ["GET", "/restapis", 200], - }, - () => GetRestApisRequest, - () => RestApis -); diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadArchiveCommand.ts b/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadArchiveCommand.ts index 3b25826df6fd..0f74cc9cf557 100644 --- a/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadArchiveCommand.ts +++ b/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadArchiveCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } fr import { commonParams } from "../endpoint/EndpointParameters"; import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient"; import { ArchiveCreationOutput, UploadArchiveInput } from "../models/models_0"; -import { UploadArchive } from "../schemas/schemas_1_Upload"; +import { UploadArchive } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts b/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts index 599afc9ac84d..38753c6df3eb 100644 --- a/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts +++ b/private/aws-protocoltests-restjson-schema-glacier/src/commands/UploadMultipartPartCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } fr import { commonParams } from "../endpoint/EndpointParameters"; import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient"; import { UploadMultipartPartInput, UploadMultipartPartOutput } from "../models/models_0"; -import { UploadMultipartPart } from "../schemas/schemas_1_Upload"; +import { UploadMultipartPart } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_0.ts b/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_0.ts index 246d2b2ad347..d22efe32602c 100644 --- a/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_0.ts @@ -38,11 +38,206 @@ export const _xasth = "x-amz-sha256-tree-hash"; export const n0 = "com.amazonaws.glacier"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { StaticErrorSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types"; import { GlacierServiceException as __GlacierServiceException } from "../models/GlacierServiceException"; +import { + InvalidParameterValueException as __InvalidParameterValueException, + MissingParameterValueException as __MissingParameterValueException, + RequestTimeoutException as __RequestTimeoutException, + ResourceNotFoundException as __ResourceNotFoundException, + ServiceUnavailableException as __ServiceUnavailableException, +} from "../models/index"; /* eslint no-var: 0 */ -export var GlacierServiceException = error(_sm, "GlacierServiceException", 0, [], [], null); +export var _Stream: StaticSimpleSchema = [ + 0, + n0, + _S, + { + [_s]: 1, + }, + + 42, +]; +export var ArchiveCreationOutput: StaticStructureSchema = [ + 3, + n0, + _ACO, + 0, + [_l, _c, _aI], + [ + [ + 0, + { + [_hH]: _L, + }, + ], + [ + 0, + { + [_hH]: _xasth, + }, + ], + [ + 0, + { + [_hH]: _xaai, + }, + ], + ], +]; +export var InvalidParameterValueException: StaticErrorSchema = [ + -3, + n0, + _IPVE, + { + [_e]: _cl, + [_hE]: 400, + }, + [_t, _co, _m], + [0, 0, 0], +]; +TypeRegistry.for(n0).registerError(InvalidParameterValueException, __InvalidParameterValueException); + +export var MissingParameterValueException: StaticErrorSchema = [ + -3, + n0, + _MPVE, + { + [_e]: _cl, + [_hE]: 400, + }, + [_t, _co, _m], + [0, 0, 0], +]; +TypeRegistry.for(n0).registerError(MissingParameterValueException, __MissingParameterValueException); + +export var RequestTimeoutException: StaticErrorSchema = [ + -3, + n0, + _RTE, + { + [_e]: _cl, + [_hE]: 408, + }, + [_t, _co, _m], + [0, 0, 0], +]; +TypeRegistry.for(n0).registerError(RequestTimeoutException, __RequestTimeoutException); + +export var ResourceNotFoundException: StaticErrorSchema = [ + -3, + n0, + _RNFE, + { + [_e]: _cl, + [_hE]: 404, + }, + [_t, _co, _m], + [0, 0, 0], +]; +TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException); + +export var ServiceUnavailableException: StaticErrorSchema = [ + -3, + n0, + _SUE, + { + [_e]: _se, + [_hE]: 500, + }, + [_t, _co, _m], + [0, 0, 0], +]; +TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException); + +export var UploadArchiveInput: StaticStructureSchema = [ + 3, + n0, + _UAI, + 0, + [_vN, _aIc, _aD, _c, _b], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hH]: _xaad, + }, + ], + [ + 0, + { + [_hH]: _xasth, + }, + ], + [() => _Stream, 16], + ], +]; +export var UploadMultipartPartInput: StaticStructureSchema = [ + 3, + n0, + _UMPI, + 0, + [_aIc, _vN, _uI, _c, _r, _b], + [ + [0, 1], + [0, 1], + [0, 1], + [ + 0, + { + [_hH]: _xasth, + }, + ], + [ + 0, + { + [_hH]: _CR, + }, + ], + [() => _Stream, 16], + ], +]; +export var UploadMultipartPartOutput: StaticStructureSchema = [ + 3, + n0, + _UMPO, + 0, + [_c], + [ + [ + 0, + { + [_hH]: _xasth, + }, + ], + ], +]; +export var GlacierServiceException: StaticErrorSchema = [-3, _sm, "GlacierServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(GlacierServiceException, __GlacierServiceException); + +export var UploadArchive: StaticOperationSchema = [ + 9, + n0, + _UA, + { + [_h]: ["POST", "/{accountId}/vaults/{vaultName}/archives", 201], + }, + () => UploadArchiveInput, + () => ArchiveCreationOutput, +]; +export var UploadMultipartPart: StaticOperationSchema = [ + 9, + n0, + _UMP, + { + [_h]: ["PUT", "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", 204], + }, + () => UploadMultipartPartInput, + () => UploadMultipartPartOutput, +]; diff --git a/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_1_Upload.ts b/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_1_Upload.ts deleted file mode 100644 index fe1b6f9c4cfa..000000000000 --- a/private/aws-protocoltests-restjson-schema-glacier/src/schemas/schemas_1_Upload.ts +++ /dev/null @@ -1,225 +0,0 @@ -// smithy-typescript generated code -import { error, op, sim, struct, TypeRegistry } from "@smithy/core/schema"; - -import { - InvalidParameterValueException as __InvalidParameterValueException, - MissingParameterValueException as __MissingParameterValueException, - RequestTimeoutException as __RequestTimeoutException, - ResourceNotFoundException as __ResourceNotFoundException, - ServiceUnavailableException as __ServiceUnavailableException, -} from "../models/index"; -import { - _ACO, - _aD, - _aI, - _aIc, - _b, - _c, - _cl, - _co, - _CR, - _e, - _h, - _hE, - _hH, - _IPVE, - _L, - _l, - _m, - _MPVE, - _r, - _RNFE, - _RTE, - _S, - _s, - _se, - _SUE, - _t, - _UA, - _UAI, - _uI, - _UMP, - _UMPI, - _UMPO, - _vN, - _xaad, - _xaai, - _xasth, - n0, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var _Stream = sim(n0, _S, 42, { - [_s]: 1, -}); -export var ArchiveCreationOutput = struct( - n0, - _ACO, - 0, - [_l, _c, _aI], - [ - [ - 0, - { - [_hH]: _L, - }, - ], - [ - 0, - { - [_hH]: _xasth, - }, - ], - [ - 0, - { - [_hH]: _xaai, - }, - ], - ] -); -export var InvalidParameterValueException = error( - n0, - _IPVE, - { - [_e]: _cl, - [_hE]: 400, - }, - [_t, _co, _m], - [0, 0, 0], - null -); -TypeRegistry.for(n0).registerError(InvalidParameterValueException, __InvalidParameterValueException); - -export var MissingParameterValueException = error( - n0, - _MPVE, - { - [_e]: _cl, - [_hE]: 400, - }, - [_t, _co, _m], - [0, 0, 0], - null -); -TypeRegistry.for(n0).registerError(MissingParameterValueException, __MissingParameterValueException); - -export var RequestTimeoutException = error( - n0, - _RTE, - { - [_e]: _cl, - [_hE]: 408, - }, - [_t, _co, _m], - [0, 0, 0], - null -); -TypeRegistry.for(n0).registerError(RequestTimeoutException, __RequestTimeoutException); - -export var ResourceNotFoundException = error( - n0, - _RNFE, - { - [_e]: _cl, - [_hE]: 404, - }, - [_t, _co, _m], - [0, 0, 0], - null -); -TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException); - -export var ServiceUnavailableException = error( - n0, - _SUE, - { - [_e]: _se, - [_hE]: 500, - }, - [_t, _co, _m], - [0, 0, 0], - null -); -TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException); - -export var UploadArchiveInput = struct( - n0, - _UAI, - 0, - [_vN, _aIc, _aD, _c, _b], - [ - [0, 1], - [0, 1], - [ - 0, - { - [_hH]: _xaad, - }, - ], - [ - 0, - { - [_hH]: _xasth, - }, - ], - [() => _Stream, 16], - ] -); -export var UploadMultipartPartInput = struct( - n0, - _UMPI, - 0, - [_aIc, _vN, _uI, _c, _r, _b], - [ - [0, 1], - [0, 1], - [0, 1], - [ - 0, - { - [_hH]: _xasth, - }, - ], - [ - 0, - { - [_hH]: _CR, - }, - ], - [() => _Stream, 16], - ] -); -export var UploadMultipartPartOutput = struct( - n0, - _UMPO, - 0, - [_c], - [ - [ - 0, - { - [_hH]: _xasth, - }, - ], - ] -); -export var UploadArchive = op( - n0, - _UA, - { - [_h]: ["POST", "/{accountId}/vaults/{vaultName}/archives", 201], - }, - () => UploadArchiveInput, - () => ArchiveCreationOutput -); -export var UploadMultipartPart = op( - n0, - _UMP, - { - [_h]: ["PUT", "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", 204], - }, - () => UploadMultipartPartInput, - () => UploadMultipartPartOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/commands/AllQueryStringTypesCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/AllQueryStringTypesCommand.ts index 29afb36f7f62..1f3cad76cbd6 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/AllQueryStringTypesCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/AllQueryStringTypesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { AllQueryStringTypesInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { AllQueryStringTypes } from "../schemas/schemas_2_Json"; +import { AllQueryStringTypes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/ConstantAndVariableQueryStringCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/ConstantAndVariableQueryStringCommand.ts index 46ede4541026..877a5f4862bf 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/ConstantAndVariableQueryStringCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/ConstantAndVariableQueryStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ConstantAndVariableQueryStringInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { ConstantAndVariableQueryString } from "../schemas/schemas_10_ConstantAndVariableQueryString"; +import { ConstantAndVariableQueryString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/ConstantQueryStringCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/ConstantQueryStringCommand.ts index 67a45f1cf7a7..735f2f9d246c 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/ConstantQueryStringCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/ConstantQueryStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ConstantQueryStringInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { ConstantQueryString } from "../schemas/schemas_40_ConstantQueryString"; +import { ConstantQueryString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/ContentTypeParametersCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/ContentTypeParametersCommand.ts index 717d73b94de7..3f6648b3474e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/ContentTypeParametersCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/ContentTypeParametersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ContentTypeParametersInput, ContentTypeParametersOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { ContentTypeParameters } from "../schemas/schemas_35_ContentTypeParameters"; +import { ContentTypeParameters } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/DatetimeOffsetsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/DatetimeOffsetsCommand.ts index 6760c98020a8..43432e5a71bc 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/DatetimeOffsetsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/DatetimeOffsetsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DatetimeOffsetsOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { DatetimeOffsets } from "../schemas/schemas_7_Timestamp"; +import { DatetimeOffsets } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsMapValueCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsMapValueCommand.ts index 011601ecd8c2..271634b311bd 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsMapValueCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsMapValueCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DocumentTypeAsMapValueInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { DocumentTypeAsMapValue } from "../schemas/schemas_30_Type"; +import { DocumentTypeAsMapValue } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsPayloadCommand.ts index 78d63705113c..2ed73bdc6790 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeAsPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DocumentTypeAsPayloadInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { DocumentTypeAsPayload } from "../schemas/schemas_30_Type"; +import { DocumentTypeAsPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeCommand.ts index 302e125bb924..a8d429fb6d20 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/DocumentTypeCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DocumentTypeInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { DocumentType } from "../schemas/schemas_30_Type"; +import { DocumentType } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts index 5f43ad2aac09..f89218bf614a 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { EmptyInputAndEmptyOutput } from "../schemas/schemas_42_EmptyInputAndEmptyOutput"; +import { EmptyInputAndEmptyOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/EndpointOperationCommand.ts index a4dfa46728cf..98db346c332f 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/EndpointOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { EndpointOperation } from "../schemas/schemas_37_EndpointOperation"; +import { EndpointOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/EndpointWithHostLabelOperationCommand.ts index f02f9a7acbde..371f6affeff5 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HostLabelInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { EndpointWithHostLabelOperation } from "../schemas/schemas_65_EndpointWithHostLabelOperation"; +import { EndpointWithHostLabelOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/FractionalSecondsCommand.ts index fb93d5f221fe..66453e9e9118 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/FractionalSecondsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FractionalSecondsOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { FractionalSeconds } from "../schemas/schemas_7_Timestamp"; +import { FractionalSeconds } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/GreetingWithErrorsCommand.ts index 32f2a68ae09b..ea00fcc1a8ea 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingWithErrorsOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { GreetingWithErrors } from "../schemas/schemas_8_GreetingWithErrors"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HostWithPathOperationCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HostWithPathOperationCommand.ts index af6cfd4d9c0e..4f4089f02279 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HostWithPathOperationCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HostWithPathOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HostWithPathOperation } from "../schemas/schemas_68_HostWithPathOperation"; +import { HostWithPathOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpChecksumRequiredCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpChecksumRequiredCommand.ts index f28b0764363a..4245b02d7631 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpChecksumRequiredCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpChecksumRequiredCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpChecksumRequiredInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpChecksumRequired } from "../schemas/schemas_33_HttpChecksumRequired"; +import { HttpChecksumRequired } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts index da7632c0b19c..c35d2a55166d 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpEmptyPrefixHeadersInput, HttpEmptyPrefixHeadersOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpEmptyPrefixHeaders } from "../schemas/schemas_21_Headers"; +import { HttpEmptyPrefixHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpEnumPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpEnumPayloadCommand.ts index 39ddf4200d81..deb4f0c99f4e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpEnumPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpEnumPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EnumPayloadInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpEnumPayload } from "../schemas/schemas_15_Json"; +import { HttpEnumPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsCommand.ts index dec80744af16..fe14072931b9 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsCommand.ts @@ -7,7 +7,7 @@ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadTraitsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpPayloadTraits } from "../schemas/schemas_3_Blob"; +import { HttpPayloadTraits } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index 8de97cd9183f..aeb14287a674 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -7,7 +7,7 @@ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadTraitsWithMediaTypeInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpPayloadTraitsWithMediaType } from "../schemas/schemas_25_HttpPayloadTraitsWithMediaType"; +import { HttpPayloadTraitsWithMediaType } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithStructureCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithStructureCommand.ts index 75b22832939d..594bd5bf1f1e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithStructureCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithStructureCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithStructureInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpPayloadWithStructure } from "../schemas/schemas_44_HttpPayloadWithStructure"; +import { HttpPayloadWithStructure } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithUnionCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithUnionCommand.ts index 82ab8f790d83..4fba9ccbe3a2 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithUnionCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpPayloadWithUnionCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithUnionInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpPayloadWithUnion } from "../schemas/schemas_57_HttpPayloadWithUnion"; +import { HttpPayloadWithUnion } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersCommand.ts index 226af8a489b3..32608038447c 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPrefixHeadersInput, HttpPrefixHeadersOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpPrefixHeaders } from "../schemas/schemas_21_Headers"; +import { HttpPrefixHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersInResponseCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersInResponseCommand.ts index 209ea28ec548..3ec3e16b40ab 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersInResponseCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpPrefixHeadersInResponseCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPrefixHeadersInResponseInput, HttpPrefixHeadersInResponseOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpPrefixHeadersInResponse } from "../schemas/schemas_21_Headers"; +import { HttpPrefixHeadersInResponse } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts index f25eb2159b5c..e331a605a03f 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithFloatLabelsInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpRequestWithFloatLabels } from "../schemas/schemas_5_With"; +import { HttpRequestWithFloatLabels } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts index a1bd4f5683af..305f2c8004ae 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithGreedyLabelInPathInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpRequestWithGreedyLabelInPath } from "../schemas/schemas_17_HttpRequestWithGreedyLabelInPath"; +import { HttpRequestWithGreedyLabelInPath } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index 2ea201b13a7f..41ecd21dc698 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithLabelsAndTimestampFormatInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpRequestWithLabelsAndTimestampFormat } from "../schemas/schemas_7_Timestamp"; +import { HttpRequestWithLabelsAndTimestampFormat } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsCommand.ts index ef380e473281..eadaeddc8b2c 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithLabelsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithLabelsInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpRequestWithLabels } from "../schemas/schemas_2_Json"; +import { HttpRequestWithLabels } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithRegexLiteralCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithRegexLiteralCommand.ts index 152fb78685bc..ad9d665ab2f4 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithRegexLiteralCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpRequestWithRegexLiteralCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithRegexLiteralInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpRequestWithRegexLiteral } from "../schemas/schemas_1_HttpRequestWithRegexLiteral"; +import { HttpRequestWithRegexLiteral } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpResponseCodeCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpResponseCodeCommand.ts index 2046ef6b5db0..c711cb07ae0e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpResponseCodeCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpResponseCodeCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpResponseCodeOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpResponseCode } from "../schemas/schemas_26_HttpResponseCode"; +import { HttpResponseCode } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/HttpStringPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/HttpStringPayloadCommand.ts index c9bf08e654d1..61497daabcd8 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/HttpStringPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/HttpStringPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { StringPayloadInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { HttpStringPayload } from "../schemas/schemas_36_HttpStringPayload"; +import { HttpStringPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts index d8ae399fe2db..c0b121403c79 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { IgnoreQueryParamsInResponseOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { IgnoreQueryParamsInResponse } from "../schemas/schemas_54_IgnoreQueryParamsInResponse"; +import { IgnoreQueryParamsInResponse } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/InputAndOutputWithHeadersCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/InputAndOutputWithHeadersCommand.ts index 06bb873f7f18..ebafc1767155 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/InputAndOutputWithHeadersCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/InputAndOutputWithHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { InputAndOutputWithHeadersIO } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { InputAndOutputWithHeaders } from "../schemas/schemas_2_Json"; +import { InputAndOutputWithHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonBlobsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonBlobsCommand.ts index ea677fbdaab2..dd7fe0490a79 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonBlobsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonBlobsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonBlobs } from "../schemas/schemas_3_Blob"; +import { JsonBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonEnumsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonEnumsCommand.ts index 5c5e7fac865e..9fdc39f037a9 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonEnumsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonEnumsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonEnums } from "../schemas/schemas_15_Json"; +import { JsonEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonIntEnumsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonIntEnumsCommand.ts index 5629a7455389..4fa184d38552 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonIntEnumsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonIntEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonIntEnumsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonIntEnums } from "../schemas/schemas_15_Json"; +import { JsonIntEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonListsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonListsCommand.ts index 4310818652c4..47fdb7bfe968 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonListsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonListsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonLists } from "../schemas/schemas_2_Json"; +import { JsonLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonMapsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonMapsCommand.ts index 3b0839d8ecd6..b697fa6a30cc 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonMapsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonMapsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonMaps } from "../schemas/schemas_2_Json"; +import { JsonMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonTimestampsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonTimestampsCommand.ts index f6431fd3692f..45c43323eb9a 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonTimestampsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonTimestampsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { JsonTimestampsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonTimestamps } from "../schemas/schemas_7_Timestamp"; +import { JsonTimestamps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/JsonUnionsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/JsonUnionsCommand.ts index 0cdbed4feac6..4d43b4419a70 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/JsonUnionsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/JsonUnionsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { UnionInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { JsonUnions } from "../schemas/schemas_2_Json"; +import { JsonUnions } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithBodyCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithBodyCommand.ts index 88bb735ccbe5..08ae0ec7ca78 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithBodyCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithBodyCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingStruct } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedAcceptWithBody } from "../schemas/schemas_32_Json"; +import { MalformedAcceptWithBody } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithGenericStringCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithGenericStringCommand.ts index 602c44433cd9..d30a4451779e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithGenericStringCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithGenericStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedAcceptWithGenericStringOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedAcceptWithGenericString } from "../schemas/schemas_6_MalformedAcceptWithGenericString"; +import { MalformedAcceptWithGenericString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithPayloadCommand.ts index 4b0cfacde1ae..e7dc72da4ce4 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedAcceptWithPayloadCommand.ts @@ -7,7 +7,7 @@ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedAcceptWithPayloadOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedAcceptWithPayload } from "../schemas/schemas_4_WithPayload"; +import { MalformedAcceptWithPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedBlobCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedBlobCommand.ts index 8479de8a07c3..13330caea11d 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedBlobCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedBlobCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedBlobInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedBlob } from "../schemas/schemas_3_Blob"; +import { MalformedBlob } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedBooleanCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedBooleanCommand.ts index c3bafc2ca95b..7e374a3e7ec4 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedBooleanCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedBooleanCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedBooleanInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedBoolean } from "../schemas/schemas_2_Json"; +import { MalformedBoolean } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedByteCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedByteCommand.ts index 734463cd7239..82f038939af6 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedByteCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedByteCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedByteInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedByte } from "../schemas/schemas_53_With"; +import { MalformedByte } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithBodyCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithBodyCommand.ts index 689a5e779efc..89ccef17ab7a 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithBodyCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithBodyCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingStruct } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedContentTypeWithBody } from "../schemas/schemas_32_Json"; +import { MalformedContentTypeWithBody } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithGenericStringCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithGenericStringCommand.ts index 8f049ee2cb22..1e95e8ed20de 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithGenericStringCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithGenericStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedContentTypeWithGenericStringInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedContentTypeWithGenericString } from "../schemas/schemas_41_MalformedContentTypeWithGenericString"; +import { MalformedContentTypeWithGenericString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithPayloadCommand.ts index bc25bf029b4b..842af342f31f 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithPayloadCommand.ts @@ -6,7 +6,7 @@ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smit import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedContentTypeWithPayloadInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedContentTypeWithPayload } from "../schemas/schemas_4_WithPayload"; +import { MalformedContentTypeWithPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyCommand.ts index 89a48a028175..74363557c2be 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedContentTypeWithoutBody } from "../schemas/schemas_45_MalformedContentTypeWithoutBody"; +import { MalformedContentTypeWithoutBody } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyEmptyInputCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyEmptyInputCommand.ts index 176231a531b1..f4230c6b7432 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyEmptyInputCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedContentTypeWithoutBodyEmptyInputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedContentTypeWithoutBodyEmptyInputInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedContentTypeWithoutBodyEmptyInput } from "../schemas/schemas_50_MalformedContentTypeWithoutBodyEmptyInput"; +import { MalformedContentTypeWithoutBodyEmptyInput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedDoubleCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedDoubleCommand.ts index a9722b2f01d3..7d11aea5b555 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedDoubleCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedDoubleCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedDoubleInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedDouble } from "../schemas/schemas_28_With"; +import { MalformedDouble } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedFloatCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedFloatCommand.ts index 4cca4e15f4d5..68083d90a263 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedFloatCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedFloatCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedFloatInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedFloat } from "../schemas/schemas_5_With"; +import { MalformedFloat } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedIntegerCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedIntegerCommand.ts index af226d31017d..006019fbd482 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedIntegerCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedIntegerCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedIntegerInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedInteger } from "../schemas/schemas_18_MalformedInteger"; +import { MalformedInteger } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedListCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedListCommand.ts index 8e2a4562e072..89ff997cf25d 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedListCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedListCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedListInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedList } from "../schemas/schemas_47_MalformedList"; +import { MalformedList } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedLongCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedLongCommand.ts index 341de183a740..67d4055dead1 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedLongCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedLongCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedLongInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedLong } from "../schemas/schemas_51_With"; +import { MalformedLong } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedMapCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedMapCommand.ts index 37abc8085c81..2bfdd99a6a5e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedMapCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedMapCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedMapInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedMap } from "../schemas/schemas_38_MalformedMap"; +import { MalformedMap } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedRequestBodyCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedRequestBodyCommand.ts index 0e4b965b990a..1eb5f048e9c5 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedRequestBodyCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedRequestBodyCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedRequestBodyInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedRequestBody } from "../schemas/schemas_5_With"; +import { MalformedRequestBody } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedShortCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedShortCommand.ts index 551581e3dc33..32a5b3d26de7 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedShortCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedShortCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedShortInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedShort } from "../schemas/schemas_20_With"; +import { MalformedShort } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedStringCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedStringCommand.ts index 944466d20002..a9e42ab50088 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedStringCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedStringInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedString } from "../schemas/schemas_12_MalformedString"; +import { MalformedString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDateTimeCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDateTimeCommand.ts index cb965f23567c..80e9f18fa32c 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDateTimeCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDateTimeCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampBodyDateTimeInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampBodyDateTime } from "../schemas/schemas_24_MalformedTimestampBodyDateTime"; +import { MalformedTimestampBodyDateTime } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDefaultCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDefaultCommand.ts index 6ccb89c2c976..ff4eab06feb6 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDefaultCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyDefaultCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampBodyDefaultInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampBodyDefault } from "../schemas/schemas_46_MalformedTimestampBodyDefault"; +import { MalformedTimestampBodyDefault } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyHttpDateCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyHttpDateCommand.ts index d2789a911666..4710b0b75908 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyHttpDateCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampBodyHttpDateCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampBodyHttpDateInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampBodyHttpDate } from "../schemas/schemas_55_MalformedTimestampBodyHttpDate"; +import { MalformedTimestampBodyHttpDate } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDateTimeCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDateTimeCommand.ts index 55e3d159df0e..d12571794f06 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDateTimeCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDateTimeCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampHeaderDateTimeInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampHeaderDateTime } from "../schemas/schemas_62_MalformedTimestampHeaderDateTime"; +import { MalformedTimestampHeaderDateTime } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDefaultCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDefaultCommand.ts index 02625a28f699..e9e836ca7cdc 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDefaultCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderDefaultCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampHeaderDefaultInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampHeaderDefault } from "../schemas/schemas_58_MalformedTimestampHeaderDefault"; +import { MalformedTimestampHeaderDefault } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderEpochCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderEpochCommand.ts index 25fd37794f45..e0263eb3b51b 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderEpochCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampHeaderEpochCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampHeaderEpochInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampHeaderEpoch } from "../schemas/schemas_11_MalformedTimestampHeaderEpoch"; +import { MalformedTimestampHeaderEpoch } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathDefaultCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathDefaultCommand.ts index 6fe83e4f621f..20e9369679d5 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathDefaultCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathDefaultCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampPathDefaultInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampPathDefault } from "../schemas/schemas_69_MalformedTimestampPathDefault"; +import { MalformedTimestampPathDefault } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathEpochCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathEpochCommand.ts index 04b62dfba076..614f2adf6b4a 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathEpochCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathEpochCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampPathEpochInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampPathEpoch } from "../schemas/schemas_60_MalformedTimestampPathEpoch"; +import { MalformedTimestampPathEpoch } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathHttpDateCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathHttpDateCommand.ts index 59d841aca1b5..602ee464d2b1 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathHttpDateCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampPathHttpDateCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampPathHttpDateInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampPathHttpDate } from "../schemas/schemas_61_MalformedTimestampPathHttpDate"; +import { MalformedTimestampPathHttpDate } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryDefaultCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryDefaultCommand.ts index 86bc406f3d37..f662fff6ec7a 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryDefaultCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryDefaultCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampQueryDefaultInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampQueryDefault } from "../schemas/schemas_66_MalformedTimestampQueryDefault"; +import { MalformedTimestampQueryDefault } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryEpochCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryEpochCommand.ts index d376015d25b4..ceeb60b3d3df 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryEpochCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryEpochCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampQueryEpochInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampQueryEpoch } from "../schemas/schemas_43_MalformedTimestampQueryEpoch"; +import { MalformedTimestampQueryEpoch } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryHttpDateCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryHttpDateCommand.ts index 65f19ba159ba..52d7aa2b105b 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryHttpDateCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedTimestampQueryHttpDateCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedTimestampQueryHttpDateInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedTimestampQueryHttpDate } from "../schemas/schemas_67_MalformedTimestampQueryHttpDate"; +import { MalformedTimestampQueryHttpDate } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MalformedUnionCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MalformedUnionCommand.ts index 43a1985d7412..799d3135024e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MalformedUnionCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MalformedUnionCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MalformedUnionInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MalformedUnion } from "../schemas/schemas_23_MalformedUnion"; +import { MalformedUnion } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/MediaTypeHeaderCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/MediaTypeHeaderCommand.ts index 0e656d5f4c8d..11ae3f826e06 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/MediaTypeHeaderCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/MediaTypeHeaderCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { MediaTypeHeaderInput, MediaTypeHeaderOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { MediaTypeHeader } from "../schemas/schemas_13_MediaTypeHeader"; +import { MediaTypeHeader } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndNoOutputCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndNoOutputCommand.ts index 757ac549560e..ece777b0b088 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndNoOutputCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndNoOutputCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { NoInputAndNoOutput } from "../schemas/schemas_27_NoInputAndNoOutput"; +import { NoInputAndNoOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndOutputCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndOutputCommand.ts index 25b914d9d7a9..0320cc937604 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndOutputCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/NoInputAndOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NoInputAndOutputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { NoInputAndOutput } from "../schemas/schemas_19_NoInputAndOutput"; +import { NoInputAndOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersClientCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersClientCommand.ts index a8e3ae1c64f6..8449416dce46 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersClientCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersClientCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NullAndEmptyHeadersIO } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { NullAndEmptyHeadersClient } from "../schemas/schemas_22_Headers"; +import { NullAndEmptyHeadersClient } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersServerCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersServerCommand.ts index 9e96d354b744..1578bb30f193 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersServerCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/NullAndEmptyHeadersServerCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NullAndEmptyHeadersIO } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { NullAndEmptyHeadersServer } from "../schemas/schemas_22_Headers"; +import { NullAndEmptyHeadersServer } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts index e7a36b32eaa9..35d4c02afb6e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { OmitsNullSerializesEmptyStringInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { OmitsNullSerializesEmptyString } from "../schemas/schemas_63_OmitsNullSerializesEmptyString"; +import { OmitsNullSerializesEmptyString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/OmitsSerializingEmptyListsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/OmitsSerializingEmptyListsCommand.ts index 092189f2a2c9..db88e827f364 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/OmitsSerializingEmptyListsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/OmitsSerializingEmptyListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { OmitsSerializingEmptyListsInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { OmitsSerializingEmptyLists } from "../schemas/schemas_2_Json"; +import { OmitsSerializingEmptyLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/OperationWithDefaultsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/OperationWithDefaultsCommand.ts index f9da2b7fc19c..fe5585259c40 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/OperationWithDefaultsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/OperationWithDefaultsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { OperationWithDefaultsInput, OperationWithDefaultsOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { OperationWithDefaults } from "../schemas/schemas_2_Json"; +import { OperationWithDefaults } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/OperationWithNestedStructureCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/OperationWithNestedStructureCommand.ts index 4dc6a44ee1ec..ecd842b88fc9 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/OperationWithNestedStructureCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/OperationWithNestedStructureCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { OperationWithNestedStructureInput, OperationWithNestedStructureOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { OperationWithNestedStructure } from "../schemas/schemas_9_OperationWithNestedStructure"; +import { OperationWithNestedStructure } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/PostPlayerActionCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/PostPlayerActionCommand.ts index be686862f9c2..da94cd9f0176 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/PostPlayerActionCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/PostPlayerActionCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PostPlayerActionInput, PostPlayerActionOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { PostPlayerAction } from "../schemas/schemas_15_Json"; +import { PostPlayerAction } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/PostUnionWithJsonNameCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/PostUnionWithJsonNameCommand.ts index 59d8e7e71a33..1581f1ee29bf 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/PostUnionWithJsonNameCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/PostUnionWithJsonNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PostUnionWithJsonNameInput, PostUnionWithJsonNameOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { PostUnionWithJsonName } from "../schemas/schemas_49_PostUnionWithJsonName"; +import { PostUnionWithJsonName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/PutWithContentEncodingCommand.ts index dbad34db9862..f4632b9c78b2 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/PutWithContentEncodingCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutWithContentEncodingInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { PutWithContentEncoding } from "../schemas/schemas_56_PutWithContentEncoding"; +import { PutWithContentEncoding } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 1286509880b3..53ef749e0272 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryIdempotencyTokenAutoFillInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_64_QueryIdempotencyTokenAutoFill"; +import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/QueryParamsAsStringListMapCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/QueryParamsAsStringListMapCommand.ts index f628a3efbad7..90b99a1f28dc 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/QueryParamsAsStringListMapCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/QueryParamsAsStringListMapCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryParamsAsStringListMapInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { QueryParamsAsStringListMap } from "../schemas/schemas_22_Headers"; +import { QueryParamsAsStringListMap } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/QueryPrecedenceCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/QueryPrecedenceCommand.ts index 6d2ed0231079..e9de8d6acb2f 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/QueryPrecedenceCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/QueryPrecedenceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryPrecedenceInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { QueryPrecedence } from "../schemas/schemas_21_Headers"; +import { QueryPrecedence } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/RecursiveShapesCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/RecursiveShapesCommand.ts index 3e861ee5128d..76c942962140 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/RecursiveShapesCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/RecursiveShapesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RecursiveShapesInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { RecursiveShapes } from "../schemas/schemas_31_RecursiveShapes"; +import { RecursiveShapes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeHttpFallbackCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeHttpFallbackCommand.ts index 15e55fe4396c..cc4661259a6b 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeHttpFallbackCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeHttpFallbackCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ResponseCodeHttpFallbackInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { ResponseCodeHttpFallback } from "../schemas/schemas_39_ResponseCodeHttpFallback"; +import { ResponseCodeHttpFallback } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeRequiredCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeRequiredCommand.ts index 546220db7d6e..a1020bde2937 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeRequiredCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/ResponseCodeRequiredCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ResponseCodeRequiredOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { ResponseCodeRequired } from "../schemas/schemas_16_ResponseCodeRequired"; +import { ResponseCodeRequired } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/SimpleScalarPropertiesCommand.ts index f0086a13b2c4..a52638bcc752 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/SimpleScalarPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleScalarPropertiesInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { SimpleScalarProperties } from "../schemas/schemas_2_Json"; +import { SimpleScalarProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonListsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonListsCommand.ts index ec9cb9476ad4..cba493f9348d 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonListsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SparseJsonListsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { SparseJsonLists } from "../schemas/schemas_20_With"; +import { SparseJsonLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonMapsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonMapsCommand.ts index 691eb9dd2b3b..6dfb8e394e4b 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonMapsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/SparseJsonMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SparseJsonMapsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { SparseJsonMaps } from "../schemas/schemas_2_Json"; +import { SparseJsonMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsCommand.ts index cbd58f690b89..ff32f54f853d 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsCommand.ts @@ -10,7 +10,7 @@ import { import { commonParams } from "../endpoint/EndpointParameters"; import { StreamingTraitsInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { StreamingTraits } from "../schemas/schemas_48_StreamingTraits"; +import { StreamingTraits } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsRequireLengthCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsRequireLengthCommand.ts index 5c135c0430c7..9319066a6518 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsRequireLengthCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsRequireLengthCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } fr import { commonParams } from "../endpoint/EndpointParameters"; import { StreamingTraitsRequireLengthInput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { StreamingTraitsRequireLength } from "../schemas/schemas_34_StreamingTraitsRequireLength"; +import { StreamingTraitsRequireLength } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsWithMediaTypeCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsWithMediaTypeCommand.ts index 674935948056..1862cd2af91d 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsWithMediaTypeCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/StreamingTraitsWithMediaTypeCommand.ts @@ -10,7 +10,7 @@ import { import { commonParams } from "../endpoint/EndpointParameters"; import { StreamingTraitsWithMediaTypeInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { StreamingTraitsWithMediaType } from "../schemas/schemas_29_StreamingTraitsWithMediaType"; +import { StreamingTraitsWithMediaType } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestBodyStructureCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestBodyStructureCommand.ts index 853aab056d44..3f56ac0bb50e 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestBodyStructureCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestBodyStructureCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestBodyStructureInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestBodyStructure } from "../schemas/schemas_52_TestBodyStructure"; +import { TestBodyStructure } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoInputNoPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoInputNoPayloadCommand.ts index d96636aed07d..61c7260ade41 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoInputNoPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoInputNoPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestNoPayloadInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestGetNoInputNoPayload } from "../schemas/schemas_14_Test"; +import { TestGetNoInputNoPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoPayloadCommand.ts index 34e1d089a122..ca6adb36fd79 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestGetNoPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestNoPayloadInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestGetNoPayload } from "../schemas/schemas_14_Test"; +import { TestGetNoPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadBlobCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadBlobCommand.ts index c06bf12f9d2a..fe35dda795e0 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadBlobCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadBlobCommand.ts @@ -7,7 +7,7 @@ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestPayloadBlobInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestPayloadBlob } from "../schemas/schemas_3_Blob"; +import { TestPayloadBlob } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadStructureCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadStructureCommand.ts index 87c759ba938e..958375038916 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadStructureCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestPayloadStructureCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestPayloadStructureInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestPayloadStructure } from "../schemas/schemas_59_TestPayloadStructure"; +import { TestPayloadStructure } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoInputNoPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoInputNoPayloadCommand.ts index 8abea1ab3786..2e53550c1376 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoInputNoPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoInputNoPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestNoPayloadInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestPostNoInputNoPayload } from "../schemas/schemas_14_Test"; +import { TestPostNoInputNoPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoPayloadCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoPayloadCommand.ts index 5d1f5eb14017..3934b11ecbee 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoPayloadCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TestPostNoPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TestNoPayloadInputOutput } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TestPostNoPayload } from "../schemas/schemas_14_Test"; +import { TestPostNoPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/TimestampFormatHeadersCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/TimestampFormatHeadersCommand.ts index e17ed9fe84ae..55985c494189 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/TimestampFormatHeadersCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/TimestampFormatHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TimestampFormatHeadersIO } from "../models/models_0"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { TimestampFormatHeaders } from "../schemas/schemas_7_Timestamp"; +import { TimestampFormatHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/commands/UnitInputAndOutputCommand.ts b/private/aws-protocoltests-restjson-schema/src/commands/UnitInputAndOutputCommand.ts index ed24b98617dc..963efe3144e2 100644 --- a/private/aws-protocoltests-restjson-schema/src/commands/UnitInputAndOutputCommand.ts +++ b/private/aws-protocoltests-restjson-schema/src/commands/UnitInputAndOutputCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestJsonProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestJsonProtocolClient"; -import { UnitInputAndOutput } from "../schemas/schemas_70_UnitInputAndOutput"; +import { UnitInputAndOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_0.ts index 883e477051e6..6c0c50296973 100644 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_0.ts @@ -574,11 +574,2877 @@ export const n1 = "aws.protocoltests.shared"; export const n2 = "aws.protocoltests.restjson.nested"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticSimpleSchema, + StaticStructureSchema, +} from "@smithy/types"; +import { + ComplexError as __ComplexError, + FooError as __FooError, + InvalidGreeting as __InvalidGreeting, +} from "../models/index"; import { RestJsonProtocolServiceException as __RestJsonProtocolServiceException } from "../models/RestJsonProtocolServiceException"; /* eslint no-var: 0 */ -export var RestJsonProtocolServiceException = error(_sm, "RestJsonProtocolServiceException", 0, [], [], null); +export var FiniteStreamingBlob: StaticSimpleSchema = [ + 0, + n0, + _FSB, + { + [_rL]: 1, + [_s]: 1, + }, + + 42, +]; +export var JsonHeaderString: StaticSimpleSchema = [ + 0, + n0, + _JHS, + { + [_mT]: _a, + }, + + 0, +]; +export var JsonValue: StaticSimpleSchema = [ + 0, + n0, + _JV, + { + [_mT]: _a, + }, + + 0, +]; +export var StreamingBlob: StaticSimpleSchema = [ + 0, + n0, + _SB, + { + [_s]: 1, + }, + + 42, +]; +export var StreamingTextPlainBlob: StaticSimpleSchema = [ + 0, + n0, + _STPB, + { + [_mT]: _t, + [_s]: 1, + }, + + 42, +]; +export var JpegBlob: StaticSimpleSchema = [ + 0, + n1, + _JB, + { + [_mT]: _i, + }, + + 21, +]; +export var TextPlainBlob: StaticSimpleSchema = [ + 0, + n1, + _TPB, + { + [_mT]: _t, + }, + + 21, +]; +export var AllQueryStringTypesInput: StaticStructureSchema = [ + 3, + n0, + _AQSTI, + 0, + [ + _qS, + _qSL, + _qSS, + _qB, + _qSu, + _qI, + _qIL, + _qIS, + _qL, + _qF, + _qD, + _qDL, + _qBu, + _qBL, + _qT, + _qTL, + _qE, + _qEL, + _qIE, + _qIEL, + _qPMOSL, + ], + [ + [ + 0, + { + [_hQ]: _S, + }, + ], + [ + 64 | 0, + { + [_hQ]: _SL, + }, + ], + [ + 64 | 0, + { + [_hQ]: _SS, + }, + ], + [ + 1, + { + [_hQ]: _B, + }, + ], + [ + 1, + { + [_hQ]: _Sh, + }, + ], + [ + 1, + { + [_hQ]: _I, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IL, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IS, + }, + ], + [ + 1, + { + [_hQ]: _L, + }, + ], + [ + 1, + { + [_hQ]: _F, + }, + ], + [ + 1, + { + [_hQ]: _D, + }, + ], + [ + 64 | 1, + { + [_hQ]: _DL, + }, + ], + [ + 2, + { + [_hQ]: _Bo, + }, + ], + [ + 64 | 2, + { + [_hQ]: _BL, + }, + ], + [ + 4, + { + [_hQ]: _T, + }, + ], + [ + 64 | 4, + { + [_hQ]: _TL, + }, + ], + [ + 0, + { + [_hQ]: _E, + }, + ], + [ + 64 | 0, + { + [_hQ]: _EL, + }, + ], + [ + 1, + { + [_hQ]: _IE, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IEL, + }, + ], + [[2, n1, _SLM, 0, 64 | 0] as StaticMapSchema, 64], + ], +]; +export var ClientOptionalDefaults: StaticStructureSchema = [3, n0, _COD, 0, [_m], [1]]; +export var ComplexError: StaticErrorSchema = [ + -3, + n0, + _CE, + { + [_e]: _c, + [_hE]: 403, + }, + [_H, _TLo, _N], + [ + [ + 0, + { + [_hH]: _XH, + }, + ], + 0, + [() => ComplexNestedErrorData, 0], + ], +]; +TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [ + 3, + n0, + _CNED, + 0, + [_Fo], + [ + [ + 0, + { + [_jN]: _Foo, + }, + ], + ], +]; +export var ConstantAndVariableQueryStringInput: StaticStructureSchema = [ + 3, + n0, + _CAVQSI, + 0, + [_b, _mS], + [ + [ + 0, + { + [_hQ]: _b, + }, + ], + [ + 0, + { + [_hQ]: _mS, + }, + ], + ], +]; +export var ConstantQueryStringInput: StaticStructureSchema = [3, n0, _CQSI, 0, [_h], [[0, 1]]]; +export var ContentTypeParametersInput: StaticStructureSchema = [3, n0, _CTPI, 0, [_v], [1]]; +export var ContentTypeParametersOutput: StaticStructureSchema = [3, n0, _CTPO, 0, [], []]; +export var DatetimeOffsetsOutput: StaticStructureSchema = [3, n0, _DOO, 0, [_d], [5]]; +export var Defaults: StaticStructureSchema = [ + 3, + n0, + _De, + 0, + [ + _dS, + _dB, + _dL, + _dDM, + _dDS, + _dDB, + _dDL, + _dND, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1], +]; +export var Dialog: StaticStructureSchema = [3, n0, _Di, 0, [_l, _g, _f], [0, 0, () => Farewell]]; +export var DocumentTypeAsMapValueInputOutput: StaticStructureSchema = [3, n0, _DTAMVIO, 0, [_dVM], [128 | 15]]; +export var DocumentTypeAsPayloadInputOutput: StaticStructureSchema = [3, n0, _DTAPIO, 0, [_dV], [[15, 16]]]; +export var DocumentTypeInputOutput: StaticStructureSchema = [3, n0, _DTIO, 0, [_sV, _dV], [0, 15]]; +export var EmptyInputAndEmptyOutputInput: StaticStructureSchema = [3, n0, _EIAEOI, 0, [], []]; +export var EmptyInputAndEmptyOutputOutput: StaticStructureSchema = [3, n0, _EIAEOO, 0, [], []]; +export var EnumPayloadInput: StaticStructureSchema = [3, n0, _EPI, 0, [_p], [[0, 16]]]; +export var Farewell: StaticStructureSchema = [3, n0, _Fa, 0, [_ph], [0]]; +export var FooError: StaticErrorSchema = [ + -3, + n0, + _FE, + { + [_e]: _se, + [_hE]: 500, + }, + [], + [], +]; +TypeRegistry.for(n0).registerError(FooError, __FooError); + +export var FractionalSecondsOutput: StaticStructureSchema = [3, n0, _FSO, 0, [_d], [5]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [ + 3, + n0, + _GWEO, + 0, + [_g], + [ + [ + 0, + { + [_hH]: _XG, + }, + ], + ], +]; +export var HostLabelInput: StaticStructureSchema = [ + 3, + n0, + _HLI, + 0, + [_la], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ], +]; +export var HttpChecksumRequiredInputOutput: StaticStructureSchema = [3, n0, _HCRIO, 0, [_fo], [0]]; +export var HttpEmptyPrefixHeadersInput: StaticStructureSchema = [ + 3, + n0, + _HEPHI, + 0, + [_pH, _sH], + [ + [ + 128 | 0, + { + [_hPH]: _, + }, + ], + [ + 0, + { + [_hH]: _h, + }, + ], + ], +]; +export var HttpEmptyPrefixHeadersOutput: StaticStructureSchema = [ + 3, + n0, + _HEPHO, + 0, + [_pH, _sH], + [ + [ + 128 | 0, + { + [_hPH]: _, + }, + ], + [ + 0, + { + [_hH]: _h, + }, + ], + ], +]; +export var HttpPayloadTraitsInputOutput: StaticStructureSchema = [ + 3, + n0, + _HPTIO, + 0, + [_fo, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [21, 16], + ], +]; +export var HttpPayloadTraitsWithMediaTypeInputOutput: StaticStructureSchema = [ + 3, + n0, + _HPTWMTIO, + 0, + [_fo, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [() => TextPlainBlob, 16], + ], +]; +export var HttpPayloadWithStructureInputOutput: StaticStructureSchema = [ + 3, + n0, + _HPWSIO, + 0, + [_n], + [[() => NestedPayload, 16]], +]; +export var HttpPayloadWithUnionInputOutput: StaticStructureSchema = [ + 3, + n0, + _HPWUIO, + 0, + [_n], + [[() => UnionPayload, 16]], +]; +export var HttpPrefixHeadersInput: StaticStructureSchema = [ + 3, + n0, + _HPHI, + 0, + [_fo, _fM], + [ + [ + 0, + { + [_hH]: _xf, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xf_, + }, + ], + ], +]; +export var HttpPrefixHeadersInResponseInput: StaticStructureSchema = [3, n0, _HPHIRI, 0, [], []]; +export var HttpPrefixHeadersInResponseOutput: StaticStructureSchema = [ + 3, + n0, + _HPHIRO, + 0, + [_pH], + [ + [ + 128 | 0, + { + [_hPH]: _, + }, + ], + ], +]; +export var HttpPrefixHeadersOutput: StaticStructureSchema = [ + 3, + n0, + _HPHO, + 0, + [_fo, _fM], + [ + [ + 0, + { + [_hH]: _xf, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xf_, + }, + ], + ], +]; +export var HttpRequestWithFloatLabelsInput: StaticStructureSchema = [ + 3, + n0, + _HRWFLI, + 0, + [_fl, _do], + [ + [1, 1], + [1, 1], + ], +]; +export var HttpRequestWithGreedyLabelInPathInput: StaticStructureSchema = [ + 3, + n0, + _HRWGLIPI, + 0, + [_fo, _b], + [ + [0, 1], + [0, 1], + ], +]; +export var HttpRequestWithLabelsAndTimestampFormatInput: StaticStructureSchema = [ + 3, + n0, + _HRWLATFI, + 0, + [_mES, _mHD, _mDT, _dFe, _tES, _tHD, _tDT], + [ + [7, 1], + [6, 1], + [5, 1], + [4, 1], + [7, 1], + [6, 1], + [5, 1], + ], +]; +export var HttpRequestWithLabelsInput: StaticStructureSchema = [ + 3, + n0, + _HRWLI, + 0, + [_st, _sh, _in, _lo, _fl, _do, _bo, _ti], + [ + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [4, 1], + ], +]; +export var HttpRequestWithRegexLiteralInput: StaticStructureSchema = [3, n0, _HRWRLI, 0, [_str], [[0, 1]]]; +export var HttpResponseCodeOutput: StaticStructureSchema = [3, n0, _HRCO, 0, [_St], [[1, 32]]]; +export var IgnoreQueryParamsInResponseOutput: StaticStructureSchema = [ + 3, + n0, + _IQPIRO, + 0, + [_b], + [ + [ + 0, + { + [_hQ]: _b, + }, + ], + ], +]; +export var InputAndOutputWithHeadersIO: StaticStructureSchema = [ + 3, + n0, + _IAOWHIO, + 0, + [_hS, _hB, _hSe, _hI, _hLe, _hF, _hD, _hTB, _hFB, _hSL, _hSS, _hIL, _hBL, _hTL, _hEe, _hEL, _hIE, _hIEL], + [ + [ + 0, + { + [_hH]: _XS, + }, + ], + [ + 1, + { + [_hH]: _XB, + }, + ], + [ + 1, + { + [_hH]: _XS_, + }, + ], + [ + 1, + { + [_hH]: _XI, + }, + ], + [ + 1, + { + [_hH]: _XL, + }, + ], + [ + 1, + { + [_hH]: _XF_, + }, + ], + [ + 1, + { + [_hH]: _XD, + }, + ], + [ + 2, + { + [_hH]: _XB_, + }, + ], + [ + 2, + { + [_hH]: _XB__, + }, + ], + [ + 64 | 0, + { + [_hH]: _XS__, + }, + ], + [ + 64 | 0, + { + [_hH]: _XS___, + }, + ], + [ + 64 | 1, + { + [_hH]: _XI_, + }, + ], + [ + 64 | 2, + { + [_hH]: _XB___, + }, + ], + [ + 64 | 4, + { + [_hH]: _XT, + }, + ], + [ + 0, + { + [_hH]: _XE, + }, + ], + [ + 64 | 0, + { + [_hH]: _XE_, + }, + ], + [ + 1, + { + [_hH]: _XI__, + }, + ], + [ + 64 | 1, + { + [_hH]: _XI___, + }, + ], + ], +]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n0, + _IG, + { + [_e]: _c, + [_hE]: 400, + }, + [_M], + [0], +]; +TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); + +export var JsonBlobsInputOutput: StaticStructureSchema = [3, n0, _JBIO, 0, [_da], [21]]; +export var JsonEnumsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JEIO, + 0, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0], +]; +export var JsonIntEnumsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JIEIO, + 0, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1], +]; +export var JsonListsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JLIO, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iELn, _nSL, _sLt], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n1, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => StructureList, + { + [_jN]: _mSL, + }, + ], + ], +]; +export var JsonMapsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JMIO, + 0, + [_dSM, _dNM, _dBM, _dSMe, _dSMen], + [() => DenseStructMap, 128 | 1, 128 | 2, 128 | 0, [2, n0, _DSM, 0, 64 | 0] as StaticMapSchema], +]; +export var JsonTimestampsInputOutput: StaticStructureSchema = [ + 3, + n0, + _JTIO, + 0, + [_no, _dTa, _dTOT, _eSp, _eSOT, _hDt, _hDOT], + [4, 5, 5, 7, 7, 6, 6], +]; +export var MalformedAcceptWithGenericStringOutput: StaticStructureSchema = [3, n0, _MAWGSO, 0, [_p], [[0, 16]]]; +export var MalformedAcceptWithPayloadOutput: StaticStructureSchema = [3, n0, _MAWPO, 0, [_p], [[() => JpegBlob, 16]]]; +export var MalformedBlobInput: StaticStructureSchema = [3, n0, _MBI, 0, [_bl], [21]]; +export var MalformedBooleanInput: StaticStructureSchema = [ + 3, + n0, + _MBIa, + 0, + [_bIB, _bIP, _bIQ, _bIH], + [ + 2, + [2, 1], + [ + 2, + { + [_hQ]: _bIQ, + }, + ], + [ + 2, + { + [_hH]: _bIH, + }, + ], + ], +]; +export var MalformedByteInput: StaticStructureSchema = [ + 3, + n0, + _MBIal, + 0, + [_bIBy, _bIPy, _bIQy, _bIHy], + [ + 1, + [1, 1], + [ + 1, + { + [_hQ]: _bIQy, + }, + ], + [ + 1, + { + [_hH]: _bIHy, + }, + ], + ], +]; +export var MalformedContentTypeWithGenericStringInput: StaticStructureSchema = [3, n0, _MCTWGSI, 0, [_p], [[0, 16]]]; +export var MalformedContentTypeWithoutBodyEmptyInputInput: StaticStructureSchema = [ + 3, + n0, + _MCTWBEII, + 0, + [_he], + [ + [ + 0, + { + [_hH]: _he, + }, + ], + ], +]; +export var MalformedContentTypeWithPayloadInput: StaticStructureSchema = [ + 3, + n0, + _MCTWPI, + 0, + [_p], + [[() => JpegBlob, 16]], +]; +export var MalformedDoubleInput: StaticStructureSchema = [ + 3, + n0, + _MDI, + 0, + [_dIB, _dIP, _dIQ, _dIH], + [ + 1, + [1, 1], + [ + 1, + { + [_hQ]: _dIQ, + }, + ], + [ + 1, + { + [_hH]: _dIH, + }, + ], + ], +]; +export var MalformedFloatInput: StaticStructureSchema = [ + 3, + n0, + _MFI, + 0, + [_fIB, _fIP, _fIQ, _fIH], + [ + 1, + [1, 1], + [ + 1, + { + [_hQ]: _fIQ, + }, + ], + [ + 1, + { + [_hH]: _fIH, + }, + ], + ], +]; +export var MalformedIntegerInput: StaticStructureSchema = [ + 3, + n0, + _MII, + 0, + [_iIB, _iIP, _iIQ, _iIH], + [ + 1, + [1, 1], + [ + 1, + { + [_hQ]: _iIQ, + }, + ], + [ + 1, + { + [_hH]: _iIH, + }, + ], + ], +]; +export var MalformedListInput: StaticStructureSchema = [3, n0, _MLI, 0, [_bLo], [64 | 0]]; +export var MalformedLongInput: StaticStructureSchema = [ + 3, + n0, + _MLIa, + 0, + [_lIB, _lIP, _lIQ, _lIH], + [ + 1, + [1, 1], + [ + 1, + { + [_hQ]: _lIQ, + }, + ], + [ + 1, + { + [_hH]: _lIH, + }, + ], + ], +]; +export var MalformedMapInput: StaticStructureSchema = [3, n0, _MMI, 0, [_bM], [128 | 0]]; +export var MalformedRequestBodyInput: StaticStructureSchema = [3, n0, _MRBI, 0, [_int, _fl], [1, 1]]; +export var MalformedShortInput: StaticStructureSchema = [ + 3, + n0, + _MSI, + 0, + [_sIB, _sIP, _sIQ, _sIH], + [ + 1, + [1, 1], + [ + 1, + { + [_hQ]: _sIQ, + }, + ], + [ + 1, + { + [_hH]: _sIH, + }, + ], + ], +]; +export var MalformedStringInput: StaticStructureSchema = [ + 3, + n0, + _MSIa, + 0, + [_bl], + [ + [ + () => JsonHeaderString, + { + [_hH]: _amth, + }, + ], + ], +]; +export var MalformedTimestampBodyDateTimeInput: StaticStructureSchema = [3, n0, _MTBDTI, 0, [_ti], [5]]; +export var MalformedTimestampBodyDefaultInput: StaticStructureSchema = [3, n0, _MTBDI, 0, [_ti], [4]]; +export var MalformedTimestampBodyHttpDateInput: StaticStructureSchema = [3, n0, _MTBHDI, 0, [_ti], [6]]; +export var MalformedTimestampHeaderDateTimeInput: StaticStructureSchema = [ + 3, + n0, + _MTHDTI, + 0, + [_ti], + [ + [ + 5, + { + [_hH]: _ti, + }, + ], + ], +]; +export var MalformedTimestampHeaderDefaultInput: StaticStructureSchema = [ + 3, + n0, + _MTHDI, + 0, + [_ti], + [ + [ + 4, + { + [_hH]: _ti, + }, + ], + ], +]; +export var MalformedTimestampHeaderEpochInput: StaticStructureSchema = [ + 3, + n0, + _MTHEI, + 0, + [_ti], + [ + [ + 7, + { + [_hH]: _ti, + }, + ], + ], +]; +export var MalformedTimestampPathDefaultInput: StaticStructureSchema = [3, n0, _MTPDI, 0, [_ti], [[4, 1]]]; +export var MalformedTimestampPathEpochInput: StaticStructureSchema = [3, n0, _MTPEI, 0, [_ti], [[7, 1]]]; +export var MalformedTimestampPathHttpDateInput: StaticStructureSchema = [3, n0, _MTPHDI, 0, [_ti], [[6, 1]]]; +export var MalformedTimestampQueryDefaultInput: StaticStructureSchema = [ + 3, + n0, + _MTQDI, + 0, + [_ti], + [ + [ + 4, + { + [_hQ]: _ti, + }, + ], + ], +]; +export var MalformedTimestampQueryEpochInput: StaticStructureSchema = [ + 3, + n0, + _MTQEI, + 0, + [_ti], + [ + [ + 7, + { + [_hQ]: _ti, + }, + ], + ], +]; +export var MalformedTimestampQueryHttpDateInput: StaticStructureSchema = [ + 3, + n0, + _MTQHDI, + 0, + [_ti], + [ + [ + 6, + { + [_hQ]: _ti, + }, + ], + ], +]; +export var MalformedUnionInput: StaticStructureSchema = [3, n0, _MUI, 0, [_u], [() => SimpleUnion]]; +export var MediaTypeHeaderInput: StaticStructureSchema = [ + 3, + n0, + _MTHI, + 0, + [_j], + [ + [ + () => JsonValue, + { + [_hH]: _XJ, + }, + ], + ], +]; +export var MediaTypeHeaderOutput: StaticStructureSchema = [ + 3, + n0, + _MTHO, + 0, + [_j], + [ + [ + () => JsonValue, + { + [_hH]: _XJ, + }, + ], + ], +]; +export var NestedPayload: StaticStructureSchema = [3, n0, _NP, 0, [_g, _na], [0, 0]]; +export var NoInputAndOutputOutput: StaticStructureSchema = [3, n0, _NIAOO, 0, [], []]; +export var NullAndEmptyHeadersIO: StaticStructureSchema = [ + 3, + n0, + _NAEHIO, + 0, + [_a_, _b_, _c_], + [ + [ + 0, + { + [_hH]: _XA, + }, + ], + [ + 0, + { + [_hH]: _XB____, + }, + ], + [ + 64 | 0, + { + [_hH]: _XC, + }, + ], + ], +]; +export var OmitsNullSerializesEmptyStringInput: StaticStructureSchema = [ + 3, + n0, + _ONSESI, + 0, + [_nV, _eS], + [ + [ + 0, + { + [_hQ]: _Nu, + }, + ], + [ + 0, + { + [_hQ]: _Em, + }, + ], + ], +]; +export var OmitsSerializingEmptyListsInput: StaticStructureSchema = [ + 3, + n0, + _OSELI, + 0, + [_qSL, _qIL, _qDL, _qBL, _qTL, _qEL, _qIEL], + [ + [ + 64 | 0, + { + [_hQ]: _SL, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IL, + }, + ], + [ + 64 | 1, + { + [_hQ]: _DL, + }, + ], + [ + 64 | 2, + { + [_hQ]: _BL, + }, + ], + [ + 64 | 4, + { + [_hQ]: _TL, + }, + ], + [ + 64 | 0, + { + [_hQ]: _EL, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IEL, + }, + ], + ], +]; +export var OperationWithDefaultsInput: StaticStructureSchema = [ + 3, + n0, + _OWDI, + 0, + [_de, _cOD, _tLD, _oTLD], + [() => Defaults, () => ClientOptionalDefaults, 0, 1], +]; +export var OperationWithDefaultsOutput: StaticStructureSchema = [ + 3, + n0, + _OWDO, + 0, + [ + _dS, + _dB, + _dL, + _dDM, + _dDS, + _dDB, + _dDL, + _dND, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1], +]; +export var OperationWithNestedStructureInput: StaticStructureSchema = [3, n0, _OWNSI, 0, [_tLo], [() => TopLevel]]; +export var OperationWithNestedStructureOutput: StaticStructureSchema = [ + 3, + n0, + _OWNSO, + 0, + [_di, _dLi, _dMi], + [() => Dialog, () => DialogList, () => DialogMap], +]; +export var PayloadConfig: StaticStructureSchema = [3, n0, _PC, 0, [_da], [1]]; +export var PostPlayerActionInput: StaticStructureSchema = [3, n0, _PPAI, 0, [_ac], [() => PlayerAction]]; +export var PostPlayerActionOutput: StaticStructureSchema = [3, n0, _PPAO, 0, [_ac], [() => PlayerAction]]; +export var PostUnionWithJsonNameInput: StaticStructureSchema = [ + 3, + n0, + _PUWJNI, + 0, + [_v], + [[() => UnionWithJsonName, 0]], +]; +export var PostUnionWithJsonNameOutput: StaticStructureSchema = [ + 3, + n0, + _PUWJNO, + 0, + [_v], + [[() => UnionWithJsonName, 0]], +]; +export var PutWithContentEncodingInput: StaticStructureSchema = [ + 3, + n0, + _PWCEI, + 0, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ], +]; +export var QueryIdempotencyTokenAutoFillInput: StaticStructureSchema = [ + 3, + n0, + _QITAFI, + 0, + [_to], + [ + [ + 0, + { + [_iT]: 1, + [_hQ]: _to, + }, + ], + ], +]; +export var QueryParamsAsStringListMapInput: StaticStructureSchema = [ + 3, + n0, + _QPASLMI, + 0, + [_q, _fo], + [ + [ + 0, + { + [_hQ]: _co, + }, + ], + [[2, n1, _SLM, 0, 64 | 0] as StaticMapSchema, 64], + ], +]; +export var QueryPrecedenceInput: StaticStructureSchema = [ + 3, + n0, + _QPI, + 0, + [_fo, _b], + [ + [ + 0, + { + [_hQ]: _ba, + }, + ], + [128 | 0, 64], + ], +]; +export var RecursiveShapesInputOutput: StaticStructureSchema = [ + 3, + n0, + _RSIO, + 0, + [_n], + [() => RecursiveShapesInputOutputNested1], +]; +export var RecursiveShapesInputOutputNested1: StaticStructureSchema = [ + 3, + n0, + _RSION, + 0, + [_fo, _n], + [0, () => RecursiveShapesInputOutputNested2], +]; +export var RecursiveShapesInputOutputNested2: StaticStructureSchema = [ + 3, + n0, + _RSIONe, + 0, + [_ba, _rM], + [0, () => RecursiveShapesInputOutputNested1], +]; +export var ResponseCodeHttpFallbackInputOutput: StaticStructureSchema = [3, n0, _RCHFIO, 0, [], []]; +export var ResponseCodeRequiredOutput: StaticStructureSchema = [3, n0, _RCRO, 0, [_rC], [[1, 32]]]; +export var SimpleScalarPropertiesInputOutput: StaticStructureSchema = [ + 3, + n0, + _SSPIO, + 0, + [_fo, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dVo], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_jN]: _DD, + }, + ], + ], +]; +export var SparseJsonListsInputOutput: StaticStructureSchema = [ + 3, + n0, + _SJLIO, + 0, + [_sSL, _sSLp], + [ + [() => SparseStringList, 0], + [() => SparseShortList, 0], + ], +]; +export var SparseJsonMapsInputOutput: StaticStructureSchema = [ + 3, + n0, + _SJMIO, + 0, + [_sSM, _sNM, _sBM, _sSMp, _sSMpa], + [ + [() => SparseStructMap, 0], + [() => SparseNumberMap, 0], + [() => SparseBooleanMap, 0], + [() => SparseStringMap, 0], + [() => SparseSetMap, 0], + ], +]; +export var StreamingTraitsInputOutput: StaticStructureSchema = [ + 3, + n0, + _STIO, + 0, + [_fo, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [() => StreamingBlob, 16], + ], +]; +export var StreamingTraitsRequireLengthInput: StaticStructureSchema = [ + 3, + n0, + _STRLI, + 0, + [_fo, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [() => FiniteStreamingBlob, 16], + ], +]; +export var StreamingTraitsWithMediaTypeInputOutput: StaticStructureSchema = [ + 3, + n0, + _STWMTIO, + 0, + [_fo, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [() => StreamingTextPlainBlob, 16], + ], +]; +export var StringPayloadInput: StaticStructureSchema = [3, n0, _SPI, 0, [_p], [[0, 16]]]; +export var StructureListMember: StaticStructureSchema = [ + 3, + n0, + _SLMt, + 0, + [_a_, _b_], + [ + [ + 0, + { + [_jN]: _v, + }, + ], + [ + 0, + { + [_jN]: _o, + }, + ], + ], +]; +export var TestBodyStructureInputOutput: StaticStructureSchema = [ + 3, + n0, + _TBSIO, + 0, + [_tI, _tC], + [ + [ + 0, + { + [_hH]: _xati, + }, + ], + () => TestConfig, + ], +]; +export var TestConfig: StaticStructureSchema = [3, n0, _TC, 0, [_tim], [1]]; +export var TestNoPayloadInputOutput: StaticStructureSchema = [ + 3, + n0, + _TNPIO, + 0, + [_tI], + [ + [ + 0, + { + [_hH]: _XATI, + }, + ], + ], +]; +export var TestPayloadBlobInputOutput: StaticStructureSchema = [ + 3, + n0, + _TPBIO, + 0, + [_cT, _da], + [ + [ + 0, + { + [_hH]: _CT, + }, + ], + [21, 16], + ], +]; +export var TestPayloadStructureInputOutput: StaticStructureSchema = [ + 3, + n0, + _TPSIO, + 0, + [_tI, _pC], + [ + [ + 0, + { + [_hH]: _xati, + }, + ], + [() => PayloadConfig, 16], + ], +]; +export var TimestampFormatHeadersIO: StaticStructureSchema = [ + 3, + n0, + _TFHIO, + 0, + [_mES, _mHD, _mDT, _dFe, _tES, _tHD, _tDT], + [ + [ + 7, + { + [_hH]: _Xm, + }, + ], + [ + 6, + { + [_hH]: _Xm_, + }, + ], + [ + 5, + { + [_hH]: _Xm__, + }, + ], + [ + 4, + { + [_hH]: _Xd, + }, + ], + [ + 7, + { + [_hH]: _Xt, + }, + ], + [ + 6, + { + [_hH]: _Xt_, + }, + ], + [ + 5, + { + [_hH]: _Xt__, + }, + ], + ], +]; +export var TopLevel: StaticStructureSchema = [ + 3, + n0, + _TLo, + 0, + [_di, _dLi, _dMi], + [() => Dialog, () => DialogList, () => DialogMap], +]; +export var UnionInputOutput: StaticStructureSchema = [3, n0, _UIO, 0, [_con], [() => MyUnion]]; +export var GreetingStruct: StaticStructureSchema = [3, n2, _GS, 0, [_sa], [0]]; +export var GreetingStruct_n1: StaticStructureSchema = [3, n1, _GS, 0, [_hi], [0]]; +export var Unit = "unit" as const; + +export var RestJsonProtocolServiceException: StaticErrorSchema = [ + -3, + _sm, + "RestJsonProtocolServiceException", + 0, + [], + [], +]; TypeRegistry.for(_sm).registerError(RestJsonProtocolServiceException, __RestJsonProtocolServiceException); + +export var DialogList: StaticListSchema = [1, n0, _DLi, 0, () => Dialog]; +export var SimpleList = 64 | 0; + +export var StructureList: StaticListSchema = [1, n0, _SLt, 0, [() => StructureListMember, 0]]; +export var TestStringList = 64 | 0; + +export var BooleanList = 64 | 2; + +export var DoubleList = 64 | 1; + +export var FooEnumList = 64 | 0; + +export var FooEnumSet = 64 | 0; + +export var IntegerEnumList = 64 | 1; + +export var IntegerEnumSet = 64 | 1; + +export var IntegerList = 64 | 1; + +export var IntegerSet = 64 | 1; + +export var NestedStringList: StaticListSchema = [1, n1, _NSL, 0, 64 | 0]; +export var SparseShortList: StaticListSchema = [ + 1, + n1, + _SSL, + { + [_sp]: 1, + }, + 1, +]; +export var SparseStringList: StaticListSchema = [ + 1, + n1, + _SSLp, + { + [_sp]: 1, + }, + 0, +]; +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var DenseBooleanMap = 128 | 2; + +export var DenseNumberMap = 128 | 1; + +export var DenseSetMap: StaticMapSchema = [2, n0, _DSM, 0, 0, 64 | 0]; +export var DenseStringMap = 128 | 0; + +export var DenseStructMap: StaticMapSchema = [2, n0, _DSMe, 0, 0, () => GreetingStruct_n1]; +export var DialogMap: StaticMapSchema = [2, n0, _DM, 0, 0, () => Dialog]; +export var DocumentValuedMap = 128 | 15; + +export var SimpleMap = 128 | 0; + +export var SparseBooleanMap: StaticMapSchema = [ + 2, + n0, + _SBM, + { + [_sp]: 1, + }, + 0, + 2, +]; +export var SparseNumberMap: StaticMapSchema = [ + 2, + n0, + _SNM, + { + [_sp]: 1, + }, + 0, + 1, +]; +export var SparseSetMap: StaticMapSchema = [ + 2, + n0, + _SSM, + { + [_sp]: 1, + }, + 0, + 64 | 0, +]; +export var SparseStructMap: StaticMapSchema = [ + 2, + n0, + _SSMp, + { + [_sp]: 1, + }, + 0, + () => GreetingStruct_n1, +]; +export var TestStringMap = 128 | 0; + +export var FooEnumMap = 128 | 0; + +export var IntegerEnumMap = 128 | 1; + +export var SparseStringMap: StaticMapSchema = [ + 2, + n1, + _SSMpa, + { + [_sp]: 1, + }, + 0, + 0, +]; +export var StringListMap: StaticMapSchema = [2, n1, _SLM, 0, 0, 64 | 0]; +export var StringMap = 128 | 0; + +export var MyUnion: StaticStructureSchema = [ + 3, + n0, + _MU, + 0, + [_sV, _bVo, _nVu, _bVl, _tV, _eV, _lVi, _mV, _sVt, _rSV], + [0, 2, 1, 21, 4, 0, 64 | 0, 128 | 0, () => GreetingStruct_n1, () => GreetingStruct], +]; +export var PlayerAction: StaticStructureSchema = [3, n0, _PA, 0, [_qu], [() => Unit]]; +export var SimpleUnion: StaticStructureSchema = [3, n0, _SU, 0, [_int, _st], [1, 0]]; +export var UnionPayload: StaticStructureSchema = [3, n0, _UP, 0, [_g], [0]]; +export var UnionWithJsonName: StaticStructureSchema = [ + 3, + n0, + _UWJN, + 0, + [_fo, _ba, _b], + [ + [ + 0, + { + [_jN]: _FOO, + }, + ], + 0, + [ + 0, + { + [_jN]: _baz, + }, + ], + ], +]; +export var AllQueryStringTypes: StaticOperationSchema = [ + 9, + n0, + _AQST, + { + [_ht]: ["GET", "/AllQueryStringTypesInput", 200], + }, + () => AllQueryStringTypesInput, + () => Unit, +]; +export var ConstantAndVariableQueryString: StaticOperationSchema = [ + 9, + n0, + _CAVQS, + { + [_ht]: ["GET", "/ConstantAndVariableQueryString?foo=bar", 200], + }, + () => ConstantAndVariableQueryStringInput, + () => Unit, +]; +export var ConstantQueryString: StaticOperationSchema = [ + 9, + n0, + _CQS, + { + [_ht]: ["GET", "/ConstantQueryString/{hello}?foo=bar&hello", 200], + }, + () => ConstantQueryStringInput, + () => Unit, +]; +export var ContentTypeParameters: StaticOperationSchema = [ + 9, + n0, + _CTP, + { + [_ht]: ["POST", "/ContentTypeParameters", 200], + }, + () => ContentTypeParametersInput, + () => ContentTypeParametersOutput, +]; +export var DatetimeOffsets: StaticOperationSchema = [ + 9, + n0, + _DO, + { + [_ht]: ["POST", "/DatetimeOffsets", 200], + }, + () => Unit, + () => DatetimeOffsetsOutput, +]; +export var DocumentType: StaticOperationSchema = [ + 9, + n0, + _DT, + { + [_ht]: ["PUT", "/DocumentType", 200], + }, + () => DocumentTypeInputOutput, + () => DocumentTypeInputOutput, +]; +export var DocumentTypeAsMapValue: StaticOperationSchema = [ + 9, + n0, + _DTAMV, + { + [_ht]: ["PUT", "/DocumentTypeAsMapValue", 200], + }, + () => DocumentTypeAsMapValueInputOutput, + () => DocumentTypeAsMapValueInputOutput, +]; +export var DocumentTypeAsPayload: StaticOperationSchema = [ + 9, + n0, + _DTAP, + { + [_ht]: ["PUT", "/DocumentTypeAsPayload", 200], + }, + () => DocumentTypeAsPayloadInputOutput, + () => DocumentTypeAsPayloadInputOutput, +]; +export var EmptyInputAndEmptyOutput: StaticOperationSchema = [ + 9, + n0, + _EIAEO, + { + [_ht]: ["POST", "/EmptyInputAndEmptyOutput", 200], + }, + () => EmptyInputAndEmptyOutputInput, + () => EmptyInputAndEmptyOutputOutput, +]; +export var EndpointOperation: StaticOperationSchema = [ + 9, + n0, + _EO, + { + [_ht]: ["POST", "/EndpointOperation", 200], + [_end]: ["foo."], + }, + () => Unit, + () => Unit, +]; +export var EndpointWithHostLabelOperation: StaticOperationSchema = [ + 9, + n0, + _EWHLO, + { + [_ht]: ["POST", "/EndpointWithHostLabelOperation", 200], + [_end]: ["foo.{label}."], + }, + () => HostLabelInput, + () => Unit, +]; +export var FractionalSeconds: StaticOperationSchema = [ + 9, + n0, + _FS, + { + [_ht]: ["POST", "/FractionalSeconds", 200], + }, + () => Unit, + () => FractionalSecondsOutput, +]; +export var GreetingWithErrors: StaticOperationSchema = [ + 9, + n0, + _GWE, + { + [_ht]: ["PUT", "/GreetingWithErrors", 200], + }, + () => Unit, + () => GreetingWithErrorsOutput, +]; +export var HostWithPathOperation: StaticOperationSchema = [ + 9, + n0, + _HWPO, + { + [_ht]: ["GET", "/HostWithPathOperation", 200], + }, + () => Unit, + () => Unit, +]; +export var HttpChecksumRequired: StaticOperationSchema = [ + 9, + n0, + _HCR, + { + [_ht]: ["POST", "/HttpChecksumRequired", 200], + [_hCR]: 1, + }, + () => HttpChecksumRequiredInputOutput, + () => HttpChecksumRequiredInputOutput, +]; +export var HttpEmptyPrefixHeaders: StaticOperationSchema = [ + 9, + n0, + _HEPH, + { + [_ht]: ["GET", "/HttpEmptyPrefixHeaders", 200], + }, + () => HttpEmptyPrefixHeadersInput, + () => HttpEmptyPrefixHeadersOutput, +]; +export var HttpEnumPayload: StaticOperationSchema = [ + 9, + n0, + _HEP, + { + [_ht]: ["POST", "/EnumPayload", 200], + }, + () => EnumPayloadInput, + () => EnumPayloadInput, +]; +export var HttpPayloadTraits: StaticOperationSchema = [ + 9, + n0, + _HPT, + { + [_ht]: ["POST", "/HttpPayloadTraits", 200], + }, + () => HttpPayloadTraitsInputOutput, + () => HttpPayloadTraitsInputOutput, +]; +export var HttpPayloadTraitsWithMediaType: StaticOperationSchema = [ + 9, + n0, + _HPTWMT, + { + [_ht]: ["POST", "/HttpPayloadTraitsWithMediaType", 200], + }, + () => HttpPayloadTraitsWithMediaTypeInputOutput, + () => HttpPayloadTraitsWithMediaTypeInputOutput, +]; +export var HttpPayloadWithStructure: StaticOperationSchema = [ + 9, + n0, + _HPWS, + { + [_ht]: ["PUT", "/HttpPayloadWithStructure", 200], + }, + () => HttpPayloadWithStructureInputOutput, + () => HttpPayloadWithStructureInputOutput, +]; +export var HttpPayloadWithUnion: StaticOperationSchema = [ + 9, + n0, + _HPWU, + { + [_ht]: ["PUT", "/HttpPayloadWithUnion", 200], + }, + () => HttpPayloadWithUnionInputOutput, + () => HttpPayloadWithUnionInputOutput, +]; +export var HttpPrefixHeaders: StaticOperationSchema = [ + 9, + n0, + _HPH, + { + [_ht]: ["GET", "/HttpPrefixHeaders", 200], + }, + () => HttpPrefixHeadersInput, + () => HttpPrefixHeadersOutput, +]; +export var HttpPrefixHeadersInResponse: StaticOperationSchema = [ + 9, + n0, + _HPHIR, + { + [_ht]: ["GET", "/HttpPrefixHeadersResponse", 200], + }, + () => HttpPrefixHeadersInResponseInput, + () => HttpPrefixHeadersInResponseOutput, +]; +export var HttpRequestWithFloatLabels: StaticOperationSchema = [ + 9, + n0, + _HRWFL, + { + [_ht]: ["GET", "/FloatHttpLabels/{float}/{double}", 200], + }, + () => HttpRequestWithFloatLabelsInput, + () => Unit, +]; +export var HttpRequestWithGreedyLabelInPath: StaticOperationSchema = [ + 9, + n0, + _HRWGLIP, + { + [_ht]: ["GET", "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", 200], + }, + () => HttpRequestWithGreedyLabelInPathInput, + () => Unit, +]; +export var HttpRequestWithLabels: StaticOperationSchema = [ + 9, + n0, + _HRWL, + { + [_ht]: [ + "GET", + "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", + 200, + ], + }, + () => HttpRequestWithLabelsInput, + () => Unit, +]; +export var HttpRequestWithLabelsAndTimestampFormat: StaticOperationSchema = [ + 9, + n0, + _HRWLATF, + { + [_ht]: [ + "GET", + "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", + 200, + ], + }, + () => HttpRequestWithLabelsAndTimestampFormatInput, + () => Unit, +]; +export var HttpRequestWithRegexLiteral: StaticOperationSchema = [ + 9, + n0, + _HRWRL, + { + [_ht]: ["GET", "/ReDosLiteral/{str}/(a+)+", 200], + }, + () => HttpRequestWithRegexLiteralInput, + () => Unit, +]; +export var HttpResponseCode: StaticOperationSchema = [ + 9, + n0, + _HRC, + { + [_ht]: ["PUT", "/HttpResponseCode", 200], + }, + () => Unit, + () => HttpResponseCodeOutput, +]; +export var HttpStringPayload: StaticOperationSchema = [ + 9, + n0, + _HSP, + { + [_ht]: ["POST", "/StringPayload", 200], + }, + () => StringPayloadInput, + () => StringPayloadInput, +]; +export var IgnoreQueryParamsInResponse: StaticOperationSchema = [ + 9, + n0, + _IQPIR, + { + [_ht]: ["GET", "/IgnoreQueryParamsInResponse", 200], + }, + () => Unit, + () => IgnoreQueryParamsInResponseOutput, +]; +export var InputAndOutputWithHeaders: StaticOperationSchema = [ + 9, + n0, + _IAOWH, + { + [_ht]: ["POST", "/InputAndOutputWithHeaders", 200], + }, + () => InputAndOutputWithHeadersIO, + () => InputAndOutputWithHeadersIO, +]; +export var JsonBlobs: StaticOperationSchema = [ + 9, + n0, + _JBs, + { + [_ht]: ["POST", "/JsonBlobs", 200], + }, + () => JsonBlobsInputOutput, + () => JsonBlobsInputOutput, +]; +export var JsonEnums: StaticOperationSchema = [ + 9, + n0, + _JE, + { + [_ht]: ["PUT", "/JsonEnums", 200], + }, + () => JsonEnumsInputOutput, + () => JsonEnumsInputOutput, +]; +export var JsonIntEnums: StaticOperationSchema = [ + 9, + n0, + _JIE, + { + [_ht]: ["PUT", "/JsonIntEnums", 200], + }, + () => JsonIntEnumsInputOutput, + () => JsonIntEnumsInputOutput, +]; +export var JsonLists: StaticOperationSchema = [ + 9, + n0, + _JL, + { + [_ht]: ["PUT", "/JsonLists", 200], + }, + () => JsonListsInputOutput, + () => JsonListsInputOutput, +]; +export var JsonMaps: StaticOperationSchema = [ + 9, + n0, + _JM, + { + [_ht]: ["POST", "/JsonMaps", 200], + }, + () => JsonMapsInputOutput, + () => JsonMapsInputOutput, +]; +export var JsonTimestamps: StaticOperationSchema = [ + 9, + n0, + _JT, + { + [_ht]: ["POST", "/JsonTimestamps", 200], + }, + () => JsonTimestampsInputOutput, + () => JsonTimestampsInputOutput, +]; +export var JsonUnions: StaticOperationSchema = [ + 9, + n0, + _JU, + { + [_ht]: ["PUT", "/JsonUnions", 200], + }, + () => UnionInputOutput, + () => UnionInputOutput, +]; +export var MalformedAcceptWithBody: StaticOperationSchema = [ + 9, + n0, + _MAWB, + { + [_ht]: ["POST", "/MalformedAcceptWithBody", 200], + }, + () => Unit, + () => GreetingStruct_n1, +]; +export var MalformedAcceptWithGenericString: StaticOperationSchema = [ + 9, + n0, + _MAWGS, + { + [_ht]: ["POST", "/MalformedAcceptWithGenericString", 200], + }, + () => Unit, + () => MalformedAcceptWithGenericStringOutput, +]; +export var MalformedAcceptWithPayload: StaticOperationSchema = [ + 9, + n0, + _MAWP, + { + [_ht]: ["POST", "/MalformedAcceptWithPayload", 200], + }, + () => Unit, + () => MalformedAcceptWithPayloadOutput, +]; +export var MalformedBlob: StaticOperationSchema = [ + 9, + n0, + _MB, + { + [_ht]: ["POST", "/MalformedBlob", 200], + }, + () => MalformedBlobInput, + () => Unit, +]; +export var MalformedBoolean: StaticOperationSchema = [ + 9, + n0, + _MBa, + { + [_ht]: ["POST", "/MalformedBoolean/{booleanInPath}", 200], + }, + () => MalformedBooleanInput, + () => Unit, +]; +export var MalformedByte: StaticOperationSchema = [ + 9, + n0, + _MBal, + { + [_ht]: ["POST", "/MalformedByte/{byteInPath}", 200], + }, + () => MalformedByteInput, + () => Unit, +]; +export var MalformedContentTypeWithBody: StaticOperationSchema = [ + 9, + n0, + _MCTWB, + { + [_ht]: ["POST", "/MalformedContentTypeWithBody", 200], + }, + () => GreetingStruct_n1, + () => Unit, +]; +export var MalformedContentTypeWithGenericString: StaticOperationSchema = [ + 9, + n0, + _MCTWGS, + { + [_ht]: ["POST", "/MalformedContentTypeWithGenericString", 200], + }, + () => MalformedContentTypeWithGenericStringInput, + () => Unit, +]; +export var MalformedContentTypeWithoutBody: StaticOperationSchema = [ + 9, + n0, + _MCTWBa, + { + [_ht]: ["POST", "/MalformedContentTypeWithoutBody", 200], + }, + () => Unit, + () => Unit, +]; +export var MalformedContentTypeWithoutBodyEmptyInput: StaticOperationSchema = [ + 9, + n0, + _MCTWBEI, + { + [_ht]: ["POST", "/MalformedContentTypeWithoutBodyEmptyInput", 200], + }, + () => MalformedContentTypeWithoutBodyEmptyInputInput, + () => Unit, +]; +export var MalformedContentTypeWithPayload: StaticOperationSchema = [ + 9, + n0, + _MCTWP, + { + [_ht]: ["POST", "/MalformedContentTypeWithPayload", 200], + }, + () => MalformedContentTypeWithPayloadInput, + () => Unit, +]; +export var MalformedDouble: StaticOperationSchema = [ + 9, + n0, + _MD, + { + [_ht]: ["POST", "/MalformedDouble/{doubleInPath}", 200], + }, + () => MalformedDoubleInput, + () => Unit, +]; +export var MalformedFloat: StaticOperationSchema = [ + 9, + n0, + _MF, + { + [_ht]: ["POST", "/MalformedFloat/{floatInPath}", 200], + }, + () => MalformedFloatInput, + () => Unit, +]; +export var MalformedInteger: StaticOperationSchema = [ + 9, + n0, + _MI, + { + [_ht]: ["POST", "/MalformedInteger/{integerInPath}", 200], + }, + () => MalformedIntegerInput, + () => Unit, +]; +export var MalformedList: StaticOperationSchema = [ + 9, + n0, + _ML, + { + [_ht]: ["POST", "/MalformedList", 200], + }, + () => MalformedListInput, + () => Unit, +]; +export var MalformedLong: StaticOperationSchema = [ + 9, + n0, + _MLa, + { + [_ht]: ["POST", "/MalformedLong/{longInPath}", 200], + }, + () => MalformedLongInput, + () => Unit, +]; +export var MalformedMap: StaticOperationSchema = [ + 9, + n0, + _MM, + { + [_ht]: ["POST", "/MalformedMap", 200], + }, + () => MalformedMapInput, + () => Unit, +]; +export var MalformedRequestBody: StaticOperationSchema = [ + 9, + n0, + _MRB, + { + [_ht]: ["POST", "/MalformedRequestBody", 200], + }, + () => MalformedRequestBodyInput, + () => Unit, +]; +export var MalformedShort: StaticOperationSchema = [ + 9, + n0, + _MS, + { + [_ht]: ["POST", "/MalformedShort/{shortInPath}", 200], + }, + () => MalformedShortInput, + () => Unit, +]; +export var MalformedString: StaticOperationSchema = [ + 9, + n0, + _MSa, + { + [_ht]: ["POST", "/MalformedString", 200], + }, + () => MalformedStringInput, + () => Unit, +]; +export var MalformedTimestampBodyDateTime: StaticOperationSchema = [ + 9, + n0, + _MTBDT, + { + [_ht]: ["POST", "/MalformedTimestampBodyDateTime", 200], + }, + () => MalformedTimestampBodyDateTimeInput, + () => Unit, +]; +export var MalformedTimestampBodyDefault: StaticOperationSchema = [ + 9, + n0, + _MTBD, + { + [_ht]: ["POST", "/MalformedTimestampBodyDefault", 200], + }, + () => MalformedTimestampBodyDefaultInput, + () => Unit, +]; +export var MalformedTimestampBodyHttpDate: StaticOperationSchema = [ + 9, + n0, + _MTBHD, + { + [_ht]: ["POST", "/MalformedTimestampBodyHttpDate", 200], + }, + () => MalformedTimestampBodyHttpDateInput, + () => Unit, +]; +export var MalformedTimestampHeaderDateTime: StaticOperationSchema = [ + 9, + n0, + _MTHDT, + { + [_ht]: ["POST", "/MalformedTimestampHeaderDateTime", 200], + }, + () => MalformedTimestampHeaderDateTimeInput, + () => Unit, +]; +export var MalformedTimestampHeaderDefault: StaticOperationSchema = [ + 9, + n0, + _MTHD, + { + [_ht]: ["POST", "/MalformedTimestampHeaderDefault", 200], + }, + () => MalformedTimestampHeaderDefaultInput, + () => Unit, +]; +export var MalformedTimestampHeaderEpoch: StaticOperationSchema = [ + 9, + n0, + _MTHE, + { + [_ht]: ["POST", "/MalformedTimestampHeaderEpoch", 200], + }, + () => MalformedTimestampHeaderEpochInput, + () => Unit, +]; +export var MalformedTimestampPathDefault: StaticOperationSchema = [ + 9, + n0, + _MTPD, + { + [_ht]: ["POST", "/MalformedTimestampPathDefault/{timestamp}", 200], + }, + () => MalformedTimestampPathDefaultInput, + () => Unit, +]; +export var MalformedTimestampPathEpoch: StaticOperationSchema = [ + 9, + n0, + _MTPE, + { + [_ht]: ["POST", "/MalformedTimestampPathEpoch/{timestamp}", 200], + }, + () => MalformedTimestampPathEpochInput, + () => Unit, +]; +export var MalformedTimestampPathHttpDate: StaticOperationSchema = [ + 9, + n0, + _MTPHD, + { + [_ht]: ["POST", "/MalformedTimestampPathHttpDate/{timestamp}", 200], + }, + () => MalformedTimestampPathHttpDateInput, + () => Unit, +]; +export var MalformedTimestampQueryDefault: StaticOperationSchema = [ + 9, + n0, + _MTQD, + { + [_ht]: ["POST", "/MalformedTimestampQueryDefault", 200], + }, + () => MalformedTimestampQueryDefaultInput, + () => Unit, +]; +export var MalformedTimestampQueryEpoch: StaticOperationSchema = [ + 9, + n0, + _MTQE, + { + [_ht]: ["POST", "/MalformedTimestampQueryEpoch", 200], + }, + () => MalformedTimestampQueryEpochInput, + () => Unit, +]; +export var MalformedTimestampQueryHttpDate: StaticOperationSchema = [ + 9, + n0, + _MTQHD, + { + [_ht]: ["POST", "/MalformedTimestampQueryHttpDate", 200], + }, + () => MalformedTimestampQueryHttpDateInput, + () => Unit, +]; +export var MalformedUnion: StaticOperationSchema = [ + 9, + n0, + _MUa, + { + [_ht]: ["POST", "/MalformedUnion", 200], + }, + () => MalformedUnionInput, + () => Unit, +]; +export var MediaTypeHeader: StaticOperationSchema = [ + 9, + n0, + _MTH, + { + [_ht]: ["GET", "/MediaTypeHeader", 200], + }, + () => MediaTypeHeaderInput, + () => MediaTypeHeaderOutput, +]; +export var NoInputAndNoOutput: StaticOperationSchema = [ + 9, + n0, + _NIANO, + { + [_ht]: ["POST", "/NoInputAndNoOutput", 200], + }, + () => Unit, + () => Unit, +]; +export var NoInputAndOutput: StaticOperationSchema = [ + 9, + n0, + _NIAO, + { + [_ht]: ["POST", "/NoInputAndOutputOutput", 200], + }, + () => Unit, + () => NoInputAndOutputOutput, +]; +export var NullAndEmptyHeadersClient: StaticOperationSchema = [ + 9, + n0, + _NAEHC, + { + [_ht]: ["GET", "/NullAndEmptyHeadersClient", 200], + }, + () => NullAndEmptyHeadersIO, + () => NullAndEmptyHeadersIO, +]; +export var NullAndEmptyHeadersServer: StaticOperationSchema = [ + 9, + n0, + _NAEHS, + { + [_ht]: ["GET", "/NullAndEmptyHeadersServer", 200], + }, + () => NullAndEmptyHeadersIO, + () => NullAndEmptyHeadersIO, +]; +export var OmitsNullSerializesEmptyString: StaticOperationSchema = [ + 9, + n0, + _ONSES, + { + [_ht]: ["GET", "/OmitsNullSerializesEmptyString", 200], + }, + () => OmitsNullSerializesEmptyStringInput, + () => Unit, +]; +export var OmitsSerializingEmptyLists: StaticOperationSchema = [ + 9, + n0, + _OSEL, + { + [_ht]: ["POST", "/OmitsSerializingEmptyLists", 200], + }, + () => OmitsSerializingEmptyListsInput, + () => Unit, +]; +export var OperationWithDefaults: StaticOperationSchema = [ + 9, + n0, + _OWD, + { + [_ht]: ["POST", "/OperationWithDefaults", 200], + }, + () => OperationWithDefaultsInput, + () => OperationWithDefaultsOutput, +]; +export var OperationWithNestedStructure: StaticOperationSchema = [ + 9, + n0, + _OWNS, + { + [_ht]: ["POST", "/OperationWithNestedStructure", 200], + }, + () => OperationWithNestedStructureInput, + () => OperationWithNestedStructureOutput, +]; +export var PostPlayerAction: StaticOperationSchema = [ + 9, + n0, + _PPA, + { + [_ht]: ["POST", "/PostPlayerAction", 200], + }, + () => PostPlayerActionInput, + () => PostPlayerActionOutput, +]; +export var PostUnionWithJsonName: StaticOperationSchema = [ + 9, + n0, + _PUWJN, + { + [_ht]: ["POST", "/PostUnionWithJsonName", 200], + }, + () => PostUnionWithJsonNameInput, + () => PostUnionWithJsonNameOutput, +]; +export var PutWithContentEncoding: StaticOperationSchema = [ + 9, + n0, + _PWCE, + { + [_ht]: ["POST", "/requestcompression/putcontentwithencoding", 200], + }, + () => PutWithContentEncodingInput, + () => Unit, +]; +export var QueryIdempotencyTokenAutoFill: StaticOperationSchema = [ + 9, + n0, + _QITAF, + { + [_ht]: ["POST", "/QueryIdempotencyTokenAutoFill", 200], + }, + () => QueryIdempotencyTokenAutoFillInput, + () => Unit, +]; +export var QueryParamsAsStringListMap: StaticOperationSchema = [ + 9, + n0, + _QPASLM, + { + [_ht]: ["POST", "/StringListMap", 200], + }, + () => QueryParamsAsStringListMapInput, + () => Unit, +]; +export var QueryPrecedence: StaticOperationSchema = [ + 9, + n0, + _QP, + { + [_ht]: ["POST", "/Precedence", 200], + }, + () => QueryPrecedenceInput, + () => Unit, +]; +export var RecursiveShapes: StaticOperationSchema = [ + 9, + n0, + _RS, + { + [_ht]: ["PUT", "/RecursiveShapes", 200], + }, + () => RecursiveShapesInputOutput, + () => RecursiveShapesInputOutput, +]; +export var ResponseCodeHttpFallback: StaticOperationSchema = [ + 9, + n0, + _RCHF, + { + [_ht]: ["GET", "/responseCodeHttpFallback", 201], + }, + () => ResponseCodeHttpFallbackInputOutput, + () => ResponseCodeHttpFallbackInputOutput, +]; +export var ResponseCodeRequired: StaticOperationSchema = [ + 9, + n0, + _RCR, + { + [_ht]: ["GET", "/responseCodeRequired", 200], + }, + () => Unit, + () => ResponseCodeRequiredOutput, +]; +export var SimpleScalarProperties: StaticOperationSchema = [ + 9, + n0, + _SSP, + { + [_ht]: ["PUT", "/SimpleScalarProperties", 200], + }, + () => SimpleScalarPropertiesInputOutput, + () => SimpleScalarPropertiesInputOutput, +]; +export var SparseJsonLists: StaticOperationSchema = [ + 9, + n0, + _SJL, + { + [_ht]: ["PUT", "/SparseJsonLists", 200], + }, + () => SparseJsonListsInputOutput, + () => SparseJsonListsInputOutput, +]; +export var SparseJsonMaps: StaticOperationSchema = [ + 9, + n0, + _SJM, + { + [_ht]: ["POST", "/SparseJsonMaps", 200], + }, + () => SparseJsonMapsInputOutput, + () => SparseJsonMapsInputOutput, +]; +export var StreamingTraits: StaticOperationSchema = [ + 9, + n0, + _ST, + { + [_ht]: ["POST", "/StreamingTraits", 200], + }, + () => StreamingTraitsInputOutput, + () => StreamingTraitsInputOutput, +]; +export var StreamingTraitsRequireLength: StaticOperationSchema = [ + 9, + n0, + _STRL, + { + [_ht]: ["POST", "/StreamingTraitsRequireLength", 200], + }, + () => StreamingTraitsRequireLengthInput, + () => Unit, +]; +export var StreamingTraitsWithMediaType: StaticOperationSchema = [ + 9, + n0, + _STWMT, + { + [_ht]: ["POST", "/StreamingTraitsWithMediaType", 200], + }, + () => StreamingTraitsWithMediaTypeInputOutput, + () => StreamingTraitsWithMediaTypeInputOutput, +]; +export var TestBodyStructure: StaticOperationSchema = [ + 9, + n0, + _TBS, + { + [_ht]: ["POST", "/body", 200], + }, + () => TestBodyStructureInputOutput, + () => TestBodyStructureInputOutput, +]; +export var TestGetNoInputNoPayload: StaticOperationSchema = [ + 9, + n0, + _TGNINP, + { + [_ht]: ["GET", "/no_input_no_payload", 200], + }, + () => Unit, + () => TestNoPayloadInputOutput, +]; +export var TestGetNoPayload: StaticOperationSchema = [ + 9, + n0, + _TGNP, + { + [_ht]: ["GET", "/no_payload", 200], + }, + () => TestNoPayloadInputOutput, + () => TestNoPayloadInputOutput, +]; +export var TestPayloadBlob: StaticOperationSchema = [ + 9, + n0, + _TPBe, + { + [_ht]: ["POST", "/blob_payload", 200], + }, + () => TestPayloadBlobInputOutput, + () => TestPayloadBlobInputOutput, +]; +export var TestPayloadStructure: StaticOperationSchema = [ + 9, + n0, + _TPS, + { + [_ht]: ["POST", "/payload", 200], + }, + () => TestPayloadStructureInputOutput, + () => TestPayloadStructureInputOutput, +]; +export var TestPostNoInputNoPayload: StaticOperationSchema = [ + 9, + n0, + _TPNINP, + { + [_ht]: ["POST", "/no_input_no_payload", 200], + }, + () => Unit, + () => TestNoPayloadInputOutput, +]; +export var TestPostNoPayload: StaticOperationSchema = [ + 9, + n0, + _TPNP, + { + [_ht]: ["POST", "/no_payload", 200], + }, + () => TestNoPayloadInputOutput, + () => TestNoPayloadInputOutput, +]; +export var TimestampFormatHeaders: StaticOperationSchema = [ + 9, + n0, + _TFH, + { + [_ht]: ["POST", "/TimestampFormatHeaders", 200], + }, + () => TimestampFormatHeadersIO, + () => TimestampFormatHeadersIO, +]; +export var UnitInputAndOutput: StaticOperationSchema = [ + 9, + n0, + _UIAO, + { + [_ht]: ["POST", "/UnitInputAndOutput", 200], + }, + () => Unit, + () => Unit, +]; diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_10_ConstantAndVariableQueryString.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_10_ConstantAndVariableQueryString.ts deleted file mode 100644 index f4f75780faff..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_10_ConstantAndVariableQueryString.ts +++ /dev/null @@ -1,37 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _CAVQS, _CAVQSI, _hQ, _ht, _mS, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var ConstantAndVariableQueryStringInput = struct( - n0, - _CAVQSI, - 0, - [_b, _mS], - [ - [ - 0, - { - [_hQ]: _b, - }, - ], - [ - 0, - { - [_hQ]: _mS, - }, - ], - ] -); -export var ConstantAndVariableQueryString = op( - n0, - _CAVQS, - { - [_ht]: ["GET", "/ConstantAndVariableQueryString?foo=bar", 200], - }, - () => ConstantAndVariableQueryStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_11_MalformedTimestampHeaderEpoch.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_11_MalformedTimestampHeaderEpoch.ts deleted file mode 100644 index 6c56e028b0ec..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_11_MalformedTimestampHeaderEpoch.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _ht, _MTHE, _MTHEI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampHeaderEpochInput = struct( - n0, - _MTHEI, - 0, - [_ti], - [ - [ - 7, - { - [_hH]: _ti, - }, - ], - ] -); -export var MalformedTimestampHeaderEpoch = op( - n0, - _MTHE, - { - [_ht]: ["POST", "/MalformedTimestampHeaderEpoch", 200], - }, - () => MalformedTimestampHeaderEpochInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_12_MalformedString.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_12_MalformedString.ts deleted file mode 100644 index e831afeb6362..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_12_MalformedString.ts +++ /dev/null @@ -1,34 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _a, _amth, _bl, _hH, _ht, _JHS, _MSa, _MSIa, _mT, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var JsonHeaderString = sim(n0, _JHS, 0, { - [_mT]: _a, -}); -export var MalformedStringInput = struct( - n0, - _MSIa, - 0, - [_bl], - [ - [ - () => JsonHeaderString, - { - [_hH]: _amth, - }, - ], - ] -); -export var MalformedString = op( - n0, - _MSa, - { - [_ht]: ["POST", "/MalformedString", 200], - }, - () => MalformedStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_13_MediaTypeHeader.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_13_MediaTypeHeader.ts deleted file mode 100644 index 0a783d8b4c86..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_13_MediaTypeHeader.ts +++ /dev/null @@ -1,47 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _a, _hH, _ht, _j, _JV, _mT, _MTH, _MTHI, _MTHO, _XJ, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var JsonValue = sim(n0, _JV, 0, { - [_mT]: _a, -}); -export var MediaTypeHeaderInput = struct( - n0, - _MTHI, - 0, - [_j], - [ - [ - () => JsonValue, - { - [_hH]: _XJ, - }, - ], - ] -); -export var MediaTypeHeaderOutput = struct( - n0, - _MTHO, - 0, - [_j], - [ - [ - () => JsonValue, - { - [_hH]: _XJ, - }, - ], - ] -); -export var MediaTypeHeader = op( - n0, - _MTH, - { - [_ht]: ["GET", "/MediaTypeHeader", 200], - }, - () => MediaTypeHeaderInput, - () => MediaTypeHeaderOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_14_Test.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_14_Test.ts deleted file mode 100644 index 64954394b538..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_14_Test.ts +++ /dev/null @@ -1,58 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _ht, _TGNINP, _TGNP, _tI, _TNPIO, _TPNINP, _TPNP, _XATI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var TestNoPayloadInputOutput = struct( - n0, - _TNPIO, - 0, - [_tI], - [ - [ - 0, - { - [_hH]: _XATI, - }, - ], - ] -); -export var TestGetNoInputNoPayload = op( - n0, - _TGNINP, - { - [_ht]: ["GET", "/no_input_no_payload", 200], - }, - () => Unit, - () => TestNoPayloadInputOutput -); -export var TestGetNoPayload = op( - n0, - _TGNP, - { - [_ht]: ["GET", "/no_payload", 200], - }, - () => TestNoPayloadInputOutput, - () => TestNoPayloadInputOutput -); -export var TestPostNoInputNoPayload = op( - n0, - _TPNINP, - { - [_ht]: ["POST", "/no_input_no_payload", 200], - }, - () => Unit, - () => TestNoPayloadInputOutput -); -export var TestPostNoPayload = op( - n0, - _TPNP, - { - [_ht]: ["POST", "/no_payload", 200], - }, - () => TestNoPayloadInputOutput, - () => TestNoPayloadInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_15_Json.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_15_Json.ts deleted file mode 100644 index 9a3605592e9e..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_15_Json.ts +++ /dev/null @@ -1,103 +0,0 @@ -// smithy-typescript generated code -import { op, struct, struct as uni } from "@smithy/core/schema"; - -import { - _ac, - _EPI, - _fE, - _fEL, - _fEM, - _fEo, - _fEoo, - _fES, - _HEP, - _ht, - _iE, - _iEL, - _iEM, - _iEn, - _iEnt, - _iES, - _JE, - _JEIO, - _JIE, - _JIEIO, - _p, - _PA, - _PPA, - _PPAI, - _PPAO, - _qu, - n0, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EnumPayloadInput = struct(n0, _EPI, 0, [_p], [[0, 16]]); -export var JsonEnumsInputOutput = struct( - n0, - _JEIO, - 0, - [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], - [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] -); -export var JsonIntEnumsInputOutput = struct( - n0, - _JIEIO, - 0, - [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], - [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] -); -export var PostPlayerActionInput = struct(n0, _PPAI, 0, [_ac], [() => PlayerAction]); -export var PostPlayerActionOutput = struct(n0, _PPAO, 0, [_ac], [() => PlayerAction]); -export var Unit = "unit" as const; - -export var FooEnumList = 64 | 0; - -export var FooEnumSet = 64 | 0; - -export var IntegerEnumList = 64 | 1; - -export var IntegerEnumSet = 64 | 1; - -export var FooEnumMap = 128 | 0; - -export var IntegerEnumMap = 128 | 1; - -export var PlayerAction = uni(n0, _PA, 0, [_qu], [() => Unit]); -export var HttpEnumPayload = op( - n0, - _HEP, - { - [_ht]: ["POST", "/EnumPayload", 200], - }, - () => EnumPayloadInput, - () => EnumPayloadInput -); -export var JsonEnums = op( - n0, - _JE, - { - [_ht]: ["PUT", "/JsonEnums", 200], - }, - () => JsonEnumsInputOutput, - () => JsonEnumsInputOutput -); -export var JsonIntEnums = op( - n0, - _JIE, - { - [_ht]: ["PUT", "/JsonIntEnums", 200], - }, - () => JsonIntEnumsInputOutput, - () => JsonIntEnumsInputOutput -); -export var PostPlayerAction = op( - n0, - _PPA, - { - [_ht]: ["POST", "/PostPlayerAction", 200], - }, - () => PostPlayerActionInput, - () => PostPlayerActionOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_16_ResponseCodeRequired.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_16_ResponseCodeRequired.ts deleted file mode 100644 index 5e9f890159d2..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_16_ResponseCodeRequired.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _rC, _RCR, _RCRO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var ResponseCodeRequiredOutput = struct(n0, _RCRO, 0, [_rC], [[1, 32]]); -export var ResponseCodeRequired = op( - n0, - _RCR, - { - [_ht]: ["GET", "/responseCodeRequired", 200], - }, - () => Unit, - () => ResponseCodeRequiredOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_17_HttpRequestWithGreedyLabelInPath.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_17_HttpRequestWithGreedyLabelInPath.ts deleted file mode 100644 index a7e5f621b475..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_17_HttpRequestWithGreedyLabelInPath.ts +++ /dev/null @@ -1,27 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _fo, _HRWGLIP, _HRWGLIPI, _ht, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HttpRequestWithGreedyLabelInPathInput = struct( - n0, - _HRWGLIPI, - 0, - [_fo, _b], - [ - [0, 1], - [0, 1], - ] -); -export var HttpRequestWithGreedyLabelInPath = op( - n0, - _HRWGLIP, - { - [_ht]: ["GET", "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", 200], - }, - () => HttpRequestWithGreedyLabelInPathInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_18_MalformedInteger.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_18_MalformedInteger.ts deleted file mode 100644 index c9ac62567055..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_18_MalformedInteger.ts +++ /dev/null @@ -1,39 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _hQ, _ht, _iIB, _iIH, _iIP, _iIQ, _MI, _MII, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedIntegerInput = struct( - n0, - _MII, - 0, - [_iIB, _iIP, _iIQ, _iIH], - [ - 1, - [1, 1], - [ - 1, - { - [_hQ]: _iIQ, - }, - ], - [ - 1, - { - [_hH]: _iIH, - }, - ], - ] -); -export var MalformedInteger = op( - n0, - _MI, - { - [_ht]: ["POST", "/MalformedInteger/{integerInPath}", 200], - }, - () => MalformedIntegerInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_19_NoInputAndOutput.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_19_NoInputAndOutput.ts deleted file mode 100644 index e2a653aee07f..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_19_NoInputAndOutput.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _NIAO, _NIAOO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var NoInputAndOutputOutput = struct(n0, _NIAOO, 0, [], []); -export var NoInputAndOutput = op( - n0, - _NIAO, - { - [_ht]: ["POST", "/NoInputAndOutputOutput", 200], - }, - () => Unit, - () => NoInputAndOutputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_1_HttpRequestWithRegexLiteral.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_1_HttpRequestWithRegexLiteral.ts deleted file mode 100644 index c2f19bb5597c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_1_HttpRequestWithRegexLiteral.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _HRWRL, _HRWRLI, _ht, _str, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HttpRequestWithRegexLiteralInput = struct(n0, _HRWRLI, 0, [_str], [[0, 1]]); -export var HttpRequestWithRegexLiteral = op( - n0, - _HRWRL, - { - [_ht]: ["GET", "/ReDosLiteral/{str}/(a+)+", 200], - }, - () => HttpRequestWithRegexLiteralInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_20_With.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_20_With.ts deleted file mode 100644 index 34e97c91de3a..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_20_With.ts +++ /dev/null @@ -1,93 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { - _hH, - _hQ, - _ht, - _MS, - _MSI, - _sIB, - _sIH, - _sIP, - _sIQ, - _SJL, - _SJLIO, - _sp, - _SSL, - _sSL, - _SSLp, - _sSLp, - n0, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedShortInput = struct( - n0, - _MSI, - 0, - [_sIB, _sIP, _sIQ, _sIH], - [ - 1, - [1, 1], - [ - 1, - { - [_hQ]: _sIQ, - }, - ], - [ - 1, - { - [_hH]: _sIH, - }, - ], - ] -); -export var SparseJsonListsInputOutput = struct( - n0, - _SJLIO, - 0, - [_sSL, _sSLp], - [ - [() => SparseStringList, 0], - [() => SparseShortList, 0], - ] -); -export var SparseShortList = list( - n1, - _SSL, - { - [_sp]: 1, - }, - 1 -); -export var SparseStringList = list( - n1, - _SSLp, - { - [_sp]: 1, - }, - 0 -); -export var MalformedShort = op( - n0, - _MS, - { - [_ht]: ["POST", "/MalformedShort/{shortInPath}", 200], - }, - () => MalformedShortInput, - () => Unit -); -export var SparseJsonLists = op( - n0, - _SJL, - { - [_ht]: ["PUT", "/SparseJsonLists", 200], - }, - () => SparseJsonListsInputOutput, - () => SparseJsonListsInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_21_Headers.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_21_Headers.ts deleted file mode 100644 index faa5eb9974b6..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_21_Headers.ts +++ /dev/null @@ -1,183 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _, - _b, - _ba, - _fM, - _fo, - _h, - _HEPH, - _HEPHI, - _HEPHO, - _hH, - _HPH, - _hPH, - _HPHI, - _HPHIR, - _HPHIRI, - _HPHIRO, - _HPHO, - _hQ, - _ht, - _pH, - _QP, - _QPI, - _sH, - _xf, - _xf_, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HttpEmptyPrefixHeadersInput = struct( - n0, - _HEPHI, - 0, - [_pH, _sH], - [ - [ - 128 | 0, - { - [_hPH]: _, - }, - ], - [ - 0, - { - [_hH]: _h, - }, - ], - ] -); -export var HttpEmptyPrefixHeadersOutput = struct( - n0, - _HEPHO, - 0, - [_pH, _sH], - [ - [ - 128 | 0, - { - [_hPH]: _, - }, - ], - [ - 0, - { - [_hH]: _h, - }, - ], - ] -); -export var HttpPrefixHeadersInput = struct( - n0, - _HPHI, - 0, - [_fo, _fM], - [ - [ - 0, - { - [_hH]: _xf, - }, - ], - [ - 128 | 0, - { - [_hPH]: _xf_, - }, - ], - ] -); -export var HttpPrefixHeadersInResponseInput = struct(n0, _HPHIRI, 0, [], []); -export var HttpPrefixHeadersInResponseOutput = struct( - n0, - _HPHIRO, - 0, - [_pH], - [ - [ - 128 | 0, - { - [_hPH]: _, - }, - ], - ] -); -export var HttpPrefixHeadersOutput = struct( - n0, - _HPHO, - 0, - [_fo, _fM], - [ - [ - 0, - { - [_hH]: _xf, - }, - ], - [ - 128 | 0, - { - [_hPH]: _xf_, - }, - ], - ] -); -export var QueryPrecedenceInput = struct( - n0, - _QPI, - 0, - [_fo, _b], - [ - [ - 0, - { - [_hQ]: _ba, - }, - ], - [128 | 0, 64], - ] -); -export var StringMap = 128 | 0; - -export var HttpEmptyPrefixHeaders = op( - n0, - _HEPH, - { - [_ht]: ["GET", "/HttpEmptyPrefixHeaders", 200], - }, - () => HttpEmptyPrefixHeadersInput, - () => HttpEmptyPrefixHeadersOutput -); -export var HttpPrefixHeaders = op( - n0, - _HPH, - { - [_ht]: ["GET", "/HttpPrefixHeaders", 200], - }, - () => HttpPrefixHeadersInput, - () => HttpPrefixHeadersOutput -); -export var HttpPrefixHeadersInResponse = op( - n0, - _HPHIR, - { - [_ht]: ["GET", "/HttpPrefixHeadersResponse", 200], - }, - () => HttpPrefixHeadersInResponseInput, - () => HttpPrefixHeadersInResponseOutput -); -export var QueryPrecedence = op( - n0, - _QP, - { - [_ht]: ["POST", "/Precedence", 200], - }, - () => QueryPrecedenceInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_22_Headers.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_22_Headers.ts deleted file mode 100644 index afb4fceea06c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_22_Headers.ts +++ /dev/null @@ -1,100 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { - _a_, - _b_, - _c_, - _co, - _fo, - _hH, - _hQ, - _ht, - _NAEHC, - _NAEHIO, - _NAEHS, - _q, - _QPASLM, - _QPASLMI, - _SLM, - _XA, - _XB____, - _XC, - n0, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var NullAndEmptyHeadersIO = struct( - n0, - _NAEHIO, - 0, - [_a_, _b_, _c_], - [ - [ - 0, - { - [_hH]: _XA, - }, - ], - [ - 0, - { - [_hH]: _XB____, - }, - ], - [ - 64 | 0, - { - [_hH]: _XC, - }, - ], - ] -); -export var QueryParamsAsStringListMapInput = struct( - n0, - _QPASLMI, - 0, - [_q, _fo], - [ - [ - 0, - { - [_hQ]: _co, - }, - ], - [map(n1, _SLM, 0, 0, 64 | 0), 64], - ] -); -export var StringList = 64 | 0; - -export var StringListMap = map(n1, _SLM, 0, 0, 64 | 0); -export var NullAndEmptyHeadersClient = op( - n0, - _NAEHC, - { - [_ht]: ["GET", "/NullAndEmptyHeadersClient", 200], - }, - () => NullAndEmptyHeadersIO, - () => NullAndEmptyHeadersIO -); -export var NullAndEmptyHeadersServer = op( - n0, - _NAEHS, - { - [_ht]: ["GET", "/NullAndEmptyHeadersServer", 200], - }, - () => NullAndEmptyHeadersIO, - () => NullAndEmptyHeadersIO -); -export var QueryParamsAsStringListMap = op( - n0, - _QPASLM, - { - [_ht]: ["POST", "/StringListMap", 200], - }, - () => QueryParamsAsStringListMapInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_23_MalformedUnion.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_23_MalformedUnion.ts deleted file mode 100644 index 67eaa7fde853..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_23_MalformedUnion.ts +++ /dev/null @@ -1,19 +0,0 @@ -// smithy-typescript generated code -import { op, struct, struct as uni } from "@smithy/core/schema"; - -import { _ht, _int, _MUa, _MUI, _st, _SU, _u, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedUnionInput = struct(n0, _MUI, 0, [_u], [() => SimpleUnion]); -export var SimpleUnion = uni(n0, _SU, 0, [_int, _st], [1, 0]); -export var MalformedUnion = op( - n0, - _MUa, - { - [_ht]: ["POST", "/MalformedUnion", 200], - }, - () => MalformedUnionInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_24_MalformedTimestampBodyDateTime.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_24_MalformedTimestampBodyDateTime.ts deleted file mode 100644 index 4e5132b4fa5b..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_24_MalformedTimestampBodyDateTime.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MTBDT, _MTBDTI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampBodyDateTimeInput = struct(n0, _MTBDTI, 0, [_ti], [5]); -export var MalformedTimestampBodyDateTime = op( - n0, - _MTBDT, - { - [_ht]: ["POST", "/MalformedTimestampBodyDateTime", 200], - }, - () => MalformedTimestampBodyDateTimeInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_25_HttpPayloadTraitsWithMediaType.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_25_HttpPayloadTraitsWithMediaType.ts deleted file mode 100644 index 4e9c353a54d1..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_25_HttpPayloadTraitsWithMediaType.ts +++ /dev/null @@ -1,34 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _bl, _fo, _hH, _HPTWMT, _HPTWMTIO, _ht, _mT, _t, _TPB, _XF, n0, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var TextPlainBlob = sim(n1, _TPB, 21, { - [_mT]: _t, -}); -export var HttpPayloadTraitsWithMediaTypeInputOutput = struct( - n0, - _HPTWMTIO, - 0, - [_fo, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [() => TextPlainBlob, 16], - ] -); -export var HttpPayloadTraitsWithMediaType = op( - n0, - _HPTWMT, - { - [_ht]: ["POST", "/HttpPayloadTraitsWithMediaType", 200], - }, - () => HttpPayloadTraitsWithMediaTypeInputOutput, - () => HttpPayloadTraitsWithMediaTypeInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_26_HttpResponseCode.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_26_HttpResponseCode.ts deleted file mode 100644 index 2e44aa45fffe..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_26_HttpResponseCode.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _HRC, _HRCO, _ht, _St, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HttpResponseCodeOutput = struct(n0, _HRCO, 0, [_St], [[1, 32]]); -export var HttpResponseCode = op( - n0, - _HRC, - { - [_ht]: ["PUT", "/HttpResponseCode", 200], - }, - () => Unit, - () => HttpResponseCodeOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_27_NoInputAndNoOutput.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_27_NoInputAndNoOutput.ts deleted file mode 100644 index c6b7f75e68aa..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_27_NoInputAndNoOutput.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _ht, _NIANO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var NoInputAndNoOutput = op( - n0, - _NIANO, - { - [_ht]: ["POST", "/NoInputAndNoOutput", 200], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_28_With.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_28_With.ts deleted file mode 100644 index 7ca1573b4ba5..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_28_With.ts +++ /dev/null @@ -1,39 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _dIB, _dIH, _dIP, _dIQ, _hH, _hQ, _ht, _MD, _MDI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedDoubleInput = struct( - n0, - _MDI, - 0, - [_dIB, _dIP, _dIQ, _dIH], - [ - 1, - [1, 1], - [ - 1, - { - [_hQ]: _dIQ, - }, - ], - [ - 1, - { - [_hH]: _dIH, - }, - ], - ] -); -export var MalformedDouble = op( - n0, - _MD, - { - [_ht]: ["POST", "/MalformedDouble/{doubleInPath}", 200], - }, - () => MalformedDoubleInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_29_StreamingTraitsWithMediaType.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_29_StreamingTraitsWithMediaType.ts deleted file mode 100644 index 7c79864e542e..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_29_StreamingTraitsWithMediaType.ts +++ /dev/null @@ -1,35 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _bl, _fo, _hH, _ht, _mT, _s, _STPB, _STWMT, _STWMTIO, _t, _XF, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var StreamingTextPlainBlob = sim(n0, _STPB, 42, { - [_mT]: _t, - [_s]: 1, -}); -export var StreamingTraitsWithMediaTypeInputOutput = struct( - n0, - _STWMTIO, - 0, - [_fo, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [() => StreamingTextPlainBlob, 16], - ] -); -export var StreamingTraitsWithMediaType = op( - n0, - _STWMT, - { - [_ht]: ["POST", "/StreamingTraitsWithMediaType", 200], - }, - () => StreamingTraitsWithMediaTypeInputOutput, - () => StreamingTraitsWithMediaTypeInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_2_Json.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_2_Json.ts deleted file mode 100644 index e7366a247ec6..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_2_Json.ts +++ /dev/null @@ -1,933 +0,0 @@ -// smithy-typescript generated code -import { list, map, op, struct, struct as uni } from "@smithy/core/schema"; - -import { - _a_, - _AQST, - _AQSTI, - _B, - _b_, - _bIB, - _bIH, - _bIP, - _bIQ, - _BL, - _bL, - _Bo, - _bo, - _bV, - _bVl, - _bVo, - _COD, - _cOD, - _con, - _D, - _dB, - _dBe, - _dBef, - _dBM, - _DD, - _dD, - _dDB, - _dDL, - _dDM, - _dDS, - _De, - _dE, - _de, - _dF, - _dI, - _dIE, - _DL, - _dL, - _dLe, - _dM, - _dND, - _dNM, - _do, - _dS, - _dSe, - _DSM, - _dSM, - _DSMe, - _dSMe, - _dSMen, - _dT, - _dVo, - _E, - _eB, - _EL, - _eL, - _eS, - _eV, - _F, - _fB, - _fBV, - _fl, - _fo, - _fV, - _GS, - _hB, - _hBL, - _hD, - _hEe, - _hEL, - _hF, - _hFB, - _hH, - _hI, - _hIE, - _hIEL, - _hIL, - _hLe, - _hQ, - _HRWL, - _HRWLI, - _hS, - _hSe, - _hSL, - _hSS, - _ht, - _hTB, - _hTL, - _I, - _IAOWH, - _IAOWHIO, - _IE, - _IEL, - _iELn, - _IL, - _iL, - _in, - _IS, - _iV, - _JL, - _JLIO, - _JM, - _JMIO, - _jN, - _JU, - _L, - _lo, - _lV, - _lVi, - _m, - _MBa, - _MBIa, - _mSL, - _MU, - _mV, - _NSL, - _nSL, - _nVu, - _o, - _OSEL, - _OSELI, - _oTLD, - _OWD, - _OWDI, - _OWDO, - _qB, - _qBL, - _qBu, - _qD, - _qDL, - _qE, - _qEL, - _qF, - _qI, - _qIE, - _qIEL, - _qIL, - _qIS, - _qL, - _qPMOSL, - _qS, - _qSL, - _qSS, - _qSu, - _qT, - _qTL, - _rSV, - _S, - _sa, - _SBM, - _sBM, - _Sh, - _sh, - _SJM, - _SJMIO, - _SL, - _sL, - _SLM, - _SLMt, - _SLt, - _sLt, - _SNM, - _sNM, - _sp, - _SS, - _sS, - _SSM, - _sSM, - _SSMp, - _sSMp, - _SSMpa, - _sSMpa, - _SSP, - _SSPIO, - _st, - _sV, - _sVh, - _sVt, - _T, - _tBV, - _ti, - _TL, - _tL, - _tLD, - _tV, - _UIO, - _v, - _XB, - _XB_, - _XB__, - _XB___, - _XD, - _XE, - _XE_, - _XF, - _XF_, - _XI, - _XI_, - _XI__, - _XI___, - _XL, - _XS, - _XS_, - _XS__, - _XS___, - _XT, - _zB, - _zD, - _zF, - _zI, - _zL, - _zS, - n0, - n1, - n2, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; -import { GreetingStruct } from "./schemas_32_Json"; - -/* eslint no-var: 0 */ - -export var AllQueryStringTypesInput = struct( - n0, - _AQSTI, - 0, - [ - _qS, - _qSL, - _qSS, - _qB, - _qSu, - _qI, - _qIL, - _qIS, - _qL, - _qF, - _qD, - _qDL, - _qBu, - _qBL, - _qT, - _qTL, - _qE, - _qEL, - _qIE, - _qIEL, - _qPMOSL, - ], - [ - [ - 0, - { - [_hQ]: _S, - }, - ], - [ - 64 | 0, - { - [_hQ]: _SL, - }, - ], - [ - 64 | 0, - { - [_hQ]: _SS, - }, - ], - [ - 1, - { - [_hQ]: _B, - }, - ], - [ - 1, - { - [_hQ]: _Sh, - }, - ], - [ - 1, - { - [_hQ]: _I, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IL, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IS, - }, - ], - [ - 1, - { - [_hQ]: _L, - }, - ], - [ - 1, - { - [_hQ]: _F, - }, - ], - [ - 1, - { - [_hQ]: _D, - }, - ], - [ - 64 | 1, - { - [_hQ]: _DL, - }, - ], - [ - 2, - { - [_hQ]: _Bo, - }, - ], - [ - 64 | 2, - { - [_hQ]: _BL, - }, - ], - [ - 4, - { - [_hQ]: _T, - }, - ], - [ - 64 | 4, - { - [_hQ]: _TL, - }, - ], - [ - 0, - { - [_hQ]: _E, - }, - ], - [ - 64 | 0, - { - [_hQ]: _EL, - }, - ], - [ - 1, - { - [_hQ]: _IE, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IEL, - }, - ], - [map(n1, _SLM, 0, 0, 64 | 0), 64], - ] -); -export var ClientOptionalDefaults = struct(n0, _COD, 0, [_m], [1]); -export var Defaults = struct( - n0, - _De, - 0, - [ - _dS, - _dB, - _dL, - _dDM, - _dDS, - _dDB, - _dDL, - _dND, - _dT, - _dBe, - _dBef, - _dSe, - _dI, - _dLe, - _dF, - _dD, - _dM, - _dE, - _dIE, - _eS, - _fB, - _eB, - _zB, - _zS, - _zI, - _zL, - _zF, - _zD, - ], - [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] -); -export var HttpRequestWithLabelsInput = struct( - n0, - _HRWLI, - 0, - [_st, _sh, _in, _lo, _fl, _do, _bo, _ti], - [ - [0, 1], - [1, 1], - [1, 1], - [1, 1], - [1, 1], - [1, 1], - [2, 1], - [4, 1], - ] -); -export var InputAndOutputWithHeadersIO = struct( - n0, - _IAOWHIO, - 0, - [_hS, _hB, _hSe, _hI, _hLe, _hF, _hD, _hTB, _hFB, _hSL, _hSS, _hIL, _hBL, _hTL, _hEe, _hEL, _hIE, _hIEL], - [ - [ - 0, - { - [_hH]: _XS, - }, - ], - [ - 1, - { - [_hH]: _XB, - }, - ], - [ - 1, - { - [_hH]: _XS_, - }, - ], - [ - 1, - { - [_hH]: _XI, - }, - ], - [ - 1, - { - [_hH]: _XL, - }, - ], - [ - 1, - { - [_hH]: _XF_, - }, - ], - [ - 1, - { - [_hH]: _XD, - }, - ], - [ - 2, - { - [_hH]: _XB_, - }, - ], - [ - 2, - { - [_hH]: _XB__, - }, - ], - [ - 64 | 0, - { - [_hH]: _XS__, - }, - ], - [ - 64 | 0, - { - [_hH]: _XS___, - }, - ], - [ - 64 | 1, - { - [_hH]: _XI_, - }, - ], - [ - 64 | 2, - { - [_hH]: _XB___, - }, - ], - [ - 64 | 4, - { - [_hH]: _XT, - }, - ], - [ - 0, - { - [_hH]: _XE, - }, - ], - [ - 64 | 0, - { - [_hH]: _XE_, - }, - ], - [ - 1, - { - [_hH]: _XI__, - }, - ], - [ - 64 | 1, - { - [_hH]: _XI___, - }, - ], - ] -); -export var JsonListsInputOutput = struct( - n0, - _JLIO, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iELn, _nSL, _sLt], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n1, _NSL, 0, 64 | 0), - [ - () => StructureList, - { - [_jN]: _mSL, - }, - ], - ] -); -export var JsonMapsInputOutput = struct( - n0, - _JMIO, - 0, - [_dSM, _dNM, _dBM, _dSMe, _dSMen], - [() => DenseStructMap, 128 | 1, 128 | 2, 128 | 0, map(n0, _DSM, 0, 0, 64 | 0)] -); -export var MalformedBooleanInput = struct( - n0, - _MBIa, - 0, - [_bIB, _bIP, _bIQ, _bIH], - [ - 2, - [2, 1], - [ - 2, - { - [_hQ]: _bIQ, - }, - ], - [ - 2, - { - [_hH]: _bIH, - }, - ], - ] -); -export var OmitsSerializingEmptyListsInput = struct( - n0, - _OSELI, - 0, - [_qSL, _qIL, _qDL, _qBL, _qTL, _qEL, _qIEL], - [ - [ - 64 | 0, - { - [_hQ]: _SL, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IL, - }, - ], - [ - 64 | 1, - { - [_hQ]: _DL, - }, - ], - [ - 64 | 2, - { - [_hQ]: _BL, - }, - ], - [ - 64 | 4, - { - [_hQ]: _TL, - }, - ], - [ - 64 | 0, - { - [_hQ]: _EL, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IEL, - }, - ], - ] -); -export var OperationWithDefaultsInput = struct( - n0, - _OWDI, - 0, - [_de, _cOD, _tLD, _oTLD], - [() => Defaults, () => ClientOptionalDefaults, 0, 1] -); -export var OperationWithDefaultsOutput = struct( - n0, - _OWDO, - 0, - [ - _dS, - _dB, - _dL, - _dDM, - _dDS, - _dDB, - _dDL, - _dND, - _dT, - _dBe, - _dBef, - _dSe, - _dI, - _dLe, - _dF, - _dD, - _dM, - _dE, - _dIE, - _eS, - _fB, - _eB, - _zB, - _zS, - _zI, - _zL, - _zF, - _zD, - ], - [0, 2, 64 | 0, 15, 15, 15, 15, 15, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] -); -export var SimpleScalarPropertiesInputOutput = struct( - n0, - _SSPIO, - 0, - [_fo, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dVo], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - 0, - 2, - 2, - 1, - 1, - 1, - 1, - 1, - [ - 1, - { - [_jN]: _DD, - }, - ], - ] -); -export var SparseJsonMapsInputOutput = struct( - n0, - _SJMIO, - 0, - [_sSM, _sNM, _sBM, _sSMp, _sSMpa], - [ - [() => SparseStructMap, 0], - [() => SparseNumberMap, 0], - [() => SparseBooleanMap, 0], - [() => SparseStringMap, 0], - [() => SparseSetMap, 0], - ] -); -export var StructureListMember = struct( - n0, - _SLMt, - 0, - [_a_, _b_], - [ - [ - 0, - { - [_jN]: _v, - }, - ], - [ - 0, - { - [_jN]: _o, - }, - ], - ] -); -export var UnionInputOutput = struct(n0, _UIO, 0, [_con], [() => MyUnion]); -export var GreetingStruct_n2 = struct(n2, _GS, 0, [_sa], [0]); -export var StructureList = list(n0, _SLt, 0, [() => StructureListMember, 0]); -export var TestStringList = 64 | 0; - -export var BooleanList = 64 | 2; - -export var DoubleList = 64 | 1; - -export var IntegerList = 64 | 1; - -export var IntegerSet = 64 | 1; - -export var NestedStringList = list(n1, _NSL, 0, 64 | 0); -export var StringSet = 64 | 0; - -export var TimestampList = 64 | 4; - -export var DenseBooleanMap = 128 | 2; - -export var DenseNumberMap = 128 | 1; - -export var DenseSetMap = map(n0, _DSM, 0, 0, 64 | 0); -export var DenseStringMap = 128 | 0; - -export var DenseStructMap = map(n0, _DSMe, 0, 0, () => GreetingStruct); -export var SparseBooleanMap = map( - n0, - _SBM, - { - [_sp]: 1, - }, - 0, - 2 -); -export var SparseNumberMap = map( - n0, - _SNM, - { - [_sp]: 1, - }, - 0, - 1 -); -export var SparseSetMap = map( - n0, - _SSM, - { - [_sp]: 1, - }, - 0, - 64 | 0 -); -export var SparseStructMap = map( - n0, - _SSMp, - { - [_sp]: 1, - }, - 0, - () => GreetingStruct -); -export var TestStringMap = 128 | 0; - -export var SparseStringMap = map( - n1, - _SSMpa, - { - [_sp]: 1, - }, - 0, - 0 -); -export var MyUnion = uni( - n0, - _MU, - 0, - [_sV, _bVo, _nVu, _bVl, _tV, _eV, _lVi, _mV, _sVt, _rSV], - [0, 2, 1, 21, 4, 0, 64 | 0, 128 | 0, () => GreetingStruct, () => GreetingStruct_n2] -); -export var AllQueryStringTypes = op( - n0, - _AQST, - { - [_ht]: ["GET", "/AllQueryStringTypesInput", 200], - }, - () => AllQueryStringTypesInput, - () => Unit -); -export var HttpRequestWithLabels = op( - n0, - _HRWL, - { - [_ht]: [ - "GET", - "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", - 200, - ], - }, - () => HttpRequestWithLabelsInput, - () => Unit -); -export var InputAndOutputWithHeaders = op( - n0, - _IAOWH, - { - [_ht]: ["POST", "/InputAndOutputWithHeaders", 200], - }, - () => InputAndOutputWithHeadersIO, - () => InputAndOutputWithHeadersIO -); -export var JsonLists = op( - n0, - _JL, - { - [_ht]: ["PUT", "/JsonLists", 200], - }, - () => JsonListsInputOutput, - () => JsonListsInputOutput -); -export var JsonMaps = op( - n0, - _JM, - { - [_ht]: ["POST", "/JsonMaps", 200], - }, - () => JsonMapsInputOutput, - () => JsonMapsInputOutput -); -export var JsonUnions = op( - n0, - _JU, - { - [_ht]: ["PUT", "/JsonUnions", 200], - }, - () => UnionInputOutput, - () => UnionInputOutput -); -export var MalformedBoolean = op( - n0, - _MBa, - { - [_ht]: ["POST", "/MalformedBoolean/{booleanInPath}", 200], - }, - () => MalformedBooleanInput, - () => Unit -); -export var OmitsSerializingEmptyLists = op( - n0, - _OSEL, - { - [_ht]: ["POST", "/OmitsSerializingEmptyLists", 200], - }, - () => OmitsSerializingEmptyListsInput, - () => Unit -); -export var OperationWithDefaults = op( - n0, - _OWD, - { - [_ht]: ["POST", "/OperationWithDefaults", 200], - }, - () => OperationWithDefaultsInput, - () => OperationWithDefaultsOutput -); -export var SimpleScalarProperties = op( - n0, - _SSP, - { - [_ht]: ["PUT", "/SimpleScalarProperties", 200], - }, - () => SimpleScalarPropertiesInputOutput, - () => SimpleScalarPropertiesInputOutput -); -export var SparseJsonMaps = op( - n0, - _SJM, - { - [_ht]: ["POST", "/SparseJsonMaps", 200], - }, - () => SparseJsonMapsInputOutput, - () => SparseJsonMapsInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_30_Type.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_30_Type.ts deleted file mode 100644 index d93da21e3749..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_30_Type.ts +++ /dev/null @@ -1,39 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _DT, _DTAMV, _DTAMVIO, _DTAP, _DTAPIO, _DTIO, _dV, _dVM, _ht, _sV, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var DocumentTypeAsMapValueInputOutput = struct(n0, _DTAMVIO, 0, [_dVM], [128 | 15]); -export var DocumentTypeAsPayloadInputOutput = struct(n0, _DTAPIO, 0, [_dV], [[15, 16]]); -export var DocumentTypeInputOutput = struct(n0, _DTIO, 0, [_sV, _dV], [0, 15]); -export var DocumentValuedMap = 128 | 15; - -export var DocumentType = op( - n0, - _DT, - { - [_ht]: ["PUT", "/DocumentType", 200], - }, - () => DocumentTypeInputOutput, - () => DocumentTypeInputOutput -); -export var DocumentTypeAsMapValue = op( - n0, - _DTAMV, - { - [_ht]: ["PUT", "/DocumentTypeAsMapValue", 200], - }, - () => DocumentTypeAsMapValueInputOutput, - () => DocumentTypeAsMapValueInputOutput -); -export var DocumentTypeAsPayload = op( - n0, - _DTAP, - { - [_ht]: ["PUT", "/DocumentTypeAsPayload", 200], - }, - () => DocumentTypeAsPayloadInputOutput, - () => DocumentTypeAsPayloadInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_31_RecursiveShapes.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_31_RecursiveShapes.ts deleted file mode 100644 index 1502cf1a94c0..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_31_RecursiveShapes.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ba, _fo, _ht, _n, _rM, _RS, _RSIO, _RSION, _RSIONe, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var RecursiveShapesInputOutput = struct(n0, _RSIO, 0, [_n], [() => RecursiveShapesInputOutputNested1]); -export var RecursiveShapesInputOutputNested1 = struct( - n0, - _RSION, - 0, - [_fo, _n], - [0, () => RecursiveShapesInputOutputNested2] -); -export var RecursiveShapesInputOutputNested2 = struct( - n0, - _RSIONe, - 0, - [_ba, _rM], - [0, () => RecursiveShapesInputOutputNested1] -); -export var RecursiveShapes = op( - n0, - _RS, - { - [_ht]: ["PUT", "/RecursiveShapes", 200], - }, - () => RecursiveShapesInputOutput, - () => RecursiveShapesInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_32_Json.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_32_Json.ts deleted file mode 100644 index ee81be803c76..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_32_Json.ts +++ /dev/null @@ -1,27 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _GS, _hi, _ht, _MAWB, _MCTWB, n0, n1 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var GreetingStruct = struct(n1, _GS, 0, [_hi], [0]); -export var MalformedAcceptWithBody = op( - n0, - _MAWB, - { - [_ht]: ["POST", "/MalformedAcceptWithBody", 200], - }, - () => Unit, - () => GreetingStruct -); -export var MalformedContentTypeWithBody = op( - n0, - _MCTWB, - { - [_ht]: ["POST", "/MalformedContentTypeWithBody", 200], - }, - () => GreetingStruct, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_33_HttpChecksumRequired.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_33_HttpChecksumRequired.ts deleted file mode 100644 index 5cff4619444d..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_33_HttpChecksumRequired.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _fo, _HCR, _hCR, _HCRIO, _ht, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpChecksumRequiredInputOutput = struct(n0, _HCRIO, 0, [_fo], [0]); -export var HttpChecksumRequired = op( - n0, - _HCR, - { - [_ht]: ["POST", "/HttpChecksumRequired", 200], - [_hCR]: 1, - }, - () => HttpChecksumRequiredInputOutput, - () => HttpChecksumRequiredInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_34_StreamingTraitsRequireLength.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_34_StreamingTraitsRequireLength.ts deleted file mode 100644 index 2be2266b3d07..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_34_StreamingTraitsRequireLength.ts +++ /dev/null @@ -1,36 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _bl, _fo, _FSB, _hH, _ht, _rL, _s, _STRL, _STRLI, _XF, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var FiniteStreamingBlob = sim(n0, _FSB, 42, { - [_rL]: 1, - [_s]: 1, -}); -export var StreamingTraitsRequireLengthInput = struct( - n0, - _STRLI, - 0, - [_fo, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [() => FiniteStreamingBlob, 16], - ] -); -export var StreamingTraitsRequireLength = op( - n0, - _STRL, - { - [_ht]: ["POST", "/StreamingTraitsRequireLength", 200], - }, - () => StreamingTraitsRequireLengthInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_35_ContentTypeParameters.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_35_ContentTypeParameters.ts deleted file mode 100644 index 1c94374476ed..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_35_ContentTypeParameters.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CTP, _CTPI, _CTPO, _ht, _v, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var ContentTypeParametersInput = struct(n0, _CTPI, 0, [_v], [1]); -export var ContentTypeParametersOutput = struct(n0, _CTPO, 0, [], []); -export var ContentTypeParameters = op( - n0, - _CTP, - { - [_ht]: ["POST", "/ContentTypeParameters", 200], - }, - () => ContentTypeParametersInput, - () => ContentTypeParametersOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_36_HttpStringPayload.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_36_HttpStringPayload.ts deleted file mode 100644 index f4c67791825a..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_36_HttpStringPayload.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _HSP, _ht, _p, _SPI, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var StringPayloadInput = struct(n0, _SPI, 0, [_p], [[0, 16]]); -export var HttpStringPayload = op( - n0, - _HSP, - { - [_ht]: ["POST", "/StringPayload", 200], - }, - () => StringPayloadInput, - () => StringPayloadInput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_37_EndpointOperation.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_37_EndpointOperation.ts deleted file mode 100644 index 8ba9ac7aa0b1..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_37_EndpointOperation.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _end, _EO, _ht, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var EndpointOperation = op( - n0, - _EO, - { - [_ht]: ["POST", "/EndpointOperation", 200], - [_end]: ["foo."], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_38_MalformedMap.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_38_MalformedMap.ts deleted file mode 100644 index 167c7c98ea17..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_38_MalformedMap.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _bM, _ht, _MM, _MMI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedMapInput = struct(n0, _MMI, 0, [_bM], [128 | 0]); -export var SimpleMap = 128 | 0; - -export var MalformedMap = op( - n0, - _MM, - { - [_ht]: ["POST", "/MalformedMap", 200], - }, - () => MalformedMapInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_39_ResponseCodeHttpFallback.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_39_ResponseCodeHttpFallback.ts deleted file mode 100644 index f51588cb93f4..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_39_ResponseCodeHttpFallback.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _RCHF, _RCHFIO, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var ResponseCodeHttpFallbackInputOutput = struct(n0, _RCHFIO, 0, [], []); -export var ResponseCodeHttpFallback = op( - n0, - _RCHF, - { - [_ht]: ["GET", "/responseCodeHttpFallback", 201], - }, - () => ResponseCodeHttpFallbackInputOutput, - () => ResponseCodeHttpFallbackInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_3_Blob.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_3_Blob.ts deleted file mode 100644 index 844f76ff42dc..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_3_Blob.ts +++ /dev/null @@ -1,94 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _bl, - _CT, - _cT, - _da, - _fo, - _hH, - _HPT, - _HPTIO, - _ht, - _JBIO, - _JBs, - _MB, - _MBI, - _TPBe, - _TPBIO, - _XF, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HttpPayloadTraitsInputOutput = struct( - n0, - _HPTIO, - 0, - [_fo, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [21, 16], - ] -); -export var JsonBlobsInputOutput = struct(n0, _JBIO, 0, [_da], [21]); -export var MalformedBlobInput = struct(n0, _MBI, 0, [_bl], [21]); -export var TestPayloadBlobInputOutput = struct( - n0, - _TPBIO, - 0, - [_cT, _da], - [ - [ - 0, - { - [_hH]: _CT, - }, - ], - [21, 16], - ] -); -export var HttpPayloadTraits = op( - n0, - _HPT, - { - [_ht]: ["POST", "/HttpPayloadTraits", 200], - }, - () => HttpPayloadTraitsInputOutput, - () => HttpPayloadTraitsInputOutput -); -export var JsonBlobs = op( - n0, - _JBs, - { - [_ht]: ["POST", "/JsonBlobs", 200], - }, - () => JsonBlobsInputOutput, - () => JsonBlobsInputOutput -); -export var MalformedBlob = op( - n0, - _MB, - { - [_ht]: ["POST", "/MalformedBlob", 200], - }, - () => MalformedBlobInput, - () => Unit -); -export var TestPayloadBlob = op( - n0, - _TPBe, - { - [_ht]: ["POST", "/blob_payload", 200], - }, - () => TestPayloadBlobInputOutput, - () => TestPayloadBlobInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_40_ConstantQueryString.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_40_ConstantQueryString.ts deleted file mode 100644 index a09fdb275c2c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_40_ConstantQueryString.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CQS, _CQSI, _h, _ht, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var ConstantQueryStringInput = struct(n0, _CQSI, 0, [_h], [[0, 1]]); -export var ConstantQueryString = op( - n0, - _CQS, - { - [_ht]: ["GET", "/ConstantQueryString/{hello}?foo=bar&hello", 200], - }, - () => ConstantQueryStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_41_MalformedContentTypeWithGenericString.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_41_MalformedContentTypeWithGenericString.ts deleted file mode 100644 index 9bfe092db680..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_41_MalformedContentTypeWithGenericString.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MCTWGS, _MCTWGSI, _p, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedContentTypeWithGenericStringInput = struct(n0, _MCTWGSI, 0, [_p], [[0, 16]]); -export var MalformedContentTypeWithGenericString = op( - n0, - _MCTWGS, - { - [_ht]: ["POST", "/MalformedContentTypeWithGenericString", 200], - }, - () => MalformedContentTypeWithGenericStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_42_EmptyInputAndEmptyOutput.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_42_EmptyInputAndEmptyOutput.ts deleted file mode 100644 index a29450f74faf..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_42_EmptyInputAndEmptyOutput.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _EIAEO, _EIAEOI, _EIAEOO, _ht, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EmptyInputAndEmptyOutputInput = struct(n0, _EIAEOI, 0, [], []); -export var EmptyInputAndEmptyOutputOutput = struct(n0, _EIAEOO, 0, [], []); -export var EmptyInputAndEmptyOutput = op( - n0, - _EIAEO, - { - [_ht]: ["POST", "/EmptyInputAndEmptyOutput", 200], - }, - () => EmptyInputAndEmptyOutputInput, - () => EmptyInputAndEmptyOutputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_43_MalformedTimestampQueryEpoch.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_43_MalformedTimestampQueryEpoch.ts deleted file mode 100644 index ba07a7a9f56c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_43_MalformedTimestampQueryEpoch.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hQ, _ht, _MTQE, _MTQEI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampQueryEpochInput = struct( - n0, - _MTQEI, - 0, - [_ti], - [ - [ - 7, - { - [_hQ]: _ti, - }, - ], - ] -); -export var MalformedTimestampQueryEpoch = op( - n0, - _MTQE, - { - [_ht]: ["POST", "/MalformedTimestampQueryEpoch", 200], - }, - () => MalformedTimestampQueryEpochInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_44_HttpPayloadWithStructure.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_44_HttpPayloadWithStructure.ts deleted file mode 100644 index 60ab796e5652..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_44_HttpPayloadWithStructure.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _g, _HPWS, _HPWSIO, _ht, _n, _na, _NP, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadWithStructureInputOutput = struct(n0, _HPWSIO, 0, [_n], [[() => NestedPayload, 16]]); -export var NestedPayload = struct(n0, _NP, 0, [_g, _na], [0, 0]); -export var HttpPayloadWithStructure = op( - n0, - _HPWS, - { - [_ht]: ["PUT", "/HttpPayloadWithStructure", 200], - }, - () => HttpPayloadWithStructureInputOutput, - () => HttpPayloadWithStructureInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_45_MalformedContentTypeWithoutBody.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_45_MalformedContentTypeWithoutBody.ts deleted file mode 100644 index 12d874a94043..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_45_MalformedContentTypeWithoutBody.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _ht, _MCTWBa, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedContentTypeWithoutBody = op( - n0, - _MCTWBa, - { - [_ht]: ["POST", "/MalformedContentTypeWithoutBody", 200], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_46_MalformedTimestampBodyDefault.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_46_MalformedTimestampBodyDefault.ts deleted file mode 100644 index 2e6b1ff2af0c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_46_MalformedTimestampBodyDefault.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MTBD, _MTBDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampBodyDefaultInput = struct(n0, _MTBDI, 0, [_ti], [4]); -export var MalformedTimestampBodyDefault = op( - n0, - _MTBD, - { - [_ht]: ["POST", "/MalformedTimestampBodyDefault", 200], - }, - () => MalformedTimestampBodyDefaultInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_47_MalformedList.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_47_MalformedList.ts deleted file mode 100644 index 87e4b92a49b9..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_47_MalformedList.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _bLo, _ht, _ML, _MLI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedListInput = struct(n0, _MLI, 0, [_bLo], [64 | 0]); -export var SimpleList = 64 | 0; - -export var MalformedList = op( - n0, - _ML, - { - [_ht]: ["POST", "/MalformedList", 200], - }, - () => MalformedListInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_48_StreamingTraits.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_48_StreamingTraits.ts deleted file mode 100644 index 5603538aea59..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_48_StreamingTraits.ts +++ /dev/null @@ -1,34 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _bl, _fo, _hH, _ht, _s, _SB, _ST, _STIO, _XF, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var StreamingBlob = sim(n0, _SB, 42, { - [_s]: 1, -}); -export var StreamingTraitsInputOutput = struct( - n0, - _STIO, - 0, - [_fo, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [() => StreamingBlob, 16], - ] -); -export var StreamingTraits = op( - n0, - _ST, - { - [_ht]: ["POST", "/StreamingTraits", 200], - }, - () => StreamingTraitsInputOutput, - () => StreamingTraitsInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_49_PostUnionWithJsonName.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_49_PostUnionWithJsonName.ts deleted file mode 100644 index e42248b95120..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_49_PostUnionWithJsonName.ts +++ /dev/null @@ -1,39 +0,0 @@ -// smithy-typescript generated code -import { op, struct, struct as uni } from "@smithy/core/schema"; - -import { _b, _ba, _baz, _fo, _FOO, _ht, _jN, _PUWJN, _PUWJNI, _PUWJNO, _UWJN, _v, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var PostUnionWithJsonNameInput = struct(n0, _PUWJNI, 0, [_v], [[() => UnionWithJsonName, 0]]); -export var PostUnionWithJsonNameOutput = struct(n0, _PUWJNO, 0, [_v], [[() => UnionWithJsonName, 0]]); -export var UnionWithJsonName = uni( - n0, - _UWJN, - 0, - [_fo, _ba, _b], - [ - [ - 0, - { - [_jN]: _FOO, - }, - ], - 0, - [ - 0, - { - [_jN]: _baz, - }, - ], - ] -); -export var PostUnionWithJsonName = op( - n0, - _PUWJN, - { - [_ht]: ["POST", "/PostUnionWithJsonName", 200], - }, - () => PostUnionWithJsonNameInput, - () => PostUnionWithJsonNameOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_4_WithPayload.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_4_WithPayload.ts deleted file mode 100644 index 7f3feea6ebc2..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_4_WithPayload.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _ht, _i, _JB, _MAWP, _MAWPO, _MCTWP, _MCTWPI, _mT, _p, n0, n1 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var JpegBlob = sim(n1, _JB, 21, { - [_mT]: _i, -}); -export var MalformedAcceptWithPayloadOutput = struct(n0, _MAWPO, 0, [_p], [[() => JpegBlob, 16]]); -export var MalformedContentTypeWithPayloadInput = struct(n0, _MCTWPI, 0, [_p], [[() => JpegBlob, 16]]); -export var MalformedAcceptWithPayload = op( - n0, - _MAWP, - { - [_ht]: ["POST", "/MalformedAcceptWithPayload", 200], - }, - () => Unit, - () => MalformedAcceptWithPayloadOutput -); -export var MalformedContentTypeWithPayload = op( - n0, - _MCTWP, - { - [_ht]: ["POST", "/MalformedContentTypeWithPayload", 200], - }, - () => MalformedContentTypeWithPayloadInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_50_MalformedContentTypeWithoutBodyEmptyInput.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_50_MalformedContentTypeWithoutBodyEmptyInput.ts deleted file mode 100644 index 08b285ada493..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_50_MalformedContentTypeWithoutBodyEmptyInput.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _he, _hH, _ht, _MCTWBEI, _MCTWBEII, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedContentTypeWithoutBodyEmptyInputInput = struct( - n0, - _MCTWBEII, - 0, - [_he], - [ - [ - 0, - { - [_hH]: _he, - }, - ], - ] -); -export var MalformedContentTypeWithoutBodyEmptyInput = op( - n0, - _MCTWBEI, - { - [_ht]: ["POST", "/MalformedContentTypeWithoutBodyEmptyInput", 200], - }, - () => MalformedContentTypeWithoutBodyEmptyInputInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_51_With.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_51_With.ts deleted file mode 100644 index 228e22c2801d..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_51_With.ts +++ /dev/null @@ -1,39 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _hQ, _ht, _lIB, _lIH, _lIP, _lIQ, _MLa, _MLIa, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedLongInput = struct( - n0, - _MLIa, - 0, - [_lIB, _lIP, _lIQ, _lIH], - [ - 1, - [1, 1], - [ - 1, - { - [_hQ]: _lIQ, - }, - ], - [ - 1, - { - [_hH]: _lIH, - }, - ], - ] -); -export var MalformedLong = op( - n0, - _MLa, - { - [_ht]: ["POST", "/MalformedLong/{longInPath}", 200], - }, - () => MalformedLongInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_52_TestBodyStructure.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_52_TestBodyStructure.ts deleted file mode 100644 index 6e7dbe7f88ee..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_52_TestBodyStructure.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _ht, _TBS, _TBSIO, _TC, _tC, _tI, _tim, _xati, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var TestBodyStructureInputOutput = struct( - n0, - _TBSIO, - 0, - [_tI, _tC], - [ - [ - 0, - { - [_hH]: _xati, - }, - ], - () => TestConfig, - ] -); -export var TestConfig = struct(n0, _TC, 0, [_tim], [1]); -export var TestBodyStructure = op( - n0, - _TBS, - { - [_ht]: ["POST", "/body", 200], - }, - () => TestBodyStructureInputOutput, - () => TestBodyStructureInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_53_With.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_53_With.ts deleted file mode 100644 index 858362d7ede8..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_53_With.ts +++ /dev/null @@ -1,39 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _bIBy, _bIHy, _bIPy, _bIQy, _hH, _hQ, _ht, _MBal, _MBIal, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedByteInput = struct( - n0, - _MBIal, - 0, - [_bIBy, _bIPy, _bIQy, _bIHy], - [ - 1, - [1, 1], - [ - 1, - { - [_hQ]: _bIQy, - }, - ], - [ - 1, - { - [_hH]: _bIHy, - }, - ], - ] -); -export var MalformedByte = op( - n0, - _MBal, - { - [_ht]: ["POST", "/MalformedByte/{byteInPath}", 200], - }, - () => MalformedByteInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_54_IgnoreQueryParamsInResponse.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_54_IgnoreQueryParamsInResponse.ts deleted file mode 100644 index 9d19a5b58608..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_54_IgnoreQueryParamsInResponse.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _hQ, _ht, _IQPIR, _IQPIRO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var IgnoreQueryParamsInResponseOutput = struct( - n0, - _IQPIRO, - 0, - [_b], - [ - [ - 0, - { - [_hQ]: _b, - }, - ], - ] -); -export var IgnoreQueryParamsInResponse = op( - n0, - _IQPIR, - { - [_ht]: ["GET", "/IgnoreQueryParamsInResponse", 200], - }, - () => Unit, - () => IgnoreQueryParamsInResponseOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_55_MalformedTimestampBodyHttpDate.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_55_MalformedTimestampBodyHttpDate.ts deleted file mode 100644 index 2bf92cf60d14..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_55_MalformedTimestampBodyHttpDate.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MTBHD, _MTBHDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampBodyHttpDateInput = struct(n0, _MTBHDI, 0, [_ti], [6]); -export var MalformedTimestampBodyHttpDate = op( - n0, - _MTBHD, - { - [_ht]: ["POST", "/MalformedTimestampBodyHttpDate", 200], - }, - () => MalformedTimestampBodyHttpDateInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_56_PutWithContentEncoding.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_56_PutWithContentEncoding.ts deleted file mode 100644 index 5cbbf083b64d..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_56_PutWithContentEncoding.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CE_, _da, _en, _hH, _ht, _PWCE, _PWCEI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var PutWithContentEncodingInput = struct( - n0, - _PWCEI, - 0, - [_en, _da], - [ - [ - 0, - { - [_hH]: _CE_, - }, - ], - 0, - ] -); -export var PutWithContentEncoding = op( - n0, - _PWCE, - { - [_ht]: ["POST", "/requestcompression/putcontentwithencoding", 200], - }, - () => PutWithContentEncodingInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_57_HttpPayloadWithUnion.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_57_HttpPayloadWithUnion.ts deleted file mode 100644 index cd2f187b2d25..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_57_HttpPayloadWithUnion.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct, struct as uni } from "@smithy/core/schema"; - -import { _g, _HPWU, _HPWUIO, _ht, _n, _UP, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadWithUnionInputOutput = struct(n0, _HPWUIO, 0, [_n], [[() => UnionPayload, 16]]); -export var UnionPayload = uni(n0, _UP, 0, [_g], [0]); -export var HttpPayloadWithUnion = op( - n0, - _HPWU, - { - [_ht]: ["PUT", "/HttpPayloadWithUnion", 200], - }, - () => HttpPayloadWithUnionInputOutput, - () => HttpPayloadWithUnionInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_58_MalformedTimestampHeaderDefault.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_58_MalformedTimestampHeaderDefault.ts deleted file mode 100644 index d76f9d835df9..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_58_MalformedTimestampHeaderDefault.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _ht, _MTHD, _MTHDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampHeaderDefaultInput = struct( - n0, - _MTHDI, - 0, - [_ti], - [ - [ - 4, - { - [_hH]: _ti, - }, - ], - ] -); -export var MalformedTimestampHeaderDefault = op( - n0, - _MTHD, - { - [_ht]: ["POST", "/MalformedTimestampHeaderDefault", 200], - }, - () => MalformedTimestampHeaderDefaultInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_59_TestPayloadStructure.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_59_TestPayloadStructure.ts deleted file mode 100644 index 411715adc794..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_59_TestPayloadStructure.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _da, _hH, _ht, _PC, _pC, _tI, _TPS, _TPSIO, _xati, n0 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var PayloadConfig = struct(n0, _PC, 0, [_da], [1]); -export var TestPayloadStructureInputOutput = struct( - n0, - _TPSIO, - 0, - [_tI, _pC], - [ - [ - 0, - { - [_hH]: _xati, - }, - ], - [() => PayloadConfig, 16], - ] -); -export var TestPayloadStructure = op( - n0, - _TPS, - { - [_ht]: ["POST", "/payload", 200], - }, - () => TestPayloadStructureInputOutput, - () => TestPayloadStructureInputOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_5_With.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_5_With.ts deleted file mode 100644 index 090df69d9b22..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_5_With.ts +++ /dev/null @@ -1,86 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _do, - _fIB, - _fIH, - _fIP, - _fIQ, - _fl, - _hH, - _hQ, - _HRWFL, - _HRWFLI, - _ht, - _int, - _MF, - _MFI, - _MRB, - _MRBI, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HttpRequestWithFloatLabelsInput = struct( - n0, - _HRWFLI, - 0, - [_fl, _do], - [ - [1, 1], - [1, 1], - ] -); -export var MalformedFloatInput = struct( - n0, - _MFI, - 0, - [_fIB, _fIP, _fIQ, _fIH], - [ - 1, - [1, 1], - [ - 1, - { - [_hQ]: _fIQ, - }, - ], - [ - 1, - { - [_hH]: _fIH, - }, - ], - ] -); -export var MalformedRequestBodyInput = struct(n0, _MRBI, 0, [_int, _fl], [1, 1]); -export var HttpRequestWithFloatLabels = op( - n0, - _HRWFL, - { - [_ht]: ["GET", "/FloatHttpLabels/{float}/{double}", 200], - }, - () => HttpRequestWithFloatLabelsInput, - () => Unit -); -export var MalformedFloat = op( - n0, - _MF, - { - [_ht]: ["POST", "/MalformedFloat/{floatInPath}", 200], - }, - () => MalformedFloatInput, - () => Unit -); -export var MalformedRequestBody = op( - n0, - _MRB, - { - [_ht]: ["POST", "/MalformedRequestBody", 200], - }, - () => MalformedRequestBodyInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_60_MalformedTimestampPathEpoch.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_60_MalformedTimestampPathEpoch.ts deleted file mode 100644 index 4ba953fbf9bf..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_60_MalformedTimestampPathEpoch.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MTPE, _MTPEI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampPathEpochInput = struct(n0, _MTPEI, 0, [_ti], [[7, 1]]); -export var MalformedTimestampPathEpoch = op( - n0, - _MTPE, - { - [_ht]: ["POST", "/MalformedTimestampPathEpoch/{timestamp}", 200], - }, - () => MalformedTimestampPathEpochInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_61_MalformedTimestampPathHttpDate.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_61_MalformedTimestampPathHttpDate.ts deleted file mode 100644 index 4a2be899972c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_61_MalformedTimestampPathHttpDate.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MTPHD, _MTPHDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampPathHttpDateInput = struct(n0, _MTPHDI, 0, [_ti], [[6, 1]]); -export var MalformedTimestampPathHttpDate = op( - n0, - _MTPHD, - { - [_ht]: ["POST", "/MalformedTimestampPathHttpDate/{timestamp}", 200], - }, - () => MalformedTimestampPathHttpDateInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_62_MalformedTimestampHeaderDateTime.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_62_MalformedTimestampHeaderDateTime.ts deleted file mode 100644 index ad7b2ded2caa..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_62_MalformedTimestampHeaderDateTime.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hH, _ht, _MTHDT, _MTHDTI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampHeaderDateTimeInput = struct( - n0, - _MTHDTI, - 0, - [_ti], - [ - [ - 5, - { - [_hH]: _ti, - }, - ], - ] -); -export var MalformedTimestampHeaderDateTime = op( - n0, - _MTHDT, - { - [_ht]: ["POST", "/MalformedTimestampHeaderDateTime", 200], - }, - () => MalformedTimestampHeaderDateTimeInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_63_OmitsNullSerializesEmptyString.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_63_OmitsNullSerializesEmptyString.ts deleted file mode 100644 index 331c4dd6822b..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_63_OmitsNullSerializesEmptyString.ts +++ /dev/null @@ -1,37 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _Em, _eS, _hQ, _ht, _Nu, _nV, _ONSES, _ONSESI, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var OmitsNullSerializesEmptyStringInput = struct( - n0, - _ONSESI, - 0, - [_nV, _eS], - [ - [ - 0, - { - [_hQ]: _Nu, - }, - ], - [ - 0, - { - [_hQ]: _Em, - }, - ], - ] -); -export var OmitsNullSerializesEmptyString = op( - n0, - _ONSES, - { - [_ht]: ["GET", "/OmitsNullSerializesEmptyString", 200], - }, - () => OmitsNullSerializesEmptyStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_64_QueryIdempotencyTokenAutoFill.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_64_QueryIdempotencyTokenAutoFill.ts deleted file mode 100644 index b6ad3935f158..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_64_QueryIdempotencyTokenAutoFill.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hQ, _ht, _iT, _QITAF, _QITAFI, _to, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var QueryIdempotencyTokenAutoFillInput = struct( - n0, - _QITAFI, - 0, - [_to], - [ - [ - 0, - { - [_iT]: 1, - [_hQ]: _to, - }, - ], - ] -); -export var QueryIdempotencyTokenAutoFill = op( - n0, - _QITAF, - { - [_ht]: ["POST", "/QueryIdempotencyTokenAutoFill", 200], - }, - () => QueryIdempotencyTokenAutoFillInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_65_EndpointWithHostLabelOperation.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_65_EndpointWithHostLabelOperation.ts deleted file mode 100644 index 553c36657eb4..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_65_EndpointWithHostLabelOperation.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _end, _EWHLO, _hL, _HLI, _ht, _la, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HostLabelInput = struct( - n0, - _HLI, - 0, - [_la], - [ - [ - 0, - { - [_hL]: 1, - }, - ], - ] -); -export var EndpointWithHostLabelOperation = op( - n0, - _EWHLO, - { - [_ht]: ["POST", "/EndpointWithHostLabelOperation", 200], - [_end]: ["foo.{label}."], - }, - () => HostLabelInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_66_MalformedTimestampQueryDefault.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_66_MalformedTimestampQueryDefault.ts deleted file mode 100644 index c4f322347933..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_66_MalformedTimestampQueryDefault.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hQ, _ht, _MTQD, _MTQDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampQueryDefaultInput = struct( - n0, - _MTQDI, - 0, - [_ti], - [ - [ - 4, - { - [_hQ]: _ti, - }, - ], - ] -); -export var MalformedTimestampQueryDefault = op( - n0, - _MTQD, - { - [_ht]: ["POST", "/MalformedTimestampQueryDefault", 200], - }, - () => MalformedTimestampQueryDefaultInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_67_MalformedTimestampQueryHttpDate.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_67_MalformedTimestampQueryHttpDate.ts deleted file mode 100644 index a7f1945bb568..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_67_MalformedTimestampQueryHttpDate.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hQ, _ht, _MTQHD, _MTQHDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampQueryHttpDateInput = struct( - n0, - _MTQHDI, - 0, - [_ti], - [ - [ - 6, - { - [_hQ]: _ti, - }, - ], - ] -); -export var MalformedTimestampQueryHttpDate = op( - n0, - _MTQHD, - { - [_ht]: ["POST", "/MalformedTimestampQueryHttpDate", 200], - }, - () => MalformedTimestampQueryHttpDateInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_68_HostWithPathOperation.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_68_HostWithPathOperation.ts deleted file mode 100644 index b3ae2d027eab..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_68_HostWithPathOperation.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _ht, _HWPO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var HostWithPathOperation = op( - n0, - _HWPO, - { - [_ht]: ["GET", "/HostWithPathOperation", 200], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_69_MalformedTimestampPathDefault.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_69_MalformedTimestampPathDefault.ts deleted file mode 100644 index e8c4664617d6..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_69_MalformedTimestampPathDefault.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MTPD, _MTPDI, _ti, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedTimestampPathDefaultInput = struct(n0, _MTPDI, 0, [_ti], [[4, 1]]); -export var MalformedTimestampPathDefault = op( - n0, - _MTPD, - { - [_ht]: ["POST", "/MalformedTimestampPathDefault/{timestamp}", 200], - }, - () => MalformedTimestampPathDefaultInput, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_6_MalformedAcceptWithGenericString.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_6_MalformedAcceptWithGenericString.ts deleted file mode 100644 index 366c6e5e352c..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_6_MalformedAcceptWithGenericString.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ht, _MAWGS, _MAWGSO, _p, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var MalformedAcceptWithGenericStringOutput = struct(n0, _MAWGSO, 0, [_p], [[0, 16]]); -export var MalformedAcceptWithGenericString = op( - n0, - _MAWGS, - { - [_ht]: ["POST", "/MalformedAcceptWithGenericString", 200], - }, - () => Unit, - () => MalformedAcceptWithGenericStringOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_70_UnitInputAndOutput.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_70_UnitInputAndOutput.ts deleted file mode 100644 index fe8a13e63a35..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_70_UnitInputAndOutput.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _ht, _UIAO, n0 } from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var UnitInputAndOutput = op( - n0, - _UIAO, - { - [_ht]: ["POST", "/UnitInputAndOutput", 200], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_7_Timestamp.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_7_Timestamp.ts deleted file mode 100644 index 49b3261c9b04..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_7_Timestamp.ts +++ /dev/null @@ -1,167 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _d, - _dFe, - _DO, - _DOO, - _dTa, - _dTOT, - _eSOT, - _eSp, - _FS, - _FSO, - _hDOT, - _hDt, - _hH, - _HRWLATF, - _HRWLATFI, - _ht, - _JT, - _JTIO, - _mDT, - _mES, - _mHD, - _no, - _tDT, - _tES, - _TFH, - _TFHIO, - _tHD, - _Xd, - _Xm, - _Xm_, - _Xm__, - _Xt, - _Xt_, - _Xt__, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var DatetimeOffsetsOutput = struct(n0, _DOO, 0, [_d], [5]); -export var FractionalSecondsOutput = struct(n0, _FSO, 0, [_d], [5]); -export var HttpRequestWithLabelsAndTimestampFormatInput = struct( - n0, - _HRWLATFI, - 0, - [_mES, _mHD, _mDT, _dFe, _tES, _tHD, _tDT], - [ - [7, 1], - [6, 1], - [5, 1], - [4, 1], - [7, 1], - [6, 1], - [5, 1], - ] -); -export var JsonTimestampsInputOutput = struct( - n0, - _JTIO, - 0, - [_no, _dTa, _dTOT, _eSp, _eSOT, _hDt, _hDOT], - [4, 5, 5, 7, 7, 6, 6] -); -export var TimestampFormatHeadersIO = struct( - n0, - _TFHIO, - 0, - [_mES, _mHD, _mDT, _dFe, _tES, _tHD, _tDT], - [ - [ - 7, - { - [_hH]: _Xm, - }, - ], - [ - 6, - { - [_hH]: _Xm_, - }, - ], - [ - 5, - { - [_hH]: _Xm__, - }, - ], - [ - 4, - { - [_hH]: _Xd, - }, - ], - [ - 7, - { - [_hH]: _Xt, - }, - ], - [ - 6, - { - [_hH]: _Xt_, - }, - ], - [ - 5, - { - [_hH]: _Xt__, - }, - ], - ] -); -export var DatetimeOffsets = op( - n0, - _DO, - { - [_ht]: ["POST", "/DatetimeOffsets", 200], - }, - () => Unit, - () => DatetimeOffsetsOutput -); -export var FractionalSeconds = op( - n0, - _FS, - { - [_ht]: ["POST", "/FractionalSeconds", 200], - }, - () => Unit, - () => FractionalSecondsOutput -); -export var HttpRequestWithLabelsAndTimestampFormat = op( - n0, - _HRWLATF, - { - [_ht]: [ - "GET", - "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", - 200, - ], - }, - () => HttpRequestWithLabelsAndTimestampFormatInput, - () => Unit -); -export var JsonTimestamps = op( - n0, - _JT, - { - [_ht]: ["POST", "/JsonTimestamps", 200], - }, - () => JsonTimestampsInputOutput, - () => JsonTimestampsInputOutput -); -export var TimestampFormatHeaders = op( - n0, - _TFH, - { - [_ht]: ["POST", "/TimestampFormatHeaders", 200], - }, - () => TimestampFormatHeadersIO, - () => TimestampFormatHeadersIO -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_8_GreetingWithErrors.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_8_GreetingWithErrors.ts deleted file mode 100644 index 4799a9a3a948..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_8_GreetingWithErrors.ts +++ /dev/null @@ -1,122 +0,0 @@ -// smithy-typescript generated code -import { error, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { - ComplexError as __ComplexError, - FooError as __FooError, - InvalidGreeting as __InvalidGreeting, -} from "../models/index"; -import { - _c, - _CE, - _CNED, - _e, - _FE, - _Fo, - _Foo, - _g, - _GWE, - _GWEO, - _H, - _hE, - _hH, - _ht, - _IG, - _jN, - _M, - _N, - _se, - _TLo, - _XG, - _XH, - n0, -} from "./schemas_0"; -import { Unit } from "./schemas_15_Json"; - -/* eslint no-var: 0 */ - -export var ComplexError = error( - n0, - _CE, - { - [_e]: _c, - [_hE]: 403, - }, - [_H, _TLo, _N], - [ - [ - 0, - { - [_hH]: _XH, - }, - ], - 0, - [() => ComplexNestedErrorData, 0], - ], - null -); -TypeRegistry.for(n0).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct( - n0, - _CNED, - 0, - [_Fo], - [ - [ - 0, - { - [_jN]: _Foo, - }, - ], - ] -); -export var FooError = error( - n0, - _FE, - { - [_e]: _se, - [_hE]: 500, - }, - [], - [], - null -); -TypeRegistry.for(n0).registerError(FooError, __FooError); - -export var GreetingWithErrorsOutput = struct( - n0, - _GWEO, - 0, - [_g], - [ - [ - 0, - { - [_hH]: _XG, - }, - ], - ] -); -export var InvalidGreeting = error( - n0, - _IG, - { - [_e]: _c, - [_hE]: 400, - }, - [_M], - [0], - null -); -TypeRegistry.for(n0).registerError(InvalidGreeting, __InvalidGreeting); - -export var GreetingWithErrors = op( - n0, - _GWE, - { - [_ht]: ["PUT", "/GreetingWithErrors", 200], - }, - () => Unit, - () => GreetingWithErrorsOutput -); diff --git a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_9_OperationWithNestedStructure.ts b/private/aws-protocoltests-restjson-schema/src/schemas/schemas_9_OperationWithNestedStructure.ts deleted file mode 100644 index 396b93544e85..000000000000 --- a/private/aws-protocoltests-restjson-schema/src/schemas/schemas_9_OperationWithNestedStructure.ts +++ /dev/null @@ -1,48 +0,0 @@ -// smithy-typescript generated code -import { list, map, op, struct } from "@smithy/core/schema"; - -import { - _Di, - _di, - _DLi, - _dLi, - _DM, - _dMi, - _f, - _Fa, - _g, - _ht, - _l, - _OWNS, - _OWNSI, - _OWNSO, - _ph, - _TLo, - _tLo, - n0, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var Dialog = struct(n0, _Di, 0, [_l, _g, _f], [0, 0, () => Farewell]); -export var Farewell = struct(n0, _Fa, 0, [_ph], [0]); -export var OperationWithNestedStructureInput = struct(n0, _OWNSI, 0, [_tLo], [() => TopLevel]); -export var OperationWithNestedStructureOutput = struct( - n0, - _OWNSO, - 0, - [_di, _dLi, _dMi], - [() => Dialog, () => DialogList, () => DialogMap] -); -export var TopLevel = struct(n0, _TLo, 0, [_di, _dLi, _dMi], [() => Dialog, () => DialogList, () => DialogMap]); -export var DialogList = list(n0, _DLi, 0, () => Dialog); -export var DialogMap = map(n0, _DM, 0, 0, () => Dialog); -export var OperationWithNestedStructure = op( - n0, - _OWNS, - { - [_ht]: ["POST", "/OperationWithNestedStructure", 200], - }, - () => OperationWithNestedStructureInput, - () => OperationWithNestedStructureOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/commands/AllQueryStringTypesCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/AllQueryStringTypesCommand.ts index f6a58647882f..1ee61b84b34a 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/AllQueryStringTypesCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/AllQueryStringTypesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { AllQueryStringTypesInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { AllQueryStringTypes } from "../schemas/schemas_3_Xml"; +import { AllQueryStringTypes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/BodyWithXmlNameCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/BodyWithXmlNameCommand.ts index 9fbc5770bfb7..feca7370e6a0 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/BodyWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/BodyWithXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { BodyWithXmlNameInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { BodyWithXmlName } from "../schemas/schemas_25_Xml"; +import { BodyWithXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/ConstantAndVariableQueryStringCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/ConstantAndVariableQueryStringCommand.ts index b803ee721ca2..210bbb5f96f0 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/ConstantAndVariableQueryStringCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/ConstantAndVariableQueryStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ConstantAndVariableQueryStringInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { ConstantAndVariableQueryString } from "../schemas/schemas_21_ConstantAndVariableQueryString"; +import { ConstantAndVariableQueryString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/ConstantQueryStringCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/ConstantQueryStringCommand.ts index 80866547114a..9d28335fd104 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/ConstantQueryStringCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/ConstantQueryStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ConstantQueryStringInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { ConstantQueryString } from "../schemas/schemas_37_ConstantQueryString"; +import { ConstantQueryString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/ContentTypeParametersCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/ContentTypeParametersCommand.ts index 6a3ceb152e01..3493b77e1bff 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/ContentTypeParametersCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/ContentTypeParametersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ContentTypeParametersInput, ContentTypeParametersOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { ContentTypeParameters } from "../schemas/schemas_17_Xml"; +import { ContentTypeParameters } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/DatetimeOffsetsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/DatetimeOffsetsCommand.ts index 298810599534..97bdf75420ab 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/DatetimeOffsetsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/DatetimeOffsetsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DatetimeOffsetsOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { DatetimeOffsets } from "../schemas/schemas_27_Timestamp"; +import { DatetimeOffsets } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts index 4989240ef6ef..f0b945fe8598 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { EmptyInputAndEmptyOutput } from "../schemas/schemas_11_EmptyInputAndEmptyOutput"; +import { EmptyInputAndEmptyOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/EndpointOperationCommand.ts index 18097250065b..64d790efbc7e 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/EndpointOperationCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { EndpointOperation } from "../schemas/schemas_14_EndpointOperation"; +import { EndpointOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts index c764131c5ec6..1e1f47715dc2 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HostLabelHeaderInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { EndpointWithHostLabelHeaderOperation } from "../schemas/schemas_16_EndpointWithHostLabelHeaderOperation"; +import { EndpointWithHostLabelHeaderOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelOperationCommand.ts index c75e031167f0..6d5b30c06e66 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EndpointWithHostLabelOperationRequest } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { EndpointWithHostLabelOperation } from "../schemas/schemas_30_EndpointWithHostLabelOperation"; +import { EndpointWithHostLabelOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapCommand.ts index d743140aa4fc..503b645b8584 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FlattenedXmlMapRequest, FlattenedXmlMapResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { FlattenedXmlMap } from "../schemas/schemas_3_Xml"; +import { FlattenedXmlMap } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts index a54ef80dbd34..c2f835c6160c 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FlattenedXmlMapWithXmlNameRequest, FlattenedXmlMapWithXmlNameResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { FlattenedXmlMapWithXmlName } from "../schemas/schemas_4_FlattenedXmlMapWithXmlName"; +import { FlattenedXmlMapWithXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index 44dc371191ad..b735121071e9 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FlattenedXmlMapWithXmlNamespaceOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { FlattenedXmlMapWithXmlNamespace } from "../schemas/schemas_9_FlattenedXmlMapWithXmlNamespace"; +import { FlattenedXmlMapWithXmlNamespace } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/FractionalSecondsCommand.ts index 84f48818b387..8b1d795f31c6 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/FractionalSecondsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FractionalSecondsOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { FractionalSeconds } from "../schemas/schemas_27_Timestamp"; +import { FractionalSeconds } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/GreetingWithErrorsCommand.ts index cbf368260ff1..612d0715468d 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingWithErrorsOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { GreetingWithErrors } from "../schemas/schemas_8_GreetingWithErrors"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts index ed5d4870b7ef..aefc6e28959a 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpEmptyPrefixHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpEmptyPrefixHeadersInput, HttpEmptyPrefixHeadersOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpEmptyPrefixHeaders } from "../schemas/schemas_10_Query"; +import { HttpEmptyPrefixHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpEnumPayloadCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpEnumPayloadCommand.ts index e65df5baf580..cdf9ad2dd87f 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpEnumPayloadCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpEnumPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EnumPayloadInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpEnumPayload } from "../schemas/schemas_3_Xml"; +import { HttpEnumPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsCommand.ts index ec162ba442b7..774b5747d423 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsCommand.ts @@ -7,7 +7,7 @@ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadTraitsInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadTraits } from "../schemas/schemas_19_Blobs"; +import { HttpPayloadTraits } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index 1a913955930b..bf08847c404d 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -7,7 +7,7 @@ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadTraitsWithMediaTypeInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadTraitsWithMediaType } from "../schemas/schemas_26_HttpPayloadTraitsWithMediaType"; +import { HttpPayloadTraitsWithMediaType } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithMemberXmlNameCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithMemberXmlNameCommand.ts index 99b7eda7ffe1..ea637c7a8bae 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithMemberXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithMemberXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithMemberXmlNameInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadWithMemberXmlName } from "../schemas/schemas_25_Xml"; +import { HttpPayloadWithMemberXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithStructureCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithStructureCommand.ts index 114a28c5ba0b..381d32de1992 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithStructureCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithStructureCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithStructureInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadWithStructure } from "../schemas/schemas_18_HttpPayloadWithStructure"; +import { HttpPayloadWithStructure } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithUnionCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithUnionCommand.ts index feedb1682c5c..c418ca5bf46d 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithUnionCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithUnionCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithUnionInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadWithUnion } from "../schemas/schemas_33_HttpPayloadWithUnion"; +import { HttpPayloadWithUnion } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNameCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNameCommand.ts index dbe4d5203d7d..49c74c3edc5f 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithXmlNameInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadWithXmlName } from "../schemas/schemas_25_Xml"; +import { HttpPayloadWithXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts index a6693cbea686..10c55a1078b8 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithXmlNamespaceAndPrefixInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadWithXmlNamespaceAndPrefix } from "../schemas/schemas_40_HttpPayloadWithXmlNamespaceAndPrefix"; +import { HttpPayloadWithXmlNamespaceAndPrefix } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceCommand.ts index a95c5d82451b..3a2f3b9988ea 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPayloadWithXmlNamespaceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPayloadWithXmlNamespaceInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPayloadWithXmlNamespace } from "../schemas/schemas_22_HttpPayloadWithXmlNamespace"; +import { HttpPayloadWithXmlNamespace } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpPrefixHeadersCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpPrefixHeadersCommand.ts index a26f5a93636b..ef85d37e73a2 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpPrefixHeadersCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpPrefixHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpPrefixHeadersInputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpPrefixHeaders } from "../schemas/schemas_32_HttpPrefixHeaders"; +import { HttpPrefixHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts index 41300427b0f3..0bac86d0e0ec 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithFloatLabelsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithFloatLabelsInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpRequestWithFloatLabels } from "../schemas/schemas_5_With"; +import { HttpRequestWithFloatLabels } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts index dbc4d287c6d1..1acf602d10ec 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithGreedyLabelInPathInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpRequestWithGreedyLabelInPath } from "../schemas/schemas_31_HttpRequestWithGreedyLabelInPath"; +import { HttpRequestWithGreedyLabelInPath } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index 51f044431402..ca231544ebac 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithLabelsAndTimestampFormatInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpRequestWithLabelsAndTimestampFormat } from "../schemas/schemas_2_With"; +import { HttpRequestWithLabelsAndTimestampFormat } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsCommand.ts index a0a0292ebbe6..3347a1d40048 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpRequestWithLabelsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpRequestWithLabelsInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpRequestWithLabels } from "../schemas/schemas_17_Xml"; +import { HttpRequestWithLabels } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpResponseCodeCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpResponseCodeCommand.ts index 02a4f5fa3139..3a4289eec1ae 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpResponseCodeCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpResponseCodeCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HttpResponseCodeOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpResponseCode } from "../schemas/schemas_17_Xml"; +import { HttpResponseCode } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/HttpStringPayloadCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/HttpStringPayloadCommand.ts index 7e52debaeeac..a6ae99b47561 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/HttpStringPayloadCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/HttpStringPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { StringPayloadInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { HttpStringPayload } from "../schemas/schemas_28_HttpStringPayload"; +import { HttpStringPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts index cc4b879c234b..3cac17d13ef4 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/IgnoreQueryParamsInResponseCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { IgnoreQueryParamsInResponseOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { IgnoreQueryParamsInResponse } from "../schemas/schemas_38_IgnoreQueryParamsInResponse"; +import { IgnoreQueryParamsInResponse } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/InputAndOutputWithHeadersCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/InputAndOutputWithHeadersCommand.ts index a430dbf9a6be..2c6001a71d97 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/InputAndOutputWithHeadersCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/InputAndOutputWithHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { InputAndOutputWithHeadersIO } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { InputAndOutputWithHeaders } from "../schemas/schemas_3_Xml"; +import { InputAndOutputWithHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapWithXmlNameCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapWithXmlNameCommand.ts index a98e0bd7b585..fb2f86959ee1 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapWithXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NestedXmlMapWithXmlNameRequest, NestedXmlMapWithXmlNameResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { NestedXmlMapWithXmlName } from "../schemas/schemas_13_NestedXmlMapWithXmlName"; +import { NestedXmlMapWithXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapsCommand.ts index a67d43e7156b..7ed4bb099d1b 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/NestedXmlMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NestedXmlMapsRequest, NestedXmlMapsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { NestedXmlMaps } from "../schemas/schemas_3_Xml"; +import { NestedXmlMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndNoOutputCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndNoOutputCommand.ts index 784673ae168e..400890bbb9bb 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndNoOutputCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndNoOutputCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { NoInputAndNoOutput } from "../schemas/schemas_23_NoInputAndNoOutput"; +import { NoInputAndNoOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndOutputCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndOutputCommand.ts index b91d6389db9a..da3f24ecac96 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndOutputCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/NoInputAndOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NoInputAndOutputOutput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { NoInputAndOutput } from "../schemas/schemas_35_NoInputAndOutput"; +import { NoInputAndOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersClientCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersClientCommand.ts index 873047a76459..aa6693488e34 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersClientCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersClientCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NullAndEmptyHeadersIO } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { NullAndEmptyHeadersClient } from "../schemas/schemas_7_Headers"; +import { NullAndEmptyHeadersClient } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersServerCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersServerCommand.ts index 7fb2e158129c..c903089763c6 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersServerCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/NullAndEmptyHeadersServerCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { NullAndEmptyHeadersIO } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { NullAndEmptyHeadersServer } from "../schemas/schemas_7_Headers"; +import { NullAndEmptyHeadersServer } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts index 08b07cdd09be..a60aad07d81c 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { OmitsNullSerializesEmptyStringInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { OmitsNullSerializesEmptyString } from "../schemas/schemas_29_OmitsNullSerializesEmptyString"; +import { OmitsNullSerializesEmptyString } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/PutWithContentEncodingCommand.ts index 8cf29934d710..bd135de8b212 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/PutWithContentEncodingCommand.ts @@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutWithContentEncodingInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { PutWithContentEncoding } from "../schemas/schemas_36_PutWithContentEncoding"; +import { PutWithContentEncoding } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index e8921a67f7f8..5ef0f92d0680 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryIdempotencyTokenAutoFillInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_34_QueryIdempotencyTokenAutoFill"; +import { QueryIdempotencyTokenAutoFill } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/QueryParamsAsStringListMapCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/QueryParamsAsStringListMapCommand.ts index be3f6d3a46c0..7b0f9d565226 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/QueryParamsAsStringListMapCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/QueryParamsAsStringListMapCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryParamsAsStringListMapInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { QueryParamsAsStringListMap } from "../schemas/schemas_7_Headers"; +import { QueryParamsAsStringListMap } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/QueryPrecedenceCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/QueryPrecedenceCommand.ts index 19a25b67d21d..d13c3d552f61 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/QueryPrecedenceCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/QueryPrecedenceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryPrecedenceInput } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { QueryPrecedence } from "../schemas/schemas_10_Query"; +import { QueryPrecedence } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/RecursiveShapesCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/RecursiveShapesCommand.ts index 95a8dd8a631d..21ba9fc45481 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/RecursiveShapesCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/RecursiveShapesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RecursiveShapesRequest, RecursiveShapesResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { RecursiveShapes } from "../schemas/schemas_24_RecursiveShapes"; +import { RecursiveShapes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/SimpleScalarPropertiesCommand.ts index ab946d24888e..4d9596a42067 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/SimpleScalarPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleScalarPropertiesRequest, SimpleScalarPropertiesResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { SimpleScalarProperties } from "../schemas/schemas_17_Xml"; +import { SimpleScalarProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/TimestampFormatHeadersCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/TimestampFormatHeadersCommand.ts index 3e881949786a..6026b19f9606 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/TimestampFormatHeadersCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/TimestampFormatHeadersCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TimestampFormatHeadersIO } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { TimestampFormatHeaders } from "../schemas/schemas_2_With"; +import { TimestampFormatHeaders } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesCommand.ts index 806d6f2510a9..f6baa3e5488c 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlAttributesRequest, XmlAttributesResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlAttributes } from "../schemas/schemas_39_XmlAttributes"; +import { XmlAttributes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesOnPayloadCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesOnPayloadCommand.ts index eac8f31868f2..bcef89b10620 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesOnPayloadCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlAttributesOnPayloadCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlAttributesOnPayloadRequest, XmlAttributesOnPayloadResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlAttributesOnPayload } from "../schemas/schemas_20_XmlAttributesOnPayload"; +import { XmlAttributesOnPayload } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlBlobsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlBlobsCommand.ts index 24be86ac4963..169d94198649 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlBlobsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlBlobsRequest, XmlBlobsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlBlobs } from "../schemas/schemas_19_Blobs"; +import { XmlBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyBlobsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyBlobsCommand.ts index a180217e67af..a296fdc77a62 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyBlobsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyBlobsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEmptyBlobsRequest, XmlEmptyBlobsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlEmptyBlobs } from "../schemas/schemas_19_Blobs"; +import { XmlEmptyBlobs } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyListsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyListsCommand.ts index 07413b2e917c..5d205b7a900a 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyListsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEmptyListsRequest, XmlEmptyListsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlEmptyLists } from "../schemas/schemas_3_Xml"; +import { XmlEmptyLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyMapsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyMapsCommand.ts index 5ed4be42c235..6ad0afe73117 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyMapsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEmptyMapsRequest, XmlEmptyMapsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlEmptyMaps } from "../schemas/schemas_6_Maps"; +import { XmlEmptyMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyStringsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyStringsCommand.ts index 5f1c7296ed23..bfd6f2e65ab2 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyStringsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlEmptyStringsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEmptyStringsRequest, XmlEmptyStringsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlEmptyStrings } from "../schemas/schemas_15_XmlEmptyStrings"; +import { XmlEmptyStrings } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlEnumsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlEnumsCommand.ts index ca4637a680af..1f46dfe1a072 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlEnumsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlEnumsRequest, XmlEnumsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlEnums } from "../schemas/schemas_3_Xml"; +import { XmlEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlIntEnumsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlIntEnumsCommand.ts index c9d96831287d..f3c4c8c397eb 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlIntEnumsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlIntEnumsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlIntEnumsRequest, XmlIntEnumsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlIntEnums } from "../schemas/schemas_3_Xml"; +import { XmlIntEnums } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlListsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlListsCommand.ts index 32712f17f018..2f2e93aba990 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlListsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlListsRequest, XmlListsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlLists } from "../schemas/schemas_3_Xml"; +import { XmlLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlMapWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlMapWithXmlNamespaceCommand.ts index bec9a9a10346..3d63d4a19739 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlMapWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlMapWithXmlNamespaceCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlMapWithXmlNamespaceRequest, XmlMapWithXmlNamespaceResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlMapWithXmlNamespace } from "../schemas/schemas_12_XmlMapWithXmlNamespace"; +import { XmlMapWithXmlNamespace } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsCommand.ts index 70354308b7f7..6ce6d1dd4506 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlMapsRequest, XmlMapsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlMaps } from "../schemas/schemas_6_Maps"; +import { XmlMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsXmlNameCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsXmlNameCommand.ts index f0c6838f4a8c..cbb69004e15f 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlMapsXmlNameCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlMapsXmlNameRequest, XmlMapsXmlNameResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlMapsXmlName } from "../schemas/schemas_6_Maps"; +import { XmlMapsXmlName } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlNamespacesCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlNamespacesCommand.ts index 1cd7245d5aef..296076bf2b61 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlNamespacesCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlNamespacesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlNamespacesRequest, XmlNamespacesResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlNamespaces } from "../schemas/schemas_1_XmlNamespaces"; +import { XmlNamespaces } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlTimestampsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlTimestampsCommand.ts index 652d7bf03632..e933021f6825 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlTimestampsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlTimestampsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlTimestampsRequest, XmlTimestampsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlTimestamps } from "../schemas/schemas_2_With"; +import { XmlTimestamps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/commands/XmlUnionsCommand.ts b/private/aws-protocoltests-restxml-schema/src/commands/XmlUnionsCommand.ts index 834a5a99d116..550d4afe0b09 100644 --- a/private/aws-protocoltests-restxml-schema/src/commands/XmlUnionsCommand.ts +++ b/private/aws-protocoltests-restxml-schema/src/commands/XmlUnionsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { XmlUnionsRequest, XmlUnionsResponse } from "../models/models_0"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; -import { XmlUnions } from "../schemas/schemas_17_Xml"; +import { XmlUnions } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_0.ts index aaa2d90dfd4f..3e2d7626b011 100644 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_0.ts @@ -424,11 +424,2411 @@ export const n0 = "aws.protocoltests.shared"; export const n1 = "aws.protocoltests.restxml"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticSimpleSchema, + StaticStructureSchema, +} from "@smithy/types"; +import { ComplexError as __ComplexError, InvalidGreeting as __InvalidGreeting } from "../models/index"; import { RestXmlProtocolServiceException as __RestXmlProtocolServiceException } from "../models/RestXmlProtocolServiceException"; /* eslint no-var: 0 */ -export var RestXmlProtocolServiceException = error(_sm, "RestXmlProtocolServiceException", 0, [], [], null); +export var TextPlainBlob: StaticSimpleSchema = [ + 0, + n0, + _TPB, + { + [_mT]: _t, + }, + + 21, +]; +export var AllQueryStringTypesInput: StaticStructureSchema = [ + 3, + n1, + _AQSTI, + 0, + [ + _qS, + _qSL, + _qSS, + _qB, + _qSu, + _qI, + _qIL, + _qIS, + _qL, + _qF, + _qD, + _qDL, + _qBu, + _qBL, + _qT, + _qTL, + _qE, + _qEL, + _qIE, + _qIEL, + _qPMOS, + ], + [ + [ + 0, + { + [_hQ]: _S, + }, + ], + [ + 64 | 0, + { + [_hQ]: _SL, + }, + ], + [ + 64 | 0, + { + [_hQ]: _SS, + }, + ], + [ + 1, + { + [_hQ]: _B, + }, + ], + [ + 1, + { + [_hQ]: _Sh, + }, + ], + [ + 1, + { + [_hQ]: _I, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IL, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IS, + }, + ], + [ + 1, + { + [_hQ]: _L, + }, + ], + [ + 1, + { + [_hQ]: _F, + }, + ], + [ + 1, + { + [_hQ]: _D, + }, + ], + [ + 64 | 1, + { + [_hQ]: _DL, + }, + ], + [ + 2, + { + [_hQ]: _Bo, + }, + ], + [ + 64 | 2, + { + [_hQ]: _BL, + }, + ], + [ + 4, + { + [_hQ]: _T, + }, + ], + [ + 64 | 4, + { + [_hQ]: _TL, + }, + ], + [ + 0, + { + [_hQ]: _E, + }, + ], + [ + 64 | 0, + { + [_hQ]: _EL, + }, + ], + [ + 1, + { + [_hQ]: _IE, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IEL, + }, + ], + [128 | 0, 64], + ], +]; +export var BodyWithXmlNameInputOutput: StaticStructureSchema = [ + 3, + n1, + _BWXNIO, + { + [_xN]: _A, + }, + [_n], + [[() => PayloadWithXmlName, 0]], +]; +export var ComplexError: StaticErrorSchema = [ + -3, + n1, + _CE, + { + [_e]: _c, + [_hE]: 403, + }, + [_H, _TLo, _N], + [ + [ + 0, + { + [_hH]: _XH, + }, + ], + 0, + () => ComplexNestedErrorData, + ], +]; +TypeRegistry.for(n1).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [3, n1, _CNED, 0, [_Fo], [0]]; +export var ConstantAndVariableQueryStringInput: StaticStructureSchema = [ + 3, + n1, + _CAVQSI, + 0, + [_b, _mS], + [ + [ + 0, + { + [_hQ]: _b, + }, + ], + [ + 0, + { + [_hQ]: _mS, + }, + ], + ], +]; +export var ConstantQueryStringInput: StaticStructureSchema = [3, n1, _CQSI, 0, [_h], [[0, 1]]]; +export var ContentTypeParametersInput: StaticStructureSchema = [3, n1, _CTPI, 0, [_v], [1]]; +export var ContentTypeParametersOutput: StaticStructureSchema = [3, n1, _CTPO, 0, [], []]; +export var DatetimeOffsetsOutput: StaticStructureSchema = [3, n1, _DOO, 0, [_d], [5]]; +export var EmptyInputAndEmptyOutputInput: StaticStructureSchema = [3, n1, _EIAEOI, 0, [], []]; +export var EmptyInputAndEmptyOutputOutput: StaticStructureSchema = [3, n1, _EIAEOO, 0, [], []]; +export var EndpointWithHostLabelOperationRequest: StaticStructureSchema = [ + 3, + n1, + _EWHLOR, + 0, + [_l], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ], +]; +export var EnumPayloadInput: StaticStructureSchema = [3, n1, _EPI, 0, [_p], [[0, 16]]]; +export var FlattenedXmlMapRequest: StaticStructureSchema = [ + 3, + n1, + _FXMR, + 0, + [_mM], + [ + [ + 128 | 0, + { + [_xF]: 1, + }, + ], + ], +]; +export var FlattenedXmlMapResponse: StaticStructureSchema = [ + 3, + n1, + _FXMRl, + 0, + [_mM], + [ + [ + 128 | 0, + { + [_xF]: 1, + }, + ], + ], +]; +export var FlattenedXmlMapWithXmlNameRequest: StaticStructureSchema = [ + 3, + n1, + _FXMWXNR, + 0, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNameInputOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + }, + ], + ], +]; +export var FlattenedXmlMapWithXmlNameResponse: StaticStructureSchema = [ + 3, + n1, + _FXMWXNRl, + 0, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNameInputOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + }, + ], + ], +]; +export var FlattenedXmlMapWithXmlNamespaceOutput: StaticStructureSchema = [ + 3, + n1, + _FXMWXNO, + 0, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNamespaceOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + [_xNm]: [_, _hm], + }, + ], + ], +]; +export var FractionalSecondsOutput: StaticStructureSchema = [3, n1, _FSO, 0, [_d], [5]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [ + 3, + n1, + _GWEO, + 0, + [_g], + [ + [ + 0, + { + [_hH]: _XG, + }, + ], + ], +]; +export var HostLabelHeaderInput: StaticStructureSchema = [ + 3, + n1, + _HLHI, + 0, + [_aI], + [ + [ + 0, + { + [_hL]: 1, + [_hH]: _XAAI, + }, + ], + ], +]; +export var HttpEmptyPrefixHeadersInput: StaticStructureSchema = [ + 3, + n1, + _HEPHI, + 0, + [_pH, _sH], + [ + [ + 128 | 0, + { + [_hPH]: _, + }, + ], + [ + 0, + { + [_hH]: _h, + }, + ], + ], +]; +export var HttpEmptyPrefixHeadersOutput: StaticStructureSchema = [ + 3, + n1, + _HEPHO, + 0, + [_pH, _sH], + [ + [ + 128 | 0, + { + [_hPH]: _, + }, + ], + [ + 0, + { + [_hH]: _h, + }, + ], + ], +]; +export var HttpPayloadTraitsInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPTIO, + 0, + [_f, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [21, 16], + ], +]; +export var HttpPayloadTraitsWithMediaTypeInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPTWMTIO, + 0, + [_f, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [() => TextPlainBlob, 16], + ], +]; +export var HttpPayloadWithMemberXmlNameInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPWMXNIO, + 0, + [_n], + [ + [ + () => PayloadWithXmlName, + { + [_hP]: 1, + [_xN]: _Ho, + }, + ], + ], +]; +export var HttpPayloadWithStructureInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPWSIO, + 0, + [_n], + [[() => NestedPayload, 16]], +]; +export var HttpPayloadWithUnionInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPWUIO, + 0, + [_n], + [[() => UnionPayload, 16]], +]; +export var HttpPayloadWithXmlNameInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPWXNIO, + 0, + [_n], + [[() => PayloadWithXmlName, 16]], +]; +export var HttpPayloadWithXmlNamespaceAndPrefixInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPWXNAPIO, + 0, + [_n], + [[() => PayloadWithXmlNamespaceAndPrefix, 16]], +]; +export var HttpPayloadWithXmlNamespaceInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPWXNIOt, + 0, + [_n], + [[() => PayloadWithXmlNamespace, 16]], +]; +export var HttpPrefixHeadersInputOutput: StaticStructureSchema = [ + 3, + n1, + _HPHIO, + 0, + [_f, _fM], + [ + [ + 0, + { + [_hH]: _xf, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xf_, + }, + ], + ], +]; +export var HttpRequestWithFloatLabelsInput: StaticStructureSchema = [ + 3, + n1, + _HRWFLI, + 0, + [_fl, _do], + [ + [1, 1], + [1, 1], + ], +]; +export var HttpRequestWithGreedyLabelInPathInput: StaticStructureSchema = [ + 3, + n1, + _HRWGLIPI, + 0, + [_f, _b], + [ + [0, 1], + [0, 1], + ], +]; +export var HttpRequestWithLabelsAndTimestampFormatInput: StaticStructureSchema = [ + 3, + n1, + _HRWLATFI, + 0, + [_mES, _mHD, _mDT, _dF, _tES, _tHD, _tDT], + [ + [7, 1], + [6, 1], + [5, 1], + [4, 1], + [7, 1], + [6, 1], + [5, 1], + ], +]; +export var HttpRequestWithLabelsInput: StaticStructureSchema = [ + 3, + n1, + _HRWLI, + 0, + [_s, _sh, _i, _lo, _fl, _do, _bo, _ti], + [ + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [4, 1], + ], +]; +export var HttpResponseCodeOutput: StaticStructureSchema = [3, n1, _HRCO, 0, [_St], [[1, 32]]]; +export var IgnoreQueryParamsInResponseOutput: StaticStructureSchema = [ + 3, + n1, + _IQPIRO, + 0, + [_b], + [ + [ + 0, + { + [_hQ]: _b, + }, + ], + ], +]; +export var InputAndOutputWithHeadersIO: StaticStructureSchema = [ + 3, + n1, + _IAOWHIO, + 0, + [_hS, _hB, _hSe, _hI, _hLe, _hF, _hD, _hTB, _hFB, _hSL, _hSS, _hIL, _hBL, _hTL, _hEe, _hEL], + [ + [ + 0, + { + [_hH]: _XS, + }, + ], + [ + 1, + { + [_hH]: _XB, + }, + ], + [ + 1, + { + [_hH]: _XS_, + }, + ], + [ + 1, + { + [_hH]: _XI, + }, + ], + [ + 1, + { + [_hH]: _XL, + }, + ], + [ + 1, + { + [_hH]: _XF_, + }, + ], + [ + 1, + { + [_hH]: _XD, + }, + ], + [ + 2, + { + [_hH]: _XB_, + }, + ], + [ + 2, + { + [_hH]: _XB__, + }, + ], + [ + 64 | 0, + { + [_hH]: _XS__, + }, + ], + [ + 64 | 0, + { + [_hH]: _XS___, + }, + ], + [ + 64 | 1, + { + [_hH]: _XI_, + }, + ], + [ + 64 | 2, + { + [_hH]: _XB___, + }, + ], + [ + 64 | 4, + { + [_hH]: _XT, + }, + ], + [ + 0, + { + [_hH]: _XE, + }, + ], + [ + 64 | 0, + { + [_hH]: _XE_, + }, + ], + ], +]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n1, + _IG, + { + [_e]: _c, + [_hE]: 400, + }, + [_M], + [0], +]; +TypeRegistry.for(n1).registerError(InvalidGreeting, __InvalidGreeting); + +export var NestedPayload: StaticStructureSchema = [3, n1, _NP, 0, [_g, _na], [0, 0]]; +export var NestedXmlMapsRequest: StaticStructureSchema = [ + 3, + n1, + _NXMR, + 0, + [_nM, _fNM], + [ + [2, n1, _NM, 0, 0, 128 | 0] as StaticMapSchema, + [ + [2, n1, _NM, 0, 0, 128 | 0] as StaticMapSchema, + { + [_xF]: 1, + }, + ], + ], +]; +export var NestedXmlMapsResponse: StaticStructureSchema = [ + 3, + n1, + _NXMRe, + 0, + [_nM, _fNM], + [ + [2, n1, _NM, 0, 0, 128 | 0] as StaticMapSchema, + [ + [2, n1, _NM, 0, 0, 128 | 0] as StaticMapSchema, + { + [_xF]: 1, + }, + ], + ], +]; +export var NestedXmlMapWithXmlNameRequest: StaticStructureSchema = [ + 3, + n1, + _NXMWXNR, + 0, + [_nXMWXNM], + [[() => NestedXmlMapWithXmlNameMap, 0]], +]; +export var NestedXmlMapWithXmlNameResponse: StaticStructureSchema = [ + 3, + n1, + _NXMWXNRe, + 0, + [_nXMWXNM], + [[() => NestedXmlMapWithXmlNameMap, 0]], +]; +export var NoInputAndOutputOutput: StaticStructureSchema = [3, n1, _NIAOO, 0, [], []]; +export var NullAndEmptyHeadersIO: StaticStructureSchema = [ + 3, + n1, + _NAEHIO, + 0, + [_a, _b_, _c_], + [ + [ + 0, + { + [_hH]: _XA, + }, + ], + [ + 0, + { + [_hH]: _XB____, + }, + ], + [ + 64 | 0, + { + [_hH]: _XC, + }, + ], + ], +]; +export var OmitsNullSerializesEmptyStringInput: StaticStructureSchema = [ + 3, + n1, + _ONSESI, + 0, + [_nV, _eS], + [ + [ + 0, + { + [_hQ]: _Nu, + }, + ], + [ + 0, + { + [_hQ]: _Em, + }, + ], + ], +]; +export var PayloadWithXmlName: StaticStructureSchema = [ + 3, + n1, + _PWXN, + { + [_xN]: _He, + }, + [_na], + [0], +]; +export var PayloadWithXmlNamespace: StaticStructureSchema = [ + 3, + n1, + _PWXNa, + { + [_xNm]: [_, _ht], + }, + [_na], + [0], +]; +export var PayloadWithXmlNamespaceAndPrefix: StaticStructureSchema = [ + 3, + n1, + _PWXNAP, + { + [_xNm]: [_b, _ht], + }, + [_na], + [0], +]; +export var PutWithContentEncodingInput: StaticStructureSchema = [ + 3, + n1, + _PWCEI, + 0, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ], +]; +export var QueryIdempotencyTokenAutoFillInput: StaticStructureSchema = [ + 3, + n1, + _QITAFI, + 0, + [_to], + [ + [ + 0, + { + [_iT]: 1, + [_hQ]: _to, + }, + ], + ], +]; +export var QueryParamsAsStringListMapInput: StaticStructureSchema = [ + 3, + n1, + _QPASLMI, + 0, + [_q, _f], + [ + [ + 0, + { + [_hQ]: _co, + }, + ], + [[2, n0, _SLM, 0, 64 | 0] as StaticMapSchema, 64], + ], +]; +export var QueryPrecedenceInput: StaticStructureSchema = [ + 3, + n1, + _QPI, + 0, + [_f, _b], + [ + [ + 0, + { + [_hQ]: _ba, + }, + ], + [128 | 0, 64], + ], +]; +export var RecursiveShapesInputOutputNested1: StaticStructureSchema = [ + 3, + n1, + _RSION, + 0, + [_f, _n], + [0, () => RecursiveShapesInputOutputNested2], +]; +export var RecursiveShapesInputOutputNested2: StaticStructureSchema = [ + 3, + n1, + _RSIONe, + 0, + [_ba, _rM], + [0, () => RecursiveShapesInputOutputNested1], +]; +export var RecursiveShapesRequest: StaticStructureSchema = [ + 3, + n1, + _RSR, + 0, + [_n], + [() => RecursiveShapesInputOutputNested1], +]; +export var RecursiveShapesResponse: StaticStructureSchema = [ + 3, + n1, + _RSRe, + 0, + [_n], + [() => RecursiveShapesInputOutputNested1], +]; +export var SimpleScalarPropertiesRequest: StaticStructureSchema = [ + 3, + n1, + _SSPR, + 0, + [_f, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_xN]: _DD, + }, + ], + ], +]; +export var SimpleScalarPropertiesResponse: StaticStructureSchema = [ + 3, + n1, + _SSPRi, + 0, + [_f, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_xN]: _DD, + }, + ], + ], +]; +export var StringPayloadInput: StaticStructureSchema = [3, n1, _SPI, 0, [_p], [[0, 16]]]; +export var StructureListMember: StaticStructureSchema = [ + 3, + n1, + _SLMt, + 0, + [_a, _b_], + [ + [ + 0, + { + [_xN]: _v, + }, + ], + [ + 0, + { + [_xN]: _o, + }, + ], + ], +]; +export var TimestampFormatHeadersIO: StaticStructureSchema = [ + 3, + n1, + _TFHIO, + 0, + [_mES, _mHD, _mDT, _dF, _tES, _tHD, _tDT], + [ + [ + 7, + { + [_hH]: _Xm, + }, + ], + [ + 6, + { + [_hH]: _Xm_, + }, + ], + [ + 5, + { + [_hH]: _Xm__, + }, + ], + [ + 4, + { + [_hH]: _Xd, + }, + ], + [ + 7, + { + [_hH]: _Xt, + }, + ], + [ + 6, + { + [_hH]: _Xt_, + }, + ], + [ + 5, + { + [_hH]: _Xt__, + }, + ], + ], +]; +export var XmlAttributesOnPayloadRequest: StaticStructureSchema = [ + 3, + n1, + _XAOPR, + 0, + [_p], + [[() => XmlAttributesPayloadRequest, 16]], +]; +export var XmlAttributesOnPayloadResponse: StaticStructureSchema = [ + 3, + n1, + _XAOPRm, + 0, + [_p], + [[() => XmlAttributesPayloadResponse, 16]], +]; +export var XmlAttributesPayloadRequest: StaticStructureSchema = [ + 3, + n1, + _XAPR, + 0, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ], +]; +export var XmlAttributesPayloadResponse: StaticStructureSchema = [ + 3, + n1, + _XAPRm, + 0, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ], +]; +export var XmlAttributesRequest: StaticStructureSchema = [ + 3, + n1, + _XAR, + 0, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ], +]; +export var XmlAttributesResponse: StaticStructureSchema = [ + 3, + n1, + _XARm, + 0, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ], +]; +export var XmlBlobsRequest: StaticStructureSchema = [3, n1, _XBR, 0, [_da], [21]]; +export var XmlBlobsResponse: StaticStructureSchema = [3, n1, _XBRm, 0, [_da], [21]]; +export var XmlEmptyBlobsRequest: StaticStructureSchema = [3, n1, _XEBR, 0, [_da], [21]]; +export var XmlEmptyBlobsResponse: StaticStructureSchema = [3, n1, _XEBRm, 0, [_da], [21]]; +export var XmlEmptyListsRequest: StaticStructureSchema = [ + 3, + n1, + _XELR, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n0, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + () => ListWithMemberNamespace, + { + [_xF]: 1, + }, + ], + [ + () => ListWithNamespace, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ], +]; +export var XmlEmptyListsResponse: StaticStructureSchema = [ + 3, + n1, + _XELRm, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n0, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + () => ListWithMemberNamespace, + { + [_xF]: 1, + }, + ], + [ + () => ListWithNamespace, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ], +]; +export var XmlEmptyMapsRequest: StaticStructureSchema = [3, n1, _XEMR, 0, [_mM], [() => XmlMapsInputOutputMap]]; +export var XmlEmptyMapsResponse: StaticStructureSchema = [3, n1, _XEMRm, 0, [_mM], [() => XmlMapsInputOutputMap]]; +export var XmlEmptyStringsRequest: StaticStructureSchema = [3, n1, _XESR, 0, [_eS], [0]]; +export var XmlEmptyStringsResponse: StaticStructureSchema = [3, n1, _XESRm, 0, [_eS], [0]]; +export var XmlEnumsRequest: StaticStructureSchema = [ + 3, + n1, + _XER, + 0, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0], +]; +export var XmlEnumsResponse: StaticStructureSchema = [ + 3, + n1, + _XERm, + 0, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0], +]; +export var XmlIntEnumsRequest: StaticStructureSchema = [ + 3, + n1, + _XIER, + 0, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1], +]; +export var XmlIntEnumsResponse: StaticStructureSchema = [ + 3, + n1, + _XIERm, + 0, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1], +]; +export var XmlListsRequest: StaticStructureSchema = [ + 3, + n1, + _XLR, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n0, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + () => ListWithMemberNamespace, + { + [_xF]: 1, + }, + ], + [ + () => ListWithNamespace, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ], +]; +export var XmlListsResponse: StaticStructureSchema = [ + 3, + n1, + _XLRm, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n0, _NSL, 0, 64 | 0] as StaticListSchema, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + () => ListWithMemberNamespace, + { + [_xF]: 1, + }, + ], + [ + () => ListWithNamespace, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ], +]; +export var XmlMapsRequest: StaticStructureSchema = [3, n1, _XMR, 0, [_mM], [() => XmlMapsInputOutputMap]]; +export var XmlMapsResponse: StaticStructureSchema = [3, n1, _XMRm, 0, [_mM], [() => XmlMapsInputOutputMap]]; +export var XmlMapsXmlNameRequest: StaticStructureSchema = [ + 3, + n1, + _XMXNR, + 0, + [_mM], + [[() => XmlMapsXmlNameInputOutputMap, 0]], +]; +export var XmlMapsXmlNameResponse: StaticStructureSchema = [ + 3, + n1, + _XMXNRm, + 0, + [_mM], + [[() => XmlMapsXmlNameInputOutputMap, 0]], +]; +export var XmlMapWithXmlNamespaceRequest: StaticStructureSchema = [ + 3, + n1, + _XMWXNR, + 0, + [_mM], + [ + [ + () => XmlMapWithXmlNamespaceInputOutputMap, + { + [_xNm]: [_, _hm], + [_xN]: _KVP, + }, + ], + ], +]; +export var XmlMapWithXmlNamespaceResponse: StaticStructureSchema = [ + 3, + n1, + _XMWXNRm, + 0, + [_mM], + [ + [ + () => XmlMapWithXmlNamespaceInputOutputMap, + { + [_xNm]: [_, _hm], + [_xN]: _KVP, + }, + ], + ], +]; +export var XmlNamespaceNested: StaticStructureSchema = [ + 3, + n1, + _XNN, + { + [_xNm]: [_, _ht], + }, + [_f, _va], + [ + [ + 0, + { + [_xNm]: [_b, _htt], + }, + ], + [ + () => XmlNamespacedList, + { + [_xNm]: [_, _http], + }, + ], + ], +]; +export var XmlNamespacesRequest: StaticStructureSchema = [ + 3, + n1, + _XNR, + { + [_xNm]: [_, _ht], + }, + [_n], + [[() => XmlNamespaceNested, 0]], +]; +export var XmlNamespacesResponse: StaticStructureSchema = [ + 3, + n1, + _XNRm, + { + [_xNm]: [_, _ht], + }, + [_n], + [[() => XmlNamespaceNested, 0]], +]; +export var XmlNestedUnionStruct: StaticStructureSchema = [ + 3, + n1, + _XNUS, + 0, + [_sV, _bVo, _bV, _sVh, _iV, _lV, _fV, _dV], + [0, 2, 1, 1, 1, 1, 1, 1], +]; +export var XmlTimestampsRequest: StaticStructureSchema = [ + 3, + n1, + _XTR, + 0, + [_no, _dT, _dTOT, _eSp, _eSOT, _hDt, _hDOT], + [4, 5, 5, 7, 7, 6, 6], +]; +export var XmlTimestampsResponse: StaticStructureSchema = [ + 3, + n1, + _XTRm, + 0, + [_no, _dT, _dTOT, _eSp, _eSOT, _hDt, _hDOT], + [4, 5, 5, 7, 7, 6, 6], +]; +export var XmlUnionsRequest: StaticStructureSchema = [3, n1, _XUR, 0, [_uV], [() => XmlUnionShape]]; +export var XmlUnionsResponse: StaticStructureSchema = [3, n1, _XURm, 0, [_uV], [() => XmlUnionShape]]; +export var GreetingStruct: StaticStructureSchema = [3, n0, _GS, 0, [_hi], [0]]; +export var Unit = "unit" as const; + +export var RestXmlProtocolServiceException: StaticErrorSchema = [-3, _sm, "RestXmlProtocolServiceException", 0, [], []]; TypeRegistry.for(_sm).registerError(RestXmlProtocolServiceException, __RestXmlProtocolServiceException); + +export var ListWithMemberNamespace: StaticListSchema = [ + 1, + n1, + _LWMN, + { + [_xNm]: [_, _hl], + }, + [ + 0, + { + [_xNm]: [_, _hm_], + }, + ], +]; +export var ListWithNamespace: StaticListSchema = [ + 1, + n1, + _LWN, + { + [_xNm]: [_, _hl], + }, + 0, +]; +export var RenamedListMembers: StaticListSchema = [ + 1, + n1, + _RLM, + 0, + [ + 0, + { + [_xN]: _it, + }, + ], +]; +export var StructureList: StaticListSchema = [ + 1, + n1, + _SLt, + 0, + [ + () => StructureListMember, + { + [_xN]: _it, + }, + ], +]; +export var XmlNamespacedList: StaticListSchema = [ + 1, + n1, + _XNL, + 0, + [ + 0, + { + [_xNm]: [_, _httpb], + }, + ], +]; +export var BooleanList = 64 | 2; + +export var DoubleList = 64 | 1; + +export var FooEnumList = 64 | 0; + +export var FooEnumSet = 64 | 0; + +export var IntegerEnumList = 64 | 1; + +export var IntegerEnumSet = 64 | 1; + +export var IntegerList = 64 | 1; + +export var IntegerSet = 64 | 1; + +export var NestedStringList: StaticListSchema = [1, n0, _NSL, 0, 64 | 0]; +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var FlattenedXmlMapWithXmlNameInputOutputMap: StaticMapSchema = [ + 2, + n1, + _FXMWXNIOM, + 0, + [ + 0, + { + [_xN]: _K, + }, + ], + [ + 0, + { + [_xN]: _V, + }, + ], +]; +export var FlattenedXmlMapWithXmlNamespaceOutputMap: StaticMapSchema = [ + 2, + n1, + _FXMWXNOM, + 0, + [ + 0, + { + [_xNm]: [_, _hk], + [_xN]: _K, + }, + ], + [ + 0, + { + [_xNm]: [_, _hv], + [_xN]: _V, + }, + ], +]; +export var FooPrefixHeaders = 128 | 0; + +export var NestedMap: StaticMapSchema = [2, n1, _NM, 0, 0, 128 | 0]; +export var NestedXmlMapWithXmlNameInnerMap: StaticMapSchema = [ + 2, + n1, + _NXMWXNIM, + 0, + [ + 0, + { + [_xN]: _IK, + }, + ], + [ + 0, + { + [_xN]: _IV, + }, + ], +]; +export var NestedXmlMapWithXmlNameMap: StaticMapSchema = [ + 2, + n1, + _NXMWXNM, + 0, + [ + 0, + { + [_xN]: _OK, + }, + ], + [() => NestedXmlMapWithXmlNameInnerMap, 0], +]; +export var XmlMapsInputOutputMap: StaticMapSchema = [2, n1, _XMIOM, 0, 0, () => GreetingStruct]; +export var XmlMapsXmlNameInputOutputMap: StaticMapSchema = [ + 2, + n1, + _XMXNIOM, + 0, + [ + 0, + { + [_xN]: _At, + }, + ], + [ + () => GreetingStruct, + { + [_xN]: _Se, + }, + ], +]; +export var XmlMapWithXmlNamespaceInputOutputMap: StaticMapSchema = [ + 2, + n1, + _XMWXNIOM, + 0, + [ + 0, + { + [_xNm]: [_, _hk], + [_xN]: _K, + }, + ], + [ + 0, + { + [_xNm]: [_, _hv], + [_xN]: _V, + }, + ], +]; +export var FooEnumMap = 128 | 0; + +export var IntegerEnumMap = 128 | 1; + +export var StringListMap: StaticMapSchema = [2, n0, _SLM, 0, 0, 64 | 0]; +export var StringMap = 128 | 0; + +export var UnionPayload: StaticStructureSchema = [3, n1, _UP, 0, [_g], [0]]; +export var XmlUnionShape: StaticStructureSchema = [ + 3, + n1, + _XUS, + 0, + [_sV, _bVo, _bV, _sVh, _iV, _lV, _fV, _dV, _uV, _sVt], + [0, 2, 1, 1, 1, 1, 1, 1, () => XmlUnionShape, () => XmlNestedUnionStruct], +]; +export var AllQueryStringTypes: StaticOperationSchema = [ + 9, + n1, + _AQST, + { + [_http_]: ["GET", "/AllQueryStringTypesInput", 200], + }, + () => AllQueryStringTypesInput, + () => Unit, +]; +export var BodyWithXmlName: StaticOperationSchema = [ + 9, + n1, + _BWXN, + { + [_http_]: ["PUT", "/BodyWithXmlName", 200], + }, + () => BodyWithXmlNameInputOutput, + () => BodyWithXmlNameInputOutput, +]; +export var ConstantAndVariableQueryString: StaticOperationSchema = [ + 9, + n1, + _CAVQS, + { + [_http_]: ["GET", "/ConstantAndVariableQueryString?foo=bar", 200], + }, + () => ConstantAndVariableQueryStringInput, + () => Unit, +]; +export var ConstantQueryString: StaticOperationSchema = [ + 9, + n1, + _CQS, + { + [_http_]: ["GET", "/ConstantQueryString/{hello}?foo=bar&hello", 200], + }, + () => ConstantQueryStringInput, + () => Unit, +]; +export var ContentTypeParameters: StaticOperationSchema = [ + 9, + n1, + _CTP, + { + [_http_]: ["PUT", "/ContentTypeParameters", 200], + }, + () => ContentTypeParametersInput, + () => ContentTypeParametersOutput, +]; +export var DatetimeOffsets: StaticOperationSchema = [ + 9, + n1, + _DO, + { + [_http_]: ["POST", "/DatetimeOffsets", 200], + }, + () => Unit, + () => DatetimeOffsetsOutput, +]; +export var EmptyInputAndEmptyOutput: StaticOperationSchema = [ + 9, + n1, + _EIAEO, + { + [_http_]: ["POST", "/EmptyInputAndEmptyOutput", 200], + }, + () => EmptyInputAndEmptyOutputInput, + () => EmptyInputAndEmptyOutputOutput, +]; +export var EndpointOperation: StaticOperationSchema = [ + 9, + n1, + _EO, + { + [_http_]: ["POST", "/EndpointOperation", 200], + [_end]: ["foo."], + }, + () => Unit, + () => Unit, +]; +export var EndpointWithHostLabelHeaderOperation: StaticOperationSchema = [ + 9, + n1, + _EWHLHO, + { + [_http_]: ["POST", "/EndpointWithHostLabelHeaderOperation", 200], + [_end]: ["{accountId}."], + }, + () => HostLabelHeaderInput, + () => Unit, +]; +export var EndpointWithHostLabelOperation: StaticOperationSchema = [ + 9, + n1, + _EWHLO, + { + [_http_]: ["POST", "/EndpointWithHostLabelOperation", 200], + [_end]: ["foo.{label}."], + }, + () => EndpointWithHostLabelOperationRequest, + () => Unit, +]; +export var FlattenedXmlMap: StaticOperationSchema = [ + 9, + n1, + _FXM, + { + [_http_]: ["POST", "/FlattenedXmlMap", 200], + }, + () => FlattenedXmlMapRequest, + () => FlattenedXmlMapResponse, +]; +export var FlattenedXmlMapWithXmlName: StaticOperationSchema = [ + 9, + n1, + _FXMWXN, + { + [_http_]: ["POST", "/FlattenedXmlMapWithXmlName", 200], + }, + () => FlattenedXmlMapWithXmlNameRequest, + () => FlattenedXmlMapWithXmlNameResponse, +]; +export var FlattenedXmlMapWithXmlNamespace: StaticOperationSchema = [ + 9, + n1, + _FXMWXNl, + { + [_http_]: ["POST", "/FlattenedXmlMapWithXmlNamespace", 200], + }, + () => Unit, + () => FlattenedXmlMapWithXmlNamespaceOutput, +]; +export var FractionalSeconds: StaticOperationSchema = [ + 9, + n1, + _FS, + { + [_http_]: ["POST", "/FractionalSeconds", 200], + }, + () => Unit, + () => FractionalSecondsOutput, +]; +export var GreetingWithErrors: StaticOperationSchema = [ + 9, + n1, + _GWE, + { + [_http_]: ["PUT", "/GreetingWithErrors", 200], + }, + () => Unit, + () => GreetingWithErrorsOutput, +]; +export var HttpEmptyPrefixHeaders: StaticOperationSchema = [ + 9, + n1, + _HEPH, + { + [_http_]: ["GET", "/HttpEmptyPrefixHeaders", 200], + }, + () => HttpEmptyPrefixHeadersInput, + () => HttpEmptyPrefixHeadersOutput, +]; +export var HttpEnumPayload: StaticOperationSchema = [ + 9, + n1, + _HEP, + { + [_http_]: ["POST", "/EnumPayload", 200], + }, + () => EnumPayloadInput, + () => EnumPayloadInput, +]; +export var HttpPayloadTraits: StaticOperationSchema = [ + 9, + n1, + _HPT, + { + [_http_]: ["POST", "/HttpPayloadTraits", 200], + }, + () => HttpPayloadTraitsInputOutput, + () => HttpPayloadTraitsInputOutput, +]; +export var HttpPayloadTraitsWithMediaType: StaticOperationSchema = [ + 9, + n1, + _HPTWMT, + { + [_http_]: ["POST", "/HttpPayloadTraitsWithMediaType", 200], + }, + () => HttpPayloadTraitsWithMediaTypeInputOutput, + () => HttpPayloadTraitsWithMediaTypeInputOutput, +]; +export var HttpPayloadWithMemberXmlName: StaticOperationSchema = [ + 9, + n1, + _HPWMXN, + { + [_http_]: ["PUT", "/HttpPayloadWithMemberXmlName", 200], + }, + () => HttpPayloadWithMemberXmlNameInputOutput, + () => HttpPayloadWithMemberXmlNameInputOutput, +]; +export var HttpPayloadWithStructure: StaticOperationSchema = [ + 9, + n1, + _HPWS, + { + [_http_]: ["PUT", "/HttpPayloadWithStructure", 200], + }, + () => HttpPayloadWithStructureInputOutput, + () => HttpPayloadWithStructureInputOutput, +]; +export var HttpPayloadWithUnion: StaticOperationSchema = [ + 9, + n1, + _HPWU, + { + [_http_]: ["PUT", "/HttpPayloadWithUnion", 200], + }, + () => HttpPayloadWithUnionInputOutput, + () => HttpPayloadWithUnionInputOutput, +]; +export var HttpPayloadWithXmlName: StaticOperationSchema = [ + 9, + n1, + _HPWXN, + { + [_http_]: ["PUT", "/HttpPayloadWithXmlName", 200], + }, + () => HttpPayloadWithXmlNameInputOutput, + () => HttpPayloadWithXmlNameInputOutput, +]; +export var HttpPayloadWithXmlNamespace: StaticOperationSchema = [ + 9, + n1, + _HPWXNt, + { + [_http_]: ["PUT", "/HttpPayloadWithXmlNamespace", 200], + }, + () => HttpPayloadWithXmlNamespaceInputOutput, + () => HttpPayloadWithXmlNamespaceInputOutput, +]; +export var HttpPayloadWithXmlNamespaceAndPrefix: StaticOperationSchema = [ + 9, + n1, + _HPWXNAP, + { + [_http_]: ["PUT", "/HttpPayloadWithXmlNamespaceAndPrefix", 200], + }, + () => HttpPayloadWithXmlNamespaceAndPrefixInputOutput, + () => HttpPayloadWithXmlNamespaceAndPrefixInputOutput, +]; +export var HttpPrefixHeaders: StaticOperationSchema = [ + 9, + n1, + _HPH, + { + [_http_]: ["GET", "/HttpPrefixHeaders", 200], + }, + () => HttpPrefixHeadersInputOutput, + () => HttpPrefixHeadersInputOutput, +]; +export var HttpRequestWithFloatLabels: StaticOperationSchema = [ + 9, + n1, + _HRWFL, + { + [_http_]: ["GET", "/FloatHttpLabels/{float}/{double}", 200], + }, + () => HttpRequestWithFloatLabelsInput, + () => Unit, +]; +export var HttpRequestWithGreedyLabelInPath: StaticOperationSchema = [ + 9, + n1, + _HRWGLIP, + { + [_http_]: ["GET", "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", 200], + }, + () => HttpRequestWithGreedyLabelInPathInput, + () => Unit, +]; +export var HttpRequestWithLabels: StaticOperationSchema = [ + 9, + n1, + _HRWL, + { + [_http_]: [ + "GET", + "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", + 200, + ], + }, + () => HttpRequestWithLabelsInput, + () => Unit, +]; +export var HttpRequestWithLabelsAndTimestampFormat: StaticOperationSchema = [ + 9, + n1, + _HRWLATF, + { + [_http_]: [ + "GET", + "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", + 200, + ], + }, + () => HttpRequestWithLabelsAndTimestampFormatInput, + () => Unit, +]; +export var HttpResponseCode: StaticOperationSchema = [ + 9, + n1, + _HRC, + { + [_http_]: ["PUT", "/HttpResponseCode", 200], + }, + () => Unit, + () => HttpResponseCodeOutput, +]; +export var HttpStringPayload: StaticOperationSchema = [ + 9, + n1, + _HSP, + { + [_http_]: ["POST", "/StringPayload", 200], + }, + () => StringPayloadInput, + () => StringPayloadInput, +]; +export var IgnoreQueryParamsInResponse: StaticOperationSchema = [ + 9, + n1, + _IQPIR, + { + [_http_]: ["GET", "/IgnoreQueryParamsInResponse", 200], + }, + () => Unit, + () => IgnoreQueryParamsInResponseOutput, +]; +export var InputAndOutputWithHeaders: StaticOperationSchema = [ + 9, + n1, + _IAOWH, + { + [_http_]: ["POST", "/InputAndOutputWithHeaders", 200], + }, + () => InputAndOutputWithHeadersIO, + () => InputAndOutputWithHeadersIO, +]; +export var NestedXmlMaps: StaticOperationSchema = [ + 9, + n1, + _NXM, + { + [_http_]: ["POST", "/NestedXmlMaps", 200], + }, + () => NestedXmlMapsRequest, + () => NestedXmlMapsResponse, +]; +export var NestedXmlMapWithXmlName: StaticOperationSchema = [ + 9, + n1, + _NXMWXN, + { + [_http_]: ["POST", "/NestedXmlMapWithXmlName", 200], + }, + () => NestedXmlMapWithXmlNameRequest, + () => NestedXmlMapWithXmlNameResponse, +]; +export var NoInputAndNoOutput: StaticOperationSchema = [ + 9, + n1, + _NIANO, + { + [_http_]: ["POST", "/NoInputAndNoOutput", 200], + }, + () => Unit, + () => Unit, +]; +export var NoInputAndOutput: StaticOperationSchema = [ + 9, + n1, + _NIAO, + { + [_http_]: ["POST", "/NoInputAndOutputOutput", 200], + }, + () => Unit, + () => NoInputAndOutputOutput, +]; +export var NullAndEmptyHeadersClient: StaticOperationSchema = [ + 9, + n1, + _NAEHC, + { + [_http_]: ["GET", "/NullAndEmptyHeadersClient", 200], + }, + () => NullAndEmptyHeadersIO, + () => NullAndEmptyHeadersIO, +]; +export var NullAndEmptyHeadersServer: StaticOperationSchema = [ + 9, + n1, + _NAEHS, + { + [_http_]: ["GET", "/NullAndEmptyHeadersServer", 200], + }, + () => NullAndEmptyHeadersIO, + () => NullAndEmptyHeadersIO, +]; +export var OmitsNullSerializesEmptyString: StaticOperationSchema = [ + 9, + n1, + _ONSES, + { + [_http_]: ["GET", "/OmitsNullSerializesEmptyString", 200], + }, + () => OmitsNullSerializesEmptyStringInput, + () => Unit, +]; +export var PutWithContentEncoding: StaticOperationSchema = [ + 9, + n1, + _PWCE, + { + [_http_]: ["POST", "/requestcompression/putcontentwithencoding", 200], + }, + () => PutWithContentEncodingInput, + () => Unit, +]; +export var QueryIdempotencyTokenAutoFill: StaticOperationSchema = [ + 9, + n1, + _QITAF, + { + [_http_]: ["POST", "/QueryIdempotencyTokenAutoFill", 200], + }, + () => QueryIdempotencyTokenAutoFillInput, + () => Unit, +]; +export var QueryParamsAsStringListMap: StaticOperationSchema = [ + 9, + n1, + _QPASLM, + { + [_http_]: ["POST", "/StringListMap", 200], + }, + () => QueryParamsAsStringListMapInput, + () => Unit, +]; +export var QueryPrecedence: StaticOperationSchema = [ + 9, + n1, + _QP, + { + [_http_]: ["POST", "/Precedence", 200], + }, + () => QueryPrecedenceInput, + () => Unit, +]; +export var RecursiveShapes: StaticOperationSchema = [ + 9, + n1, + _RS, + { + [_http_]: ["PUT", "/RecursiveShapes", 200], + }, + () => RecursiveShapesRequest, + () => RecursiveShapesResponse, +]; +export var SimpleScalarProperties: StaticOperationSchema = [ + 9, + n1, + _SSP, + { + [_http_]: ["PUT", "/SimpleScalarProperties", 200], + }, + () => SimpleScalarPropertiesRequest, + () => SimpleScalarPropertiesResponse, +]; +export var TimestampFormatHeaders: StaticOperationSchema = [ + 9, + n1, + _TFH, + { + [_http_]: ["POST", "/TimestampFormatHeaders", 200], + }, + () => TimestampFormatHeadersIO, + () => TimestampFormatHeadersIO, +]; +export var XmlAttributes: StaticOperationSchema = [ + 9, + n1, + _XAm, + { + [_http_]: ["PUT", "/XmlAttributes", 200], + }, + () => XmlAttributesRequest, + () => XmlAttributesResponse, +]; +export var XmlAttributesOnPayload: StaticOperationSchema = [ + 9, + n1, + _XAOP, + { + [_http_]: ["PUT", "/XmlAttributesOnPayload", 200], + }, + () => XmlAttributesOnPayloadRequest, + () => XmlAttributesOnPayloadResponse, +]; +export var XmlBlobs: StaticOperationSchema = [ + 9, + n1, + _XBm, + { + [_http_]: ["POST", "/XmlBlobs", 200], + }, + () => XmlBlobsRequest, + () => XmlBlobsResponse, +]; +export var XmlEmptyBlobs: StaticOperationSchema = [ + 9, + n1, + _XEB, + { + [_http_]: ["POST", "/XmlEmptyBlobs", 200], + }, + () => XmlEmptyBlobsRequest, + () => XmlEmptyBlobsResponse, +]; +export var XmlEmptyLists: StaticOperationSchema = [ + 9, + n1, + _XEL, + { + [_http_]: ["PUT", "/XmlEmptyLists", 200], + }, + () => XmlEmptyListsRequest, + () => XmlEmptyListsResponse, +]; +export var XmlEmptyMaps: StaticOperationSchema = [ + 9, + n1, + _XEM, + { + [_http_]: ["POST", "/XmlEmptyMaps", 200], + }, + () => XmlEmptyMapsRequest, + () => XmlEmptyMapsResponse, +]; +export var XmlEmptyStrings: StaticOperationSchema = [ + 9, + n1, + _XES, + { + [_http_]: ["PUT", "/XmlEmptyStrings", 200], + }, + () => XmlEmptyStringsRequest, + () => XmlEmptyStringsResponse, +]; +export var XmlEnums: StaticOperationSchema = [ + 9, + n1, + _XEm, + { + [_http_]: ["PUT", "/XmlEnums", 200], + }, + () => XmlEnumsRequest, + () => XmlEnumsResponse, +]; +export var XmlIntEnums: StaticOperationSchema = [ + 9, + n1, + _XIE, + { + [_http_]: ["PUT", "/XmlIntEnums", 200], + }, + () => XmlIntEnumsRequest, + () => XmlIntEnumsResponse, +]; +export var XmlLists: StaticOperationSchema = [ + 9, + n1, + _XLm, + { + [_http_]: ["PUT", "/XmlLists", 200], + }, + () => XmlListsRequest, + () => XmlListsResponse, +]; +export var XmlMaps: StaticOperationSchema = [ + 9, + n1, + _XM, + { + [_http_]: ["POST", "/XmlMaps", 200], + }, + () => XmlMapsRequest, + () => XmlMapsResponse, +]; +export var XmlMapsXmlName: StaticOperationSchema = [ + 9, + n1, + _XMXN, + { + [_http_]: ["POST", "/XmlMapsXmlName", 200], + }, + () => XmlMapsXmlNameRequest, + () => XmlMapsXmlNameResponse, +]; +export var XmlMapWithXmlNamespace: StaticOperationSchema = [ + 9, + n1, + _XMWXN, + { + [_http_]: ["POST", "/XmlMapWithXmlNamespace", 200], + }, + () => XmlMapWithXmlNamespaceRequest, + () => XmlMapWithXmlNamespaceResponse, +]; +export var XmlNamespaces: StaticOperationSchema = [ + 9, + n1, + _XN, + { + [_http_]: ["POST", "/XmlNamespaces", 200], + }, + () => XmlNamespacesRequest, + () => XmlNamespacesResponse, +]; +export var XmlTimestamps: StaticOperationSchema = [ + 9, + n1, + _XTm, + { + [_http_]: ["POST", "/XmlTimestamps", 200], + }, + () => XmlTimestampsRequest, + () => XmlTimestampsResponse, +]; +export var XmlUnions: StaticOperationSchema = [ + 9, + n1, + _XU, + { + [_http_]: ["PUT", "/XmlUnions", 200], + }, + () => XmlUnionsRequest, + () => XmlUnionsResponse, +]; diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_10_Query.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_10_Query.ts deleted file mode 100644 index e365713b54b1..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_10_Query.ts +++ /dev/null @@ -1,101 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _, - _b, - _ba, - _f, - _h, - _HEPH, - _HEPHI, - _HEPHO, - _hH, - _hPH, - _hQ, - _http_, - _pH, - _QP, - _QPI, - _sH, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var HttpEmptyPrefixHeadersInput = struct( - n1, - _HEPHI, - 0, - [_pH, _sH], - [ - [ - 128 | 0, - { - [_hPH]: _, - }, - ], - [ - 0, - { - [_hH]: _h, - }, - ], - ] -); -export var HttpEmptyPrefixHeadersOutput = struct( - n1, - _HEPHO, - 0, - [_pH, _sH], - [ - [ - 128 | 0, - { - [_hPH]: _, - }, - ], - [ - 0, - { - [_hH]: _h, - }, - ], - ] -); -export var QueryPrecedenceInput = struct( - n1, - _QPI, - 0, - [_f, _b], - [ - [ - 0, - { - [_hQ]: _ba, - }, - ], - [128 | 0, 64], - ] -); -export var StringMap = 128 | 0; - -export var HttpEmptyPrefixHeaders = op( - n1, - _HEPH, - { - [_http_]: ["GET", "/HttpEmptyPrefixHeaders", 200], - }, - () => HttpEmptyPrefixHeadersInput, - () => HttpEmptyPrefixHeadersOutput -); -export var QueryPrecedence = op( - n1, - _QP, - { - [_http_]: ["POST", "/Precedence", 200], - }, - () => QueryPrecedenceInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_11_EmptyInputAndEmptyOutput.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_11_EmptyInputAndEmptyOutput.ts deleted file mode 100644 index 3ae3d1f1e848..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_11_EmptyInputAndEmptyOutput.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _EIAEO, _EIAEOI, _EIAEOO, _http_, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EmptyInputAndEmptyOutputInput = struct(n1, _EIAEOI, 0, [], []); -export var EmptyInputAndEmptyOutputOutput = struct(n1, _EIAEOO, 0, [], []); -export var EmptyInputAndEmptyOutput = op( - n1, - _EIAEO, - { - [_http_]: ["POST", "/EmptyInputAndEmptyOutput", 200], - }, - () => EmptyInputAndEmptyOutputInput, - () => EmptyInputAndEmptyOutputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_12_XmlMapWithXmlNamespace.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_12_XmlMapWithXmlNamespace.ts deleted file mode 100644 index 1e1cc9ef9d6a..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_12_XmlMapWithXmlNamespace.ts +++ /dev/null @@ -1,82 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { - _, - _hk, - _hm, - _http_, - _hv, - _K, - _KVP, - _mM, - _V, - _XMWXN, - _XMWXNIOM, - _XMWXNR, - _XMWXNRm, - _xN, - _xNm, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var XmlMapWithXmlNamespaceRequest = struct( - n1, - _XMWXNR, - 0, - [_mM], - [ - [ - () => XmlMapWithXmlNamespaceInputOutputMap, - { - [_xNm]: [_, _hm], - [_xN]: _KVP, - }, - ], - ] -); -export var XmlMapWithXmlNamespaceResponse = struct( - n1, - _XMWXNRm, - 0, - [_mM], - [ - [ - () => XmlMapWithXmlNamespaceInputOutputMap, - { - [_xNm]: [_, _hm], - [_xN]: _KVP, - }, - ], - ] -); -export var XmlMapWithXmlNamespaceInputOutputMap = map( - n1, - _XMWXNIOM, - 0, - [ - 0, - { - [_xNm]: [_, _hk], - [_xN]: _K, - }, - ], - [ - 0, - { - [_xNm]: [_, _hv], - [_xN]: _V, - }, - ] -); -export var XmlMapWithXmlNamespace = op( - n1, - _XMWXN, - { - [_http_]: ["POST", "/XmlMapWithXmlNamespace", 200], - }, - () => XmlMapWithXmlNamespaceRequest, - () => XmlMapWithXmlNamespaceResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_13_NestedXmlMapWithXmlName.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_13_NestedXmlMapWithXmlName.ts deleted file mode 100644 index 885f73fbad08..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_13_NestedXmlMapWithXmlName.ts +++ /dev/null @@ -1,72 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { - _http_, - _IK, - _IV, - _NXMWXN, - _NXMWXNIM, - _NXMWXNM, - _nXMWXNM, - _NXMWXNR, - _NXMWXNRe, - _OK, - _xN, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var NestedXmlMapWithXmlNameRequest = struct( - n1, - _NXMWXNR, - 0, - [_nXMWXNM], - [[() => NestedXmlMapWithXmlNameMap, 0]] -); -export var NestedXmlMapWithXmlNameResponse = struct( - n1, - _NXMWXNRe, - 0, - [_nXMWXNM], - [[() => NestedXmlMapWithXmlNameMap, 0]] -); -export var NestedXmlMapWithXmlNameInnerMap = map( - n1, - _NXMWXNIM, - 0, - [ - 0, - { - [_xN]: _IK, - }, - ], - [ - 0, - { - [_xN]: _IV, - }, - ] -); -export var NestedXmlMapWithXmlNameMap = map( - n1, - _NXMWXNM, - 0, - [ - 0, - { - [_xN]: _OK, - }, - ], - [() => NestedXmlMapWithXmlNameInnerMap, 0] -); -export var NestedXmlMapWithXmlName = op( - n1, - _NXMWXN, - { - [_http_]: ["POST", "/NestedXmlMapWithXmlName", 200], - }, - () => NestedXmlMapWithXmlNameRequest, - () => NestedXmlMapWithXmlNameResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_14_EndpointOperation.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_14_EndpointOperation.ts deleted file mode 100644 index 372baf6f76a8..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_14_EndpointOperation.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _end, _EO, _http_, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var EndpointOperation = op( - n1, - _EO, - { - [_http_]: ["POST", "/EndpointOperation", 200], - [_end]: ["foo."], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_15_XmlEmptyStrings.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_15_XmlEmptyStrings.ts deleted file mode 100644 index ec250d552388..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_15_XmlEmptyStrings.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _eS, _http_, _XES, _XESR, _XESRm, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var XmlEmptyStringsRequest = struct(n1, _XESR, 0, [_eS], [0]); -export var XmlEmptyStringsResponse = struct(n1, _XESRm, 0, [_eS], [0]); -export var XmlEmptyStrings = op( - n1, - _XES, - { - [_http_]: ["PUT", "/XmlEmptyStrings", 200], - }, - () => XmlEmptyStringsRequest, - () => XmlEmptyStringsResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_16_EndpointWithHostLabelHeaderOperation.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_16_EndpointWithHostLabelHeaderOperation.ts deleted file mode 100644 index f1e4c23d800e..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_16_EndpointWithHostLabelHeaderOperation.ts +++ /dev/null @@ -1,33 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _aI, _end, _EWHLHO, _hH, _hL, _HLHI, _http_, _XAAI, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var HostLabelHeaderInput = struct( - n1, - _HLHI, - 0, - [_aI], - [ - [ - 0, - { - [_hL]: 1, - [_hH]: _XAAI, - }, - ], - ] -); -export var EndpointWithHostLabelHeaderOperation = op( - n1, - _EWHLHO, - { - [_http_]: ["POST", "/EndpointWithHostLabelHeaderOperation", 200], - [_end]: ["{accountId}."], - }, - () => HostLabelHeaderInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_17_Xml.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_17_Xml.ts deleted file mode 100644 index 49fdbf1a2b8a..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_17_Xml.ts +++ /dev/null @@ -1,193 +0,0 @@ -// smithy-typescript generated code -import { op, struct, struct as uni } from "@smithy/core/schema"; - -import { - _bo, - _bV, - _bVo, - _CTP, - _CTPI, - _CTPO, - _DD, - _do, - _dV, - _f, - _fBV, - _fl, - _fV, - _hH, - _HRC, - _HRCO, - _HRWL, - _HRWLI, - _http_, - _i, - _iV, - _lo, - _lV, - _s, - _sh, - _SSP, - _SSPR, - _SSPRi, - _St, - _sV, - _sVh, - _sVt, - _tBV, - _ti, - _uV, - _v, - _XF, - _xN, - _XNUS, - _XU, - _XUR, - _XURm, - _XUS, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var ContentTypeParametersInput = struct(n1, _CTPI, 0, [_v], [1]); -export var ContentTypeParametersOutput = struct(n1, _CTPO, 0, [], []); -export var HttpRequestWithLabelsInput = struct( - n1, - _HRWLI, - 0, - [_s, _sh, _i, _lo, _fl, _do, _bo, _ti], - [ - [0, 1], - [1, 1], - [1, 1], - [1, 1], - [1, 1], - [1, 1], - [2, 1], - [4, 1], - ] -); -export var HttpResponseCodeOutput = struct(n1, _HRCO, 0, [_St], [[1, 32]]); -export var SimpleScalarPropertiesRequest = struct( - n1, - _SSPR, - 0, - [_f, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - 0, - 2, - 2, - 1, - 1, - 1, - 1, - 1, - [ - 1, - { - [_xN]: _DD, - }, - ], - ] -); -export var SimpleScalarPropertiesResponse = struct( - n1, - _SSPRi, - 0, - [_f, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - 0, - 2, - 2, - 1, - 1, - 1, - 1, - 1, - [ - 1, - { - [_xN]: _DD, - }, - ], - ] -); -export var XmlNestedUnionStruct = struct( - n1, - _XNUS, - 0, - [_sV, _bVo, _bV, _sVh, _iV, _lV, _fV, _dV], - [0, 2, 1, 1, 1, 1, 1, 1] -); -export var XmlUnionsRequest = struct(n1, _XUR, 0, [_uV], [() => XmlUnionShape]); -export var XmlUnionsResponse = struct(n1, _XURm, 0, [_uV], [() => XmlUnionShape]); -export var XmlUnionShape = uni( - n1, - _XUS, - 0, - [_sV, _bVo, _bV, _sVh, _iV, _lV, _fV, _dV, _uV, _sVt], - [0, 2, 1, 1, 1, 1, 1, 1, () => XmlUnionShape, () => XmlNestedUnionStruct] -); -export var ContentTypeParameters = op( - n1, - _CTP, - { - [_http_]: ["PUT", "/ContentTypeParameters", 200], - }, - () => ContentTypeParametersInput, - () => ContentTypeParametersOutput -); -export var HttpRequestWithLabels = op( - n1, - _HRWL, - { - [_http_]: [ - "GET", - "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", - 200, - ], - }, - () => HttpRequestWithLabelsInput, - () => Unit -); -export var HttpResponseCode = op( - n1, - _HRC, - { - [_http_]: ["PUT", "/HttpResponseCode", 200], - }, - () => Unit, - () => HttpResponseCodeOutput -); -export var SimpleScalarProperties = op( - n1, - _SSP, - { - [_http_]: ["PUT", "/SimpleScalarProperties", 200], - }, - () => SimpleScalarPropertiesRequest, - () => SimpleScalarPropertiesResponse -); -export var XmlUnions = op( - n1, - _XU, - { - [_http_]: ["PUT", "/XmlUnions", 200], - }, - () => XmlUnionsRequest, - () => XmlUnionsResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_18_HttpPayloadWithStructure.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_18_HttpPayloadWithStructure.ts deleted file mode 100644 index 03af82c5d8a7..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_18_HttpPayloadWithStructure.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _g, _HPWS, _HPWSIO, _http_, _n, _na, _NP, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadWithStructureInputOutput = struct(n1, _HPWSIO, 0, [_n], [[() => NestedPayload, 16]]); -export var NestedPayload = struct(n1, _NP, 0, [_g, _na], [0, 0]); -export var HttpPayloadWithStructure = op( - n1, - _HPWS, - { - [_http_]: ["PUT", "/HttpPayloadWithStructure", 200], - }, - () => HttpPayloadWithStructureInputOutput, - () => HttpPayloadWithStructureInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_19_Blobs.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_19_Blobs.ts deleted file mode 100644 index 7a7fa45a5db1..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_19_Blobs.ts +++ /dev/null @@ -1,53 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _bl, _da, _f, _hH, _HPT, _HPTIO, _http_, _XBm, _XBR, _XBRm, _XEB, _XEBR, _XEBRm, _XF, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadTraitsInputOutput = struct( - n1, - _HPTIO, - 0, - [_f, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [21, 16], - ] -); -export var XmlBlobsRequest = struct(n1, _XBR, 0, [_da], [21]); -export var XmlBlobsResponse = struct(n1, _XBRm, 0, [_da], [21]); -export var XmlEmptyBlobsRequest = struct(n1, _XEBR, 0, [_da], [21]); -export var XmlEmptyBlobsResponse = struct(n1, _XEBRm, 0, [_da], [21]); -export var HttpPayloadTraits = op( - n1, - _HPT, - { - [_http_]: ["POST", "/HttpPayloadTraits", 200], - }, - () => HttpPayloadTraitsInputOutput, - () => HttpPayloadTraitsInputOutput -); -export var XmlBlobs = op( - n1, - _XBm, - { - [_http_]: ["POST", "/XmlBlobs", 200], - }, - () => XmlBlobsRequest, - () => XmlBlobsResponse -); -export var XmlEmptyBlobs = op( - n1, - _XEB, - { - [_http_]: ["POST", "/XmlEmptyBlobs", 200], - }, - () => XmlEmptyBlobsRequest, - () => XmlEmptyBlobsResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_1_XmlNamespaces.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_1_XmlNamespaces.ts deleted file mode 100644 index 1c4a0b144aca..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_1_XmlNamespaces.ts +++ /dev/null @@ -1,80 +0,0 @@ -// smithy-typescript generated code -import { list, op, struct } from "@smithy/core/schema"; - -import { - _, - _b, - _f, - _ht, - _htt, - _http, - _http_, - _httpb, - _n, - _va, - _XN, - _XNL, - _xNm, - _XNN, - _XNR, - _XNRm, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var XmlNamespaceNested = struct( - n1, - _XNN, - { - [_xNm]: [_, _ht], - }, - [_f, _va], - [ - [ - 0, - { - [_xNm]: [_b, _htt], - }, - ], - [ - () => XmlNamespacedList, - { - [_xNm]: [_, _http], - }, - ], - ] -); -export var XmlNamespacesRequest = struct( - n1, - _XNR, - { - [_xNm]: [_, _ht], - }, - [_n], - [[() => XmlNamespaceNested, 0]] -); -export var XmlNamespacesResponse = struct( - n1, - _XNRm, - { - [_xNm]: [_, _ht], - }, - [_n], - [[() => XmlNamespaceNested, 0]] -); -export var XmlNamespacedList = list(n1, _XNL, 0, [ - 0, - { - [_xNm]: [_, _httpb], - }, -]); -export var XmlNamespaces = op( - n1, - _XN, - { - [_http_]: ["POST", "/XmlNamespaces", 200], - }, - () => XmlNamespacesRequest, - () => XmlNamespacesResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_20_XmlAttributesOnPayload.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_20_XmlAttributesOnPayload.ts deleted file mode 100644 index 8072bc9f18c0..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_20_XmlAttributesOnPayload.ts +++ /dev/null @@ -1,50 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _at, _f, _http_, _p, _te, _xA, _XAOP, _XAOPR, _XAOPRm, _XAPR, _XAPRm, _xN, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var XmlAttributesOnPayloadRequest = struct(n1, _XAOPR, 0, [_p], [[() => XmlAttributesPayloadRequest, 16]]); -export var XmlAttributesOnPayloadResponse = struct(n1, _XAOPRm, 0, [_p], [[() => XmlAttributesPayloadResponse, 16]]); -export var XmlAttributesPayloadRequest = struct( - n1, - _XAPR, - 0, - [_f, _at], - [ - 0, - [ - 0, - { - [_xN]: _te, - [_xA]: 1, - }, - ], - ] -); -export var XmlAttributesPayloadResponse = struct( - n1, - _XAPRm, - 0, - [_f, _at], - [ - 0, - [ - 0, - { - [_xN]: _te, - [_xA]: 1, - }, - ], - ] -); -export var XmlAttributesOnPayload = op( - n1, - _XAOP, - { - [_http_]: ["PUT", "/XmlAttributesOnPayload", 200], - }, - () => XmlAttributesOnPayloadRequest, - () => XmlAttributesOnPayloadResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_21_ConstantAndVariableQueryString.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_21_ConstantAndVariableQueryString.ts deleted file mode 100644 index bef23de95d89..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_21_ConstantAndVariableQueryString.ts +++ /dev/null @@ -1,37 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _CAVQS, _CAVQSI, _hQ, _http_, _mS, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var ConstantAndVariableQueryStringInput = struct( - n1, - _CAVQSI, - 0, - [_b, _mS], - [ - [ - 0, - { - [_hQ]: _b, - }, - ], - [ - 0, - { - [_hQ]: _mS, - }, - ], - ] -); -export var ConstantAndVariableQueryString = op( - n1, - _CAVQS, - { - [_http_]: ["GET", "/ConstantAndVariableQueryString?foo=bar", 200], - }, - () => ConstantAndVariableQueryStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_22_HttpPayloadWithXmlNamespace.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_22_HttpPayloadWithXmlNamespace.ts deleted file mode 100644 index 521d2ca0192e..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_22_HttpPayloadWithXmlNamespace.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _, _HPWXNIOt, _HPWXNt, _ht, _http_, _n, _na, _PWXNa, _xNm, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadWithXmlNamespaceInputOutput = struct( - n1, - _HPWXNIOt, - 0, - [_n], - [[() => PayloadWithXmlNamespace, 16]] -); -export var PayloadWithXmlNamespace = struct( - n1, - _PWXNa, - { - [_xNm]: [_, _ht], - }, - [_na], - [0] -); -export var HttpPayloadWithXmlNamespace = op( - n1, - _HPWXNt, - { - [_http_]: ["PUT", "/HttpPayloadWithXmlNamespace", 200], - }, - () => HttpPayloadWithXmlNamespaceInputOutput, - () => HttpPayloadWithXmlNamespaceInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_23_NoInputAndNoOutput.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_23_NoInputAndNoOutput.ts deleted file mode 100644 index fa25f9f820fa..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_23_NoInputAndNoOutput.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _http_, _NIANO, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var NoInputAndNoOutput = op( - n1, - _NIANO, - { - [_http_]: ["POST", "/NoInputAndNoOutput", 200], - }, - () => Unit, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_24_RecursiveShapes.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_24_RecursiveShapes.ts deleted file mode 100644 index dad971d74b15..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_24_RecursiveShapes.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _ba, _f, _http_, _n, _rM, _RS, _RSION, _RSIONe, _RSR, _RSRe, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var RecursiveShapesInputOutputNested1 = struct( - n1, - _RSION, - 0, - [_f, _n], - [0, () => RecursiveShapesInputOutputNested2] -); -export var RecursiveShapesInputOutputNested2 = struct( - n1, - _RSIONe, - 0, - [_ba, _rM], - [0, () => RecursiveShapesInputOutputNested1] -); -export var RecursiveShapesRequest = struct(n1, _RSR, 0, [_n], [() => RecursiveShapesInputOutputNested1]); -export var RecursiveShapesResponse = struct(n1, _RSRe, 0, [_n], [() => RecursiveShapesInputOutputNested1]); -export var RecursiveShapes = op( - n1, - _RS, - { - [_http_]: ["PUT", "/RecursiveShapes", 200], - }, - () => RecursiveShapesRequest, - () => RecursiveShapesResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_25_Xml.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_25_Xml.ts deleted file mode 100644 index 48913969a811..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_25_Xml.ts +++ /dev/null @@ -1,85 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _A, - _BWXN, - _BWXNIO, - _He, - _Ho, - _hP, - _HPWMXN, - _HPWMXNIO, - _HPWXN, - _HPWXNIO, - _http_, - _n, - _na, - _PWXN, - _xN, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var BodyWithXmlNameInputOutput = struct( - n1, - _BWXNIO, - { - [_xN]: _A, - }, - [_n], - [[() => PayloadWithXmlName, 0]] -); -export var HttpPayloadWithMemberXmlNameInputOutput = struct( - n1, - _HPWMXNIO, - 0, - [_n], - [ - [ - () => PayloadWithXmlName, - { - [_hP]: 1, - [_xN]: _Ho, - }, - ], - ] -); -export var HttpPayloadWithXmlNameInputOutput = struct(n1, _HPWXNIO, 0, [_n], [[() => PayloadWithXmlName, 16]]); -export var PayloadWithXmlName = struct( - n1, - _PWXN, - { - [_xN]: _He, - }, - [_na], - [0] -); -export var BodyWithXmlName = op( - n1, - _BWXN, - { - [_http_]: ["PUT", "/BodyWithXmlName", 200], - }, - () => BodyWithXmlNameInputOutput, - () => BodyWithXmlNameInputOutput -); -export var HttpPayloadWithMemberXmlName = op( - n1, - _HPWMXN, - { - [_http_]: ["PUT", "/HttpPayloadWithMemberXmlName", 200], - }, - () => HttpPayloadWithMemberXmlNameInputOutput, - () => HttpPayloadWithMemberXmlNameInputOutput -); -export var HttpPayloadWithXmlName = op( - n1, - _HPWXN, - { - [_http_]: ["PUT", "/HttpPayloadWithXmlName", 200], - }, - () => HttpPayloadWithXmlNameInputOutput, - () => HttpPayloadWithXmlNameInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_26_HttpPayloadTraitsWithMediaType.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_26_HttpPayloadTraitsWithMediaType.ts deleted file mode 100644 index 0259500fd4bf..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_26_HttpPayloadTraitsWithMediaType.ts +++ /dev/null @@ -1,34 +0,0 @@ -// smithy-typescript generated code -import { op, sim, struct } from "@smithy/core/schema"; - -import { _bl, _f, _hH, _HPTWMT, _HPTWMTIO, _http_, _mT, _t, _TPB, _XF, n0, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var TextPlainBlob = sim(n0, _TPB, 21, { - [_mT]: _t, -}); -export var HttpPayloadTraitsWithMediaTypeInputOutput = struct( - n1, - _HPTWMTIO, - 0, - [_f, _bl], - [ - [ - 0, - { - [_hH]: _XF, - }, - ], - [() => TextPlainBlob, 16], - ] -); -export var HttpPayloadTraitsWithMediaType = op( - n1, - _HPTWMT, - { - [_http_]: ["POST", "/HttpPayloadTraitsWithMediaType", 200], - }, - () => HttpPayloadTraitsWithMediaTypeInputOutput, - () => HttpPayloadTraitsWithMediaTypeInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_27_Timestamp.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_27_Timestamp.ts deleted file mode 100644 index 2040e2216769..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_27_Timestamp.ts +++ /dev/null @@ -1,28 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _d, _DO, _DOO, _FS, _FSO, _http_, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var DatetimeOffsetsOutput = struct(n1, _DOO, 0, [_d], [5]); -export var FractionalSecondsOutput = struct(n1, _FSO, 0, [_d], [5]); -export var DatetimeOffsets = op( - n1, - _DO, - { - [_http_]: ["POST", "/DatetimeOffsets", 200], - }, - () => Unit, - () => DatetimeOffsetsOutput -); -export var FractionalSeconds = op( - n1, - _FS, - { - [_http_]: ["POST", "/FractionalSeconds", 200], - }, - () => Unit, - () => FractionalSecondsOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_28_HttpStringPayload.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_28_HttpStringPayload.ts deleted file mode 100644 index 55b6725e49a8..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_28_HttpStringPayload.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _HSP, _http_, _p, _SPI, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var StringPayloadInput = struct(n1, _SPI, 0, [_p], [[0, 16]]); -export var HttpStringPayload = op( - n1, - _HSP, - { - [_http_]: ["POST", "/StringPayload", 200], - }, - () => StringPayloadInput, - () => StringPayloadInput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_29_OmitsNullSerializesEmptyString.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_29_OmitsNullSerializesEmptyString.ts deleted file mode 100644 index 59aad28d67e3..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_29_OmitsNullSerializesEmptyString.ts +++ /dev/null @@ -1,37 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _Em, _eS, _hQ, _http_, _Nu, _nV, _ONSES, _ONSESI, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var OmitsNullSerializesEmptyStringInput = struct( - n1, - _ONSESI, - 0, - [_nV, _eS], - [ - [ - 0, - { - [_hQ]: _Nu, - }, - ], - [ - 0, - { - [_hQ]: _Em, - }, - ], - ] -); -export var OmitsNullSerializesEmptyString = op( - n1, - _ONSES, - { - [_http_]: ["GET", "/OmitsNullSerializesEmptyString", 200], - }, - () => OmitsNullSerializesEmptyStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_2_With.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_2_With.ts deleted file mode 100644 index 2f43a22c37c3..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_2_With.ts +++ /dev/null @@ -1,150 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { - _dF, - _dT, - _dTOT, - _eSOT, - _eSp, - _hDOT, - _hDt, - _hH, - _HRWLATF, - _HRWLATFI, - _http_, - _mDT, - _mES, - _mHD, - _no, - _tDT, - _tES, - _TFH, - _TFHIO, - _tHD, - _Xd, - _Xm, - _Xm_, - _Xm__, - _Xt, - _Xt_, - _Xt__, - _XTm, - _XTR, - _XTRm, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var HttpRequestWithLabelsAndTimestampFormatInput = struct( - n1, - _HRWLATFI, - 0, - [_mES, _mHD, _mDT, _dF, _tES, _tHD, _tDT], - [ - [7, 1], - [6, 1], - [5, 1], - [4, 1], - [7, 1], - [6, 1], - [5, 1], - ] -); -export var TimestampFormatHeadersIO = struct( - n1, - _TFHIO, - 0, - [_mES, _mHD, _mDT, _dF, _tES, _tHD, _tDT], - [ - [ - 7, - { - [_hH]: _Xm, - }, - ], - [ - 6, - { - [_hH]: _Xm_, - }, - ], - [ - 5, - { - [_hH]: _Xm__, - }, - ], - [ - 4, - { - [_hH]: _Xd, - }, - ], - [ - 7, - { - [_hH]: _Xt, - }, - ], - [ - 6, - { - [_hH]: _Xt_, - }, - ], - [ - 5, - { - [_hH]: _Xt__, - }, - ], - ] -); -export var XmlTimestampsRequest = struct( - n1, - _XTR, - 0, - [_no, _dT, _dTOT, _eSp, _eSOT, _hDt, _hDOT], - [4, 5, 5, 7, 7, 6, 6] -); -export var XmlTimestampsResponse = struct( - n1, - _XTRm, - 0, - [_no, _dT, _dTOT, _eSp, _eSOT, _hDt, _hDOT], - [4, 5, 5, 7, 7, 6, 6] -); -export var HttpRequestWithLabelsAndTimestampFormat = op( - n1, - _HRWLATF, - { - [_http_]: [ - "GET", - "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", - 200, - ], - }, - () => HttpRequestWithLabelsAndTimestampFormatInput, - () => Unit -); -export var TimestampFormatHeaders = op( - n1, - _TFH, - { - [_http_]: ["POST", "/TimestampFormatHeaders", 200], - }, - () => TimestampFormatHeadersIO, - () => TimestampFormatHeadersIO -); -export var XmlTimestamps = op( - n1, - _XTm, - { - [_http_]: ["POST", "/XmlTimestamps", 200], - }, - () => XmlTimestampsRequest, - () => XmlTimestampsResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_30_EndpointWithHostLabelOperation.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_30_EndpointWithHostLabelOperation.ts deleted file mode 100644 index b9c200065f7c..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_30_EndpointWithHostLabelOperation.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _end, _EWHLO, _EWHLOR, _hL, _http_, _l, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var EndpointWithHostLabelOperationRequest = struct( - n1, - _EWHLOR, - 0, - [_l], - [ - [ - 0, - { - [_hL]: 1, - }, - ], - ] -); -export var EndpointWithHostLabelOperation = op( - n1, - _EWHLO, - { - [_http_]: ["POST", "/EndpointWithHostLabelOperation", 200], - [_end]: ["foo.{label}."], - }, - () => EndpointWithHostLabelOperationRequest, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_31_HttpRequestWithGreedyLabelInPath.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_31_HttpRequestWithGreedyLabelInPath.ts deleted file mode 100644 index b57e9ac285b3..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_31_HttpRequestWithGreedyLabelInPath.ts +++ /dev/null @@ -1,27 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _f, _HRWGLIP, _HRWGLIPI, _http_, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var HttpRequestWithGreedyLabelInPathInput = struct( - n1, - _HRWGLIPI, - 0, - [_f, _b], - [ - [0, 1], - [0, 1], - ] -); -export var HttpRequestWithGreedyLabelInPath = op( - n1, - _HRWGLIP, - { - [_http_]: ["GET", "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", 200], - }, - () => HttpRequestWithGreedyLabelInPathInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_32_HttpPrefixHeaders.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_32_HttpPrefixHeaders.ts deleted file mode 100644 index 8ebf7aa9c476..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_32_HttpPrefixHeaders.ts +++ /dev/null @@ -1,38 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _f, _fM, _hH, _HPH, _hPH, _HPHIO, _http_, _xf, _xf_, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPrefixHeadersInputOutput = struct( - n1, - _HPHIO, - 0, - [_f, _fM], - [ - [ - 0, - { - [_hH]: _xf, - }, - ], - [ - 128 | 0, - { - [_hPH]: _xf_, - }, - ], - ] -); -export var FooPrefixHeaders = 128 | 0; - -export var HttpPrefixHeaders = op( - n1, - _HPH, - { - [_http_]: ["GET", "/HttpPrefixHeaders", 200], - }, - () => HttpPrefixHeadersInputOutput, - () => HttpPrefixHeadersInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_33_HttpPayloadWithUnion.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_33_HttpPayloadWithUnion.ts deleted file mode 100644 index ec41258f1804..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_33_HttpPayloadWithUnion.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct, struct as uni } from "@smithy/core/schema"; - -import { _g, _HPWU, _HPWUIO, _http_, _n, _UP, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadWithUnionInputOutput = struct(n1, _HPWUIO, 0, [_n], [[() => UnionPayload, 16]]); -export var UnionPayload = uni(n1, _UP, 0, [_g], [0]); -export var HttpPayloadWithUnion = op( - n1, - _HPWU, - { - [_http_]: ["PUT", "/HttpPayloadWithUnion", 200], - }, - () => HttpPayloadWithUnionInputOutput, - () => HttpPayloadWithUnionInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_34_QueryIdempotencyTokenAutoFill.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_34_QueryIdempotencyTokenAutoFill.ts deleted file mode 100644 index 6058c884f72e..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_34_QueryIdempotencyTokenAutoFill.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _hQ, _http_, _iT, _QITAF, _QITAFI, _to, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var QueryIdempotencyTokenAutoFillInput = struct( - n1, - _QITAFI, - 0, - [_to], - [ - [ - 0, - { - [_iT]: 1, - [_hQ]: _to, - }, - ], - ] -); -export var QueryIdempotencyTokenAutoFill = op( - n1, - _QITAF, - { - [_http_]: ["POST", "/QueryIdempotencyTokenAutoFill", 200], - }, - () => QueryIdempotencyTokenAutoFillInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_35_NoInputAndOutput.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_35_NoInputAndOutput.ts deleted file mode 100644 index eada8fe2f1b9..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_35_NoInputAndOutput.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _http_, _NIAO, _NIAOO, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var NoInputAndOutputOutput = struct(n1, _NIAOO, 0, [], []); -export var NoInputAndOutput = op( - n1, - _NIAO, - { - [_http_]: ["POST", "/NoInputAndOutputOutput", 200], - }, - () => Unit, - () => NoInputAndOutputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_36_PutWithContentEncoding.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_36_PutWithContentEncoding.ts deleted file mode 100644 index abe8bda1b714..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_36_PutWithContentEncoding.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CE_, _da, _en, _hH, _http_, _PWCE, _PWCEI, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var PutWithContentEncodingInput = struct( - n1, - _PWCEI, - 0, - [_en, _da], - [ - [ - 0, - { - [_hH]: _CE_, - }, - ], - 0, - ] -); -export var PutWithContentEncoding = op( - n1, - _PWCE, - { - [_http_]: ["POST", "/requestcompression/putcontentwithencoding", 200], - }, - () => PutWithContentEncodingInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_37_ConstantQueryString.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_37_ConstantQueryString.ts deleted file mode 100644 index 8c38e857dd54..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_37_ConstantQueryString.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _CQS, _CQSI, _h, _http_, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var ConstantQueryStringInput = struct(n1, _CQSI, 0, [_h], [[0, 1]]); -export var ConstantQueryString = op( - n1, - _CQS, - { - [_http_]: ["GET", "/ConstantQueryString/{hello}?foo=bar&hello", 200], - }, - () => ConstantQueryStringInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_38_IgnoreQueryParamsInResponse.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_38_IgnoreQueryParamsInResponse.ts deleted file mode 100644 index 3f34afa38f73..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_38_IgnoreQueryParamsInResponse.ts +++ /dev/null @@ -1,31 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _hQ, _http_, _IQPIR, _IQPIRO, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var IgnoreQueryParamsInResponseOutput = struct( - n1, - _IQPIRO, - 0, - [_b], - [ - [ - 0, - { - [_hQ]: _b, - }, - ], - ] -); -export var IgnoreQueryParamsInResponse = op( - n1, - _IQPIR, - { - [_http_]: ["GET", "/IgnoreQueryParamsInResponse", 200], - }, - () => Unit, - () => IgnoreQueryParamsInResponseOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_39_XmlAttributes.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_39_XmlAttributes.ts deleted file mode 100644 index f39ef0db1bd2..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_39_XmlAttributes.ts +++ /dev/null @@ -1,48 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _at, _f, _http_, _te, _xA, _XAm, _XAR, _XARm, _xN, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var XmlAttributesRequest = struct( - n1, - _XAR, - 0, - [_f, _at], - [ - 0, - [ - 0, - { - [_xN]: _te, - [_xA]: 1, - }, - ], - ] -); -export var XmlAttributesResponse = struct( - n1, - _XARm, - 0, - [_f, _at], - [ - 0, - [ - 0, - { - [_xN]: _te, - [_xA]: 1, - }, - ], - ] -); -export var XmlAttributes = op( - n1, - _XAm, - { - [_http_]: ["PUT", "/XmlAttributes", 200], - }, - () => XmlAttributesRequest, - () => XmlAttributesResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_3_Xml.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_3_Xml.ts deleted file mode 100644 index 07a5d0f98f12..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_3_Xml.ts +++ /dev/null @@ -1,901 +0,0 @@ -// smithy-typescript generated code -import { list, map, op, struct } from "@smithy/core/schema"; - -import { - _, - _a, - _AQST, - _AQSTI, - _B, - _b_, - _BL, - _bL, - _Bo, - _cN, - _D, - _DL, - _E, - _EL, - _eL, - _EPI, - _F, - _fE, - _fEL, - _fEM, - _fEo, - _fEoo, - _fES, - _fL, - _fLl, - _fLWMN, - _fLWN, - _fNM, - _fSL, - _FXM, - _FXMR, - _FXMRl, - _hB, - _hBL, - _hD, - _hEe, - _hEL, - _HEP, - _hF, - _hFB, - _hH, - _hI, - _hIL, - _hl, - _hLe, - _hm_, - _hQ, - _hS, - _hSe, - _hSL, - _hSS, - _hTB, - _hTL, - _http_, - _I, - _IAOWH, - _IAOWHIO, - _IE, - _iE, - _IEL, - _iEL, - _iEM, - _iEn, - _iEnt, - _iES, - _IL, - _iL, - _IS, - _it, - _L, - _LWMN, - _LWN, - _mM, - _mSL, - _NM, - _nM, - _NSL, - _nSL, - _NXM, - _NXMR, - _NXMRe, - _o, - _p, - _qB, - _qBL, - _qBu, - _qD, - _qDL, - _qE, - _qEL, - _qF, - _qI, - _qIE, - _qIEL, - _qIL, - _qIS, - _qL, - _qPMOS, - _qS, - _qSL, - _qSS, - _qSu, - _qT, - _qTL, - _r, - _RLM, - _rLM, - _S, - _Sh, - _SL, - _sL, - _SLMt, - _SLt, - _sLt, - _SS, - _sS, - _T, - _TL, - _tL, - _v, - _XB, - _XB_, - _XB__, - _XB___, - _XD, - _XE, - _XE_, - _XEL, - _XELR, - _XELRm, - _XEm, - _XER, - _XERm, - _xF, - _XF_, - _XI, - _XI_, - _XIE, - _XIER, - _XIERm, - _XL, - _XLm, - _XLR, - _XLRm, - _xN, - _xNm, - _XS, - _XS_, - _XS__, - _XS___, - _XT, - n0, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var AllQueryStringTypesInput = struct( - n1, - _AQSTI, - 0, - [ - _qS, - _qSL, - _qSS, - _qB, - _qSu, - _qI, - _qIL, - _qIS, - _qL, - _qF, - _qD, - _qDL, - _qBu, - _qBL, - _qT, - _qTL, - _qE, - _qEL, - _qIE, - _qIEL, - _qPMOS, - ], - [ - [ - 0, - { - [_hQ]: _S, - }, - ], - [ - 64 | 0, - { - [_hQ]: _SL, - }, - ], - [ - 64 | 0, - { - [_hQ]: _SS, - }, - ], - [ - 1, - { - [_hQ]: _B, - }, - ], - [ - 1, - { - [_hQ]: _Sh, - }, - ], - [ - 1, - { - [_hQ]: _I, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IL, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IS, - }, - ], - [ - 1, - { - [_hQ]: _L, - }, - ], - [ - 1, - { - [_hQ]: _F, - }, - ], - [ - 1, - { - [_hQ]: _D, - }, - ], - [ - 64 | 1, - { - [_hQ]: _DL, - }, - ], - [ - 2, - { - [_hQ]: _Bo, - }, - ], - [ - 64 | 2, - { - [_hQ]: _BL, - }, - ], - [ - 4, - { - [_hQ]: _T, - }, - ], - [ - 64 | 4, - { - [_hQ]: _TL, - }, - ], - [ - 0, - { - [_hQ]: _E, - }, - ], - [ - 64 | 0, - { - [_hQ]: _EL, - }, - ], - [ - 1, - { - [_hQ]: _IE, - }, - ], - [ - 64 | 1, - { - [_hQ]: _IEL, - }, - ], - [128 | 0, 64], - ] -); -export var EnumPayloadInput = struct(n1, _EPI, 0, [_p], [[0, 16]]); -export var FlattenedXmlMapRequest = struct( - n1, - _FXMR, - 0, - [_mM], - [ - [ - 128 | 0, - { - [_xF]: 1, - }, - ], - ] -); -export var FlattenedXmlMapResponse = struct( - n1, - _FXMRl, - 0, - [_mM], - [ - [ - 128 | 0, - { - [_xF]: 1, - }, - ], - ] -); -export var InputAndOutputWithHeadersIO = struct( - n1, - _IAOWHIO, - 0, - [_hS, _hB, _hSe, _hI, _hLe, _hF, _hD, _hTB, _hFB, _hSL, _hSS, _hIL, _hBL, _hTL, _hEe, _hEL], - [ - [ - 0, - { - [_hH]: _XS, - }, - ], - [ - 1, - { - [_hH]: _XB, - }, - ], - [ - 1, - { - [_hH]: _XS_, - }, - ], - [ - 1, - { - [_hH]: _XI, - }, - ], - [ - 1, - { - [_hH]: _XL, - }, - ], - [ - 1, - { - [_hH]: _XF_, - }, - ], - [ - 1, - { - [_hH]: _XD, - }, - ], - [ - 2, - { - [_hH]: _XB_, - }, - ], - [ - 2, - { - [_hH]: _XB__, - }, - ], - [ - 64 | 0, - { - [_hH]: _XS__, - }, - ], - [ - 64 | 0, - { - [_hH]: _XS___, - }, - ], - [ - 64 | 1, - { - [_hH]: _XI_, - }, - ], - [ - 64 | 2, - { - [_hH]: _XB___, - }, - ], - [ - 64 | 4, - { - [_hH]: _XT, - }, - ], - [ - 0, - { - [_hH]: _XE, - }, - ], - [ - 64 | 0, - { - [_hH]: _XE_, - }, - ], - ] -); -export var NestedXmlMapsRequest = struct( - n1, - _NXMR, - 0, - [_nM, _fNM], - [ - map(n1, _NM, 0, 0, 128 | 0), - [ - map(n1, _NM, 0, 0, 128 | 0), - { - [_xF]: 1, - }, - ], - ] -); -export var NestedXmlMapsResponse = struct( - n1, - _NXMRe, - 0, - [_nM, _fNM], - [ - map(n1, _NM, 0, 0, 128 | 0), - [ - map(n1, _NM, 0, 0, 128 | 0), - { - [_xF]: 1, - }, - ], - ] -); -export var StructureListMember = struct( - n1, - _SLMt, - 0, - [_a, _b_], - [ - [ - 0, - { - [_xN]: _v, - }, - ], - [ - 0, - { - [_xN]: _o, - }, - ], - ] -); -export var XmlEmptyListsRequest = struct( - n1, - _XELR, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n0, _NSL, 0, 64 | 0), - [ - () => RenamedListMembers, - { - [_xN]: _r, - }, - ], - [ - () => RenamedListMembers, - { - [_xF]: 1, - }, - ], - [ - () => RenamedListMembers, - { - [_xN]: _cN, - [_xF]: 1, - }, - ], - [ - () => ListWithMemberNamespace, - { - [_xF]: 1, - }, - ], - [ - () => ListWithNamespace, - { - [_xF]: 1, - }, - ], - [ - () => StructureList, - { - [_xN]: _mSL, - }, - ], - [ - () => StructureList, - { - [_xF]: 1, - }, - ], - ] -); -export var XmlEmptyListsResponse = struct( - n1, - _XELRm, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n0, _NSL, 0, 64 | 0), - [ - () => RenamedListMembers, - { - [_xN]: _r, - }, - ], - [ - () => RenamedListMembers, - { - [_xF]: 1, - }, - ], - [ - () => RenamedListMembers, - { - [_xN]: _cN, - [_xF]: 1, - }, - ], - [ - () => ListWithMemberNamespace, - { - [_xF]: 1, - }, - ], - [ - () => ListWithNamespace, - { - [_xF]: 1, - }, - ], - [ - () => StructureList, - { - [_xN]: _mSL, - }, - ], - [ - () => StructureList, - { - [_xF]: 1, - }, - ], - ] -); -export var XmlEnumsRequest = struct( - n1, - _XER, - 0, - [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], - [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] -); -export var XmlEnumsResponse = struct( - n1, - _XERm, - 0, - [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], - [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] -); -export var XmlIntEnumsRequest = struct( - n1, - _XIER, - 0, - [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], - [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] -); -export var XmlIntEnumsResponse = struct( - n1, - _XIERm, - 0, - [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], - [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] -); -export var XmlListsRequest = struct( - n1, - _XLR, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n0, _NSL, 0, 64 | 0), - [ - () => RenamedListMembers, - { - [_xN]: _r, - }, - ], - [ - () => RenamedListMembers, - { - [_xF]: 1, - }, - ], - [ - () => RenamedListMembers, - { - [_xN]: _cN, - [_xF]: 1, - }, - ], - [ - () => ListWithMemberNamespace, - { - [_xF]: 1, - }, - ], - [ - () => ListWithNamespace, - { - [_xF]: 1, - }, - ], - [ - () => StructureList, - { - [_xN]: _mSL, - }, - ], - [ - () => StructureList, - { - [_xF]: 1, - }, - ], - ] -); -export var XmlListsResponse = struct( - n1, - _XLRm, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], - [ - 64 | 0, - 64 | 0, - 64 | 1, - 64 | 2, - 64 | 4, - 64 | 0, - 64 | 1, - list(n0, _NSL, 0, 64 | 0), - [ - () => RenamedListMembers, - { - [_xN]: _r, - }, - ], - [ - () => RenamedListMembers, - { - [_xF]: 1, - }, - ], - [ - () => RenamedListMembers, - { - [_xN]: _cN, - [_xF]: 1, - }, - ], - [ - () => ListWithMemberNamespace, - { - [_xF]: 1, - }, - ], - [ - () => ListWithNamespace, - { - [_xF]: 1, - }, - ], - [ - () => StructureList, - { - [_xN]: _mSL, - }, - ], - [ - () => StructureList, - { - [_xF]: 1, - }, - ], - ] -); -export var Unit = "unit" as const; - -export var ListWithMemberNamespace = list( - n1, - _LWMN, - { - [_xNm]: [_, _hl], - }, - [ - 0, - { - [_xNm]: [_, _hm_], - }, - ] -); -export var ListWithNamespace = list( - n1, - _LWN, - { - [_xNm]: [_, _hl], - }, - 0 -); -export var RenamedListMembers = list(n1, _RLM, 0, [ - 0, - { - [_xN]: _it, - }, -]); -export var StructureList = list(n1, _SLt, 0, [ - () => StructureListMember, - { - [_xN]: _it, - }, -]); -export var BooleanList = 64 | 2; - -export var DoubleList = 64 | 1; - -export var FooEnumList = 64 | 0; - -export var FooEnumSet = 64 | 0; - -export var IntegerEnumList = 64 | 1; - -export var IntegerEnumSet = 64 | 1; - -export var IntegerList = 64 | 1; - -export var IntegerSet = 64 | 1; - -export var NestedStringList = list(n0, _NSL, 0, 64 | 0); -export var StringSet = 64 | 0; - -export var TimestampList = 64 | 4; - -export var NestedMap = map(n1, _NM, 0, 0, 128 | 0); -export var FooEnumMap = 128 | 0; - -export var IntegerEnumMap = 128 | 1; - -export var AllQueryStringTypes = op( - n1, - _AQST, - { - [_http_]: ["GET", "/AllQueryStringTypesInput", 200], - }, - () => AllQueryStringTypesInput, - () => Unit -); -export var FlattenedXmlMap = op( - n1, - _FXM, - { - [_http_]: ["POST", "/FlattenedXmlMap", 200], - }, - () => FlattenedXmlMapRequest, - () => FlattenedXmlMapResponse -); -export var HttpEnumPayload = op( - n1, - _HEP, - { - [_http_]: ["POST", "/EnumPayload", 200], - }, - () => EnumPayloadInput, - () => EnumPayloadInput -); -export var InputAndOutputWithHeaders = op( - n1, - _IAOWH, - { - [_http_]: ["POST", "/InputAndOutputWithHeaders", 200], - }, - () => InputAndOutputWithHeadersIO, - () => InputAndOutputWithHeadersIO -); -export var NestedXmlMaps = op( - n1, - _NXM, - { - [_http_]: ["POST", "/NestedXmlMaps", 200], - }, - () => NestedXmlMapsRequest, - () => NestedXmlMapsResponse -); -export var XmlEmptyLists = op( - n1, - _XEL, - { - [_http_]: ["PUT", "/XmlEmptyLists", 200], - }, - () => XmlEmptyListsRequest, - () => XmlEmptyListsResponse -); -export var XmlEnums = op( - n1, - _XEm, - { - [_http_]: ["PUT", "/XmlEnums", 200], - }, - () => XmlEnumsRequest, - () => XmlEnumsResponse -); -export var XmlIntEnums = op( - n1, - _XIE, - { - [_http_]: ["PUT", "/XmlIntEnums", 200], - }, - () => XmlIntEnumsRequest, - () => XmlIntEnumsResponse -); -export var XmlLists = op( - n1, - _XLm, - { - [_http_]: ["PUT", "/XmlLists", 200], - }, - () => XmlListsRequest, - () => XmlListsResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_40_HttpPayloadWithXmlNamespaceAndPrefix.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_40_HttpPayloadWithXmlNamespaceAndPrefix.ts deleted file mode 100644 index a81c8884114f..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_40_HttpPayloadWithXmlNamespaceAndPrefix.ts +++ /dev/null @@ -1,32 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _b, _HPWXNAP, _HPWXNAPIO, _ht, _http_, _n, _na, _PWXNAP, _xNm, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var HttpPayloadWithXmlNamespaceAndPrefixInputOutput = struct( - n1, - _HPWXNAPIO, - 0, - [_n], - [[() => PayloadWithXmlNamespaceAndPrefix, 16]] -); -export var PayloadWithXmlNamespaceAndPrefix = struct( - n1, - _PWXNAP, - { - [_xNm]: [_b, _ht], - }, - [_na], - [0] -); -export var HttpPayloadWithXmlNamespaceAndPrefix = op( - n1, - _HPWXNAP, - { - [_http_]: ["PUT", "/HttpPayloadWithXmlNamespaceAndPrefix", 200], - }, - () => HttpPayloadWithXmlNamespaceAndPrefixInputOutput, - () => HttpPayloadWithXmlNamespaceAndPrefixInputOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_4_FlattenedXmlMapWithXmlName.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_4_FlattenedXmlMapWithXmlName.ts deleted file mode 100644 index c1d5e2fccbed..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_4_FlattenedXmlMapWithXmlName.ts +++ /dev/null @@ -1,63 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { _FXMWXN, _FXMWXNIOM, _FXMWXNR, _FXMWXNRl, _http_, _K, _KVP, _mM, _V, _xF, _xN, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var FlattenedXmlMapWithXmlNameRequest = struct( - n1, - _FXMWXNR, - 0, - [_mM], - [ - [ - () => FlattenedXmlMapWithXmlNameInputOutputMap, - { - [_xN]: _KVP, - [_xF]: 1, - }, - ], - ] -); -export var FlattenedXmlMapWithXmlNameResponse = struct( - n1, - _FXMWXNRl, - 0, - [_mM], - [ - [ - () => FlattenedXmlMapWithXmlNameInputOutputMap, - { - [_xN]: _KVP, - [_xF]: 1, - }, - ], - ] -); -export var FlattenedXmlMapWithXmlNameInputOutputMap = map( - n1, - _FXMWXNIOM, - 0, - [ - 0, - { - [_xN]: _K, - }, - ], - [ - 0, - { - [_xN]: _V, - }, - ] -); -export var FlattenedXmlMapWithXmlName = op( - n1, - _FXMWXN, - { - [_http_]: ["POST", "/FlattenedXmlMapWithXmlName", 200], - }, - () => FlattenedXmlMapWithXmlNameRequest, - () => FlattenedXmlMapWithXmlNameResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_5_With.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_5_With.ts deleted file mode 100644 index f7c25077a3ea..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_5_With.ts +++ /dev/null @@ -1,27 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _do, _fl, _HRWFL, _HRWFLI, _http_, n1 } from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var HttpRequestWithFloatLabelsInput = struct( - n1, - _HRWFLI, - 0, - [_fl, _do], - [ - [1, 1], - [1, 1], - ] -); -export var HttpRequestWithFloatLabels = op( - n1, - _HRWFL, - { - [_http_]: ["GET", "/FloatHttpLabels/{float}/{double}", 200], - }, - () => HttpRequestWithFloatLabelsInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_6_Maps.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_6_Maps.ts deleted file mode 100644 index 8eebf1c6b652..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_6_Maps.ts +++ /dev/null @@ -1,80 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { - _At, - _GS, - _hi, - _http_, - _mM, - _Se, - _XEM, - _XEMR, - _XEMRm, - _XM, - _XMIOM, - _XMR, - _XMRm, - _XMXN, - _XMXNIOM, - _XMXNR, - _XMXNRm, - _xN, - n0, - n1, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var XmlEmptyMapsRequest = struct(n1, _XEMR, 0, [_mM], [() => XmlMapsInputOutputMap]); -export var XmlEmptyMapsResponse = struct(n1, _XEMRm, 0, [_mM], [() => XmlMapsInputOutputMap]); -export var XmlMapsRequest = struct(n1, _XMR, 0, [_mM], [() => XmlMapsInputOutputMap]); -export var XmlMapsResponse = struct(n1, _XMRm, 0, [_mM], [() => XmlMapsInputOutputMap]); -export var XmlMapsXmlNameRequest = struct(n1, _XMXNR, 0, [_mM], [[() => XmlMapsXmlNameInputOutputMap, 0]]); -export var XmlMapsXmlNameResponse = struct(n1, _XMXNRm, 0, [_mM], [[() => XmlMapsXmlNameInputOutputMap, 0]]); -export var GreetingStruct = struct(n0, _GS, 0, [_hi], [0]); -export var XmlMapsInputOutputMap = map(n1, _XMIOM, 0, 0, () => GreetingStruct); -export var XmlMapsXmlNameInputOutputMap = map( - n1, - _XMXNIOM, - 0, - [ - 0, - { - [_xN]: _At, - }, - ], - [ - () => GreetingStruct, - { - [_xN]: _Se, - }, - ] -); -export var XmlEmptyMaps = op( - n1, - _XEM, - { - [_http_]: ["POST", "/XmlEmptyMaps", 200], - }, - () => XmlEmptyMapsRequest, - () => XmlEmptyMapsResponse -); -export var XmlMaps = op( - n1, - _XM, - { - [_http_]: ["POST", "/XmlMaps", 200], - }, - () => XmlMapsRequest, - () => XmlMapsResponse -); -export var XmlMapsXmlName = op( - n1, - _XMXN, - { - [_http_]: ["POST", "/XmlMapsXmlName", 200], - }, - () => XmlMapsXmlNameRequest, - () => XmlMapsXmlNameResponse -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_7_Headers.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_7_Headers.ts deleted file mode 100644 index 69a90004fabb..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_7_Headers.ts +++ /dev/null @@ -1,100 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { - _a, - _b_, - _c_, - _co, - _f, - _hH, - _hQ, - _http_, - _NAEHC, - _NAEHIO, - _NAEHS, - _q, - _QPASLM, - _QPASLMI, - _SLM, - _XA, - _XB____, - _XC, - n0, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var NullAndEmptyHeadersIO = struct( - n1, - _NAEHIO, - 0, - [_a, _b_, _c_], - [ - [ - 0, - { - [_hH]: _XA, - }, - ], - [ - 0, - { - [_hH]: _XB____, - }, - ], - [ - 64 | 0, - { - [_hH]: _XC, - }, - ], - ] -); -export var QueryParamsAsStringListMapInput = struct( - n1, - _QPASLMI, - 0, - [_q, _f], - [ - [ - 0, - { - [_hQ]: _co, - }, - ], - [map(n0, _SLM, 0, 0, 64 | 0), 64], - ] -); -export var StringList = 64 | 0; - -export var StringListMap = map(n0, _SLM, 0, 0, 64 | 0); -export var NullAndEmptyHeadersClient = op( - n1, - _NAEHC, - { - [_http_]: ["GET", "/NullAndEmptyHeadersClient", 200], - }, - () => NullAndEmptyHeadersIO, - () => NullAndEmptyHeadersIO -); -export var NullAndEmptyHeadersServer = op( - n1, - _NAEHS, - { - [_http_]: ["GET", "/NullAndEmptyHeadersServer", 200], - }, - () => NullAndEmptyHeadersIO, - () => NullAndEmptyHeadersIO -); -export var QueryParamsAsStringListMap = op( - n1, - _QPASLM, - { - [_http_]: ["POST", "/StringListMap", 200], - }, - () => QueryParamsAsStringListMapInput, - () => Unit -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_8_GreetingWithErrors.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_8_GreetingWithErrors.ts deleted file mode 100644 index 7c4f23bfa17d..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_8_GreetingWithErrors.ts +++ /dev/null @@ -1,88 +0,0 @@ -// smithy-typescript generated code -import { error, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { ComplexError as __ComplexError, InvalidGreeting as __InvalidGreeting } from "../models/index"; -import { - _c, - _CE, - _CNED, - _e, - _Fo, - _g, - _GWE, - _GWEO, - _H, - _hE, - _hH, - _http_, - _IG, - _M, - _N, - _TLo, - _XG, - _XH, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var ComplexError = error( - n1, - _CE, - { - [_e]: _c, - [_hE]: 403, - }, - [_H, _TLo, _N], - [ - [ - 0, - { - [_hH]: _XH, - }, - ], - 0, - () => ComplexNestedErrorData, - ], - null -); -TypeRegistry.for(n1).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct(n1, _CNED, 0, [_Fo], [0]); -export var GreetingWithErrorsOutput = struct( - n1, - _GWEO, - 0, - [_g], - [ - [ - 0, - { - [_hH]: _XG, - }, - ], - ] -); -export var InvalidGreeting = error( - n1, - _IG, - { - [_e]: _c, - [_hE]: 400, - }, - [_M], - [0], - null -); -TypeRegistry.for(n1).registerError(InvalidGreeting, __InvalidGreeting); - -export var GreetingWithErrors = op( - n1, - _GWE, - { - [_http_]: ["PUT", "/GreetingWithErrors", 200], - }, - () => Unit, - () => GreetingWithErrorsOutput -); diff --git a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_9_FlattenedXmlMapWithXmlNamespace.ts b/private/aws-protocoltests-restxml-schema/src/schemas/schemas_9_FlattenedXmlMapWithXmlNamespace.ts deleted file mode 100644 index 03b6be233dcf..000000000000 --- a/private/aws-protocoltests-restxml-schema/src/schemas/schemas_9_FlattenedXmlMapWithXmlNamespace.ts +++ /dev/null @@ -1,69 +0,0 @@ -// smithy-typescript generated code -import { map, op, struct } from "@smithy/core/schema"; - -import { - _, - _FXMWXNl, - _FXMWXNO, - _FXMWXNOM, - _hk, - _hm, - _http_, - _hv, - _K, - _KVP, - _mM, - _V, - _xF, - _xN, - _xNm, - n1, -} from "./schemas_0"; -import { Unit } from "./schemas_3_Xml"; - -/* eslint no-var: 0 */ - -export var FlattenedXmlMapWithXmlNamespaceOutput = struct( - n1, - _FXMWXNO, - 0, - [_mM], - [ - [ - () => FlattenedXmlMapWithXmlNamespaceOutputMap, - { - [_xN]: _KVP, - [_xF]: 1, - [_xNm]: [_, _hm], - }, - ], - ] -); -export var FlattenedXmlMapWithXmlNamespaceOutputMap = map( - n1, - _FXMWXNOM, - 0, - [ - 0, - { - [_xNm]: [_, _hk], - [_xN]: _K, - }, - ], - [ - 0, - { - [_xNm]: [_, _hv], - [_xN]: _V, - }, - ] -); -export var FlattenedXmlMapWithXmlNamespace = op( - n1, - _FXMWXNl, - { - [_http_]: ["POST", "/FlattenedXmlMapWithXmlNamespace", 200], - }, - () => Unit, - () => FlattenedXmlMapWithXmlNamespaceOutput -); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/EmptyInputOutputCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/EmptyInputOutputCommand.ts index 6ff5e7fb5def..fb4bd02ae38f 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/EmptyInputOutputCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/EmptyInputOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { EmptyStructure } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { EmptyInputOutput } from "../schemas/schemas_2_EmptyInputOutput"; +import { EmptyInputOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/Float16Command.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/Float16Command.ts index 2a22323368eb..a500ff71b8f0 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/Float16Command.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/Float16Command.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { Float16Output } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { Float16 } from "../schemas/schemas_4_"; +import { Float16 } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/FractionalSecondsCommand.ts index cf3aa3777528..7066d3c2126f 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/FractionalSecondsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { FractionalSecondsOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { FractionalSeconds } from "../schemas/schemas_3_FractionalSeconds"; +import { FractionalSeconds } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/GreetingWithErrorsCommand.ts index 27f633b032c2..9c14c7ac1d9d 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/GreetingWithErrorsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GreetingWithErrorsOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { GreetingWithErrors } from "../schemas/schemas_1_Rpc"; +import { GreetingWithErrors } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/NoInputOutputCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/NoInputOutputCommand.ts index 7ef480e720cc..4b3081546d93 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/NoInputOutputCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/NoInputOutputCommand.ts @@ -5,7 +5,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { NoInputOutput } from "../schemas/schemas_5_NoInputOutput"; +import { NoInputOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OperationWithDefaultsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OperationWithDefaultsCommand.ts index c5020a48ebea..dda2730ec757 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OperationWithDefaultsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OperationWithDefaultsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { OperationWithDefaultsInput, OperationWithDefaultsOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { OperationWithDefaults } from "../schemas/schemas_1_Rpc"; +import { OperationWithDefaults } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OptionalInputOutputCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OptionalInputOutputCommand.ts index f702c6b312ec..52388670dd00 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OptionalInputOutputCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/OptionalInputOutputCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleStructure } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { OptionalInputOutput } from "../schemas/schemas_1_Rpc"; +import { OptionalInputOutput } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RecursiveShapesCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RecursiveShapesCommand.ts index 4e29fb278982..c01e9261ac8d 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RecursiveShapesCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RecursiveShapesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RecursiveShapesInputOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { RecursiveShapes } from "../schemas/schemas_1_Rpc"; +import { RecursiveShapes } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborDenseMapsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborDenseMapsCommand.ts index 7a75758a95ed..23eb9262f197 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborDenseMapsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborDenseMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RpcV2CborDenseMapsInputOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { RpcV2CborDenseMaps } from "../schemas/schemas_1_Rpc"; +import { RpcV2CborDenseMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborListsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborListsCommand.ts index eba2c4a657df..0e548e851b53 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborListsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborListsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RpcV2CborListInputOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { RpcV2CborLists } from "../schemas/schemas_1_Rpc"; +import { RpcV2CborLists } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborSparseMapsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborSparseMapsCommand.ts index dee04d53a57a..684775b24e64 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborSparseMapsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/RpcV2CborSparseMapsCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RpcV2CborSparseMapsInputOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { RpcV2CborSparseMaps } from "../schemas/schemas_1_Rpc"; +import { RpcV2CborSparseMaps } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SimpleScalarPropertiesCommand.ts index 554e6224ada5..a79ffd132e8b 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SimpleScalarPropertiesCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SimpleScalarStructure } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { SimpleScalarProperties } from "../schemas/schemas_1_Rpc"; +import { SimpleScalarProperties } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SparseNullsOperationCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SparseNullsOperationCommand.ts index 0b973436b049..de38eda10bec 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SparseNullsOperationCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/commands/SparseNullsOperationCommand.ts @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { SparseNullsOperationInputOutput } from "../models/models_0"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; -import { SparseNullsOperation } from "../schemas/schemas_1_Rpc"; +import { SparseNullsOperation } from "../schemas/schemas_0"; /** * @public diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_0.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_0.ts index 1946fc6f422f..abf3102437d6 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_0.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_0.ts @@ -131,11 +131,380 @@ export const n1 = "smithy.protocoltests.rpcv2Cbor"; export const n2 = "smithy.protocoltests.shared"; // smithy-typescript generated code -import { error, TypeRegistry } from "@smithy/core/schema"; +import { TypeRegistry } from "@smithy/core/schema"; +import { + StaticErrorSchema, + StaticListSchema, + StaticMapSchema, + StaticOperationSchema, + StaticStructureSchema, +} from "@smithy/types"; +import { + ComplexError as __ComplexError, + InvalidGreeting as __InvalidGreeting, + ValidationException as __ValidationException, +} from "../models/index"; import { RpcV2ProtocolServiceException as __RpcV2ProtocolServiceException } from "../models/RpcV2ProtocolServiceException"; /* eslint no-var: 0 */ -export var RpcV2ProtocolServiceException = error(_sC, "RpcV2ProtocolServiceException", 0, [], [], null); +export var Unit = "unit" as const; + +export var ValidationException: StaticErrorSchema = [ + -3, + n0, + _VE, + { + [_e]: _c, + }, + [_m, _fL], + [0, () => ValidationExceptionFieldList], +]; +TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); + +export var ValidationExceptionField: StaticStructureSchema = [3, n0, _VEF, 0, [_p, _m], [0, 0]]; +export var ClientOptionalDefaults: StaticStructureSchema = [3, n1, _COD, 0, [_me], [1]]; +export var ComplexError: StaticErrorSchema = [ + -3, + n1, + _CE, + { + [_e]: _c, + }, + [_TL, _N], + [0, () => ComplexNestedErrorData], +]; +TypeRegistry.for(n1).registerError(ComplexError, __ComplexError); + +export var ComplexNestedErrorData: StaticStructureSchema = [3, n1, _CNED, 0, [_F], [0]]; +export var Defaults: StaticStructureSchema = [ + 3, + n1, + _D, + 0, + [ + _dS, + _dB, + _dL, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1], +]; +export var EmptyStructure: StaticStructureSchema = [3, n1, _ES, 0, [], []]; +export var Float16Output: StaticStructureSchema = [3, n1, _FO, 0, [_v], [1]]; +export var FractionalSecondsOutput: StaticStructureSchema = [3, n1, _FSO, 0, [_d], [5]]; +export var GreetingWithErrorsOutput: StaticStructureSchema = [3, n1, _GWEO, 0, [_g], [0]]; +export var InvalidGreeting: StaticErrorSchema = [ + -3, + n1, + _IG, + { + [_e]: _c, + }, + [_M], + [0], +]; +TypeRegistry.for(n1).registerError(InvalidGreeting, __InvalidGreeting); + +export var OperationWithDefaultsInput: StaticStructureSchema = [ + 3, + n1, + _OWDI, + 0, + [_de, _cOD, _tLD, _oTLD], + [() => Defaults, () => ClientOptionalDefaults, 0, 1], +]; +export var OperationWithDefaultsOutput: StaticStructureSchema = [ + 3, + n1, + _OWDO, + 0, + [ + _dS, + _dB, + _dL, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1], +]; +export var RecursiveShapesInputOutput: StaticStructureSchema = [ + 3, + n1, + _RSIO, + 0, + [_n], + [() => RecursiveShapesInputOutputNested1], +]; +export var RecursiveShapesInputOutputNested1: StaticStructureSchema = [ + 3, + n1, + _RSION, + 0, + [_f, _n], + [0, () => RecursiveShapesInputOutputNested2], +]; +export var RecursiveShapesInputOutputNested2: StaticStructureSchema = [ + 3, + n1, + _RSIONe, + 0, + [_b, _rM], + [0, () => RecursiveShapesInputOutputNested1], +]; +export var RpcV2CborDenseMapsInputOutput: StaticStructureSchema = [ + 3, + n1, + _RVCDMIO, + 0, + [_dSM, _dNM, _dBM, _dSMe, _dSMen], + [() => DenseStructMap, 128 | 1, 128 | 2, 128 | 0, [2, n1, _DSM, 0, 64 | 0] as StaticMapSchema], +]; +export var RpcV2CborListInputOutput: StaticStructureSchema = [ + 3, + n1, + _RVCLIO, + 0, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _sLt, _bLl], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + [1, n2, _NSL, 0, 64 | 0] as StaticListSchema, + () => StructureList, + 64 | 21, + ], +]; +export var RpcV2CborSparseMapsInputOutput: StaticStructureSchema = [ + 3, + n1, + _RVCSMIO, + 0, + [_sSM, _sNM, _sBM, _sSMp, _sSMpa], + [ + [() => SparseStructMap, 0], + [() => SparseNumberMap, 0], + [() => SparseBooleanMap, 0], + [() => SparseStringMap, 0], + [() => SparseSetMap, 0], + ], +]; +export var SimpleScalarStructure: StaticStructureSchema = [ + 3, + n1, + _SSS, + 0, + [_tBV, _fBV, _bV, _dV, _fV, _iV, _lV, _sV, _sVt, _bVl], + [2, 2, 1, 1, 1, 1, 1, 1, 0, 21], +]; +export var SimpleStructure: StaticStructureSchema = [3, n1, _SS, 0, [_v], [0]]; +export var SparseNullsOperationInputOutput: StaticStructureSchema = [ + 3, + n1, + _SNOIO, + 0, + [_sSL, _sSMp], + [ + [() => SparseStringList, 0], + [() => SparseStringMap, 0], + ], +]; +export var StructureListMember: StaticStructureSchema = [3, n1, _SLM, 0, [_a, _b_], [0, 0]]; +export var GreetingStruct: StaticStructureSchema = [3, n2, _GS, 0, [_h], [0]]; +export var RpcV2ProtocolServiceException: StaticErrorSchema = [-3, _sC, "RpcV2ProtocolServiceException", 0, [], []]; TypeRegistry.for(_sC).registerError(RpcV2ProtocolServiceException, __RpcV2ProtocolServiceException); + +export var ValidationExceptionFieldList: StaticListSchema = [1, n0, _VEFL, 0, () => ValidationExceptionField]; +export var StructureList: StaticListSchema = [1, n1, _SL, 0, () => StructureListMember]; +export var TestStringList = 64 | 0; + +export var BlobList = 64 | 21; + +export var BooleanList = 64 | 2; + +export var FooEnumList = 64 | 0; + +export var IntegerEnumList = 64 | 1; + +export var IntegerList = 64 | 1; + +export var NestedStringList: StaticListSchema = [1, n2, _NSL, 0, 64 | 0]; +export var SparseStringList: StaticListSchema = [ + 1, + n2, + _SSL, + { + [_s]: 1, + }, + 0, +]; +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var DenseBooleanMap = 128 | 2; + +export var DenseNumberMap = 128 | 1; + +export var DenseSetMap: StaticMapSchema = [2, n1, _DSM, 0, 0, 64 | 0]; +export var DenseStringMap = 128 | 0; + +export var DenseStructMap: StaticMapSchema = [2, n1, _DSMe, 0, 0, () => GreetingStruct]; +export var SparseBooleanMap: StaticMapSchema = [ + 2, + n1, + _SBM, + { + [_s]: 1, + }, + 0, + 2, +]; +export var SparseNumberMap: StaticMapSchema = [ + 2, + n1, + _SNM, + { + [_s]: 1, + }, + 0, + 1, +]; +export var SparseSetMap: StaticMapSchema = [ + 2, + n1, + _SSM, + { + [_s]: 1, + }, + 0, + 64 | 0, +]; +export var SparseStructMap: StaticMapSchema = [ + 2, + n1, + _SSMp, + { + [_s]: 1, + }, + 0, + () => GreetingStruct, +]; +export var TestStringMap = 128 | 0; + +export var SparseStringMap: StaticMapSchema = [ + 2, + n2, + _SSMpa, + { + [_s]: 1, + }, + 0, + 0, +]; +export var EmptyInputOutput: StaticOperationSchema = [9, n1, _EIO, 0, () => EmptyStructure, () => EmptyStructure]; +export var Float16: StaticOperationSchema = [9, n1, _Fl, 0, () => Unit, () => Float16Output]; +export var FractionalSeconds: StaticOperationSchema = [9, n1, _FS, 0, () => Unit, () => FractionalSecondsOutput]; +export var GreetingWithErrors: StaticOperationSchema = [9, n1, _GWE, 2, () => Unit, () => GreetingWithErrorsOutput]; +export var NoInputOutput: StaticOperationSchema = [9, n1, _NIO, 0, () => Unit, () => Unit]; +export var OperationWithDefaults: StaticOperationSchema = [ + 9, + n1, + _OWD, + 0, + () => OperationWithDefaultsInput, + () => OperationWithDefaultsOutput, +]; +export var OptionalInputOutput: StaticOperationSchema = [9, n1, _OIO, 0, () => SimpleStructure, () => SimpleStructure]; +export var RecursiveShapes: StaticOperationSchema = [ + 9, + n1, + _RS, + 0, + () => RecursiveShapesInputOutput, + () => RecursiveShapesInputOutput, +]; +export var RpcV2CborDenseMaps: StaticOperationSchema = [ + 9, + n1, + _RVCDM, + 0, + () => RpcV2CborDenseMapsInputOutput, + () => RpcV2CborDenseMapsInputOutput, +]; +export var RpcV2CborLists: StaticOperationSchema = [ + 9, + n1, + _RVCL, + 2, + () => RpcV2CborListInputOutput, + () => RpcV2CborListInputOutput, +]; +export var RpcV2CborSparseMaps: StaticOperationSchema = [ + 9, + n1, + _RVCSM, + 0, + () => RpcV2CborSparseMapsInputOutput, + () => RpcV2CborSparseMapsInputOutput, +]; +export var SimpleScalarProperties: StaticOperationSchema = [ + 9, + n1, + _SSP, + 0, + () => SimpleScalarStructure, + () => SimpleScalarStructure, +]; +export var SparseNullsOperation: StaticOperationSchema = [ + 9, + n1, + _SNO, + 0, + () => SparseNullsOperationInputOutput, + () => SparseNullsOperationInputOutput, +]; diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_1_Rpc.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_1_Rpc.ts deleted file mode 100644 index 2516f16a74e1..000000000000 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_1_Rpc.ts +++ /dev/null @@ -1,455 +0,0 @@ -// smithy-typescript generated code -import { error, list, map, op, struct, TypeRegistry } from "@smithy/core/schema"; - -import { - ComplexError as __ComplexError, - InvalidGreeting as __InvalidGreeting, - ValidationException as __ValidationException, -} from "../models/index"; -import { - _a, - _b, - _b_, - _bL, - _bLl, - _bV, - _bVl, - _c, - _CE, - _CNED, - _COD, - _cOD, - _D, - _dB, - _dBe, - _dBef, - _dBM, - _dD, - _dE, - _de, - _dF, - _dI, - _dIE, - _dL, - _dLe, - _dM, - _dNM, - _dS, - _dSe, - _DSM, - _dSM, - _DSMe, - _dSMe, - _dSMen, - _dT, - _dV, - _e, - _eB, - _eL, - _eS, - _F, - _f, - _fB, - _fBV, - _fL, - _fV, - _g, - _GS, - _GWE, - _GWEO, - _h, - _iEL, - _IG, - _iL, - _iV, - _lV, - _M, - _m, - _me, - _N, - _n, - _NSL, - _nSL, - _OIO, - _oTLD, - _OWD, - _OWDI, - _OWDO, - _p, - _rM, - _RS, - _RSIO, - _RSION, - _RSIONe, - _RVCDM, - _RVCDMIO, - _RVCL, - _RVCLIO, - _RVCSM, - _RVCSMIO, - _s, - _SBM, - _sBM, - _SL, - _sL, - _SLM, - _sLt, - _SNM, - _sNM, - _SNO, - _SNOIO, - _SS, - _sS, - _SSL, - _sSL, - _SSM, - _sSM, - _SSMp, - _sSMp, - _SSMpa, - _sSMpa, - _SSP, - _SSS, - _sV, - _sVt, - _tBV, - _TL, - _tL, - _tLD, - _v, - _VE, - _VEF, - _VEFL, - _zB, - _zD, - _zF, - _zI, - _zL, - _zS, - n0, - n1, - n2, -} from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var Unit = "unit" as const; - -export var ValidationException = error( - n0, - _VE, - { - [_e]: _c, - }, - [_m, _fL], - [0, () => ValidationExceptionFieldList], - null -); -TypeRegistry.for(n0).registerError(ValidationException, __ValidationException); - -export var ValidationExceptionField = struct(n0, _VEF, 0, [_p, _m], [0, 0]); -export var ClientOptionalDefaults = struct(n1, _COD, 0, [_me], [1]); -export var ComplexError = error( - n1, - _CE, - { - [_e]: _c, - }, - [_TL, _N], - [0, () => ComplexNestedErrorData], - null -); -TypeRegistry.for(n1).registerError(ComplexError, __ComplexError); - -export var ComplexNestedErrorData = struct(n1, _CNED, 0, [_F], [0]); -export var Defaults = struct( - n1, - _D, - 0, - [ - _dS, - _dB, - _dL, - _dT, - _dBe, - _dBef, - _dSe, - _dI, - _dLe, - _dF, - _dD, - _dM, - _dE, - _dIE, - _eS, - _fB, - _eB, - _zB, - _zS, - _zI, - _zL, - _zF, - _zD, - ], - [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] -); -export var GreetingWithErrorsOutput = struct(n1, _GWEO, 0, [_g], [0]); -export var InvalidGreeting = error( - n1, - _IG, - { - [_e]: _c, - }, - [_M], - [0], - null -); -TypeRegistry.for(n1).registerError(InvalidGreeting, __InvalidGreeting); - -export var OperationWithDefaultsInput = struct( - n1, - _OWDI, - 0, - [_de, _cOD, _tLD, _oTLD], - [() => Defaults, () => ClientOptionalDefaults, 0, 1] -); -export var OperationWithDefaultsOutput = struct( - n1, - _OWDO, - 0, - [ - _dS, - _dB, - _dL, - _dT, - _dBe, - _dBef, - _dSe, - _dI, - _dLe, - _dF, - _dD, - _dM, - _dE, - _dIE, - _eS, - _fB, - _eB, - _zB, - _zS, - _zI, - _zL, - _zF, - _zD, - ], - [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] -); -export var RecursiveShapesInputOutput = struct(n1, _RSIO, 0, [_n], [() => RecursiveShapesInputOutputNested1]); -export var RecursiveShapesInputOutputNested1 = struct( - n1, - _RSION, - 0, - [_f, _n], - [0, () => RecursiveShapesInputOutputNested2] -); -export var RecursiveShapesInputOutputNested2 = struct( - n1, - _RSIONe, - 0, - [_b, _rM], - [0, () => RecursiveShapesInputOutputNested1] -); -export var RpcV2CborDenseMapsInputOutput = struct( - n1, - _RVCDMIO, - 0, - [_dSM, _dNM, _dBM, _dSMe, _dSMen], - [() => DenseStructMap, 128 | 1, 128 | 2, 128 | 0, map(n1, _DSM, 0, 0, 64 | 0)] -); -export var RpcV2CborListInputOutput = struct( - n1, - _RVCLIO, - 0, - [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _sLt, _bLl], - [64 | 0, 64 | 0, 64 | 1, 64 | 2, 64 | 4, 64 | 0, 64 | 1, list(n2, _NSL, 0, 64 | 0), () => StructureList, 64 | 21] -); -export var RpcV2CborSparseMapsInputOutput = struct( - n1, - _RVCSMIO, - 0, - [_sSM, _sNM, _sBM, _sSMp, _sSMpa], - [ - [() => SparseStructMap, 0], - [() => SparseNumberMap, 0], - [() => SparseBooleanMap, 0], - [() => SparseStringMap, 0], - [() => SparseSetMap, 0], - ] -); -export var SimpleScalarStructure = struct( - n1, - _SSS, - 0, - [_tBV, _fBV, _bV, _dV, _fV, _iV, _lV, _sV, _sVt, _bVl], - [2, 2, 1, 1, 1, 1, 1, 1, 0, 21] -); -export var SimpleStructure = struct(n1, _SS, 0, [_v], [0]); -export var SparseNullsOperationInputOutput = struct( - n1, - _SNOIO, - 0, - [_sSL, _sSMp], - [ - [() => SparseStringList, 0], - [() => SparseStringMap, 0], - ] -); -export var StructureListMember = struct(n1, _SLM, 0, [_a, _b_], [0, 0]); -export var GreetingStruct = struct(n2, _GS, 0, [_h], [0]); -export var ValidationExceptionFieldList = list(n0, _VEFL, 0, () => ValidationExceptionField); -export var StructureList = list(n1, _SL, 0, () => StructureListMember); -export var TestStringList = 64 | 0; - -export var BlobList = 64 | 21; - -export var BooleanList = 64 | 2; - -export var FooEnumList = 64 | 0; - -export var IntegerEnumList = 64 | 1; - -export var IntegerList = 64 | 1; - -export var NestedStringList = list(n2, _NSL, 0, 64 | 0); -export var SparseStringList = list( - n2, - _SSL, - { - [_s]: 1, - }, - 0 -); -export var StringList = 64 | 0; - -export var StringSet = 64 | 0; - -export var TimestampList = 64 | 4; - -export var DenseBooleanMap = 128 | 2; - -export var DenseNumberMap = 128 | 1; - -export var DenseSetMap = map(n1, _DSM, 0, 0, 64 | 0); -export var DenseStringMap = 128 | 0; - -export var DenseStructMap = map(n1, _DSMe, 0, 0, () => GreetingStruct); -export var SparseBooleanMap = map( - n1, - _SBM, - { - [_s]: 1, - }, - 0, - 2 -); -export var SparseNumberMap = map( - n1, - _SNM, - { - [_s]: 1, - }, - 0, - 1 -); -export var SparseSetMap = map( - n1, - _SSM, - { - [_s]: 1, - }, - 0, - 64 | 0 -); -export var SparseStructMap = map( - n1, - _SSMp, - { - [_s]: 1, - }, - 0, - () => GreetingStruct -); -export var TestStringMap = 128 | 0; - -export var SparseStringMap = map( - n2, - _SSMpa, - { - [_s]: 1, - }, - 0, - 0 -); -export var GreetingWithErrors = op( - n1, - _GWE, - 2, - () => Unit, - () => GreetingWithErrorsOutput -); -export var OperationWithDefaults = op( - n1, - _OWD, - 0, - () => OperationWithDefaultsInput, - () => OperationWithDefaultsOutput -); -export var OptionalInputOutput = op( - n1, - _OIO, - 0, - () => SimpleStructure, - () => SimpleStructure -); -export var RecursiveShapes = op( - n1, - _RS, - 0, - () => RecursiveShapesInputOutput, - () => RecursiveShapesInputOutput -); -export var RpcV2CborDenseMaps = op( - n1, - _RVCDM, - 0, - () => RpcV2CborDenseMapsInputOutput, - () => RpcV2CborDenseMapsInputOutput -); -export var RpcV2CborLists = op( - n1, - _RVCL, - 2, - () => RpcV2CborListInputOutput, - () => RpcV2CborListInputOutput -); -export var RpcV2CborSparseMaps = op( - n1, - _RVCSM, - 0, - () => RpcV2CborSparseMapsInputOutput, - () => RpcV2CborSparseMapsInputOutput -); -export var SimpleScalarProperties = op( - n1, - _SSP, - 0, - () => SimpleScalarStructure, - () => SimpleScalarStructure -); -export var SparseNullsOperation = op( - n1, - _SNO, - 0, - () => SparseNullsOperationInputOutput, - () => SparseNullsOperationInputOutput -); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_2_EmptyInputOutput.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_2_EmptyInputOutput.ts deleted file mode 100644 index bbdc022a6f06..000000000000 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_2_EmptyInputOutput.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _EIO, _ES, n1 } from "./schemas_0"; - -/* eslint no-var: 0 */ - -export var EmptyStructure = struct(n1, _ES, 0, [], []); -export var EmptyInputOutput = op( - n1, - _EIO, - 0, - () => EmptyStructure, - () => EmptyStructure -); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_3_FractionalSeconds.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_3_FractionalSeconds.ts deleted file mode 100644 index 715bee1870bf..000000000000 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_3_FractionalSeconds.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _d, _FS, _FSO, n1 } from "./schemas_0"; -import { Unit } from "./schemas_1_Rpc"; - -/* eslint no-var: 0 */ - -export var FractionalSecondsOutput = struct(n1, _FSO, 0, [_d], [5]); -export var FractionalSeconds = op( - n1, - _FS, - 0, - () => Unit, - () => FractionalSecondsOutput -); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_4_.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_4_.ts deleted file mode 100644 index 8a4a36c52d77..000000000000 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_4_.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { op, struct } from "@smithy/core/schema"; - -import { _Fl, _FO, _v, n1 } from "./schemas_0"; -import { Unit } from "./schemas_1_Rpc"; - -/* eslint no-var: 0 */ - -export var Float16Output = struct(n1, _FO, 0, [_v], [1]); -export var Float16 = op( - n1, - _Fl, - 0, - () => Unit, - () => Float16Output -); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_5_NoInputOutput.ts b/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_5_NoInputOutput.ts deleted file mode 100644 index 8c0796e76fcb..000000000000 --- a/private/aws-protocoltests-smithy-rpcv2-cbor-schema/src/schemas/schemas_5_NoInputOutput.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { op } from "@smithy/core/schema"; - -import { _NIO, n1 } from "./schemas_0"; -import { Unit } from "./schemas_1_Rpc"; - -/* eslint no-var: 0 */ - -export var NoInputOutput = op( - n1, - _NIO, - 0, - () => Unit, - () => Unit -);