diff --git a/codegen-output-py/partitioned-types/.smithy-python-manifest.json b/codegen-output-py/partitioned-types/.smithy-python-manifest.json index c844e9ba1..879282d28 100644 --- a/codegen-output-py/partitioned-types/.smithy-python-manifest.json +++ b/codegen-output-py/partitioned-types/.smithy-python-manifest.json @@ -11,7 +11,7 @@ "src/partitioned_types/_private/schemas_1.py": "2bce3f942519e9be029ca6f201a497d63d84abd0e411cfbd2c4bf8f176823c1b", "src/partitioned_types/_private/schemas_2.py": "bd872d9191e56ff5b93c8a7b749a30981f8bc3dfeb8b968658abf55f7263c43e", "src/partitioned_types/models.py": "8c2b0f2d0a149d87a6213112cc12b8e01bac84f7bf73c91f9d5aba63512fcd30", - "src/partitioned_types/models.pyi": "713c888831f64f57c9430b272844fb8680f8c1f133d8c7792009065791397d9b", + "src/partitioned_types/models.pyi": "aba66d8b72e89bb092ccc157ed6662dd089d292d22df80ad4e2632efddb90960", "src/partitioned_types/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" }, "version": 1 diff --git a/codegen-output-py/partitioned-types/src/partitioned_types/models.pyi b/codegen-output-py/partitioned-types/src/partitioned_types/models.pyi index 68f5c1d9e..ded7c7e3b 100644 --- a/codegen-output-py/partitioned-types/src/partitioned_types/models.pyi +++ b/codegen-output-py/partitioned-types/src/partitioned_types/models.pyi @@ -262,6 +262,8 @@ from ._private.models_0 import ( PartitionItem241, RenamedExample, Status, + _EventStreamDeserializer, # pyright: ignore[reportPrivateUsage] + _ExampleValueDeserializer, # pyright: ignore[reportPrivateUsage] ) from ._private.models_1 import ( PartitionItem242, @@ -561,6 +563,8 @@ __all__ = [ "ServiceError", "Status", "Unit", + "_EventStreamDeserializer", + "_ExampleValueDeserializer", ] class _SerdeShape: diff --git a/codegen-output-py/rest-json-1-client/.smithy-python-manifest.json b/codegen-output-py/rest-json-1-client/.smithy-python-manifest.json index dfa0aa1c2..7392aefe3 100644 --- a/codegen-output-py/rest-json-1-client/.smithy-python-manifest.json +++ b/codegen-output-py/rest-json-1-client/.smithy-python-manifest.json @@ -5,19 +5,22 @@ "src/restjson_client/__init__.py": "d4cd63adc5de562e0c477522373b39f8e87e7e01a4da3255b383e5b795389e05", "src/restjson_client/_private/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "src/restjson_client/_private/endpoints.py": "7d515fe771678e82ddbe07798d6b7e48c25c6c9bec19cec9318deb0bc5064ead", - "src/restjson_client/_private/schemas.py": "a7638025cb34d1ea8254995e9752db5c7c1917cc7c081bf8c3b31000e69b3a2e", - "src/restjson_client/_private/schemas_0.py": "13b9a5ae6322b6b9d6f3b7e5c3adee34d7d370f6119461ca0cf8f869bd4135d5", - "src/restjson_client/_private/schemas_1.py": "d04afc174cbe16aae10c61670ceee2961731469d444abd92677d7675315d76a8", - "src/restjson_client/_private/schemas_2.py": "a1bcecc0a0b74cd07c0624473a3aae41ad93c297094f833b09bd9d942e657100", - "src/restjson_client/_private/schemas_3.py": "a680e56c119cfd1145c3f3bfc41e052d1235998651dbfaa06f52d1b44fe1f4a1", + "src/restjson_client/_private/models_0.pyi": "41f61d05702ffb85c24de72af097dfe3031429dd35a89a275a3ff3057c7e71ff", + "src/restjson_client/_private/models_1.pyi": "7e1ced8c2876777fb8b30c013c58e8c1172a905d18cb6ff8b1335eae32fd65b2", + "src/restjson_client/_private/schemas.py": "e4b6a2e3f2bd1a705bd1eb25db6414320894c1a293047ec0d5eca6c23a463a68", + "src/restjson_client/_private/schemas_0.py": "01c7b2bba3056c00b1b5e93ede369e549eb493d5a2f429c08c4e1dca96f606a8", + "src/restjson_client/_private/schemas_1.py": "27c233df5052ce8ccd4ead912317209e33b3f18b01670c95d12dbb69036e5836", + "src/restjson_client/_private/schemas_2.py": "be1dfc098f1968646a2139795b0daf1c6ef6b39a01527e9542bf7023cae23fe9", + "src/restjson_client/_private/schemas_3.py": "cbe2f114fc4d8c9ec2609d74bc07b4f8bbf3aa38bdd873bbb1cfa132e4d657f6", + "src/restjson_client/_private/schemas_4.py": "c901252abb1a40fb3bb52080582823ba622e376c10a690eca607174ba211bb6f", "src/restjson_client/aio/__init__.py": "473fc51fef9cf762ab73c2de65aabd8036c7d440c7884bf017e4a02ad7b41ec5", - "src/restjson_client/aio/client.py": "5781221dccd9fd3ecc3ea9027f4c5548da77db15cc069770d6e7dcb8e2d2b12e", + "src/restjson_client/aio/client.py": "7b69d1bd941d8bf03e2cfdf601068757ae85eba8b3ad96051fd4ff53cce465a2", "src/restjson_client/aio/config.py": "b5eafa46d3cb15f156f17932375ba8f3ceabd0fad1969a8b50bd3110c1e8b668", "src/restjson_client/aio/user_agent.py": "8e6fb66d21c2c5e59ecf31b59db9566fb217d3f95a1af63ddcb47e637613afb9", "src/restjson_client/client.py": "8989d8be150fbd51646f0eaeeeab7f029f677fec9a33713f0d367eaf28c9caac", "src/restjson_client/config.py": "48d53981c5e60fbd8ff8d4fb6e18de0124c6a2f90e43809045d63c32e087349e", - "src/restjson_client/models.py": "a0efc7e2c44d9da698b89372e875a2eb694039f935724c9c4bddcbeb3e82e68a", - "src/restjson_client/models.pyi": "737edd6bc058826260a104dc100161af44b7abeec09c2bb1451927490e007dc3", + "src/restjson_client/models.py": "385631f146f5aa2ead68d7394e363cb0956f7a9227946e758d933e6d8394c0aa", + "src/restjson_client/models.pyi": "31bc49fa16bb75ed0cb2cb8f7faa7eda34e234de42d7e1ced47d25e71080cfe7", "src/restjson_client/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "src/restjson_client/user_agent.py": "694266638801aaf33af2627ee4ff5b8c0d2b55e46de206bbbdcab7cf17d1c9fc" }, diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/models_0.pyi b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/models_0.pyi new file mode 100644 index 000000000..696761d49 --- /dev/null +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/models_0.pyi @@ -0,0 +1,4044 @@ +from collections.abc import Mapping, Sequence +from dataclasses import dataclass +from datetime import datetime +from enum import IntEnum, StrEnum +from typing import Required, TypedDict + +from smithy_core.aio.interfaces import ( + StreamingBlob as _smithy_core_aio_interfaces_StreamingBlob, +) +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.interfaces import ( + StreamingBlob as _smithy_core_interfaces_StreamingBlob, +) +from smithy_core.response import ErrorResponseMetadata, ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + BlobPayloadEvent as ___models_BlobPayloadEvent, +) +from ..models import ( + ClientOptionalDefaults as ___models_ClientOptionalDefaults, +) +from ..models import ( + ClientOptionalDefaultsDict as ___models_ClientOptionalDefaultsDict, +) +from ..models import ( + ComplexNestedErrorData as ___models_ComplexNestedErrorData, +) +from ..models import ( + Defaults as ___models_Defaults, +) +from ..models import ( + DefaultsDict as ___models_DefaultsDict, +) +from ..models import ( + Dialog as ___models_Dialog, +) +from ..models import ( + DialogDict as ___models_DialogDict, +) +from ..models import ( + ErrorEvent as ___models_ErrorEvent, +) +from ..models import ( + EventStream as ___models_EventStream, +) +from ..models import ( + EventStreamBlobPayload as ___models_EventStreamBlobPayload, +) +from ..models import ( + EventStreamError as ___models_EventStreamError, +) +from ..models import ( + EventStreamHeaders as ___models_EventStreamHeaders, +) +from ..models import ( + EventStreamHeadersAndExplicitPayload as ___models_EventStreamHeadersAndExplicitPayload, +) +from ..models import ( + EventStreamHeadersAndImplicitPayload as ___models_EventStreamHeadersAndImplicitPayload, +) +from ..models import ( + EventStreamStringPayload as ___models_EventStreamStringPayload, +) +from ..models import ( + EventStreamStructurePayload as ___models_EventStreamStructurePayload, +) +from ..models import ( + EventStreamUnionPayload as ___models_EventStreamUnionPayload, +) +from ..models import ( + EventStreamUnknown as ___models_EventStreamUnknown, +) +from ..models import ( + Farewell as ___models_Farewell, +) +from ..models import ( + FarewellDict as ___models_FarewellDict, +) +from ..models import ( + GreetingStruct as ___models_GreetingStruct, +) +from ..models import ( + GreetingStructDict as ___models_GreetingStructDict, +) +from ..models import ( + HeadersAndExplicitPayloadEvent as ___models_HeadersAndExplicitPayloadEvent, +) +from ..models import ( + HeadersAndImplicitPayloadEvent as ___models_HeadersAndImplicitPayloadEvent, +) +from ..models import ( + HeadersEvent as ___models_HeadersEvent, +) +from ..models import ( + MyUnion as ___models_MyUnion, +) +from ..models import ( + MyUnionBlobValue as ___models_MyUnionBlobValue, +) +from ..models import ( + MyUnionBlobValueDict as ___models_MyUnionBlobValueDict, +) +from ..models import ( + MyUnionBooleanValue as ___models_MyUnionBooleanValue, +) +from ..models import ( + MyUnionBooleanValueDict as ___models_MyUnionBooleanValueDict, +) +from ..models import ( + MyUnionDict as ___models_MyUnionDict, +) +from ..models import ( + MyUnionEnumValue as ___models_MyUnionEnumValue, +) +from ..models import ( + MyUnionEnumValueDict as ___models_MyUnionEnumValueDict, +) +from ..models import ( + MyUnionListValue as ___models_MyUnionListValue, +) +from ..models import ( + MyUnionListValueDict as ___models_MyUnionListValueDict, +) +from ..models import ( + MyUnionMapValue as ___models_MyUnionMapValue, +) +from ..models import ( + MyUnionMapValueDict as ___models_MyUnionMapValueDict, +) +from ..models import ( + MyUnionNumberValue as ___models_MyUnionNumberValue, +) +from ..models import ( + MyUnionNumberValueDict as ___models_MyUnionNumberValueDict, +) +from ..models import ( + MyUnionRenamedStructureValue as ___models_MyUnionRenamedStructureValue, +) +from ..models import ( + MyUnionRenamedStructureValueDict as ___models_MyUnionRenamedStructureValueDict, +) +from ..models import ( + MyUnionStringValue as ___models_MyUnionStringValue, +) +from ..models import ( + MyUnionStringValueDict as ___models_MyUnionStringValueDict, +) +from ..models import ( + MyUnionStructureValue as ___models_MyUnionStructureValue, +) +from ..models import ( + MyUnionStructureValueDict as ___models_MyUnionStructureValueDict, +) +from ..models import ( + MyUnionTimestampValue as ___models_MyUnionTimestampValue, +) +from ..models import ( + MyUnionTimestampValueDict as ___models_MyUnionTimestampValueDict, +) +from ..models import ( + MyUnionUnionValue as ___models_MyUnionUnionValue, +) +from ..models import ( + MyUnionUnionValueDict as ___models_MyUnionUnionValueDict, +) +from ..models import ( + MyUnionUnknown as ___models_MyUnionUnknown, +) +from ..models import ( + NestedPayload as ___models_NestedPayload, +) +from ..models import ( + NestedPayloadDict as ___models_NestedPayloadDict, +) +from ..models import ( + NestedUnion as ___models_NestedUnion, +) +from ..models import ( + NestedUnionDict as ___models_NestedUnionDict, +) +from ..models import ( + NestedUnionStringValue as ___models_NestedUnionStringValue, +) +from ..models import ( + NestedUnionStringValueDict as ___models_NestedUnionStringValueDict, +) +from ..models import ( + NestedUnionUnknown as ___models_NestedUnionUnknown, +) +from ..models import ( + PayloadStructure as ___models_PayloadStructure, +) +from ..models import ( + PayloadUnion as ___models_PayloadUnion, +) +from ..models import ( + PayloadUnionUnionMember as ___models_PayloadUnionUnionMember, +) +from ..models import ( + PayloadUnionUnknown as ___models_PayloadUnionUnknown, +) +from ..models import ( + PlayerAction as ___models_PlayerAction, +) +from ..models import ( + PlayerActionDict as ___models_PlayerActionDict, +) +from ..models import ( + PlayerActionQuit as ___models_PlayerActionQuit, +) +from ..models import ( + PlayerActionQuitDict as ___models_PlayerActionQuitDict, +) +from ..models import ( + PlayerActionUnknown as ___models_PlayerActionUnknown, +) +from ..models import ( + RecursiveShapesInputOutputNested1 as ___models_RecursiveShapesInputOutputNested1, +) +from ..models import ( + RecursiveShapesInputOutputNested1Dict as ___models_RecursiveShapesInputOutputNested1Dict, +) +from ..models import ( + RecursiveShapesInputOutputNested2 as ___models_RecursiveShapesInputOutputNested2, +) +from ..models import ( + RecursiveShapesInputOutputNested2Dict as ___models_RecursiveShapesInputOutputNested2Dict, +) +from ..models import ( + RenamedGreeting as ___models_RenamedGreeting, +) +from ..models import ( + RenamedGreetingDict as ___models_RenamedGreetingDict, +) +from ..models import ( + ServiceError, + Unit, + UnitDict, + _SerdeShape, # pyright: ignore[reportPrivateUsage] +) +from ..models import ( + SimpleUnion as ___models_SimpleUnion, +) +from ..models import ( + SimpleUnionDict as ___models_SimpleUnionDict, +) +from ..models import ( + SimpleUnionInt as ___models_SimpleUnionInt, +) +from ..models import ( + SimpleUnionIntDict as ___models_SimpleUnionIntDict, +) +from ..models import ( + SimpleUnionString as ___models_SimpleUnionString, +) +from ..models import ( + SimpleUnionStringDict as ___models_SimpleUnionStringDict, +) +from ..models import ( + SimpleUnionUnknown as ___models_SimpleUnionUnknown, +) +from ..models import ( + SingletonEvent as ___models_SingletonEvent, +) +from ..models import ( + SingletonEventStream as ___models_SingletonEventStream, +) +from ..models import ( + SingletonEventStreamSingleton as ___models_SingletonEventStreamSingleton, +) +from ..models import ( + SingletonEventStreamUnknown as ___models_SingletonEventStreamUnknown, +) +from ..models import ( + StringPayloadEvent as ___models_StringPayloadEvent, +) +from ..models import ( + StructureListMember as ___models_StructureListMember, +) +from ..models import ( + StructureListMemberDict as ___models_StructureListMemberDict, +) +from ..models import ( + StructurePayloadEvent as ___models_StructurePayloadEvent, +) +from ..models import ( + TopLevel as ___models_TopLevel, +) +from ..models import ( + TopLevelDict as ___models_TopLevelDict, +) +from ..models import ( + UnionPayload as ___models_UnionPayload, +) +from ..models import ( + UnionPayloadDict as ___models_UnionPayloadDict, +) +from ..models import ( + UnionPayloadEvent as ___models_UnionPayloadEvent, +) +from ..models import ( + UnionPayloadGreeting as ___models_UnionPayloadGreeting, +) +from ..models import ( + UnionPayloadGreetingDict as ___models_UnionPayloadGreetingDict, +) +from ..models import ( + UnionPayloadUnknown as ___models_UnionPayloadUnknown, +) +from ..models import ( + UnionWithJsonName as ___models_UnionWithJsonName, +) +from ..models import ( + UnionWithJsonNameBar as ___models_UnionWithJsonNameBar, +) +from ..models import ( + UnionWithJsonNameBarDict as ___models_UnionWithJsonNameBarDict, +) +from ..models import ( + UnionWithJsonNameBaz as ___models_UnionWithJsonNameBaz, +) +from ..models import ( + UnionWithJsonNameBazDict as ___models_UnionWithJsonNameBazDict, +) +from ..models import ( + UnionWithJsonNameDict as ___models_UnionWithJsonNameDict, +) +from ..models import ( + UnionWithJsonNameFoo as ___models_UnionWithJsonNameFoo, +) +from ..models import ( + UnionWithJsonNameFooDict as ___models_UnionWithJsonNameFooDict, +) +from ..models import ( + UnionWithJsonNameUnknown as ___models_UnionWithJsonNameUnknown, +) + +@dataclass(kw_only=True) +class AllQueryStringTypesInput(_SerdeShape): + "Dataclass for AllQueryStringTypesInput structure." + + query_string: str | None = ... + query_string_list: list[str] | None = ... + query_string_set: list[str] | None = ... + query_byte: int | None = ... + query_short: int | None = ... + query_integer: int | None = ... + query_integer_list: list[int] | None = ... + query_integer_set: list[int] | None = ... + query_long: int | None = ... + query_float: float | None = ... + query_double: float | None = ... + query_double_list: list[float] | None = ... + query_boolean: bool | None = ... + query_boolean_list: list[bool] | None = ... + query_timestamp: datetime | None = ... + query_timestamp_list: list[datetime] | None = ... + query_enum: str | None = ... + query_enum_list: list[str] | None = ... + query_integer_enum: int | None = ... + query_integer_enum_list: list[int] | None = ... + query_params_map_of_string_list: dict[str, list[str]] | None = ... + +class AllQueryStringTypesInputDict(TypedDict, total=False): + "Dictionary form of `AllQueryStringTypesInput`." + + query_string: str | None + query_string_list: Sequence[str] | None + query_string_set: Sequence[str] | None + query_byte: int | None + query_short: int | None + query_integer: int | None + query_integer_list: Sequence[int] | None + query_integer_set: Sequence[int] | None + query_long: int | None + query_float: float | None + query_double: float | None + query_double_list: Sequence[float] | None + query_boolean: bool | None + query_boolean_list: Sequence[bool] | None + query_timestamp: datetime | None + query_timestamp_list: Sequence[datetime] | None + query_enum: str | None + query_enum_list: Sequence[str] | None + query_integer_enum: int | None + query_integer_enum_list: Sequence[int] | None + query_params_map_of_string_list: Mapping[str, Sequence[str]] | None + +@dataclass(kw_only=True) +class BlobPayloadEvent(_SerdeShape): + "Dataclass for BlobPayloadEvent structure." + + payload: bytes | None = ... + +@dataclass(kw_only=True) +class ClientOptionalDefaults(_SerdeShape): + "Dataclass for ClientOptionalDefaults structure." + + member: int | None = ... + +class ClientOptionalDefaultsDict(TypedDict, total=False): + "Dictionary form of `ClientOptionalDefaults`." + + member: int | None + +@dataclass(kw_only=True) +class ComplexError(ServiceError, _SerdeShape): + "This error is thrown when a request is invalid." + + header: str | None = ... + top_level: str | None = ... + nested: ___models_ComplexNestedErrorData | None = ... + response_metadata: ErrorResponseMetadata = ... + """ + Metadata about the response that produced this error. + + Use this to read the error code or to recover the request identifiers a + service's support team needs in order to investigate a call. Members of + the metadata are individually optional. + """ + +@dataclass(kw_only=True) +class ComplexNestedErrorData(_SerdeShape): + "Dataclass for ComplexNestedErrorData structure." + + foo: str | None = ... + +@dataclass(kw_only=True) +class ConstantAndVariableQueryStringInput(_SerdeShape): + "Dataclass for ConstantAndVariableQueryStringInput structure." + + baz: str | None = ... + maybe_set: str | None = ... + +class ConstantAndVariableQueryStringInputDict(TypedDict, total=False): + "Dictionary form of `ConstantAndVariableQueryStringInput`." + + baz: str | None + maybe_set: str | None + +@dataclass(kw_only=True) +class ConstantQueryStringInput(_SerdeShape): + "Dataclass for ConstantQueryStringInput structure." + + hello: str | None = ... + +class ConstantQueryStringInputDict(TypedDict, total=False): + "Dictionary form of `ConstantQueryStringInput`." + + hello: Required[str] + +@dataclass(kw_only=True) +class ContentTypeParametersInput(_SerdeShape): + "Dataclass for ContentTypeParametersInput structure." + + value: int | None = ... + +class ContentTypeParametersInputDict(TypedDict, total=False): + "Dictionary form of `ContentTypeParametersInput`." + + value: int | None + +@dataclass(kw_only=True) +class ContentTypeParametersOutput(_SerdeShape): + "Dataclass for ContentTypeParametersOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class DatetimeOffsetsOutput(_SerdeShape): + "Dataclass for DatetimeOffsetsOutput structure." + + datetime_: datetime | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class Defaults(_SerdeShape): + "Dataclass for Defaults structure." + + default_string: str | None = ... + default_boolean: bool | None = ... + default_list: list[str] | None = ... + default_document_map: Document | None = ... + default_document_string: Document | None = ... + default_document_boolean: Document | None = ... + default_document_list: Document | None = ... + default_null_document: Document | None = ... + default_timestamp: datetime | None = ... + default_blob: bytes | None = ... + default_byte: int | None = ... + default_short: int | None = ... + default_integer: int | None = ... + default_long: int | None = ... + default_float: float | None = ... + default_double: float | None = ... + default_map: dict[str, str] | None = ... + default_enum: str | None = ... + default_int_enum: int | None = ... + empty_string: str | None = ... + false_boolean: bool | None = ... + empty_blob: bytes | None = ... + zero_byte: int | None = ... + zero_short: int | None = ... + zero_integer: int | None = ... + zero_long: int | None = ... + zero_float: float | None = ... + zero_double: float | None = ... + +class DefaultsDict(TypedDict, total=False): + "Dictionary form of `Defaults`." + + default_string: str | None + default_boolean: bool | None + default_list: Sequence[str] | None + default_document_map: Document | None + default_document_string: Document | None + default_document_boolean: Document | None + default_document_list: Document | None + default_null_document: Document | None + default_timestamp: datetime | None + default_blob: bytes | None + default_byte: int | None + default_short: int | None + default_integer: int | None + default_long: int | None + default_float: float | None + default_double: float | None + default_map: Mapping[str, str] | None + default_enum: str | None + default_int_enum: int | None + empty_string: str | None + false_boolean: bool | None + empty_blob: bytes | None + zero_byte: int | None + zero_short: int | None + zero_integer: int | None + zero_long: int | None + zero_float: float | None + zero_double: float | None + +@dataclass(kw_only=True) +class Dialog(_SerdeShape): + "Dataclass for Dialog structure." + + language: str | None = ... + greeting: str | None = ... + farewell: ___models_Farewell | None = ... + +class DialogDict(TypedDict, total=False): + "Dictionary form of `Dialog`." + + language: str | None + greeting: str | None + farewell: ___models_Farewell | ___models_FarewellDict | None + +@dataclass(kw_only=True) +class DuplexStreamInput(_SerdeShape): + "Dataclass for DuplexStreamInput structure." + +class DuplexStreamInputDict(TypedDict, total=False): + "Dictionary form of `DuplexStreamInput`." + +@dataclass(kw_only=True) +class DuplexStreamOutput(_SerdeShape): + "Dataclass for DuplexStreamOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class DuplexStreamWithDistinctStreamsInput(_SerdeShape): + "Dataclass for DuplexStreamWithDistinctStreamsInput structure." + +class DuplexStreamWithDistinctStreamsInputDict(TypedDict, total=False): + "Dictionary form of `DuplexStreamWithDistinctStreamsInput`." + +@dataclass(kw_only=True) +class DuplexStreamWithDistinctStreamsOutput(_SerdeShape): + "Dataclass for DuplexStreamWithDistinctStreamsOutput structure." + + stream: ___models_SingletonEventStream | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class DuplexStreamWithInitialMessagesInput(_SerdeShape): + "Dataclass for DuplexStreamWithInitialMessagesInput structure." + + initial_request_member: str | None = ... + +class DuplexStreamWithInitialMessagesInputDict(TypedDict, total=False): + "Dictionary form of `DuplexStreamWithInitialMessagesInput`." + + initial_request_member: Required[str] + +@dataclass(kw_only=True) +class DuplexStreamWithInitialMessagesOutput(_SerdeShape): + "Dataclass for DuplexStreamWithInitialMessagesOutput structure." + + initial_response_member: str + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class EmptyInputAndEmptyOutputInput(_SerdeShape): + "Dataclass for EmptyInputAndEmptyOutputInput structure." + +class EmptyInputAndEmptyOutputInputDict(TypedDict, total=False): + "Dictionary form of `EmptyInputAndEmptyOutputInput`." + +@dataclass(kw_only=True) +class EmptyInputAndEmptyOutputOutput(_SerdeShape): + "Dataclass for EmptyInputAndEmptyOutputOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class ErrorEvent(ServiceError, _SerdeShape): + "Dataclass for ErrorEvent structure." + + response_metadata: ErrorResponseMetadata = ... + """ + Metadata about the response that produced this error. + + Use this to read the error code or to recover the request identifiers a + service's support team needs in order to investigate a call. Members of + the metadata are individually optional. + """ + +@dataclass +class EventStreamHeaders(_SerdeShape): + value: ___models_HeadersEvent + +@dataclass +class EventStreamBlobPayload(_SerdeShape): + value: ___models_BlobPayloadEvent + +@dataclass +class EventStreamStringPayload(_SerdeShape): + value: ___models_StringPayloadEvent + +@dataclass +class EventStreamStructurePayload(_SerdeShape): + value: ___models_StructurePayloadEvent + +@dataclass +class EventStreamUnionPayload(_SerdeShape): + value: ___models_UnionPayloadEvent + +@dataclass +class EventStreamHeadersAndExplicitPayload(_SerdeShape): + value: ___models_HeadersAndExplicitPayloadEvent + +@dataclass +class EventStreamHeadersAndImplicitPayload(_SerdeShape): + value: ___models_HeadersAndImplicitPayloadEvent + +@dataclass +class EventStreamError(_SerdeShape): + value: ___models_ErrorEvent + +@dataclass +class EventStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +EventStream = ( + ___models_EventStreamHeaders + | ___models_EventStreamBlobPayload + | ___models_EventStreamStringPayload + | ___models_EventStreamStructurePayload + | ___models_EventStreamUnionPayload + | ___models_EventStreamHeadersAndExplicitPayload + | ___models_EventStreamHeadersAndImplicitPayload + | ___models_EventStreamError + | ___models_EventStreamUnknown +) + +class _EventStreamDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ___models_EventStream: ... + +@dataclass(kw_only=True) +class Farewell(_SerdeShape): + "Dataclass for Farewell structure." + + phrase: str | None = ... + +class FarewellDict(TypedDict, total=False): + "Dictionary form of `Farewell`." + + phrase: str | None + +@dataclass(kw_only=True) +class FooError(ServiceError, _SerdeShape): + """ + This error has test cases that test some of the dark corners of Amazon + service + framework history. It should only be implemented by clients. + """ + + response_metadata: ErrorResponseMetadata = ... + """ + Metadata about the response that produced this error. + + Use this to read the error code or to recover the request identifiers a + service's support team needs in order to investigate a call. Members of + the metadata are individually optional. + """ + +@dataclass(kw_only=True) +class FractionalSecondsOutput(_SerdeShape): + "Dataclass for FractionalSecondsOutput structure." + + datetime_: datetime | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class GreetingWithErrorsOutput(_SerdeShape): + "Dataclass for GreetingWithErrorsOutput structure." + + greeting: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HeadersAndExplicitPayloadEvent(_SerdeShape): + "Dataclass for HeadersAndExplicitPayloadEvent structure." + + header: str | None = ... + payload: ___models_PayloadStructure | None = ... + +@dataclass(kw_only=True) +class HeadersAndImplicitPayloadEvent(_SerdeShape): + "Dataclass for HeadersAndImplicitPayloadEvent structure." + + header: str | None = ... + payload: str | None = ... + +@dataclass(kw_only=True) +class HeadersEvent(_SerdeShape): + "Dataclass for HeadersEvent structure." + + boolean_header: bool | None = ... + byte_header: int | None = ... + short_header: int | None = ... + int_header: int | None = ... + long_header: int | None = ... + blob_header: bytes | None = ... + string_header: str | None = ... + timestamp_header: datetime | None = ... + +@dataclass(kw_only=True) +class HttpEmptyPrefixHeadersInput(_SerdeShape): + "Dataclass for HttpEmptyPrefixHeadersInput structure." + + prefix_headers: dict[str, str] | None = ... + specific_header: str | None = ... + +class HttpEmptyPrefixHeadersInputDict(TypedDict, total=False): + "Dictionary form of `HttpEmptyPrefixHeadersInput`." + + prefix_headers: Mapping[str, str] | None + specific_header: str | None + +@dataclass(kw_only=True) +class HttpEmptyPrefixHeadersOutput(_SerdeShape): + "Dataclass for HttpEmptyPrefixHeadersOutput structure." + + prefix_headers: dict[str, str] | None = ... + specific_header: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpPrefixHeadersInResponseInput(_SerdeShape): + "Dataclass for HttpPrefixHeadersInResponseInput structure." + +class HttpPrefixHeadersInResponseInputDict(TypedDict, total=False): + "Dictionary form of `HttpPrefixHeadersInResponseInput`." + +@dataclass(kw_only=True) +class HttpPrefixHeadersInResponseOutput(_SerdeShape): + "Dataclass for HttpPrefixHeadersInResponseOutput structure." + + prefix_headers: dict[str, str] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpPrefixHeadersInput(_SerdeShape): + "Dataclass for HttpPrefixHeadersInput structure." + + foo: str | None = ... + foo_map: dict[str, str] | None = ... + +class HttpPrefixHeadersInputDict(TypedDict, total=False): + "Dictionary form of `HttpPrefixHeadersInput`." + + foo: str | None + foo_map: Mapping[str, str] | None + +@dataclass(kw_only=True) +class HttpPrefixHeadersOutput(_SerdeShape): + "Dataclass for HttpPrefixHeadersOutput structure." + + foo: str | None = ... + foo_map: dict[str, str] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpRequestWithFloatLabelsInput(_SerdeShape): + "Dataclass for HttpRequestWithFloatLabelsInput structure." + + float_: float | None = ... + double: float | None = ... + +class HttpRequestWithFloatLabelsInputDict(TypedDict, total=False): + "Dictionary form of `HttpRequestWithFloatLabelsInput`." + + float_: Required[float] + double: Required[float] + +@dataclass(kw_only=True) +class HttpRequestWithGreedyLabelInPathInput(_SerdeShape): + "Dataclass for HttpRequestWithGreedyLabelInPathInput structure." + + foo: str | None = ... + baz: str | None = ... + +class HttpRequestWithGreedyLabelInPathInputDict(TypedDict, total=False): + "Dictionary form of `HttpRequestWithGreedyLabelInPathInput`." + + foo: Required[str] + baz: Required[str] + +@dataclass(kw_only=True) +class HttpRequestWithLabelsAndTimestampFormatInput(_SerdeShape): + "Dataclass for HttpRequestWithLabelsAndTimestampFormatInput structure." + + member_epoch_seconds: datetime | None = ... + member_http_date: datetime | None = ... + member_date_time: datetime | None = ... + default_format: datetime | None = ... + target_epoch_seconds: datetime | None = ... + target_http_date: datetime | None = ... + target_date_time: datetime | None = ... + +class HttpRequestWithLabelsAndTimestampFormatInputDict(TypedDict, total=False): + "Dictionary form of `HttpRequestWithLabelsAndTimestampFormatInput`." + + member_epoch_seconds: Required[datetime] + member_http_date: Required[datetime] + member_date_time: Required[datetime] + default_format: Required[datetime] + target_epoch_seconds: Required[datetime] + target_http_date: Required[datetime] + target_date_time: Required[datetime] + +@dataclass(kw_only=True) +class HttpRequestWithLabelsInput(_SerdeShape): + "Dataclass for HttpRequestWithLabelsInput structure." + + string: str | None = ... + short: int | None = ... + integer: int | None = ... + long: int | None = ... + float_: float | None = ... + double: float | None = ... + boolean: bool | None = ... + "Serialized in the path as true or false." + timestamp: datetime | None = ... + """ + Note that this member has no format, so it's serialized as an RFC 3399 + date-time. + """ + +class HttpRequestWithLabelsInputDict(TypedDict, total=False): + "Dictionary form of `HttpRequestWithLabelsInput`." + + string: Required[str] + short: Required[int] + integer: Required[int] + long: Required[int] + float_: Required[float] + double: Required[float] + boolean: Required[bool] + "Serialized in the path as true or false." + timestamp: Required[datetime] + """ + Note that this member has no format, so it's serialized as an RFC 3399 + date-time. + """ + +@dataclass(kw_only=True) +class HttpRequestWithRegexLiteralInput(_SerdeShape): + "Dataclass for HttpRequestWithRegexLiteralInput structure." + + str_: str | None = ... + +class HttpRequestWithRegexLiteralInputDict(TypedDict, total=False): + "Dictionary form of `HttpRequestWithRegexLiteralInput`." + + str_: Required[str] + +@dataclass(kw_only=True) +class HttpResponseCodeOutput(_SerdeShape): + "Dataclass for HttpResponseCodeOutput structure." + + status: int | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class IgnoreQueryParamsInResponseOutput(_SerdeShape): + "Dataclass for IgnoreQueryParamsInResponseOutput structure." + + baz: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class InputStreamInput(_SerdeShape): + "Dataclass for InputStreamInput structure." + +class InputStreamInputDict(TypedDict, total=False): + "Dictionary form of `InputStreamInput`." + +@dataclass(kw_only=True) +class InputStreamWithInitialRequestInput(_SerdeShape): + "Dataclass for InputStreamWithInitialRequestInput structure." + + initial_request_member: str | None = ... + +class InputStreamWithInitialRequestInputDict(TypedDict, total=False): + "Dictionary form of `InputStreamWithInitialRequestInput`." + + initial_request_member: Required[str] + +@dataclass(kw_only=True) +class InvalidGreeting(ServiceError, _SerdeShape): + "This error is thrown when an invalid greeting value is provided." + + response_metadata: ErrorResponseMetadata = ... + """ + Metadata about the response that produced this error. + + Use this to read the error code or to recover the request identifiers a + service's support team needs in order to investigate a call. Members of + the metadata are individually optional. + """ + +@dataclass(kw_only=True) +class MalformedAcceptWithGenericStringOutput(_SerdeShape): + "Dataclass for MalformedAcceptWithGenericStringOutput structure." + + payload: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedAcceptWithPayloadOutput(_SerdeShape): + "Dataclass for MalformedAcceptWithPayloadOutput structure." + + payload: bytes | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedBlobInput(_SerdeShape): + "Dataclass for MalformedBlobInput structure." + + blob: bytes | None = ... + +class MalformedBlobInputDict(TypedDict, total=False): + "Dictionary form of `MalformedBlobInput`." + + blob: bytes | None + +@dataclass(kw_only=True) +class MalformedBooleanInput(_SerdeShape): + "Dataclass for MalformedBooleanInput structure." + + boolean_in_body: bool | None = ... + boolean_in_path: bool | None = ... + boolean_in_query: bool | None = ... + boolean_in_header: bool | None = ... + +class MalformedBooleanInputDict(TypedDict, total=False): + "Dictionary form of `MalformedBooleanInput`." + + boolean_in_body: bool | None + boolean_in_path: Required[bool] + boolean_in_query: bool | None + boolean_in_header: bool | None + +@dataclass(kw_only=True) +class MalformedByteInput(_SerdeShape): + "Dataclass for MalformedByteInput structure." + + byte_in_body: int | None = ... + byte_in_path: int | None = ... + byte_in_query: int | None = ... + byte_in_header: int | None = ... + +class MalformedByteInputDict(TypedDict, total=False): + "Dictionary form of `MalformedByteInput`." + + byte_in_body: int | None + byte_in_path: Required[int] + byte_in_query: int | None + byte_in_header: int | None + +@dataclass(kw_only=True) +class MalformedContentTypeWithGenericStringInput(_SerdeShape): + "Dataclass for MalformedContentTypeWithGenericStringInput structure." + + payload: str | None = ... + +class MalformedContentTypeWithGenericStringInputDict(TypedDict, total=False): + "Dictionary form of `MalformedContentTypeWithGenericStringInput`." + + payload: str | None + +@dataclass(kw_only=True) +class MalformedContentTypeWithPayloadInput(_SerdeShape): + "Dataclass for MalformedContentTypeWithPayloadInput structure." + + payload: bytes | None = ... + +class MalformedContentTypeWithPayloadInputDict(TypedDict, total=False): + "Dictionary form of `MalformedContentTypeWithPayloadInput`." + + payload: bytes | None + +@dataclass(kw_only=True) +class MalformedContentTypeWithoutBodyEmptyInputInput(_SerdeShape): + "Dataclass for MalformedContentTypeWithoutBodyEmptyInputInput structure." + + header: str | None = ... + +class MalformedContentTypeWithoutBodyEmptyInputInputDict(TypedDict, total=False): + "Dictionary form of `MalformedContentTypeWithoutBodyEmptyInputInput`." + + header: str | None + +@dataclass(kw_only=True) +class MalformedDoubleInput(_SerdeShape): + "Dataclass for MalformedDoubleInput structure." + + double_in_body: float | None = ... + double_in_path: float | None = ... + double_in_query: float | None = ... + double_in_header: float | None = ... + +class MalformedDoubleInputDict(TypedDict, total=False): + "Dictionary form of `MalformedDoubleInput`." + + double_in_body: float | None + double_in_path: Required[float] + double_in_query: float | None + double_in_header: float | None + +@dataclass(kw_only=True) +class MalformedFloatInput(_SerdeShape): + "Dataclass for MalformedFloatInput structure." + + float_in_body: float | None = ... + float_in_path: float | None = ... + float_in_query: float | None = ... + float_in_header: float | None = ... + +class MalformedFloatInputDict(TypedDict, total=False): + "Dictionary form of `MalformedFloatInput`." + + float_in_body: float | None + float_in_path: Required[float] + float_in_query: float | None + float_in_header: float | None + +@dataclass(kw_only=True) +class MalformedIntegerInput(_SerdeShape): + "Dataclass for MalformedIntegerInput structure." + + integer_in_body: int | None = ... + integer_in_path: int | None = ... + integer_in_query: int | None = ... + integer_in_header: int | None = ... + +class MalformedIntegerInputDict(TypedDict, total=False): + "Dictionary form of `MalformedIntegerInput`." + + integer_in_body: int | None + integer_in_path: Required[int] + integer_in_query: int | None + integer_in_header: int | None + +@dataclass(kw_only=True) +class MalformedListInput(_SerdeShape): + "Dataclass for MalformedListInput structure." + + body_list: list[str] | None = ... + +class MalformedListInputDict(TypedDict, total=False): + "Dictionary form of `MalformedListInput`." + + body_list: Sequence[str] | None + +@dataclass(kw_only=True) +class MalformedLongInput(_SerdeShape): + "Dataclass for MalformedLongInput structure." + + long_in_body: int | None = ... + long_in_path: int | None = ... + long_in_query: int | None = ... + long_in_header: int | None = ... + +class MalformedLongInputDict(TypedDict, total=False): + "Dictionary form of `MalformedLongInput`." + + long_in_body: int | None + long_in_path: Required[int] + long_in_query: int | None + long_in_header: int | None + +@dataclass(kw_only=True) +class MalformedMapInput(_SerdeShape): + "Dataclass for MalformedMapInput structure." + + body_map: dict[str, str] | None = ... + +class MalformedMapInputDict(TypedDict, total=False): + "Dictionary form of `MalformedMapInput`." + + body_map: Mapping[str, str] | None + +@dataclass(kw_only=True) +class MalformedRequestBodyInput(_SerdeShape): + "Dataclass for MalformedRequestBodyInput structure." + + int_: int | None = ... + float_: float | None = ... + +class MalformedRequestBodyInputDict(TypedDict, total=False): + "Dictionary form of `MalformedRequestBodyInput`." + + int_: int | None + float_: float | None + +@dataclass(kw_only=True) +class MalformedShortInput(_SerdeShape): + "Dataclass for MalformedShortInput structure." + + short_in_body: int | None = ... + short_in_path: int | None = ... + short_in_query: int | None = ... + short_in_header: int | None = ... + +class MalformedShortInputDict(TypedDict, total=False): + "Dictionary form of `MalformedShortInput`." + + short_in_body: int | None + short_in_path: Required[int] + short_in_query: int | None + short_in_header: int | None + +@dataclass(kw_only=True) +class MalformedStringInput(_SerdeShape): + "Dataclass for MalformedStringInput structure." + + blob: str | None = ... + +class MalformedStringInputDict(TypedDict, total=False): + "Dictionary form of `MalformedStringInput`." + + blob: str | None + +@dataclass(kw_only=True) +class MalformedTimestampBodyDateTimeInput(_SerdeShape): + "Dataclass for MalformedTimestampBodyDateTimeInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampBodyDateTimeInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampBodyDateTimeInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampBodyDefaultInput(_SerdeShape): + "Dataclass for MalformedTimestampBodyDefaultInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampBodyDefaultInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampBodyDefaultInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampBodyHttpDateInput(_SerdeShape): + "Dataclass for MalformedTimestampBodyHttpDateInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampBodyHttpDateInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampBodyHttpDateInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampHeaderDateTimeInput(_SerdeShape): + "Dataclass for MalformedTimestampHeaderDateTimeInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampHeaderDateTimeInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampHeaderDateTimeInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampHeaderDefaultInput(_SerdeShape): + "Dataclass for MalformedTimestampHeaderDefaultInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampHeaderDefaultInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampHeaderDefaultInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampHeaderEpochInput(_SerdeShape): + "Dataclass for MalformedTimestampHeaderEpochInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampHeaderEpochInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampHeaderEpochInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampPathDefaultInput(_SerdeShape): + "Dataclass for MalformedTimestampPathDefaultInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampPathDefaultInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampPathDefaultInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampPathEpochInput(_SerdeShape): + "Dataclass for MalformedTimestampPathEpochInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampPathEpochInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampPathEpochInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampPathHttpDateInput(_SerdeShape): + "Dataclass for MalformedTimestampPathHttpDateInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampPathHttpDateInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampPathHttpDateInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampQueryDefaultInput(_SerdeShape): + "Dataclass for MalformedTimestampQueryDefaultInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampQueryDefaultInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampQueryDefaultInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampQueryEpochInput(_SerdeShape): + "Dataclass for MalformedTimestampQueryEpochInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampQueryEpochInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampQueryEpochInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedTimestampQueryHttpDateInput(_SerdeShape): + "Dataclass for MalformedTimestampQueryHttpDateInput structure." + + timestamp: datetime | None = ... + +class MalformedTimestampQueryHttpDateInputDict(TypedDict, total=False): + "Dictionary form of `MalformedTimestampQueryHttpDateInput`." + + timestamp: Required[datetime] + +@dataclass(kw_only=True) +class MalformedUnionInput(_SerdeShape): + "Dataclass for MalformedUnionInput structure." + + union: ___models_SimpleUnion | None = ... + +class MalformedUnionInputDict(TypedDict, total=False): + "Dictionary form of `MalformedUnionInput`." + + union: ___models_SimpleUnion | ___models_SimpleUnionDict | None + +@dataclass(kw_only=True) +class MediaTypeHeaderInput(_SerdeShape): + "Dataclass for MediaTypeHeaderInput structure." + + json: str | None = ... + +class MediaTypeHeaderInputDict(TypedDict, total=False): + "Dictionary form of `MediaTypeHeaderInput`." + + json: str | None + +@dataclass(kw_only=True) +class MediaTypeHeaderOutput(_SerdeShape): + "Dataclass for MediaTypeHeaderOutput structure." + + json: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass +class MyUnionStringValue(_SerdeShape): + value: str + +@dataclass +class MyUnionBooleanValue(_SerdeShape): + value: bool + +@dataclass +class MyUnionNumberValue(_SerdeShape): + value: int + +@dataclass +class MyUnionBlobValue(_SerdeShape): + value: bytes + +@dataclass +class MyUnionTimestampValue(_SerdeShape): + value: datetime + +@dataclass +class MyUnionEnumValue(_SerdeShape): + value: str + +@dataclass +class MyUnionListValue(_SerdeShape): + value: list[str] + +@dataclass +class MyUnionMapValue(_SerdeShape): + value: dict[str, str] + +@dataclass +class MyUnionStructureValue(_SerdeShape): + value: ___models_GreetingStruct + +@dataclass +class MyUnionRenamedStructureValue(_SerdeShape): + value: ___models_RenamedGreeting + +@dataclass +class MyUnionUnionValue(_SerdeShape): + value: ___models_NestedUnion + +@dataclass +class MyUnionUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +MyUnion = ( + ___models_MyUnionStringValue + | ___models_MyUnionBooleanValue + | ___models_MyUnionNumberValue + | ___models_MyUnionBlobValue + | ___models_MyUnionTimestampValue + | ___models_MyUnionEnumValue + | ___models_MyUnionListValue + | ___models_MyUnionMapValue + | ___models_MyUnionStructureValue + | ___models_MyUnionRenamedStructureValue + | ___models_MyUnionUnionValue + | ___models_MyUnionUnknown +) +"A union with a representative set of types for members." + +class _MyUnionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ___models_MyUnion: ... + +class MyUnionStringValueDict(TypedDict): + string_value: str + +class MyUnionBooleanValueDict(TypedDict): + boolean_value: bool + +class MyUnionNumberValueDict(TypedDict): + number_value: int + +class MyUnionBlobValueDict(TypedDict): + blob_value: bytes + +class MyUnionTimestampValueDict(TypedDict): + timestamp_value: datetime + +class MyUnionEnumValueDict(TypedDict): + enum_value: str + +class MyUnionListValueDict(TypedDict): + list_value: Sequence[str] + +class MyUnionMapValueDict(TypedDict): + map_value: Mapping[str, str] + +class MyUnionStructureValueDict(TypedDict): + structure_value: ___models_GreetingStruct | ___models_GreetingStructDict + +class MyUnionRenamedStructureValueDict(TypedDict): + renamed_structure_value: ___models_RenamedGreeting | ___models_RenamedGreetingDict + +class MyUnionUnionValueDict(TypedDict): + union_value: ___models_NestedUnion | ___models_NestedUnionDict + +MyUnionDict = ( + ___models_MyUnionStringValueDict + | ___models_MyUnionBooleanValueDict + | ___models_MyUnionNumberValueDict + | ___models_MyUnionBlobValueDict + | ___models_MyUnionTimestampValueDict + | ___models_MyUnionEnumValueDict + | ___models_MyUnionListValueDict + | ___models_MyUnionMapValueDict + | ___models_MyUnionStructureValueDict + | ___models_MyUnionRenamedStructureValueDict + | ___models_MyUnionUnionValueDict +) +"Dictionary form of `MyUnion`, setting exactly one variant." + +@dataclass(kw_only=True) +class NestedPayload(_SerdeShape): + "Dataclass for NestedPayload structure." + + greeting: str | None = ... + name: str | None = ... + +class NestedPayloadDict(TypedDict, total=False): + "Dictionary form of `NestedPayload`." + + greeting: str | None + name: str | None + +@dataclass +class NestedUnionStringValue(_SerdeShape): + value: str + +@dataclass +class NestedUnionUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +NestedUnion = ___models_NestedUnionStringValue | ___models_NestedUnionUnknown +"A union used to test unions nested inside unions." + +class _NestedUnionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ___models_NestedUnion: ... + +class NestedUnionStringValueDict(TypedDict): + string_value: str + +NestedUnionDict = ___models_NestedUnionStringValueDict +"Dictionary form of `NestedUnion`, setting exactly one variant." + +@dataclass(kw_only=True) +class NoInputAndOutputOutput(_SerdeShape): + "Dataclass for NoInputAndOutputOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OmitsNullSerializesEmptyStringInput(_SerdeShape): + "Dataclass for OmitsNullSerializesEmptyStringInput structure." + + null_value: str | None = ... + empty_string: str | None = ... + +class OmitsNullSerializesEmptyStringInputDict(TypedDict, total=False): + "Dictionary form of `OmitsNullSerializesEmptyStringInput`." + + null_value: str | None + empty_string: str | None + +@dataclass(kw_only=True) +class OmitsSerializingEmptyListsInput(_SerdeShape): + "Dataclass for OmitsSerializingEmptyListsInput structure." + + query_string_list: list[str] | None = ... + query_integer_list: list[int] | None = ... + query_double_list: list[float] | None = ... + query_boolean_list: list[bool] | None = ... + query_timestamp_list: list[datetime] | None = ... + query_enum_list: list[str] | None = ... + query_integer_enum_list: list[int] | None = ... + +class OmitsSerializingEmptyListsInputDict(TypedDict, total=False): + "Dictionary form of `OmitsSerializingEmptyListsInput`." + + query_string_list: Sequence[str] | None + query_integer_list: Sequence[int] | None + query_double_list: Sequence[float] | None + query_boolean_list: Sequence[bool] | None + query_timestamp_list: Sequence[datetime] | None + query_enum_list: Sequence[str] | None + query_integer_enum_list: Sequence[int] | None + +@dataclass(kw_only=True) +class OperationWithDefaultsInput(_SerdeShape): + "Dataclass for OperationWithDefaultsInput structure." + + defaults: ___models_Defaults | None = ... + client_optional_defaults: ___models_ClientOptionalDefaults | None = ... + top_level_default: str | None = ... + other_top_level_default: int | None = ... + +class OperationWithDefaultsInputDict(TypedDict, total=False): + "Dictionary form of `OperationWithDefaultsInput`." + + defaults: ___models_Defaults | ___models_DefaultsDict | None + client_optional_defaults: ( + ___models_ClientOptionalDefaults | ___models_ClientOptionalDefaultsDict | None + ) + top_level_default: str | None + other_top_level_default: int | None + +@dataclass(kw_only=True) +class OperationWithDefaultsOutput(_SerdeShape): + "Dataclass for OperationWithDefaultsOutput structure." + + default_string: str | None = ... + default_boolean: bool | None = ... + default_list: list[str] | None = ... + default_document_map: Document | None = ... + default_document_string: Document | None = ... + default_document_boolean: Document | None = ... + default_document_list: Document | None = ... + default_null_document: Document | None = ... + default_timestamp: datetime | None = ... + default_blob: bytes | None = ... + default_byte: int | None = ... + default_short: int | None = ... + default_integer: int | None = ... + default_long: int | None = ... + default_float: float | None = ... + default_double: float | None = ... + default_map: dict[str, str] | None = ... + default_enum: str | None = ... + default_int_enum: int | None = ... + empty_string: str | None = ... + false_boolean: bool | None = ... + empty_blob: bytes | None = ... + zero_byte: int | None = ... + zero_short: int | None = ... + zero_integer: int | None = ... + zero_long: int | None = ... + zero_float: float | None = ... + zero_double: float | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OperationWithNestedStructureInput(_SerdeShape): + "Dataclass for OperationWithNestedStructureInput structure." + + top_level: ___models_TopLevel | None = ... + +class OperationWithNestedStructureInputDict(TypedDict, total=False): + "Dictionary form of `OperationWithNestedStructureInput`." + + top_level: Required[___models_TopLevel | ___models_TopLevelDict] + +@dataclass(kw_only=True) +class OperationWithNestedStructureOutput(_SerdeShape): + "Dataclass for OperationWithNestedStructureOutput structure." + + dialog: ___models_Dialog + dialog_list: list[___models_Dialog] | None = ... + dialog_map: dict[str, ___models_Dialog] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OutputStreamOutput(_SerdeShape): + "Dataclass for OutputStreamOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OutputStreamWithInitialResponseOutput(_SerdeShape): + "Dataclass for OutputStreamWithInitialResponseOutput structure." + + initial_response_member: str + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class PayloadConfig(_SerdeShape): + "Dataclass for PayloadConfig structure." + + data: int | None = ... + +class PayloadConfigDict(TypedDict, total=False): + "Dictionary form of `PayloadConfig`." + + data: int | None + +@dataclass(kw_only=True) +class PayloadStructure(_SerdeShape): + "Dataclass for PayloadStructure structure." + + structure_member: str | None = ... + +@dataclass +class PayloadUnionUnionMember(_SerdeShape): + value: str + +@dataclass +class PayloadUnionUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +PayloadUnion = ___models_PayloadUnionUnionMember | ___models_PayloadUnionUnknown + +class _PayloadUnionDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ___models_PayloadUnion: ... + +@dataclass +class PlayerActionQuit(_SerdeShape): + "Quit the game." + + value: Unit + +@dataclass +class PlayerActionUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +PlayerAction = ___models_PlayerActionQuit | ___models_PlayerActionUnknown + +class _PlayerActionDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ___models_PlayerAction: ... + +class PlayerActionQuitDict(TypedDict): + quit: Unit | UnitDict + "Quit the game." + +PlayerActionDict = ___models_PlayerActionQuitDict +"Dictionary form of `PlayerAction`, setting exactly one variant." + +@dataclass(kw_only=True) +class PostPlayerActionInput(_SerdeShape): + "Dataclass for PostPlayerActionInput structure." + + action: ___models_PlayerAction | None = ... + +class PostPlayerActionInputDict(TypedDict, total=False): + "Dictionary form of `PostPlayerActionInput`." + + action: ___models_PlayerAction | ___models_PlayerActionDict | None + +@dataclass(kw_only=True) +class PostPlayerActionOutput(_SerdeShape): + "Dataclass for PostPlayerActionOutput structure." + + action: ___models_PlayerAction + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class PostUnionWithJsonNameInput(_SerdeShape): + "Dataclass for PostUnionWithJsonNameInput structure." + + value: ___models_UnionWithJsonName | None = ... + +class PostUnionWithJsonNameInputDict(TypedDict, total=False): + "Dictionary form of `PostUnionWithJsonNameInput`." + + value: ___models_UnionWithJsonName | ___models_UnionWithJsonNameDict | None + +@dataclass(kw_only=True) +class PostUnionWithJsonNameOutput(_SerdeShape): + "Dataclass for PostUnionWithJsonNameOutput structure." + + value: ___models_UnionWithJsonName + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class PutWithContentEncodingInput(_SerdeShape): + "Dataclass for PutWithContentEncodingInput structure." + + encoding: str | None = ... + data: str | None = ... + +class PutWithContentEncodingInputDict(TypedDict, total=False): + "Dictionary form of `PutWithContentEncodingInput`." + + encoding: str | None + data: str | None + +@dataclass(kw_only=True) +class QueryIdempotencyTokenAutoFillInput(_SerdeShape): + "Dataclass for QueryIdempotencyTokenAutoFillInput structure." + + token: str | None = ... + "This field is autopopulated if not provided." + +class QueryIdempotencyTokenAutoFillInputDict(TypedDict, total=False): + "Dictionary form of `QueryIdempotencyTokenAutoFillInput`." + + token: str | None + "This field is autopopulated if not provided." + +@dataclass(kw_only=True) +class QueryParamsAsStringListMapInput(_SerdeShape): + "Dataclass for QueryParamsAsStringListMapInput structure." + + qux: str | None = ... + foo: dict[str, list[str]] | None = ... + +class QueryParamsAsStringListMapInputDict(TypedDict, total=False): + "Dictionary form of `QueryParamsAsStringListMapInput`." + + qux: str | None + foo: Mapping[str, Sequence[str]] | None + +@dataclass(kw_only=True) +class QueryPrecedenceInput(_SerdeShape): + "Dataclass for QueryPrecedenceInput structure." + + foo: str | None = ... + baz: dict[str, str] | None = ... + +class QueryPrecedenceInputDict(TypedDict, total=False): + "Dictionary form of `QueryPrecedenceInput`." + + foo: str | None + baz: Mapping[str, str] | None + +@dataclass(kw_only=True) +class RecursiveShapesInputOutputNested1(_SerdeShape): + "Dataclass for RecursiveShapesInputOutputNested1 structure." + + foo: str | None = ... + nested: ___models_RecursiveShapesInputOutputNested2 | None = ... + +class RecursiveShapesInputOutputNested1Dict(TypedDict, total=False): + "Dictionary form of `RecursiveShapesInputOutputNested1`." + + foo: str | None + nested: ( + ___models_RecursiveShapesInputOutputNested2 + | ___models_RecursiveShapesInputOutputNested2Dict + | None + ) + +@dataclass(kw_only=True) +class RecursiveShapesInputOutputNested2(_SerdeShape): + "Dataclass for RecursiveShapesInputOutputNested2 structure." + + bar: str | None = ... + recursive_member: ___models_RecursiveShapesInputOutputNested1 | None = ... + +class RecursiveShapesInputOutputNested2Dict(TypedDict, total=False): + "Dictionary form of `RecursiveShapesInputOutputNested2`." + + bar: str | None + recursive_member: ( + ___models_RecursiveShapesInputOutputNested1 + | ___models_RecursiveShapesInputOutputNested1Dict + | None + ) + +@dataclass(kw_only=True) +class ResponseCodeRequiredOutput(_SerdeShape): + "Dataclass for ResponseCodeRequiredOutput structure." + + response_code: int + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class ServiceUnavailableError(ServiceError, _SerdeShape): + "Dataclass for ServiceUnavailableError structure." + + response_metadata: ErrorResponseMetadata = ... + """ + Metadata about the response that produced this error. + + Use this to read the error code or to recover the request identifiers a + service's support team needs in order to investigate a call. Members of + the metadata are individually optional. + """ + +@dataclass +class SimpleUnionInt(_SerdeShape): + value: int + +@dataclass +class SimpleUnionString(_SerdeShape): + value: str + +@dataclass +class SimpleUnionUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +SimpleUnion = ( + ___models_SimpleUnionInt + | ___models_SimpleUnionString + | ___models_SimpleUnionUnknown +) + +class _SimpleUnionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ___models_SimpleUnion: ... + +class SimpleUnionIntDict(TypedDict): + int_: int + +class SimpleUnionStringDict(TypedDict): + string: str + +SimpleUnionDict = ___models_SimpleUnionIntDict | ___models_SimpleUnionStringDict +"Dictionary form of `SimpleUnion`, setting exactly one variant." + +@dataclass(kw_only=True) +class SingletonEvent(_SerdeShape): + "Dataclass for SingletonEvent structure." + + value: str | None = ... + +@dataclass +class SingletonEventStreamSingleton(_SerdeShape): + value: ___models_SingletonEvent + +@dataclass +class SingletonEventStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +SingletonEventStream = ( + ___models_SingletonEventStreamSingleton | ___models_SingletonEventStreamUnknown +) + +class _SingletonEventStreamDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ___models_SingletonEventStream: ... + +@dataclass(kw_only=True) +class StreamingTraitsRequireLengthInput(_SerdeShape): + "Dataclass for StreamingTraitsRequireLengthInput structure." + + foo: str | None = ... + blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... + +class StreamingTraitsRequireLengthInputDict(TypedDict, total=False): + """ + Dictionary form of `StreamingTraitsRequireLengthInput` that either + client accepts. Its streaming body is one a sync client can send. Use + `AsyncStreamingTraitsRequireLengthInputDict` for an async stream. + """ + + foo: str | None + blob: _smithy_core_interfaces_StreamingBlob | None + +class AsyncStreamingTraitsRequireLengthInputDict(TypedDict, total=False): + """ + Dictionary form of `StreamingTraitsRequireLengthInput` for the async + client. Its streaming body may also be an async stream. + """ + + foo: str | None + blob: _smithy_core_aio_interfaces_StreamingBlob | None + +class StringEnum(UnknownEnumMixin, StrEnum): + V = "enumvalue" + +@dataclass(kw_only=True) +class StringPayloadEvent(_SerdeShape): + "Dataclass for StringPayloadEvent structure." + + payload: str | None = ... + +@dataclass(kw_only=True) +class StructureListMember(_SerdeShape): + "Dataclass for StructureListMember structure." + + a: str | None = ... + b: str | None = ... + +class StructureListMemberDict(TypedDict, total=False): + "Dictionary form of `StructureListMember`." + + a: str | None + b: str | None + +@dataclass(kw_only=True) +class StructurePayloadEvent(_SerdeShape): + "Dataclass for StructurePayloadEvent structure." + + payload: ___models_PayloadStructure | None = ... + +@dataclass(kw_only=True) +class TestConfig(_SerdeShape): + "Dataclass for TestConfig structure." + + timeout: int | None = ... + +class TestConfigDict(TypedDict, total=False): + "Dictionary form of `TestConfig`." + + timeout: int | None + +class TestEnum(UnknownEnumMixin, StrEnum): + FOO = "FOO" + BAR = "BAR" + BAZ = "BAZ" + +class TestIntEnum(UnknownEnumMixin, IntEnum): + ONE = 1 + TWO = 2 + +@dataclass(kw_only=True) +class TopLevel(_SerdeShape): + "Dataclass for TopLevel structure." + + dialog: ___models_Dialog + dialog_list: list[___models_Dialog] | None = ... + dialog_map: dict[str, ___models_Dialog] | None = ... + +class TopLevelDict(TypedDict, total=False): + "Dictionary form of `TopLevel`." + + dialog: Required[___models_Dialog | ___models_DialogDict] + dialog_list: Sequence[___models_Dialog | ___models_DialogDict] | None + dialog_map: Mapping[str, ___models_Dialog | ___models_DialogDict] | None + +@dataclass +class UnionPayloadGreeting(_SerdeShape): + value: str + +@dataclass +class UnionPayloadUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +UnionPayload = ___models_UnionPayloadGreeting | ___models_UnionPayloadUnknown + +class _UnionPayloadDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ___models_UnionPayload: ... + +class UnionPayloadGreetingDict(TypedDict): + greeting: str + +UnionPayloadDict = ___models_UnionPayloadGreetingDict +"Dictionary form of `UnionPayload`, setting exactly one variant." + +@dataclass(kw_only=True) +class UnionPayloadEvent(_SerdeShape): + "Dataclass for UnionPayloadEvent structure." + + payload: ___models_PayloadUnion | None = ... + +@dataclass +class UnionWithJsonNameFoo(_SerdeShape): + value: str + +@dataclass +class UnionWithJsonNameBar(_SerdeShape): + value: str + +@dataclass +class UnionWithJsonNameBaz(_SerdeShape): + value: str + +@dataclass +class UnionWithJsonNameUnknown(_SerdeShape): + """ + Represents an unknown variant. + + If you receive this value, you will need to update your library to + receive the parsed value. + + This value may not be deliberately sent. + """ + + tag: str + +UnionWithJsonName = ( + ___models_UnionWithJsonNameFoo + | ___models_UnionWithJsonNameBar + | ___models_UnionWithJsonNameBaz + | ___models_UnionWithJsonNameUnknown +) + +class _UnionWithJsonNameDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ___models_UnionWithJsonName: ... + +class UnionWithJsonNameFooDict(TypedDict): + foo: str + +class UnionWithJsonNameBarDict(TypedDict): + bar: str + +class UnionWithJsonNameBazDict(TypedDict): + baz: str + +UnionWithJsonNameDict = ( + ___models_UnionWithJsonNameFooDict + | ___models_UnionWithJsonNameBarDict + | ___models_UnionWithJsonNameBazDict +) +"Dictionary form of `UnionWithJsonName`, setting exactly one variant." + +@dataclass(kw_only=True) +class RenamedGreeting(_SerdeShape): + "Dataclass for GreetingStruct structure." + + salutation: str | None = ... + +class RenamedGreetingDict(TypedDict, total=False): + "Dictionary form of `RenamedGreeting`." + + salutation: str | None + +class FooEnum(UnknownEnumMixin, StrEnum): + FOO = "Foo" + BAZ = "Baz" + BAR = "Bar" + ONE = "1" + ZERO = "0" + +@dataclass(kw_only=True) +class GreetingStruct(_SerdeShape): + "Dataclass for GreetingStruct structure." + + hi: str | None = ... + +class GreetingStructDict(TypedDict, total=False): + "Dictionary form of `GreetingStruct`." + + hi: str | None + +class IntegerEnum(UnknownEnumMixin, IntEnum): + A = 1 + B = 2 + C = 3 + +@dataclass(kw_only=True) +class AllQueryStringTypesOutput(_SerdeShape): + "Dataclass for AllQueryStringTypesOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class ConstantAndVariableQueryStringOutput(_SerdeShape): + "Dataclass for ConstantAndVariableQueryStringOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class ConstantQueryStringOutput(_SerdeShape): + "Dataclass for ConstantQueryStringOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class DatetimeOffsetsInput(_SerdeShape): + "Dataclass for DatetimeOffsetsInput structure." + +class DatetimeOffsetsInputDict(TypedDict, total=False): + "Dictionary form of `DatetimeOffsetsInput`." + +@dataclass(kw_only=True) +class DocumentTypeInput(_SerdeShape): + "Dataclass for DocumentTypeInput structure." + + string_value: str | None = ... + document_value: Document | None = ... + +class DocumentTypeInputDict(TypedDict, total=False): + "Dictionary form of `DocumentTypeInput`." + + string_value: str | None + document_value: Document | None + +@dataclass(kw_only=True) +class DocumentTypeOutput(_SerdeShape): + "Dataclass for DocumentTypeOutput structure." + + string_value: str | None = ... + document_value: Document | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class DocumentTypeAsMapValueInput(_SerdeShape): + "Dataclass for DocumentTypeAsMapValueInput structure." + + doc_valued_map: dict[str, Document] | None = ... + +class DocumentTypeAsMapValueInputDict(TypedDict, total=False): + "Dictionary form of `DocumentTypeAsMapValueInput`." + + doc_valued_map: Mapping[str, Document] | None + +@dataclass(kw_only=True) +class DocumentTypeAsMapValueOutput(_SerdeShape): + "Dataclass for DocumentTypeAsMapValueOutput structure." + + doc_valued_map: dict[str, Document] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class DocumentTypeAsPayloadInput(_SerdeShape): + "Dataclass for DocumentTypeAsPayloadInput structure." + + document_value: Document | None = ... + +class DocumentTypeAsPayloadInputDict(TypedDict, total=False): + "Dictionary form of `DocumentTypeAsPayloadInput`." + + document_value: Document | None + +@dataclass(kw_only=True) +class DocumentTypeAsPayloadOutput(_SerdeShape): + "Dataclass for DocumentTypeAsPayloadOutput structure." + + document_value: Document | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class EndpointOperationInput(_SerdeShape): + "Dataclass for EndpointOperationInput structure." + +class EndpointOperationInputDict(TypedDict, total=False): + "Dictionary form of `EndpointOperationInput`." + +@dataclass(kw_only=True) +class EndpointOperationOutput(_SerdeShape): + "Dataclass for EndpointOperationOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class EndpointWithHostLabelOperationInput(_SerdeShape): + "Dataclass for EndpointWithHostLabelOperationInput structure." + + label: str | None = ... + +class EndpointWithHostLabelOperationInputDict(TypedDict, total=False): + "Dictionary form of `EndpointWithHostLabelOperationInput`." + + label: Required[str] + +@dataclass(kw_only=True) +class EndpointWithHostLabelOperationOutput(_SerdeShape): + "Dataclass for EndpointWithHostLabelOperationOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class FractionalSecondsInput(_SerdeShape): + "Dataclass for FractionalSecondsInput structure." + +class FractionalSecondsInputDict(TypedDict, total=False): + "Dictionary form of `FractionalSecondsInput`." + +@dataclass(kw_only=True) +class GreetingWithErrorsInput(_SerdeShape): + "Dataclass for GreetingWithErrorsInput structure." + +class GreetingWithErrorsInputDict(TypedDict, total=False): + "Dictionary form of `GreetingWithErrorsInput`." + +@dataclass(kw_only=True) +class HostWithPathOperationInput(_SerdeShape): + "Dataclass for HostWithPathOperationInput structure." + +class HostWithPathOperationInputDict(TypedDict, total=False): + "Dictionary form of `HostWithPathOperationInput`." + +@dataclass(kw_only=True) +class HostWithPathOperationOutput(_SerdeShape): + "Dataclass for HostWithPathOperationOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpChecksumRequiredInput(_SerdeShape): + "Dataclass for HttpChecksumRequiredInput structure." + + foo: str | None = ... + +class HttpChecksumRequiredInputDict(TypedDict, total=False): + "Dictionary form of `HttpChecksumRequiredInput`." + + foo: str | None + +@dataclass(kw_only=True) +class HttpChecksumRequiredOutput(_SerdeShape): + "Dataclass for HttpChecksumRequiredOutput structure." + + foo: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpEnumPayloadInput(_SerdeShape): + "Dataclass for HttpEnumPayloadInput structure." + + payload: str | None = ... + +class HttpEnumPayloadInputDict(TypedDict, total=False): + "Dictionary form of `HttpEnumPayloadInput`." + + payload: str | None + +@dataclass(kw_only=True) +class HttpEnumPayloadOutput(_SerdeShape): + "Dataclass for HttpEnumPayloadOutput structure." + + payload: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpPayloadTraitsInput(_SerdeShape): + "Dataclass for HttpPayloadTraitsInput structure." + + foo: str | None = ... + blob: bytes | None = ... + +class HttpPayloadTraitsInputDict(TypedDict, total=False): + "Dictionary form of `HttpPayloadTraitsInput`." + + foo: str | None + blob: bytes | None + +@dataclass(kw_only=True) +class HttpPayloadTraitsOutput(_SerdeShape): + "Dataclass for HttpPayloadTraitsOutput structure." + + foo: str | None = ... + blob: bytes | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpPayloadTraitsWithMediaTypeInput(_SerdeShape): + "Dataclass for HttpPayloadTraitsWithMediaTypeInput structure." + + foo: str | None = ... + blob: bytes | None = ... + +class HttpPayloadTraitsWithMediaTypeInputDict(TypedDict, total=False): + "Dictionary form of `HttpPayloadTraitsWithMediaTypeInput`." + + foo: str | None + blob: bytes | None + +@dataclass(kw_only=True) +class HttpPayloadTraitsWithMediaTypeOutput(_SerdeShape): + "Dataclass for HttpPayloadTraitsWithMediaTypeOutput structure." + + foo: str | None = ... + blob: bytes | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpPayloadWithStructureInput(_SerdeShape): + "Dataclass for HttpPayloadWithStructureInput structure." + + nested: ___models_NestedPayload | None = ... + +class HttpPayloadWithStructureInputDict(TypedDict, total=False): + "Dictionary form of `HttpPayloadWithStructureInput`." + + nested: ___models_NestedPayload | ___models_NestedPayloadDict | None + +@dataclass(kw_only=True) +class HttpPayloadWithStructureOutput(_SerdeShape): + "Dataclass for HttpPayloadWithStructureOutput structure." + + nested: ___models_NestedPayload | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpPayloadWithUnionInput(_SerdeShape): + "Dataclass for HttpPayloadWithUnionInput structure." + + nested: ___models_UnionPayload | None = ... + +class HttpPayloadWithUnionInputDict(TypedDict, total=False): + "Dictionary form of `HttpPayloadWithUnionInput`." + + nested: ___models_UnionPayload | ___models_UnionPayloadDict | None + +@dataclass(kw_only=True) +class HttpPayloadWithUnionOutput(_SerdeShape): + "Dataclass for HttpPayloadWithUnionOutput structure." + + nested: ___models_UnionPayload | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpQueryParamsOnlyOperationInput(_SerdeShape): + "Dataclass for HttpQueryParamsOnlyOperationInput structure." + + query_map: dict[str, str] | None = ... + +class HttpQueryParamsOnlyOperationInputDict(TypedDict, total=False): + "Dictionary form of `HttpQueryParamsOnlyOperationInput`." + + query_map: Mapping[str, str] | None + +@dataclass(kw_only=True) +class HttpQueryParamsOnlyOperationOutput(_SerdeShape): + "Dataclass for HttpQueryParamsOnlyOperationOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpRequestWithFloatLabelsOutput(_SerdeShape): + "Dataclass for HttpRequestWithFloatLabelsOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpRequestWithGreedyLabelInPathOutput(_SerdeShape): + "Dataclass for HttpRequestWithGreedyLabelInPathOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpRequestWithLabelsOutput(_SerdeShape): + "Dataclass for HttpRequestWithLabelsOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpRequestWithLabelsAndTimestampFormatOutput(_SerdeShape): + "Dataclass for HttpRequestWithLabelsAndTimestampFormatOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpRequestWithRegexLiteralOutput(_SerdeShape): + "Dataclass for HttpRequestWithRegexLiteralOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class HttpResponseCodeInput(_SerdeShape): + "Dataclass for HttpResponseCodeInput structure." + +class HttpResponseCodeInputDict(TypedDict, total=False): + "Dictionary form of `HttpResponseCodeInput`." + +@dataclass(kw_only=True) +class HttpStringPayloadInput(_SerdeShape): + "Dataclass for HttpStringPayloadInput structure." + + payload: str | None = ... + +class HttpStringPayloadInputDict(TypedDict, total=False): + "Dictionary form of `HttpStringPayloadInput`." + + payload: str | None + +@dataclass(kw_only=True) +class HttpStringPayloadOutput(_SerdeShape): + "Dataclass for HttpStringPayloadOutput structure." + + payload: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class IgnoreQueryParamsInResponseInput(_SerdeShape): + "Dataclass for IgnoreQueryParamsInResponseInput structure." + +class IgnoreQueryParamsInResponseInputDict(TypedDict, total=False): + "Dictionary form of `IgnoreQueryParamsInResponseInput`." + +@dataclass(kw_only=True) +class InputAndOutputWithHeadersInput(_SerdeShape): + "Dataclass for InputAndOutputWithHeadersInput structure." + + header_string: str | None = ... + header_byte: int | None = ... + header_short: int | None = ... + header_integer: int | None = ... + header_long: int | None = ... + header_float: float | None = ... + header_double: float | None = ... + header_true_bool: bool | None = ... + header_false_bool: bool | None = ... + header_string_list: list[str] | None = ... + header_string_set: list[str] | None = ... + header_integer_list: list[int] | None = ... + header_boolean_list: list[bool] | None = ... + header_timestamp_list: list[datetime] | None = ... + header_enum: str | None = ... + header_enum_list: list[str] | None = ... + header_integer_enum: int | None = ... + header_integer_enum_list: list[int] | None = ... + +class InputAndOutputWithHeadersInputDict(TypedDict, total=False): + "Dictionary form of `InputAndOutputWithHeadersInput`." + + header_string: str | None + header_byte: int | None + header_short: int | None + header_integer: int | None + header_long: int | None + header_float: float | None + header_double: float | None + header_true_bool: bool | None + header_false_bool: bool | None + header_string_list: Sequence[str] | None + header_string_set: Sequence[str] | None + header_integer_list: Sequence[int] | None + header_boolean_list: Sequence[bool] | None + header_timestamp_list: Sequence[datetime] | None + header_enum: str | None + header_enum_list: Sequence[str] | None + header_integer_enum: int | None + header_integer_enum_list: Sequence[int] | None + +@dataclass(kw_only=True) +class InputAndOutputWithHeadersOutput(_SerdeShape): + "Dataclass for InputAndOutputWithHeadersOutput structure." + + header_string: str | None = ... + header_byte: int | None = ... + header_short: int | None = ... + header_integer: int | None = ... + header_long: int | None = ... + header_float: float | None = ... + header_double: float | None = ... + header_true_bool: bool | None = ... + header_false_bool: bool | None = ... + header_string_list: list[str] | None = ... + header_string_set: list[str] | None = ... + header_integer_list: list[int] | None = ... + header_boolean_list: list[bool] | None = ... + header_timestamp_list: list[datetime] | None = ... + header_enum: str | None = ... + header_enum_list: list[str] | None = ... + header_integer_enum: int | None = ... + header_integer_enum_list: list[int] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class InputStreamOutput(_SerdeShape): + "Dataclass for InputStreamOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class InputStreamWithInitialRequestOutput(_SerdeShape): + "Dataclass for InputStreamWithInitialRequestOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonBlobsInput(_SerdeShape): + "Dataclass for JsonBlobsInput structure." + + data: bytes | None = ... + +class JsonBlobsInputDict(TypedDict, total=False): + "Dictionary form of `JsonBlobsInput`." + + data: bytes | None + +@dataclass(kw_only=True) +class JsonBlobsOutput(_SerdeShape): + "Dataclass for JsonBlobsOutput structure." + + data: bytes | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonEnumsInput(_SerdeShape): + "Dataclass for JsonEnumsInput structure." + + foo_enum1: str | None = ... + foo_enum2: str | None = ... + foo_enum3: str | None = ... + foo_enum_list: list[str] | None = ... + foo_enum_set: list[str] | None = ... + foo_enum_map: dict[str, str] | None = ... + +class JsonEnumsInputDict(TypedDict, total=False): + "Dictionary form of `JsonEnumsInput`." + + foo_enum1: str | None + foo_enum2: str | None + foo_enum3: str | None + foo_enum_list: Sequence[str] | None + foo_enum_set: Sequence[str] | None + foo_enum_map: Mapping[str, str] | None + +@dataclass(kw_only=True) +class JsonEnumsOutput(_SerdeShape): + "Dataclass for JsonEnumsOutput structure." + + foo_enum1: str | None = ... + foo_enum2: str | None = ... + foo_enum3: str | None = ... + foo_enum_list: list[str] | None = ... + foo_enum_set: list[str] | None = ... + foo_enum_map: dict[str, str] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonIntEnumsInput(_SerdeShape): + "Dataclass for JsonIntEnumsInput structure." + + integer_enum1: int | None = ... + integer_enum2: int | None = ... + integer_enum3: int | None = ... + integer_enum_list: list[int] | None = ... + integer_enum_set: list[int] | None = ... + integer_enum_map: dict[str, int] | None = ... + +class JsonIntEnumsInputDict(TypedDict, total=False): + "Dictionary form of `JsonIntEnumsInput`." + + integer_enum1: int | None + integer_enum2: int | None + integer_enum3: int | None + integer_enum_list: Sequence[int] | None + integer_enum_set: Sequence[int] | None + integer_enum_map: Mapping[str, int] | None + +@dataclass(kw_only=True) +class JsonIntEnumsOutput(_SerdeShape): + "Dataclass for JsonIntEnumsOutput structure." + + integer_enum1: int | None = ... + integer_enum2: int | None = ... + integer_enum3: int | None = ... + integer_enum_list: list[int] | None = ... + integer_enum_set: list[int] | None = ... + integer_enum_map: dict[str, int] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonListsInput(_SerdeShape): + "Dataclass for JsonListsInput structure." + + string_list: list[str] | None = ... + string_set: list[str] | None = ... + integer_list: list[int] | None = ... + boolean_list: list[bool] | None = ... + timestamp_list: list[datetime] | None = ... + enum_list: list[str] | None = ... + int_enum_list: list[int] | None = ... + nested_string_list: list[list[str]] | None = ... + structure_list: list[___models_StructureListMember] | None = ... + +class JsonListsInputDict(TypedDict, total=False): + "Dictionary form of `JsonListsInput`." + + string_list: Sequence[str] | None + string_set: Sequence[str] | None + integer_list: Sequence[int] | None + boolean_list: Sequence[bool] | None + timestamp_list: Sequence[datetime] | None + enum_list: Sequence[str] | None + int_enum_list: Sequence[int] | None + nested_string_list: Sequence[Sequence[str]] | None + structure_list: ( + Sequence[___models_StructureListMember | ___models_StructureListMemberDict] + | None + ) + +@dataclass(kw_only=True) +class JsonListsOutput(_SerdeShape): + "Dataclass for JsonListsOutput structure." + + string_list: list[str] | None = ... + string_set: list[str] | None = ... + integer_list: list[int] | None = ... + boolean_list: list[bool] | None = ... + timestamp_list: list[datetime] | None = ... + enum_list: list[str] | None = ... + int_enum_list: list[int] | None = ... + nested_string_list: list[list[str]] | None = ... + structure_list: list[___models_StructureListMember] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonMapsInput(_SerdeShape): + "Dataclass for JsonMapsInput structure." + + dense_struct_map: dict[str, ___models_GreetingStruct] | None = ... + dense_number_map: dict[str, int] | None = ... + dense_boolean_map: dict[str, bool] | None = ... + dense_string_map: dict[str, str] | None = ... + dense_set_map: dict[str, list[str]] | None = ... + +class JsonMapsInputDict(TypedDict, total=False): + "Dictionary form of `JsonMapsInput`." + + dense_struct_map: ( + Mapping[str, ___models_GreetingStruct | ___models_GreetingStructDict] | None + ) + dense_number_map: Mapping[str, int] | None + dense_boolean_map: Mapping[str, bool] | None + dense_string_map: Mapping[str, str] | None + dense_set_map: Mapping[str, Sequence[str]] | None + +@dataclass(kw_only=True) +class JsonMapsOutput(_SerdeShape): + "Dataclass for JsonMapsOutput structure." + + dense_struct_map: dict[str, ___models_GreetingStruct] | None = ... + dense_number_map: dict[str, int] | None = ... + dense_boolean_map: dict[str, bool] | None = ... + dense_string_map: dict[str, str] | None = ... + dense_set_map: dict[str, list[str]] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonTimestampsInput(_SerdeShape): + "Dataclass for JsonTimestampsInput structure." + + normal: datetime | None = ... + date_time: datetime | None = ... + date_time_on_target: datetime | None = ... + epoch_seconds: datetime | None = ... + epoch_seconds_on_target: datetime | None = ... + http_date: datetime | None = ... + http_date_on_target: datetime | None = ... + +class JsonTimestampsInputDict(TypedDict, total=False): + "Dictionary form of `JsonTimestampsInput`." + + normal: datetime | None + date_time: datetime | None + date_time_on_target: datetime | None + epoch_seconds: datetime | None + epoch_seconds_on_target: datetime | None + http_date: datetime | None + http_date_on_target: datetime | None + +@dataclass(kw_only=True) +class JsonTimestampsOutput(_SerdeShape): + "Dataclass for JsonTimestampsOutput structure." + + normal: datetime | None = ... + date_time: datetime | None = ... + date_time_on_target: datetime | None = ... + epoch_seconds: datetime | None = ... + epoch_seconds_on_target: datetime | None = ... + http_date: datetime | None = ... + http_date_on_target: datetime | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class JsonUnionsInput(_SerdeShape): + "A shared structure that contains a single union member." + + contents: ___models_MyUnion | None = ... + +class JsonUnionsInputDict(TypedDict, total=False): + "Dictionary form of `JsonUnionsInput`." + + contents: ___models_MyUnion | ___models_MyUnionDict | None + +@dataclass(kw_only=True) +class JsonUnionsOutput(_SerdeShape): + "A shared structure that contains a single union member." + + contents: ___models_MyUnion | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedAcceptWithBodyInput(_SerdeShape): + "Dataclass for MalformedAcceptWithBodyInput structure." + +class MalformedAcceptWithBodyInputDict(TypedDict, total=False): + "Dictionary form of `MalformedAcceptWithBodyInput`." + +@dataclass(kw_only=True) +class MalformedAcceptWithBodyOutput(_SerdeShape): + "Dataclass for MalformedAcceptWithBodyOutput structure." + + hi: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedAcceptWithGenericStringInput(_SerdeShape): + "Dataclass for MalformedAcceptWithGenericStringInput structure." + +class MalformedAcceptWithGenericStringInputDict(TypedDict, total=False): + "Dictionary form of `MalformedAcceptWithGenericStringInput`." + +@dataclass(kw_only=True) +class MalformedAcceptWithPayloadInput(_SerdeShape): + "Dataclass for MalformedAcceptWithPayloadInput structure." + +class MalformedAcceptWithPayloadInputDict(TypedDict, total=False): + "Dictionary form of `MalformedAcceptWithPayloadInput`." + +@dataclass(kw_only=True) +class MalformedBlobOutput(_SerdeShape): + "Dataclass for MalformedBlobOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedBooleanOutput(_SerdeShape): + "Dataclass for MalformedBooleanOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedByteOutput(_SerdeShape): + "Dataclass for MalformedByteOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedContentTypeWithBodyInput(_SerdeShape): + "Dataclass for MalformedContentTypeWithBodyInput structure." + + hi: str | None = ... + +class MalformedContentTypeWithBodyInputDict(TypedDict, total=False): + "Dictionary form of `MalformedContentTypeWithBodyInput`." + + hi: str | None + +@dataclass(kw_only=True) +class MalformedContentTypeWithBodyOutput(_SerdeShape): + "Dataclass for MalformedContentTypeWithBodyOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedContentTypeWithGenericStringOutput(_SerdeShape): + "Dataclass for MalformedContentTypeWithGenericStringOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedContentTypeWithPayloadOutput(_SerdeShape): + "Dataclass for MalformedContentTypeWithPayloadOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedContentTypeWithoutBodyInput(_SerdeShape): + "Dataclass for MalformedContentTypeWithoutBodyInput structure." + +class MalformedContentTypeWithoutBodyInputDict(TypedDict, total=False): + "Dictionary form of `MalformedContentTypeWithoutBodyInput`." + +@dataclass(kw_only=True) +class MalformedContentTypeWithoutBodyOutput(_SerdeShape): + "Dataclass for MalformedContentTypeWithoutBodyOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedContentTypeWithoutBodyEmptyInputOutput(_SerdeShape): + "Dataclass for MalformedContentTypeWithoutBodyEmptyInputOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedDoubleOutput(_SerdeShape): + "Dataclass for MalformedDoubleOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedFloatOutput(_SerdeShape): + "Dataclass for MalformedFloatOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedIntegerOutput(_SerdeShape): + "Dataclass for MalformedIntegerOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedListOutput(_SerdeShape): + "Dataclass for MalformedListOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedLongOutput(_SerdeShape): + "Dataclass for MalformedLongOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedMapOutput(_SerdeShape): + "Dataclass for MalformedMapOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedRequestBodyOutput(_SerdeShape): + "Dataclass for MalformedRequestBodyOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedShortOutput(_SerdeShape): + "Dataclass for MalformedShortOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedStringOutput(_SerdeShape): + "Dataclass for MalformedStringOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampBodyDateTimeOutput(_SerdeShape): + "Dataclass for MalformedTimestampBodyDateTimeOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampBodyDefaultOutput(_SerdeShape): + "Dataclass for MalformedTimestampBodyDefaultOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampBodyHttpDateOutput(_SerdeShape): + "Dataclass for MalformedTimestampBodyHttpDateOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampHeaderDateTimeOutput(_SerdeShape): + "Dataclass for MalformedTimestampHeaderDateTimeOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampHeaderDefaultOutput(_SerdeShape): + "Dataclass for MalformedTimestampHeaderDefaultOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampHeaderEpochOutput(_SerdeShape): + "Dataclass for MalformedTimestampHeaderEpochOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampPathDefaultOutput(_SerdeShape): + "Dataclass for MalformedTimestampPathDefaultOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampPathEpochOutput(_SerdeShape): + "Dataclass for MalformedTimestampPathEpochOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampPathHttpDateOutput(_SerdeShape): + "Dataclass for MalformedTimestampPathHttpDateOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampQueryDefaultOutput(_SerdeShape): + "Dataclass for MalformedTimestampQueryDefaultOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampQueryEpochOutput(_SerdeShape): + "Dataclass for MalformedTimestampQueryEpochOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedTimestampQueryHttpDateOutput(_SerdeShape): + "Dataclass for MalformedTimestampQueryHttpDateOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class MalformedUnionOutput(_SerdeShape): + "Dataclass for MalformedUnionOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class NoInputAndNoOutputInput(_SerdeShape): + "Dataclass for NoInputAndNoOutputInput structure." + +class NoInputAndNoOutputInputDict(TypedDict, total=False): + "Dictionary form of `NoInputAndNoOutputInput`." + +@dataclass(kw_only=True) +class NoInputAndNoOutputOutput(_SerdeShape): + "Dataclass for NoInputAndNoOutputOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class NoInputAndOutputInput(_SerdeShape): + "Dataclass for NoInputAndOutputInput structure." + +class NoInputAndOutputInputDict(TypedDict, total=False): + "Dictionary form of `NoInputAndOutputInput`." + +@dataclass(kw_only=True) +class NullAndEmptyHeadersClientInput(_SerdeShape): + "Dataclass for NullAndEmptyHeadersClientInput structure." + + a: str | None = ... + b: str | None = ... + c: list[str] | None = ... + +class NullAndEmptyHeadersClientInputDict(TypedDict, total=False): + "Dictionary form of `NullAndEmptyHeadersClientInput`." + + a: str | None + b: str | None + c: Sequence[str] | None + +@dataclass(kw_only=True) +class NullAndEmptyHeadersClientOutput(_SerdeShape): + "Dataclass for NullAndEmptyHeadersClientOutput structure." + + a: str | None = ... + b: str | None = ... + c: list[str] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class NullAndEmptyHeadersServerInput(_SerdeShape): + "Dataclass for NullAndEmptyHeadersServerInput structure." + + a: str | None = ... + b: str | None = ... + c: list[str] | None = ... + +class NullAndEmptyHeadersServerInputDict(TypedDict, total=False): + "Dictionary form of `NullAndEmptyHeadersServerInput`." + + a: str | None + b: str | None + c: Sequence[str] | None + +@dataclass(kw_only=True) +class NullAndEmptyHeadersServerOutput(_SerdeShape): + "Dataclass for NullAndEmptyHeadersServerOutput structure." + + a: str | None = ... + b: str | None = ... + c: list[str] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OmitsNullSerializesEmptyStringOutput(_SerdeShape): + "Dataclass for OmitsNullSerializesEmptyStringOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OmitsSerializingEmptyListsOutput(_SerdeShape): + "Dataclass for OmitsSerializingEmptyListsOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class OutputStreamInput(_SerdeShape): + "Dataclass for OutputStreamInput structure." + +class OutputStreamInputDict(TypedDict, total=False): + "Dictionary form of `OutputStreamInput`." + +@dataclass(kw_only=True) +class OutputStreamWithInitialResponseInput(_SerdeShape): + "Dataclass for OutputStreamWithInitialResponseInput structure." + +class OutputStreamWithInitialResponseInputDict(TypedDict, total=False): + "Dictionary form of `OutputStreamWithInitialResponseInput`." + +@dataclass(kw_only=True) +class PutWithContentEncodingOutput(_SerdeShape): + "Dataclass for PutWithContentEncodingOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class QueryIdempotencyTokenAutoFillOutput(_SerdeShape): + "Dataclass for QueryIdempotencyTokenAutoFillOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class QueryParamsAsStringListMapOutput(_SerdeShape): + "Dataclass for QueryParamsAsStringListMapOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class QueryPrecedenceOutput(_SerdeShape): + "Dataclass for QueryPrecedenceOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class RecursiveShapesInput(_SerdeShape): + "Dataclass for RecursiveShapesInput structure." + + nested: ___models_RecursiveShapesInputOutputNested1 | None = ... + +class RecursiveShapesInputDict(TypedDict, total=False): + "Dictionary form of `RecursiveShapesInput`." + + nested: ( + ___models_RecursiveShapesInputOutputNested1 + | ___models_RecursiveShapesInputOutputNested1Dict + | None + ) + +@dataclass(kw_only=True) +class RecursiveShapesOutput(_SerdeShape): + "Dataclass for RecursiveShapesOutput structure." + + nested: ___models_RecursiveShapesInputOutputNested1 | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class ResponseCodeHttpFallbackInput(_SerdeShape): + "Dataclass for ResponseCodeHttpFallbackInput structure." + +class ResponseCodeHttpFallbackInputDict(TypedDict, total=False): + "Dictionary form of `ResponseCodeHttpFallbackInput`." + +@dataclass(kw_only=True) +class ResponseCodeHttpFallbackOutput(_SerdeShape): + "Dataclass for ResponseCodeHttpFallbackOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class ResponseCodeRequiredInput(_SerdeShape): + "Dataclass for ResponseCodeRequiredInput structure." + +class ResponseCodeRequiredInputDict(TypedDict, total=False): + "Dictionary form of `ResponseCodeRequiredInput`." + +@dataclass(kw_only=True) +class SimpleScalarPropertiesInput(_SerdeShape): + "Dataclass for SimpleScalarPropertiesInput structure." + + foo: str | None = ... + string_value: str | None = ... + true_boolean_value: bool | None = ... + false_boolean_value: bool | None = ... + byte_value: int | None = ... + short_value: int | None = ... + integer_value: int | None = ... + long_value: int | None = ... + float_value: float | None = ... + double_value: float | None = ... + +class SimpleScalarPropertiesInputDict(TypedDict, total=False): + "Dictionary form of `SimpleScalarPropertiesInput`." + + foo: str | None + string_value: str | None + true_boolean_value: bool | None + false_boolean_value: bool | None + byte_value: int | None + short_value: int | None + integer_value: int | None + long_value: int | None + float_value: float | None + double_value: float | None + +@dataclass(kw_only=True) +class SimpleScalarPropertiesOutput(_SerdeShape): + "Dataclass for SimpleScalarPropertiesOutput structure." + + foo: str | None = ... + string_value: str | None = ... + true_boolean_value: bool | None = ... + false_boolean_value: bool | None = ... + byte_value: int | None = ... + short_value: int | None = ... + integer_value: int | None = ... + long_value: int | None = ... + float_value: float | None = ... + double_value: float | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class SparseJsonListsInput(_SerdeShape): + "Dataclass for SparseJsonListsInput structure." + + sparse_string_list: list[str | None] | None = ... + sparse_short_list: list[int | None] | None = ... + +class SparseJsonListsInputDict(TypedDict, total=False): + "Dictionary form of `SparseJsonListsInput`." + + sparse_string_list: Sequence[str | None] | None + sparse_short_list: Sequence[int | None] | None + +@dataclass(kw_only=True) +class SparseJsonListsOutput(_SerdeShape): + "Dataclass for SparseJsonListsOutput structure." + + sparse_string_list: list[str | None] | None = ... + sparse_short_list: list[int | None] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class SparseJsonMapsInput(_SerdeShape): + "Dataclass for SparseJsonMapsInput structure." + + sparse_struct_map: dict[str, ___models_GreetingStruct | None] | None = ... + sparse_number_map: dict[str, int | None] | None = ... + sparse_boolean_map: dict[str, bool | None] | None = ... + sparse_string_map: dict[str, str | None] | None = ... + sparse_set_map: dict[str, list[str] | None] | None = ... + +class SparseJsonMapsInputDict(TypedDict, total=False): + "Dictionary form of `SparseJsonMapsInput`." + + sparse_struct_map: ( + Mapping[str, ___models_GreetingStruct | ___models_GreetingStructDict | None] + | None + ) + sparse_number_map: Mapping[str, int | None] | None + sparse_boolean_map: Mapping[str, bool | None] | None + sparse_string_map: Mapping[str, str | None] | None + sparse_set_map: Mapping[str, Sequence[str] | None] | None + +@dataclass(kw_only=True) +class SparseJsonMapsOutput(_SerdeShape): + "Dataclass for SparseJsonMapsOutput structure." + + sparse_struct_map: dict[str, ___models_GreetingStruct | None] | None = ... + sparse_number_map: dict[str, int | None] | None = ... + sparse_boolean_map: dict[str, bool | None] | None = ... + sparse_string_map: dict[str, str | None] | None = ... + sparse_set_map: dict[str, list[str] | None] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class StreamingTraitsInput(_SerdeShape): + "Dataclass for StreamingTraitsInput structure." + + foo: str | None = ... + blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... + +class StreamingTraitsInputDict(TypedDict, total=False): + """ + Dictionary form of `StreamingTraitsInput` that either client accepts. + Its streaming body is one a sync client can send. Use + `AsyncStreamingTraitsInputDict` for an async stream. + """ + + foo: str | None + blob: _smithy_core_interfaces_StreamingBlob | None + +class AsyncStreamingTraitsInputDict(TypedDict, total=False): + """ + Dictionary form of `StreamingTraitsInput` for the async client. Its + streaming body may also be an async stream. + """ + + foo: str | None + blob: _smithy_core_aio_interfaces_StreamingBlob | None + +@dataclass(kw_only=True) +class StreamingTraitsOutput(_SerdeShape): + "Dataclass for StreamingTraitsOutput structure." + + foo: str | None = ... + blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class StreamingTraitsRequireLengthOutput(_SerdeShape): + "Dataclass for StreamingTraitsRequireLengthOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class StreamingTraitsWithMediaTypeInput(_SerdeShape): + "Dataclass for StreamingTraitsWithMediaTypeInput structure." + + foo: str | None = ... + blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... + +class StreamingTraitsWithMediaTypeInputDict(TypedDict, total=False): + """ + Dictionary form of `StreamingTraitsWithMediaTypeInput` that either + client accepts. Its streaming body is one a sync client can send. Use + `AsyncStreamingTraitsWithMediaTypeInputDict` for an async stream. + """ + + foo: str | None + blob: _smithy_core_interfaces_StreamingBlob | None + +class AsyncStreamingTraitsWithMediaTypeInputDict(TypedDict, total=False): + """ + Dictionary form of `StreamingTraitsWithMediaTypeInput` for the async + client. Its streaming body may also be an async stream. + """ + + foo: str | None + blob: _smithy_core_aio_interfaces_StreamingBlob | None + +@dataclass(kw_only=True) +class StreamingTraitsWithMediaTypeOutput(_SerdeShape): + "Dataclass for StreamingTraitsWithMediaTypeOutput structure." + + foo: str | None = ... + blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/models_1.pyi b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/models_1.pyi new file mode 100644 index 000000000..9be653525 --- /dev/null +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/models_1.pyi @@ -0,0 +1,252 @@ +from dataclasses import dataclass +from datetime import datetime +from typing import TypedDict + +from smithy_core.response import ResponseMetadata + +from ..models import ( + PayloadConfig, + PayloadConfigDict, + TestConfig, + TestConfigDict, + _SerdeShape, # pyright: ignore[reportPrivateUsage] +) + +@dataclass(kw_only=True) +class TestBodyStructureInput(_SerdeShape): + "Dataclass for TestBodyStructureInput structure." + + test_id: str | None = ... + test_config: TestConfig | None = ... + +class TestBodyStructureInputDict(TypedDict, total=False): + "Dictionary form of `TestBodyStructureInput`." + + test_id: str | None + test_config: TestConfig | TestConfigDict | None + +@dataclass(kw_only=True) +class TestBodyStructureOutput(_SerdeShape): + "Dataclass for TestBodyStructureOutput structure." + + test_id: str | None = ... + test_config: TestConfig | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TestGetNoInputNoPayloadInput(_SerdeShape): + "Dataclass for TestGetNoInputNoPayloadInput structure." + +class TestGetNoInputNoPayloadInputDict(TypedDict, total=False): + "Dictionary form of `TestGetNoInputNoPayloadInput`." + +@dataclass(kw_only=True) +class TestGetNoInputNoPayloadOutput(_SerdeShape): + "Dataclass for TestGetNoInputNoPayloadOutput structure." + + test_id: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TestGetNoPayloadInput(_SerdeShape): + "Dataclass for TestGetNoPayloadInput structure." + + test_id: str | None = ... + +class TestGetNoPayloadInputDict(TypedDict, total=False): + "Dictionary form of `TestGetNoPayloadInput`." + + test_id: str | None + +@dataclass(kw_only=True) +class TestGetNoPayloadOutput(_SerdeShape): + "Dataclass for TestGetNoPayloadOutput structure." + + test_id: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TestPayloadBlobInput(_SerdeShape): + "Dataclass for TestPayloadBlobInput structure." + + content_type: str | None = ... + data: bytes | None = ... + +class TestPayloadBlobInputDict(TypedDict, total=False): + "Dictionary form of `TestPayloadBlobInput`." + + content_type: str | None + data: bytes | None + +@dataclass(kw_only=True) +class TestPayloadBlobOutput(_SerdeShape): + "Dataclass for TestPayloadBlobOutput structure." + + content_type: str | None = ... + data: bytes | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TestPayloadStructureInput(_SerdeShape): + "Dataclass for TestPayloadStructureInput structure." + + test_id: str | None = ... + payload_config: PayloadConfig | None = ... + +class TestPayloadStructureInputDict(TypedDict, total=False): + "Dictionary form of `TestPayloadStructureInput`." + + test_id: str | None + payload_config: PayloadConfig | PayloadConfigDict | None + +@dataclass(kw_only=True) +class TestPayloadStructureOutput(_SerdeShape): + "Dataclass for TestPayloadStructureOutput structure." + + test_id: str | None = ... + payload_config: PayloadConfig | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TestPostNoInputNoPayloadInput(_SerdeShape): + "Dataclass for TestPostNoInputNoPayloadInput structure." + +class TestPostNoInputNoPayloadInputDict(TypedDict, total=False): + "Dictionary form of `TestPostNoInputNoPayloadInput`." + +@dataclass(kw_only=True) +class TestPostNoInputNoPayloadOutput(_SerdeShape): + "Dataclass for TestPostNoInputNoPayloadOutput structure." + + test_id: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TestPostNoPayloadInput(_SerdeShape): + "Dataclass for TestPostNoPayloadInput structure." + + test_id: str | None = ... + +class TestPostNoPayloadInputDict(TypedDict, total=False): + "Dictionary form of `TestPostNoPayloadInput`." + + test_id: str | None + +@dataclass(kw_only=True) +class TestPostNoPayloadOutput(_SerdeShape): + "Dataclass for TestPostNoPayloadOutput structure." + + test_id: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class TimestampFormatHeadersInput(_SerdeShape): + "Dataclass for TimestampFormatHeadersInput structure." + + member_epoch_seconds: datetime | None = ... + member_http_date: datetime | None = ... + member_date_time: datetime | None = ... + default_format: datetime | None = ... + target_epoch_seconds: datetime | None = ... + target_http_date: datetime | None = ... + target_date_time: datetime | None = ... + +class TimestampFormatHeadersInputDict(TypedDict, total=False): + "Dictionary form of `TimestampFormatHeadersInput`." + + member_epoch_seconds: datetime | None + member_http_date: datetime | None + member_date_time: datetime | None + default_format: datetime | None + target_epoch_seconds: datetime | None + target_http_date: datetime | None + target_date_time: datetime | None + +@dataclass(kw_only=True) +class TimestampFormatHeadersOutput(_SerdeShape): + "Dataclass for TimestampFormatHeadersOutput structure." + + member_epoch_seconds: datetime | None = ... + member_http_date: datetime | None = ... + member_date_time: datetime | None = ... + default_format: datetime | None = ... + target_epoch_seconds: datetime | None = ... + target_http_date: datetime | None = ... + target_date_time: datetime | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ + +@dataclass(kw_only=True) +class UnitInputAndOutputInput(_SerdeShape): + "Dataclass for UnitInputAndOutputInput structure." + +class UnitInputAndOutputInputDict(TypedDict, total=False): + "Dictionary form of `UnitInputAndOutputInput`." + +@dataclass(kw_only=True) +class UnitInputAndOutputOutput(_SerdeShape): + "Dataclass for UnitInputAndOutputOutput structure." + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. + + Use this to recover the request identifiers a service's support team + needs in order to investigate a call. Members of the metadata are + individually optional. + """ diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas.py index 4c06f653e..499d9f012 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas.py @@ -17,6 +17,7 @@ "ALL_QUERY_STRING_TYPES_INPUT", "ALL_QUERY_STRING_TYPES_OUTPUT", "ALL_QUERY_STRING_TYPES", + "BLOB_PAYLOAD_EVENT", "CLIENT_OPTIONAL_DEFAULTS", "COMPLEX_NESTED_ERROR_DATA", "COMPLEX_ERROR", @@ -49,6 +50,27 @@ "DIALOG_LIST", "DIALOG_MAP", "DOCUMENT_VALUED_MAP", + "HEADERS_EVENT", + "STRING_PAYLOAD_EVENT", + "PAYLOAD_STRUCTURE", + "STRUCTURE_PAYLOAD_EVENT", + "PAYLOAD_UNION", + "UNION_PAYLOAD_EVENT", + "HEADERS_AND_EXPLICIT_PAYLOAD_EVENT", + "HEADERS_AND_IMPLICIT_PAYLOAD_EVENT", + "ERROR_EVENT", + "EVENT_STREAM", + "DUPLEX_STREAM_INPUT", + "DUPLEX_STREAM_OUTPUT", + "DUPLEX_STREAM", + "DUPLEX_STREAM_WITH_DISTINCT_STREAMS_INPUT", + "DUPLEX_STREAM_WITH_DISTINCT_STREAMS_OUTPUT", + "DUPLEX_STREAM_WITH_DISTINCT_STREAMS", + "SINGLETON_EVENT", + "SINGLETON_EVENT_STREAM", + "DUPLEX_STREAM_WITH_INITIAL_MESSAGES_INPUT", + "DUPLEX_STREAM_WITH_INITIAL_MESSAGES_OUTPUT", + "DUPLEX_STREAM_WITH_INITIAL_MESSAGES", "EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT", "EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT", "EMPTY_INPUT_AND_EMPTY_OUTPUT", @@ -67,6 +89,9 @@ "HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT", "HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT", "HTTP_PREFIX_HEADERS_IN_RESPONSE", + "SERVICE_UNAVAILABLE_ERROR", + ), + ( "HTTP_PREFIX_HEADERS_INPUT", "HTTP_PREFIX_HEADERS_OUTPUT", "HTTP_PREFIX_HEADERS", @@ -93,6 +118,12 @@ "IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT", "IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT", "IGNORE_QUERY_PARAMS_IN_RESPONSE", + "INPUT_STREAM_INPUT", + "INPUT_STREAM_OUTPUT", + "INPUT_STREAM", + "INPUT_STREAM_WITH_INITIAL_REQUEST_INPUT", + "INPUT_STREAM_WITH_INITIAL_REQUEST_OUTPUT", + "INPUT_STREAM_WITH_INITIAL_REQUEST", "INVALID_GREETING", "JSON_HEADER_STRING", "JSON_VALUE", @@ -103,8 +134,6 @@ "MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT", "MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT", "MALFORMED_ACCEPT_WITH_PAYLOAD", - ), - ( "MALFORMED_BLOB_INPUT", "MALFORMED_BLOB_OUTPUT", "MALFORMED_BLOB", @@ -155,6 +184,8 @@ "MALFORMED_TIMESTAMP_BODY_DATE_TIME_INPUT", "MALFORMED_TIMESTAMP_BODY_DATE_TIME_OUTPUT", "MALFORMED_TIMESTAMP_BODY_DATE_TIME", + ), + ( "MALFORMED_TIMESTAMP_BODY_DEFAULT_INPUT", "MALFORMED_TIMESTAMP_BODY_DEFAULT_OUTPUT", "MALFORMED_TIMESTAMP_BODY_DEFAULT", @@ -208,9 +239,6 @@ "OMITS_SERIALIZING_EMPTY_LISTS_INPUT", "OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT", "OMITS_SERIALIZING_EMPTY_LISTS", - ), - ( - "DOCUMENT", "OPERATION_WITH_DEFAULTS_INPUT", "OPERATION_WITH_DEFAULTS_OUTPUT", "OPERATION_WITH_DEFAULTS", @@ -218,6 +246,12 @@ "OPERATION_WITH_NESTED_STRUCTURE_INPUT", "OPERATION_WITH_NESTED_STRUCTURE_OUTPUT", "OPERATION_WITH_NESTED_STRUCTURE", + "OUTPUT_STREAM_OUTPUT", + "OUTPUT_STREAM_INPUT", + "OUTPUT_STREAM", + "OUTPUT_STREAM_WITH_INITIAL_RESPONSE_OUTPUT", + "OUTPUT_STREAM_WITH_INITIAL_RESPONSE_INPUT", + "OUTPUT_STREAM_WITH_INITIAL_RESPONSE", "PAYLOAD_CONFIG", "PLAYER_ACTION", "POST_PLAYER_ACTION_INPUT", @@ -233,6 +267,9 @@ "QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_INPUT", "QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT", "QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL", + ), + ( + "DOCUMENT", "QUERY_MAP", "QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT", "QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT", @@ -311,8 +348,6 @@ "INPUT_AND_OUTPUT_WITH_HEADERS_INPUT", "INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT", "INPUT_AND_OUTPUT_WITH_HEADERS", - ), - ( "JSON_BLOBS_INPUT", "JSON_BLOBS_OUTPUT", "JSON_BLOBS", @@ -322,6 +357,8 @@ "JSON_INT_ENUMS_INPUT", "JSON_INT_ENUMS_OUTPUT", "JSON_INT_ENUMS", + ), + ( "JSON_LISTS_INPUT", "JSON_LISTS_OUTPUT", "JSON_LISTS", diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_0.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_0.py index 54c1b2577..dbb50dca9 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_0.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_0.py @@ -72,213 +72,195 @@ _s63 = "queryIntegerEnum" _s64 = "queryIntegerEnumList" _s65 = "queryParamsMapOfStringList" -_s66 = "ClientOptionalDefaults" -_s67 = "smithy.api#clientOptional" -_s68 = "smithy.api#default" -_s69 = "ComplexNestedErrorData" -_s70 = "smithy.api#jsonName" -_s71 = "Fooooo" -_s72 = "ComplexError" -_s73 = "smithy.api#error" -_s74 = "client" -_s75 = "smithy.api#httpError" -_s76 = "Header" -_s77 = "smithy.api#httpHeader" -_s78 = "X-Header" -_s79 = "TopLevel" -_s80 = "Nested" -_s81 = "ConstantAndVariableQueryStringInput" -_s82 = "aws.protocoltests.restjson#ConstantAndVariableQueryStringInput" -_s83 = "baz" -_s84 = "maybeSet" -_s85 = "ConstantQueryStringInput" -_s86 = "aws.protocoltests.restjson#ConstantQueryStringInput" -_s87 = "hello" -_s88 = "ContentTypeParametersInput" -_s89 = "aws.protocoltests.restjson#ContentTypeParametersInput" -_s90 = "ContentTypeParametersOutput" -_s91 = "aws.protocoltests.restjson#ContentTypeParametersOutput" -_s92 = "smithy.api#output" -_s93 = "DateTime" -_s94 = "smithy.api#timestampFormat" -_s95 = "date-time" -_s96 = "DatetimeOffsetsOutput" -_s97 = "aws.protocoltests.restjson#DatetimeOffsetsOutput" -_s98 = "datetime" -_s99 = "TestStringList" -_s101 = "TestStringMap" -_s102 = "TestEnum" -_s103 = "TestIntEnum" -_s104 = "TWO" -_s105 = "Defaults" -_s106 = "defaultString" -_s107 = "hi" -_s108 = "defaultBoolean" -_s109 = "defaultList" -_s110 = "defaultDocumentMap" -_s111 = "defaultDocumentString" -_s112 = "defaultDocumentBoolean" -_s113 = "defaultDocumentList" -_s114 = "defaultNullDocument" -_s115 = "defaultTimestamp" -_s116 = "defaultBlob" -_s117 = "YWJj" -_s118 = "defaultByte" -_s119 = "defaultShort" -_s120 = "defaultInteger" -_s121 = "defaultLong" -_s122 = "defaultFloat" -_s123 = "defaultDouble" -_s124 = "defaultMap" -_s125 = "defaultEnum" -_s126 = "defaultIntEnum" -_s127 = "emptyString" -_s128 = "" -_s129 = "falseBoolean" -_s130 = "emptyBlob" -_s131 = "zeroByte" -_s132 = "zeroShort" -_s133 = "zeroInteger" -_s134 = "zeroLong" -_s135 = "zeroFloat" -_s136 = "zeroDouble" -_s137 = "DenseBooleanMap" -_s138 = "DenseNumberMap" -_s139 = "DenseSetMap" -_s140 = "DenseStringMap" -_s141 = "GreetingStruct" -_s142 = "DenseStructMap" -_s143 = "Farewell" -_s144 = "phrase" -_s145 = "bye" -_s146 = "Dialog" -_s147 = "language" -_s148 = "greeting" -_s149 = "farewell" -_s150 = "DialogList" -_s151 = "DialogMap" -_s152 = "DocumentValuedMap" -_s153 = "EmptyInputAndEmptyOutputInput" -_s154 = "aws.protocoltests.restjson#EmptyInputAndEmptyOutputInput" -_s155 = "EmptyInputAndEmptyOutputOutput" -_s156 = "aws.protocoltests.restjson#EmptyInputAndEmptyOutputOutput" -_s157 = "FiniteStreamingBlob" -_s158 = "smithy.api#streaming" -_s159 = "smithy.api#requiresLength" -_s160 = "FooError" -_s161 = "server" -_s162 = "FractionalSecondsOutput" -_s163 = "aws.protocoltests.restjson#FractionalSecondsOutput" -_s164 = "GreetingWithErrorsOutput" -_s165 = "aws.protocoltests.restjson#GreetingWithErrorsOutput" -_s166 = "X-Greeting" -_s167 = "StringMap" -_s168 = "HttpEmptyPrefixHeadersInput" -_s169 = "aws.protocoltests.restjson#HttpEmptyPrefixHeadersInput" -_s170 = "prefixHeaders" -_s171 = "smithy.api#httpPrefixHeaders" -_s172 = "specificHeader" -_s173 = "HttpEmptyPrefixHeadersOutput" -_s174 = "aws.protocoltests.restjson#HttpEmptyPrefixHeadersOutput" -_s175 = "HttpPrefixHeadersInResponseInput" -_s176 = "aws.protocoltests.restjson#HttpPrefixHeadersInResponseInput" -_s177 = "HttpPrefixHeadersInResponseOutput" -_s178 = "aws.protocoltests.restjson#HttpPrefixHeadersInResponseOutput" -_s179 = "HttpPrefixHeadersInput" -_s180 = "aws.protocoltests.restjson#HttpPrefixHeadersInput" -_s181 = "foo" -_s182 = "x-foo" -_s183 = "fooMap" -_s184 = "x-foo-" -_s185 = "HttpPrefixHeadersOutput" -_s186 = "aws.protocoltests.restjson#HttpPrefixHeadersOutput" -_s187 = "HttpRequestWithFloatLabelsInput" -_s188 = "aws.protocoltests.restjson#HttpRequestWithFloatLabelsInput" -_s189 = "float" -_s190 = "double" -_s191 = "HttpRequestWithGreedyLabelInPathInput" -_s192 = "aws.protocoltests.restjson#HttpRequestWithGreedyLabelInPathInput" -_s193 = "EpochSeconds" -_s194 = "epoch-seconds" -_s195 = "HttpDate" -_s196 = "http-date" -_s197 = "HttpRequestWithLabelsAndTimestampFormatInput" -_s198 = "aws.protocoltests.restjson#HttpRequestWithLabelsAndTimestampFormatInput" -_s199 = "memberEpochSeconds" -_s200 = "smithy.api#httpLabel" -_s201 = "smithy.api#required" -_s202 = "memberHttpDate" -_s203 = "memberDateTime" -_s204 = "defaultFormat" -_s205 = "targetEpochSeconds" -_s206 = "targetHttpDate" -_s207 = "targetDateTime" -_s208 = "HttpRequestWithLabelsInput" -_s209 = "aws.protocoltests.restjson#HttpRequestWithLabelsInput" -_s210 = "string" -_s211 = "short" -_s212 = "integer" -_s213 = "long" -_s214 = "boolean" -_s215 = "timestamp" -_s216 = "HttpRequestWithRegexLiteralInput" -_s217 = "aws.protocoltests.restjson#HttpRequestWithRegexLiteralInput" -_s218 = "str" -_s219 = "HttpResponseCodeOutput" -_s220 = "aws.protocoltests.restjson#HttpResponseCodeOutput" -_s221 = "Status" -_s222 = "IgnoreQueryParamsInResponseOutput" -_s223 = "aws.protocoltests.restjson#IgnoreQueryParamsInResponseOutput" -_s224 = "InvalidGreeting" -_s225 = "Message" -_s226 = "JsonHeaderString" -_s227 = "smithy.api#mediaType" -_s228 = "application/json" -_s229 = "JsonValue" -_s230 = "MalformedAcceptWithGenericStringOutput" -_s231 = "aws.protocoltests.restjson#MalformedAcceptWithGenericStringOutput" -_s232 = "payload" -_s233 = "JpegBlob" -_s234 = "image/jpeg" -_s235 = "MalformedAcceptWithPayloadOutput" -_s236 = "aws.protocoltests.restjson#MalformedAcceptWithPayloadOutput" -_s443 = "AllQueryStringTypesOutput" -_s444 = "smithy.api#Unit" -_s445 = "ConstantAndVariableQueryStringOutput" -_s446 = "ConstantQueryStringOutput" -_s447 = "DatetimeOffsetsInput" -_s465 = "FractionalSecondsInput" -_s466 = "GreetingWithErrorsInput" -_s492 = "HttpRequestWithFloatLabelsOutput" -_s493 = "HttpRequestWithGreedyLabelInPathOutput" -_s494 = "HttpRequestWithLabelsOutput" -_s495 = "HttpRequestWithLabelsAndTimestampFormatOutput" -_s496 = "HttpRequestWithRegexLiteralOutput" -_s497 = "HttpResponseCodeInput" -_s501 = "IgnoreQueryParamsInResponseInput" -_s600 = "MalformedAcceptWithGenericStringInput" -_s601 = "MalformedAcceptWithPayloadInput" -_s728 = "AllQueryStringTypes" -_s729 = "smithy.api#http" -_s730 = "ConstantAndVariableQueryString" -_s731 = "ConstantQueryString" -_s732 = "ContentTypeParameters" -_s733 = "DatetimeOffsets" -_s737 = "EmptyInputAndEmptyOutput" -_s741 = "FractionalSeconds" -_s742 = "GreetingWithErrors" -_s746 = "HttpEmptyPrefixHeaders" -_s752 = "HttpPrefixHeaders" -_s753 = "HttpPrefixHeadersInResponse" -_s755 = "HttpRequestWithFloatLabels" -_s756 = "HttpRequestWithGreedyLabelInPath" -_s757 = "HttpRequestWithLabels" -_s758 = "HttpRequestWithLabelsAndTimestampFormat" -_s759 = "HttpRequestWithRegexLiteral" -_s760 = "HttpResponseCode" -_s762 = "IgnoreQueryParamsInResponse" -_s772 = "MalformedAcceptWithGenericString" -_s773 = "MalformedAcceptWithPayload" +_s66 = "BlobPayloadEvent" +_s67 = "payload" +_s68 = "smithy.api#eventPayload" +_s69 = "ClientOptionalDefaults" +_s70 = "smithy.api#clientOptional" +_s71 = "smithy.api#default" +_s72 = "ComplexNestedErrorData" +_s73 = "smithy.api#jsonName" +_s74 = "Fooooo" +_s75 = "ComplexError" +_s76 = "smithy.api#error" +_s77 = "client" +_s78 = "smithy.api#httpError" +_s79 = "Header" +_s80 = "smithy.api#httpHeader" +_s81 = "X-Header" +_s82 = "TopLevel" +_s83 = "Nested" +_s84 = "ConstantAndVariableQueryStringInput" +_s85 = "aws.protocoltests.restjson#ConstantAndVariableQueryStringInput" +_s86 = "baz" +_s87 = "maybeSet" +_s88 = "ConstantQueryStringInput" +_s89 = "aws.protocoltests.restjson#ConstantQueryStringInput" +_s90 = "hello" +_s91 = "ContentTypeParametersInput" +_s92 = "aws.protocoltests.restjson#ContentTypeParametersInput" +_s93 = "ContentTypeParametersOutput" +_s94 = "aws.protocoltests.restjson#ContentTypeParametersOutput" +_s95 = "smithy.api#output" +_s96 = "DateTime" +_s97 = "smithy.api#timestampFormat" +_s98 = "date-time" +_s99 = "DatetimeOffsetsOutput" +_s100 = "aws.protocoltests.restjson#DatetimeOffsetsOutput" +_s101 = "datetime" +_s102 = "TestStringList" +_s104 = "TestStringMap" +_s105 = "TestEnum" +_s106 = "TestIntEnum" +_s107 = "TWO" +_s108 = "Defaults" +_s109 = "defaultString" +_s110 = "hi" +_s111 = "defaultBoolean" +_s112 = "defaultList" +_s113 = "defaultDocumentMap" +_s114 = "defaultDocumentString" +_s115 = "defaultDocumentBoolean" +_s116 = "defaultDocumentList" +_s117 = "defaultNullDocument" +_s118 = "defaultTimestamp" +_s119 = "defaultBlob" +_s120 = "YWJj" +_s121 = "defaultByte" +_s122 = "defaultShort" +_s123 = "defaultInteger" +_s124 = "defaultLong" +_s125 = "defaultFloat" +_s126 = "defaultDouble" +_s127 = "defaultMap" +_s128 = "defaultEnum" +_s129 = "defaultIntEnum" +_s130 = "emptyString" +_s131 = "" +_s132 = "falseBoolean" +_s133 = "emptyBlob" +_s134 = "zeroByte" +_s135 = "zeroShort" +_s136 = "zeroInteger" +_s137 = "zeroLong" +_s138 = "zeroFloat" +_s139 = "zeroDouble" +_s140 = "DenseBooleanMap" +_s141 = "DenseNumberMap" +_s142 = "DenseSetMap" +_s143 = "DenseStringMap" +_s144 = "GreetingStruct" +_s145 = "DenseStructMap" +_s146 = "Farewell" +_s147 = "phrase" +_s148 = "bye" +_s149 = "Dialog" +_s150 = "language" +_s151 = "greeting" +_s152 = "farewell" +_s153 = "DialogList" +_s154 = "DialogMap" +_s155 = "DocumentValuedMap" +_s156 = "HeadersEvent" +_s157 = "booleanHeader" +_s158 = "smithy.api#eventHeader" +_s159 = "byteHeader" +_s160 = "shortHeader" +_s161 = "intHeader" +_s162 = "longHeader" +_s163 = "blobHeader" +_s164 = "stringHeader" +_s165 = "timestampHeader" +_s166 = "StringPayloadEvent" +_s167 = "PayloadStructure" +_s168 = "structureMember" +_s169 = "StructurePayloadEvent" +_s170 = "PayloadUnion" +_s171 = "unionMember" +_s172 = "UnionPayloadEvent" +_s173 = "HeadersAndExplicitPayloadEvent" +_s174 = "header" +_s175 = "HeadersAndImplicitPayloadEvent" +_s176 = "ErrorEvent" +_s177 = "message" +_s178 = "EventStream" +_s179 = "smithy.api#streaming" +_s180 = "headers" +_s181 = "blobPayload" +_s182 = "stringPayload" +_s183 = "structurePayload" +_s184 = "unionPayload" +_s185 = "headersAndExplicitPayload" +_s186 = "headersAndImplicitPayload" +_s187 = "error" +_s188 = "DuplexStreamInput" +_s189 = "aws.protocoltests.restjson#DuplexStreamInput" +_s190 = "stream" +_s191 = "DuplexStreamOutput" +_s192 = "aws.protocoltests.restjson#DuplexStreamOutput" +_s193 = "DuplexStreamWithDistinctStreamsInput" +_s194 = "aws.protocoltests.restjson#DuplexStreamWithDistinctStreamsInput" +_s195 = "SingletonEvent" +_s196 = "SingletonEventStream" +_s197 = "singleton" +_s198 = "DuplexStreamWithDistinctStreamsOutput" +_s199 = "aws.protocoltests.restjson#DuplexStreamWithDistinctStreamsOutput" +_s200 = "DuplexStreamWithInitialMessagesInput" +_s201 = "aws.protocoltests.restjson#DuplexStreamWithInitialMessagesInput" +_s202 = "initialRequestMember" +_s203 = "initial-request-member" +_s204 = "smithy.api#required" +_s205 = "DuplexStreamWithInitialMessagesOutput" +_s206 = "aws.protocoltests.restjson#DuplexStreamWithInitialMessagesOutput" +_s207 = "initialResponseMember" +_s208 = "initial-response-member" +_s209 = "EmptyInputAndEmptyOutputInput" +_s210 = "aws.protocoltests.restjson#EmptyInputAndEmptyOutputInput" +_s211 = "EmptyInputAndEmptyOutputOutput" +_s212 = "aws.protocoltests.restjson#EmptyInputAndEmptyOutputOutput" +_s213 = "FiniteStreamingBlob" +_s214 = "smithy.api#requiresLength" +_s215 = "FooError" +_s216 = "server" +_s217 = "FractionalSecondsOutput" +_s218 = "aws.protocoltests.restjson#FractionalSecondsOutput" +_s219 = "GreetingWithErrorsOutput" +_s220 = "aws.protocoltests.restjson#GreetingWithErrorsOutput" +_s221 = "X-Greeting" +_s222 = "StringMap" +_s223 = "HttpEmptyPrefixHeadersInput" +_s224 = "aws.protocoltests.restjson#HttpEmptyPrefixHeadersInput" +_s225 = "prefixHeaders" +_s226 = "smithy.api#httpPrefixHeaders" +_s227 = "specificHeader" +_s228 = "HttpEmptyPrefixHeadersOutput" +_s229 = "aws.protocoltests.restjson#HttpEmptyPrefixHeadersOutput" +_s230 = "HttpPrefixHeadersInResponseInput" +_s231 = "aws.protocoltests.restjson#HttpPrefixHeadersInResponseInput" +_s232 = "HttpPrefixHeadersInResponseOutput" +_s233 = "aws.protocoltests.restjson#HttpPrefixHeadersInResponseOutput" +_s472 = "ServiceUnavailableError" +_s504 = "AllQueryStringTypesOutput" +_s505 = "smithy.api#Unit" +_s506 = "ConstantAndVariableQueryStringOutput" +_s507 = "ConstantQueryStringOutput" +_s508 = "DatetimeOffsetsInput" +_s526 = "FractionalSecondsInput" +_s527 = "GreetingWithErrorsInput" +_s793 = "AllQueryStringTypes" +_s794 = "smithy.api#http" +_s795 = "ConstantAndVariableQueryString" +_s796 = "ConstantQueryString" +_s797 = "ContentTypeParameters" +_s798 = "DatetimeOffsets" +_s802 = "DuplexStream" +_s803 = "DuplexStreamWithDistinctStreams" +_s804 = "DuplexStreamWithInitialMessages" +_s805 = "EmptyInputAndEmptyOutput" +_s809 = "FractionalSeconds" +_s810 = "GreetingWithErrors" +_s814 = "HttpEmptyPrefixHeaders" +_s821 = "HttpPrefixHeadersInResponse" STRING_LIST: StaticSchema = ( 16, @@ -450,69 +432,78 @@ ALL_QUERY_STRING_TYPES_OUTPUT: StaticSchema = ( 18, n1, - _s443, - {_s30: _s444, _s92: None}, + _s504, + {_s30: _s505, _s95: None}, ) ALL_QUERY_STRING_TYPES: StaticOperationSchema = ( 23, n1, - _s728, - {_s729: MappingProxyType({"uri": "/AllQueryStringTypesInput", "method": "GET"})}, + _s793, + {_s794: MappingProxyType({"uri": "/AllQueryStringTypesInput", "method": "GET"})}, ALL_QUERY_STRING_TYPES_INPUT, ALL_QUERY_STRING_TYPES_OUTPUT, (), ) -CLIENT_OPTIONAL_DEFAULTS: StaticSchema = ( +BLOB_PAYLOAD_EVENT: StaticSchema = ( 18, n1, _s66, 0, + (_s67,), + ((1, {_s68: None}),), +) + +CLIENT_OPTIONAL_DEFAULTS: StaticSchema = ( + 18, + n1, + _s69, + 0, (_s1,), - ((7, {_s67: None, _s68: 0}),), + ((7, {_s70: None, _s71: 0}),), ) COMPLEX_NESTED_ERROR_DATA: StaticSchema = ( 18, n1, - _s69, + _s72, 0, (_s11,), - ((3, {_s70: _s71}),), + ((3, {_s73: _s74}),), ) COMPLEX_ERROR: StaticSchema = ( 18, n1, - _s72, - {_s73: _s74, _s75: 403}, - (_s76, _s79, _s80), - ((3, {_s77: _s78}), (3, 0), (COMPLEX_NESTED_ERROR_DATA, 0)), + _s75, + {_s76: _s77, _s78: 403}, + (_s79, _s82, _s83), + ((3, {_s80: _s81}), (3, 0), (COMPLEX_NESTED_ERROR_DATA, 0)), ) CONSTANT_AND_VARIABLE_QUERY_STRING_INPUT: StaticSchema = ( 18, n1, - _s81, - {_s30: _s82, _s32: None}, - (_s83, _s84), - ((3, {_s34: _s83}), (3, {_s34: _s84})), + _s84, + {_s30: _s85, _s32: None}, + (_s86, _s87), + ((3, {_s34: _s86}), (3, {_s34: _s87})), ) CONSTANT_AND_VARIABLE_QUERY_STRING_OUTPUT: StaticSchema = ( 18, n1, - _s445, - {_s30: _s444, _s92: None}, + _s506, + {_s30: _s505, _s95: None}, ) CONSTANT_AND_VARIABLE_QUERY_STRING: StaticOperationSchema = ( 23, n1, - _s730, + _s795, { - _s729: MappingProxyType( + _s794: MappingProxyType( {"uri": "/ConstantAndVariableQueryString?foo=bar", "method": "GET"} ) }, @@ -524,25 +515,25 @@ CONSTANT_QUERY_STRING_INPUT: StaticSchema = ( 18, n1, - _s85, - {_s30: _s86, _s32: None}, - (_s87,), + _s88, + {_s30: _s89, _s32: None}, + (_s90,), ((3, 9),), ) CONSTANT_QUERY_STRING_OUTPUT: StaticSchema = ( 18, n1, - _s446, - {_s30: _s444, _s92: None}, + _s507, + {_s30: _s505, _s95: None}, ) CONSTANT_QUERY_STRING: StaticOperationSchema = ( 23, n1, - _s731, + _s796, { - _s729: MappingProxyType( + _s794: MappingProxyType( {"uri": "/ConstantQueryString/{hello}?foo=bar&hello", "method": "GET"} ) }, @@ -554,8 +545,8 @@ CONTENT_TYPE_PARAMETERS_INPUT: StaticSchema = ( 18, n1, - _s88, - {_s30: _s89, _s32: None}, + _s91, + {_s30: _s92, _s32: None}, (_s28,), ((7, 0),), ) @@ -563,15 +554,15 @@ CONTENT_TYPE_PARAMETERS_OUTPUT: StaticSchema = ( 18, n1, - _s90, - {_s30: _s91, _s92: None}, + _s93, + {_s30: _s94, _s95: None}, ) CONTENT_TYPE_PARAMETERS: StaticOperationSchema = ( 23, n1, - _s732, - {_s729: MappingProxyType({"uri": "/ContentTypeParameters", "method": "POST"})}, + _s797, + {_s794: MappingProxyType({"uri": "/ContentTypeParameters", "method": "POST"})}, CONTENT_TYPE_PARAMETERS_INPUT, CONTENT_TYPE_PARAMETERS_OUTPUT, (), @@ -580,31 +571,31 @@ DATE_TIME: StaticSchema = ( 4, n0, - _s93, - {_s94: _s95}, + _s96, + {_s97: _s98}, ) DATETIME_OFFSETS_OUTPUT: StaticSchema = ( 18, n1, - _s96, - {_s30: _s97, _s92: None}, - (_s98,), + _s99, + {_s30: _s100, _s95: None}, + (_s101,), ((DATE_TIME, 0),), ) DATETIME_OFFSETS_INPUT: StaticSchema = ( 18, n1, - _s447, - {_s30: _s444, _s32: None}, + _s508, + {_s30: _s505, _s32: None}, ) DATETIME_OFFSETS: StaticOperationSchema = ( 23, n1, - _s733, - {_s729: MappingProxyType({"uri": "/DatetimeOffsets", "method": "POST"})}, + _s798, + {_s794: MappingProxyType({"uri": "/DatetimeOffsets", "method": "POST"})}, DATETIME_OFFSETS_INPUT, DATETIME_OFFSETS_OUTPUT, (), @@ -613,7 +604,7 @@ TEST_STRING_LIST: StaticSchema = ( 16, n1, - _s99, + _s102, 0, (_s1,), ((3, 0),), @@ -622,7 +613,7 @@ TEST_STRING_MAP: StaticSchema = ( 17, n1, - _s101, + _s104, 0, (_s27, _s28), ((3, 0), (3, 0)), @@ -631,7 +622,7 @@ TEST_ENUM: StaticSchema = ( 14, n1, - _s102, + _s105, 0, (_s9, _s14, _s12), ((-1, {_s10: _s9}), (-1, {_s10: _s14}), (-1, {_s10: _s12})), @@ -640,31 +631,28 @@ TEST_INT_ENUM: StaticSchema = ( 15, n1, - _s103, + _s106, 0, - (_s16, _s104), + (_s16, _s107), ((-1, {_s10: 1}), (-1, {_s10: 2})), ) DEFAULTS: StaticSchema = ( 18, n1, - _s105, + _s108, 0, ( - _s106, - _s108, _s109, - _s110, _s111, _s112, _s113, _s114, _s115, _s116, + _s117, _s118, _s119, - _s120, _s121, _s122, _s123, @@ -672,51 +660,54 @@ _s125, _s126, _s127, + _s128, _s129, _s130, - _s131, _s132, _s133, _s134, _s135, _s136, + _s137, + _s138, + _s139, ), ( - (3, {_s68: _s107}), - (2, {_s68: True}), - (TEST_STRING_LIST, {_s68: ()}), - (lambda: schemas.DOCUMENT, {_s68: MappingProxyType[str, object]({})}), - (lambda: schemas.DOCUMENT, {_s68: _s107}), - (lambda: schemas.DOCUMENT, {_s68: True}), - (lambda: schemas.DOCUMENT, {_s68: ()}), - (lambda: schemas.DOCUMENT, {_s68: None}), - (4, {_s68: 0}), - (1, {_s68: _s117}), - (5, {_s68: 1}), - (6, {_s68: 1}), - (7, {_s68: 10}), - (8, {_s68: 100}), - (9, {_s68: 1.0}), - (10, {_s68: 1.0}), - (TEST_STRING_MAP, {_s68: MappingProxyType[str, object]({})}), - (TEST_ENUM, {_s68: _s9}), - (TEST_INT_ENUM, {_s68: 1}), - (3, {_s68: _s128}), - (2, {_s68: False}), - (1, {_s68: _s128}), - (5, {_s68: 0}), - (6, {_s68: 0}), - (7, {_s68: 0}), - (8, {_s68: 0}), - (9, {_s68: 0.0}), - (10, {_s68: 0.0}), + (3, {_s71: _s110}), + (2, {_s71: True}), + (TEST_STRING_LIST, {_s71: ()}), + (lambda: schemas.DOCUMENT, {_s71: MappingProxyType[str, object]({})}), + (lambda: schemas.DOCUMENT, {_s71: _s110}), + (lambda: schemas.DOCUMENT, {_s71: True}), + (lambda: schemas.DOCUMENT, {_s71: ()}), + (lambda: schemas.DOCUMENT, {_s71: None}), + (4, {_s71: 0}), + (1, {_s71: _s120}), + (5, {_s71: 1}), + (6, {_s71: 1}), + (7, {_s71: 10}), + (8, {_s71: 100}), + (9, {_s71: 1.0}), + (10, {_s71: 1.0}), + (TEST_STRING_MAP, {_s71: MappingProxyType[str, object]({})}), + (TEST_ENUM, {_s71: _s9}), + (TEST_INT_ENUM, {_s71: 1}), + (3, {_s71: _s131}), + (2, {_s71: False}), + (1, {_s71: _s131}), + (5, {_s71: 0}), + (6, {_s71: 0}), + (7, {_s71: 0}), + (8, {_s71: 0}), + (9, {_s71: 0.0}), + (10, {_s71: 0.0}), ), ) DENSE_BOOLEAN_MAP: StaticSchema = ( 17, n1, - _s137, + _s140, 0, (_s27, _s28), ((3, 0), (2, 0)), @@ -725,7 +716,7 @@ DENSE_NUMBER_MAP: StaticSchema = ( 17, n1, - _s138, + _s141, 0, (_s27, _s28), ((3, 0), (7, 0)), @@ -734,7 +725,7 @@ DENSE_SET_MAP: StaticSchema = ( 17, n1, - _s139, + _s142, 0, (_s27, _s28), ((3, 0), (STRING_SET, 0)), @@ -743,7 +734,7 @@ DENSE_STRING_MAP: StaticSchema = ( 17, n1, - _s140, + _s143, 0, (_s27, _s28), ((3, 0), (3, 0)), @@ -752,16 +743,16 @@ GREETING_STRUCT: StaticSchema = ( 18, n0, - _s141, + _s144, 0, - (_s107,), + (_s110,), ((3, 0),), ) DENSE_STRUCT_MAP: StaticSchema = ( 17, n1, - _s142, + _s145, 0, (_s27, _s28), ((3, 0), (GREETING_STRUCT, 0)), @@ -770,25 +761,25 @@ FAREWELL: StaticSchema = ( 18, n1, - _s143, + _s146, 0, - (_s144,), - ((3, {_s68: _s145}),), + (_s147,), + ((3, {_s71: _s148}),), ) DIALOG: StaticSchema = ( 18, n1, - _s146, + _s149, 0, - (_s147, _s148, _s149), - ((3, 0), (3, {_s68: _s107}), (FAREWELL, 0)), + (_s150, _s151, _s152), + ((3, 0), (3, {_s71: _s110}), (FAREWELL, 0)), ) DIALOG_LIST: StaticSchema = ( 16, n1, - _s150, + _s153, 0, (_s1,), ((DIALOG, 0),), @@ -797,7 +788,7 @@ DIALOG_MAP: StaticSchema = ( 17, n1, - _s151, + _s154, 0, (_s27, _s28), ((3, 0), (DIALOG, 0)), @@ -806,504 +797,388 @@ DOCUMENT_VALUED_MAP: StaticSchema = ( 17, n1, - _s152, + _s155, 0, (_s27, _s28), ((3, 0), (lambda: schemas.DOCUMENT, 0)), ) -EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT: StaticSchema = ( - 18, - n1, - _s153, - {_s30: _s154, _s32: None}, -) - -EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT: StaticSchema = ( +HEADERS_EVENT: StaticSchema = ( 18, n1, - _s155, - {_s30: _s156, _s92: None}, -) - -EMPTY_INPUT_AND_EMPTY_OUTPUT: StaticOperationSchema = ( - 23, - n1, - _s737, - {_s729: MappingProxyType({"uri": "/EmptyInputAndEmptyOutput", "method": "POST"})}, - EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT, - EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT, - (), -) - -FINITE_STREAMING_BLOB: StaticSchema = ( - 1, - n1, - _s157, - {_s158: None, _s159: None}, -) - -FOO_ERROR: StaticSchema = ( - 18, - n1, - _s160, - {_s73: _s161, _s75: 500}, -) - -FRACTIONAL_SECONDS_OUTPUT: StaticSchema = ( - 18, - n1, - _s162, - {_s30: _s163, _s92: None}, - (_s98,), - ((DATE_TIME, 0),), + _s156, + 0, + (_s157, _s159, _s160, _s161, _s162, _s163, _s164, _s165), + ( + (2, {_s158: None}), + (5, {_s158: None}), + (6, {_s158: None}), + (7, {_s158: None}), + (8, {_s158: None}), + (1, {_s158: None}), + (3, {_s158: None}), + (DATE_TIME, {_s158: None}), + ), ) -FRACTIONAL_SECONDS_INPUT: StaticSchema = ( +STRING_PAYLOAD_EVENT: StaticSchema = ( 18, n1, - _s465, - {_s30: _s444, _s32: None}, -) - -FRACTIONAL_SECONDS: StaticOperationSchema = ( - 23, - n1, - _s741, - {_s729: MappingProxyType({"uri": "/FractionalSeconds", "method": "POST"})}, - FRACTIONAL_SECONDS_INPUT, - FRACTIONAL_SECONDS_OUTPUT, - (), + _s166, + 0, + (_s67,), + ((3, {_s68: None}),), ) -GREETING_WITH_ERRORS_OUTPUT: StaticSchema = ( +PAYLOAD_STRUCTURE: StaticSchema = ( 18, n1, - _s164, - {_s30: _s165, _s92: None}, - (_s148,), - ((3, {_s77: _s166}),), + _s167, + 0, + (_s168,), + ((3, 0),), ) -GREETING_WITH_ERRORS_INPUT: StaticSchema = ( +STRUCTURE_PAYLOAD_EVENT: StaticSchema = ( 18, n1, - _s466, - {_s30: _s444, _s32: None}, + _s169, + 0, + (_s67,), + ((PAYLOAD_STRUCTURE, {_s68: None}),), ) -GREETING_WITH_ERRORS: StaticOperationSchema = ( - 23, +PAYLOAD_UNION: StaticSchema = ( + 19, n1, - _s742, - {_s729: MappingProxyType({"uri": "/GreetingWithErrors", "method": "PUT"})}, - GREETING_WITH_ERRORS_INPUT, - GREETING_WITH_ERRORS_OUTPUT, - (COMPLEX_ERROR, FOO_ERROR, lambda: INVALID_GREETING), -) - -STRING_MAP: StaticSchema = ( - 17, - n0, - _s167, + _s170, 0, - (_s27, _s28), - ((3, 0), (3, 0)), + (_s171,), + ((3, 0),), ) -HTTP_EMPTY_PREFIX_HEADERS_INPUT: StaticSchema = ( +UNION_PAYLOAD_EVENT: StaticSchema = ( 18, n1, - _s168, - {_s30: _s169, _s32: None}, - (_s170, _s172), - ((STRING_MAP, {_s171: _s128}), (3, {_s77: _s87})), + _s172, + 0, + (_s67,), + ((PAYLOAD_UNION, {_s68: None}),), ) -HTTP_EMPTY_PREFIX_HEADERS_OUTPUT: StaticSchema = ( +HEADERS_AND_EXPLICIT_PAYLOAD_EVENT: StaticSchema = ( 18, n1, _s173, - {_s30: _s174, _s92: None}, - (_s170, _s172), - ((STRING_MAP, {_s171: _s128}), (3, {_s77: _s87})), -) - -HTTP_EMPTY_PREFIX_HEADERS: StaticOperationSchema = ( - 23, - n1, - _s746, - {_s729: MappingProxyType({"uri": "/HttpEmptyPrefixHeaders", "method": "GET"})}, - HTTP_EMPTY_PREFIX_HEADERS_INPUT, - HTTP_EMPTY_PREFIX_HEADERS_OUTPUT, - (), + 0, + (_s174, _s67), + ((3, {_s158: None}), (PAYLOAD_STRUCTURE, {_s68: None})), ) -HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT: StaticSchema = ( +HEADERS_AND_IMPLICIT_PAYLOAD_EVENT: StaticSchema = ( 18, n1, _s175, - {_s30: _s176, _s32: None}, + 0, + (_s174, _s67), + ((3, {_s158: None}), (3, 0)), ) -HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT: StaticSchema = ( +ERROR_EVENT: StaticSchema = ( 18, n1, - _s177, - {_s30: _s178, _s92: None}, - (_s170,), - ((STRING_MAP, {_s171: _s128}),), + _s176, + {_s76: _s77}, + (_s177,), + ((3, 0),), ) -HTTP_PREFIX_HEADERS_IN_RESPONSE: StaticOperationSchema = ( - 23, +EVENT_STREAM: StaticSchema = ( + 19, n1, - _s753, - {_s729: MappingProxyType({"uri": "/HttpPrefixHeadersResponse", "method": "GET"})}, - HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT, - HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT, - (), + _s178, + {_s179: None}, + (_s180, _s181, _s182, _s183, _s184, _s185, _s186, _s187), + ( + (HEADERS_EVENT, 0), + (BLOB_PAYLOAD_EVENT, 0), + (STRING_PAYLOAD_EVENT, 0), + (STRUCTURE_PAYLOAD_EVENT, 0), + (UNION_PAYLOAD_EVENT, 0), + (HEADERS_AND_EXPLICIT_PAYLOAD_EVENT, 0), + (HEADERS_AND_IMPLICIT_PAYLOAD_EVENT, 0), + (ERROR_EVENT, 0), + ), ) -HTTP_PREFIX_HEADERS_INPUT: StaticSchema = ( +DUPLEX_STREAM_INPUT: StaticSchema = ( 18, n1, - _s179, - {_s30: _s180, _s32: None}, - (_s181, _s183), - ((3, {_s77: _s182}), (STRING_MAP, {_s171: _s184})), + _s188, + {_s30: _s189, _s32: None}, + (_s190,), + ((EVENT_STREAM, 16),), ) -HTTP_PREFIX_HEADERS_OUTPUT: StaticSchema = ( +DUPLEX_STREAM_OUTPUT: StaticSchema = ( 18, n1, - _s185, - {_s30: _s186, _s92: None}, - (_s181, _s183), - ((3, {_s77: _s182}), (STRING_MAP, {_s171: _s184})), + _s191, + {_s30: _s192, _s95: None}, + (_s190,), + ((EVENT_STREAM, 16),), ) -HTTP_PREFIX_HEADERS: StaticOperationSchema = ( +DUPLEX_STREAM: StaticOperationSchema = ( 23, n1, - _s752, - {_s729: MappingProxyType({"uri": "/HttpPrefixHeaders", "method": "GET"})}, - HTTP_PREFIX_HEADERS_INPUT, - HTTP_PREFIX_HEADERS_OUTPUT, + _s802, + {_s794: MappingProxyType({"method": "POST", "uri": "/DuplexStream"})}, + DUPLEX_STREAM_INPUT, + DUPLEX_STREAM_OUTPUT, (), ) -HTTP_REQUEST_WITH_FLOAT_LABELS_INPUT: StaticSchema = ( +DUPLEX_STREAM_WITH_DISTINCT_STREAMS_INPUT: StaticSchema = ( 18, n1, - _s187, - {_s30: _s188, _s32: None}, - (_s189, _s190), - ((9, 9), (10, 9)), + _s193, + {_s30: _s194, _s32: None}, + (_s190,), + ((EVENT_STREAM, 16),), ) -HTTP_REQUEST_WITH_FLOAT_LABELS_OUTPUT: StaticSchema = ( +DUPLEX_STREAM_WITH_DISTINCT_STREAMS_OUTPUT: StaticSchema = ( 18, n1, - _s492, - {_s30: _s444, _s92: None}, + _s198, + {_s30: _s199, _s95: None}, + (_s190,), + ((lambda: SINGLETON_EVENT_STREAM, 16),), ) -HTTP_REQUEST_WITH_FLOAT_LABELS: StaticOperationSchema = ( +DUPLEX_STREAM_WITH_DISTINCT_STREAMS: StaticOperationSchema = ( 23, n1, - _s755, + _s803, { - _s729: MappingProxyType( - {"method": "GET", "uri": "/FloatHttpLabels/{float}/{double}"} + _s794: MappingProxyType( + {"method": "POST", "uri": "/DuplexStreamWithDistinctStreams"} ) }, - HTTP_REQUEST_WITH_FLOAT_LABELS_INPUT, - HTTP_REQUEST_WITH_FLOAT_LABELS_OUTPUT, + DUPLEX_STREAM_WITH_DISTINCT_STREAMS_INPUT, + DUPLEX_STREAM_WITH_DISTINCT_STREAMS_OUTPUT, (), ) -HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_INPUT: StaticSchema = ( +SINGLETON_EVENT: StaticSchema = ( 18, n1, - _s191, - {_s30: _s192, _s32: None}, - (_s181, _s83), - ((3, 9), (3, 9)), -) - -HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_OUTPUT: StaticSchema = ( - 18, - n1, - _s493, - {_s30: _s444, _s92: None}, + _s195, + 0, + (_s28,), + ((3, 0),), ) -HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH: StaticOperationSchema = ( - 23, +SINGLETON_EVENT_STREAM: StaticSchema = ( + 19, n1, - _s756, - { - _s729: MappingProxyType( - { - "method": "GET", - "uri": "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", - } - ) - }, - HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_INPUT, - HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_OUTPUT, - (), -) - -EPOCH_SECONDS: StaticSchema = ( - 4, - n0, - _s193, - {_s94: _s194}, -) - -HTTP_DATE: StaticSchema = ( - 4, - n0, - _s195, - {_s94: _s196}, + _s196, + 0, + (_s197,), + ((SINGLETON_EVENT, 0),), ) -HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_INPUT: StaticSchema = ( +DUPLEX_STREAM_WITH_INITIAL_MESSAGES_INPUT: StaticSchema = ( 18, n1, - _s197, - {_s30: _s198, _s32: None}, - (_s199, _s202, _s203, _s204, _s205, _s206, _s207), - ( - (4, {_s94: _s194, _s200: None, _s201: None}), - (4, {_s94: _s196, _s200: None, _s201: None}), - (4, {_s94: _s95, _s200: None, _s201: None}), - (4, 9), - (EPOCH_SECONDS, 9), - (HTTP_DATE, 9), - (DATE_TIME, 9), - ), + _s200, + {_s30: _s201, _s32: None}, + (_s202, _s190), + ((3, {_s80: _s203, _s204: None}), (EVENT_STREAM, 16)), ) -HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_OUTPUT: StaticSchema = ( +DUPLEX_STREAM_WITH_INITIAL_MESSAGES_OUTPUT: StaticSchema = ( 18, n1, - _s495, - {_s30: _s444, _s92: None}, + _s205, + {_s30: _s206, _s95: None}, + (_s207, _s190), + ((3, {_s80: _s208, _s204: None}), (EVENT_STREAM, 16)), ) -HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT: StaticOperationSchema = ( +DUPLEX_STREAM_WITH_INITIAL_MESSAGES: StaticOperationSchema = ( 23, n1, - _s758, + _s804, { - _s729: MappingProxyType( - { - "method": "GET", - "uri": "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", - } + _s794: MappingProxyType( + {"method": "POST", "uri": "/DuplexStreamWithInitialMessages"} ) }, - HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_INPUT, - HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_OUTPUT, - (), + DUPLEX_STREAM_WITH_INITIAL_MESSAGES_INPUT, + DUPLEX_STREAM_WITH_INITIAL_MESSAGES_OUTPUT, + (lambda: SERVICE_UNAVAILABLE_ERROR,), ) -HTTP_REQUEST_WITH_LABELS_INPUT: StaticSchema = ( +EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT: StaticSchema = ( 18, n1, - _s208, - {_s30: _s209, _s32: None}, - (_s210, _s211, _s212, _s213, _s189, _s190, _s214, _s215), - ((3, 9), (6, 9), (7, 9), (8, 9), (9, 9), (10, 9), (2, 9), (4, 9)), + _s209, + {_s30: _s210, _s32: None}, ) -HTTP_REQUEST_WITH_LABELS_OUTPUT: StaticSchema = ( +EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT: StaticSchema = ( 18, n1, - _s494, - {_s30: _s444, _s92: None}, + _s211, + {_s30: _s212, _s95: None}, ) -HTTP_REQUEST_WITH_LABELS: StaticOperationSchema = ( +EMPTY_INPUT_AND_EMPTY_OUTPUT: StaticOperationSchema = ( 23, n1, - _s757, - { - _s729: MappingProxyType( - { - "method": "GET", - "uri": "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", - } - ) - }, - HTTP_REQUEST_WITH_LABELS_INPUT, - HTTP_REQUEST_WITH_LABELS_OUTPUT, + _s805, + {_s794: MappingProxyType({"uri": "/EmptyInputAndEmptyOutput", "method": "POST"})}, + EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT, + EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT, (), ) -HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT: StaticSchema = ( - 18, +FINITE_STREAMING_BLOB: StaticSchema = ( + 1, n1, - _s216, - {_s30: _s217, _s32: None}, - (_s218,), - ((3, 9),), + _s213, + {_s179: None, _s214: None}, ) -HTTP_REQUEST_WITH_REGEX_LITERAL_OUTPUT: StaticSchema = ( +FOO_ERROR: StaticSchema = ( 18, n1, - _s496, - {_s30: _s444, _s92: None}, -) - -HTTP_REQUEST_WITH_REGEX_LITERAL: StaticOperationSchema = ( - 23, - n1, - _s759, - {_s729: MappingProxyType({"method": "GET", "uri": "/ReDosLiteral/{str}/(a+)+"})}, - HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT, - HTTP_REQUEST_WITH_REGEX_LITERAL_OUTPUT, - (), + _s215, + {_s76: _s216, _s78: 500}, ) -HTTP_RESPONSE_CODE_OUTPUT: StaticSchema = ( +FRACTIONAL_SECONDS_OUTPUT: StaticSchema = ( 18, n1, - _s219, - {_s30: _s220, _s92: None}, - (_s221,), - ((7, 128),), + _s217, + {_s30: _s218, _s95: None}, + (_s101,), + ((DATE_TIME, 0),), ) -HTTP_RESPONSE_CODE_INPUT: StaticSchema = ( +FRACTIONAL_SECONDS_INPUT: StaticSchema = ( 18, n1, - _s497, - {_s30: _s444, _s32: None}, + _s526, + {_s30: _s505, _s32: None}, ) -HTTP_RESPONSE_CODE: StaticOperationSchema = ( +FRACTIONAL_SECONDS: StaticOperationSchema = ( 23, n1, - _s760, - {_s729: MappingProxyType({"uri": "/HttpResponseCode", "method": "PUT"})}, - HTTP_RESPONSE_CODE_INPUT, - HTTP_RESPONSE_CODE_OUTPUT, + _s809, + {_s794: MappingProxyType({"uri": "/FractionalSeconds", "method": "POST"})}, + FRACTIONAL_SECONDS_INPUT, + FRACTIONAL_SECONDS_OUTPUT, (), ) -IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT: StaticSchema = ( +GREETING_WITH_ERRORS_OUTPUT: StaticSchema = ( 18, n1, - _s222, - {_s30: _s223, _s92: None}, - (_s83,), - ((3, {_s34: _s83}),), + _s219, + {_s30: _s220, _s95: None}, + (_s151,), + ((3, {_s80: _s221}),), ) -IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT: StaticSchema = ( +GREETING_WITH_ERRORS_INPUT: StaticSchema = ( 18, n1, - _s501, - {_s30: _s444, _s32: None}, + _s527, + {_s30: _s505, _s32: None}, ) -IGNORE_QUERY_PARAMS_IN_RESPONSE: StaticOperationSchema = ( +GREETING_WITH_ERRORS: StaticOperationSchema = ( 23, n1, - _s762, - {_s729: MappingProxyType({"uri": "/IgnoreQueryParamsInResponse", "method": "GET"})}, - IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT, - IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT, - (), -) - -INVALID_GREETING: StaticSchema = ( - 18, - n1, - _s224, - {_s73: _s74, _s75: 400}, - (_s225,), - ((3, 0),), -) - -JSON_HEADER_STRING: StaticSchema = ( - 3, - n1, - _s226, - {_s227: _s228}, + _s810, + {_s794: MappingProxyType({"uri": "/GreetingWithErrors", "method": "PUT"})}, + GREETING_WITH_ERRORS_INPUT, + GREETING_WITH_ERRORS_OUTPUT, + (COMPLEX_ERROR, FOO_ERROR, lambda: schemas.INVALID_GREETING), ) -JSON_VALUE: StaticSchema = ( - 3, - n1, - _s229, - {_s227: _s228}, +STRING_MAP: StaticSchema = ( + 17, + n0, + _s222, + 0, + (_s27, _s28), + ((3, 0), (3, 0)), ) -MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT: StaticSchema = ( +HTTP_EMPTY_PREFIX_HEADERS_INPUT: StaticSchema = ( 18, n1, - _s230, - {_s30: _s231, _s92: None}, - (_s232,), - ((3, 16),), + _s223, + {_s30: _s224, _s32: None}, + (_s225, _s227), + ((STRING_MAP, {_s226: _s131}), (3, {_s80: _s90})), ) -MALFORMED_ACCEPT_WITH_GENERIC_STRING_INPUT: StaticSchema = ( +HTTP_EMPTY_PREFIX_HEADERS_OUTPUT: StaticSchema = ( 18, n1, - _s600, - {_s30: _s444, _s32: None}, + _s228, + {_s30: _s229, _s95: None}, + (_s225, _s227), + ((STRING_MAP, {_s226: _s131}), (3, {_s80: _s90})), ) -MALFORMED_ACCEPT_WITH_GENERIC_STRING: StaticOperationSchema = ( +HTTP_EMPTY_PREFIX_HEADERS: StaticOperationSchema = ( 23, n1, - _s772, - { - _s729: MappingProxyType( - {"method": "POST", "uri": "/MalformedAcceptWithGenericString"} - ) - }, - MALFORMED_ACCEPT_WITH_GENERIC_STRING_INPUT, - MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT, + _s814, + {_s794: MappingProxyType({"uri": "/HttpEmptyPrefixHeaders", "method": "GET"})}, + HTTP_EMPTY_PREFIX_HEADERS_INPUT, + HTTP_EMPTY_PREFIX_HEADERS_OUTPUT, (), ) -JPEG_BLOB: StaticSchema = ( - 1, - n0, - _s233, - {_s227: _s234}, -) - -MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT: StaticSchema = ( +HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT: StaticSchema = ( 18, n1, - _s235, - {_s30: _s236, _s92: None}, - (_s232,), - ((JPEG_BLOB, 16),), + _s230, + {_s30: _s231, _s32: None}, ) -MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT: StaticSchema = ( +HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT: StaticSchema = ( 18, n1, - _s601, - {_s30: _s444, _s32: None}, + _s232, + {_s30: _s233, _s95: None}, + (_s225,), + ((STRING_MAP, {_s226: _s131}),), ) -MALFORMED_ACCEPT_WITH_PAYLOAD: StaticOperationSchema = ( +HTTP_PREFIX_HEADERS_IN_RESPONSE: StaticOperationSchema = ( 23, n1, - _s773, - {_s729: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithPayload"})}, - MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT, - MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT, + _s821, + {_s794: MappingProxyType({"uri": "/HttpPrefixHeadersResponse", "method": "GET"})}, + HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT, + HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT, (), ) + +SERVICE_UNAVAILABLE_ERROR: StaticSchema = ( + 18, + n1, + _s472, + {_s76: _s216, _s78: 500}, + (_s177,), + ((3, 0),), +) diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_1.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_1.py index 02fa66115..d3371960c 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_1.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_1.py @@ -4,1229 +4,1079 @@ from . import schemas -_s0 = "StringList" +n0 = "aws.protocoltests.shared" _s1 = "member" -_s3 = "IntegerList" -_s5 = "DoubleList" -_s6 = "BooleanList" -_s7 = "TimestampList" -_s25 = "IntegerEnumList" _s27 = "key" _s28 = "value" n1 = "aws.protocoltests.restjson" _s30 = "smithy.synthetic#originalShapeId" _s32 = "smithy.api#input" _s34 = "smithy.api#httpQuery" -_s36 = "queryStringList" -_s44 = "queryIntegerList" -_s52 = "queryDoubleList" -_s55 = "queryBooleanList" -_s58 = "queryTimestampList" -_s61 = "queryEnumList" -_s62 = "EnumList" -_s64 = "queryIntegerEnumList" -_s77 = "smithy.api#httpHeader" -_s92 = "smithy.api#output" -_s94 = "smithy.api#timestampFormat" -_s95 = "date-time" -_s127 = "emptyString" -_s141 = "GreetingStruct" -_s148 = "greeting" -_s189 = "float" -_s194 = "epoch-seconds" -_s196 = "http-date" -_s200 = "smithy.api#httpLabel" -_s201 = "smithy.api#required" -_s210 = "string" -_s215 = "timestamp" -_s232 = "payload" -_s237 = "MalformedBlobInput" -_s238 = "aws.protocoltests.restjson#MalformedBlobInput" -_s239 = "blob" -_s240 = "MalformedBooleanInput" -_s241 = "aws.protocoltests.restjson#MalformedBooleanInput" -_s242 = "booleanInBody" -_s243 = "booleanInPath" -_s244 = "booleanInQuery" -_s245 = "booleanInHeader" -_s246 = "MalformedByteInput" -_s247 = "aws.protocoltests.restjson#MalformedByteInput" -_s248 = "byteInBody" -_s249 = "byteInPath" -_s250 = "byteInQuery" -_s251 = "byteInHeader" -_s252 = "MalformedContentTypeWithGenericStringInput" -_s253 = "aws.protocoltests.restjson#MalformedContentTypeWithGenericStringInput" -_s254 = "MalformedContentTypeWithPayloadInput" -_s255 = "aws.protocoltests.restjson#MalformedContentTypeWithPayloadInput" -_s256 = "MalformedContentTypeWithoutBodyEmptyInputInput" -_s257 = "aws.protocoltests.restjson#MalformedContentTypeWithoutBodyEmptyInputInput" -_s258 = "header" -_s259 = "MalformedDoubleInput" -_s260 = "aws.protocoltests.restjson#MalformedDoubleInput" -_s261 = "doubleInBody" -_s262 = "doubleInPath" -_s263 = "doubleInQuery" -_s264 = "doubleInHeader" -_s265 = "MalformedFloatInput" -_s266 = "aws.protocoltests.restjson#MalformedFloatInput" -_s267 = "floatInBody" -_s268 = "floatInPath" -_s269 = "floatInQuery" -_s270 = "floatInHeader" -_s271 = "MalformedIntegerInput" -_s272 = "aws.protocoltests.restjson#MalformedIntegerInput" -_s273 = "integerInBody" -_s274 = "integerInPath" -_s275 = "integerInQuery" -_s276 = "integerInHeader" -_s277 = "SimpleList" -_s278 = "MalformedListInput" -_s279 = "aws.protocoltests.restjson#MalformedListInput" -_s280 = "bodyList" -_s281 = "MalformedLongInput" -_s282 = "aws.protocoltests.restjson#MalformedLongInput" -_s283 = "longInBody" -_s284 = "longInPath" -_s285 = "longInQuery" -_s286 = "longInHeader" -_s287 = "SimpleMap" -_s288 = "MalformedMapInput" -_s289 = "aws.protocoltests.restjson#MalformedMapInput" -_s290 = "bodyMap" -_s291 = "MalformedRequestBodyInput" -_s292 = "aws.protocoltests.restjson#MalformedRequestBodyInput" -_s293 = "int" -_s294 = "MalformedShortInput" -_s295 = "aws.protocoltests.restjson#MalformedShortInput" -_s296 = "shortInBody" -_s297 = "shortInPath" -_s298 = "shortInQuery" -_s299 = "shortInHeader" -_s300 = "MalformedStringInput" -_s301 = "aws.protocoltests.restjson#MalformedStringInput" -_s302 = "amz-media-typed-header" -_s303 = "MalformedTimestampBodyDateTimeInput" -_s304 = "aws.protocoltests.restjson#MalformedTimestampBodyDateTimeInput" -_s305 = "MalformedTimestampBodyDefaultInput" -_s306 = "aws.protocoltests.restjson#MalformedTimestampBodyDefaultInput" -_s307 = "MalformedTimestampBodyHttpDateInput" -_s308 = "aws.protocoltests.restjson#MalformedTimestampBodyHttpDateInput" -_s309 = "MalformedTimestampHeaderDateTimeInput" -_s310 = "aws.protocoltests.restjson#MalformedTimestampHeaderDateTimeInput" -_s311 = "MalformedTimestampHeaderDefaultInput" -_s312 = "aws.protocoltests.restjson#MalformedTimestampHeaderDefaultInput" -_s313 = "MalformedTimestampHeaderEpochInput" -_s314 = "aws.protocoltests.restjson#MalformedTimestampHeaderEpochInput" -_s315 = "MalformedTimestampPathDefaultInput" -_s316 = "aws.protocoltests.restjson#MalformedTimestampPathDefaultInput" -_s317 = "MalformedTimestampPathEpochInput" -_s318 = "aws.protocoltests.restjson#MalformedTimestampPathEpochInput" -_s319 = "MalformedTimestampPathHttpDateInput" -_s320 = "aws.protocoltests.restjson#MalformedTimestampPathHttpDateInput" -_s321 = "MalformedTimestampQueryDefaultInput" -_s322 = "aws.protocoltests.restjson#MalformedTimestampQueryDefaultInput" -_s323 = "MalformedTimestampQueryEpochInput" -_s324 = "aws.protocoltests.restjson#MalformedTimestampQueryEpochInput" -_s325 = "MalformedTimestampQueryHttpDateInput" -_s326 = "aws.protocoltests.restjson#MalformedTimestampQueryHttpDateInput" -_s327 = "SimpleUnion" -_s328 = "MalformedUnionInput" -_s329 = "aws.protocoltests.restjson#MalformedUnionInput" -_s330 = "union" -_s331 = "MediaTypeHeaderInput" -_s332 = "aws.protocoltests.restjson#MediaTypeHeaderInput" -_s333 = "json" -_s334 = "X-Json" -_s335 = "MediaTypeHeaderOutput" -_s336 = "aws.protocoltests.restjson#MediaTypeHeaderOutput" -n2 = "aws.protocoltests.restjson.nested" -_s337 = "salutation" -_s338 = "NestedUnion" -_s339 = "stringValue" -_s340 = "MyUnion" -_s341 = "booleanValue" -_s342 = "numberValue" -_s343 = "blobValue" -_s344 = "timestampValue" -_s345 = "enumValue" -_s346 = "listValue" -_s347 = "mapValue" -_s348 = "structureValue" -_s349 = "renamedStructureValue" -_s350 = "unionValue" -_s351 = "NestedPayload" -_s352 = "name" -_s353 = "NoInputAndOutputOutput" -_s354 = "aws.protocoltests.restjson#NoInputAndOutputOutput" -_s355 = "OmitsNullSerializesEmptyStringInput" -_s356 = "aws.protocoltests.restjson#OmitsNullSerializesEmptyStringInput" -_s357 = "nullValue" -_s358 = "Null" -_s359 = "Empty" -_s360 = "OmitsSerializingEmptyListsInput" -_s361 = "aws.protocoltests.restjson#OmitsSerializingEmptyListsInput" -_s444 = "smithy.api#Unit" -_s602 = "MalformedBlobOutput" -_s603 = "MalformedBooleanOutput" -_s604 = "MalformedByteOutput" -_s607 = "MalformedContentTypeWithGenericStringOutput" -_s608 = "MalformedContentTypeWithPayloadOutput" -_s611 = "MalformedContentTypeWithoutBodyEmptyInputOutput" -_s612 = "MalformedDoubleOutput" -_s613 = "MalformedFloatOutput" -_s614 = "MalformedIntegerOutput" -_s615 = "MalformedListOutput" -_s616 = "MalformedLongOutput" -_s617 = "MalformedMapOutput" -_s618 = "MalformedRequestBodyOutput" -_s619 = "MalformedShortOutput" -_s620 = "MalformedStringOutput" -_s621 = "MalformedTimestampBodyDateTimeOutput" -_s622 = "MalformedTimestampBodyDefaultOutput" -_s623 = "MalformedTimestampBodyHttpDateOutput" -_s624 = "MalformedTimestampHeaderDateTimeOutput" -_s625 = "MalformedTimestampHeaderDefaultOutput" -_s626 = "MalformedTimestampHeaderEpochOutput" -_s627 = "MalformedTimestampPathDefaultOutput" -_s628 = "MalformedTimestampPathEpochOutput" -_s629 = "MalformedTimestampPathHttpDateOutput" -_s630 = "MalformedTimestampQueryDefaultOutput" -_s631 = "MalformedTimestampQueryEpochOutput" -_s632 = "MalformedTimestampQueryHttpDateOutput" -_s633 = "MalformedUnionOutput" -_s636 = "NoInputAndOutputInput" -_s646 = "OmitsNullSerializesEmptyStringOutput" -_s647 = "OmitsSerializingEmptyListsOutput" -_s729 = "smithy.api#http" -_s774 = "MalformedBlob" -_s775 = "MalformedBoolean" -_s776 = "MalformedByte" -_s778 = "MalformedContentTypeWithGenericString" -_s779 = "MalformedContentTypeWithPayload" -_s781 = "MalformedContentTypeWithoutBodyEmptyInput" -_s782 = "MalformedDouble" -_s783 = "MalformedFloat" -_s784 = "MalformedInteger" -_s785 = "MalformedList" -_s786 = "MalformedLong" -_s787 = "MalformedMap" -_s788 = "MalformedRequestBody" -_s789 = "MalformedShort" -_s790 = "MalformedString" -_s791 = "MalformedTimestampBodyDateTime" -_s792 = "MalformedTimestampBodyDefault" -_s793 = "MalformedTimestampBodyHttpDate" -_s794 = "MalformedTimestampHeaderDateTime" -_s795 = "MalformedTimestampHeaderDefault" -_s796 = "MalformedTimestampHeaderEpoch" -_s797 = "MalformedTimestampPathDefault" -_s798 = "MalformedTimestampPathEpoch" -_s799 = "MalformedTimestampPathHttpDate" -_s800 = "MalformedTimestampQueryDefault" -_s801 = "MalformedTimestampQueryEpoch" -_s802 = "MalformedTimestampQueryHttpDate" -_s803 = "MalformedUnion" -_s804 = "MediaTypeHeader" -_s806 = "NoInputAndOutput" -_s809 = "OmitsNullSerializesEmptyString" -_s810 = "OmitsSerializingEmptyLists" - -MALFORMED_BLOB_INPUT: StaticSchema = ( +_s67 = "payload" +_s76 = "smithy.api#error" +_s77 = "client" +_s78 = "smithy.api#httpError" +_s80 = "smithy.api#httpHeader" +_s86 = "baz" +_s95 = "smithy.api#output" +_s97 = "smithy.api#timestampFormat" +_s98 = "date-time" +_s174 = "header" +_s190 = "stream" +_s202 = "initialRequestMember" +_s203 = "initial-request-member" +_s204 = "smithy.api#required" +_s226 = "smithy.api#httpPrefixHeaders" +_s234 = "HttpPrefixHeadersInput" +_s235 = "aws.protocoltests.restjson#HttpPrefixHeadersInput" +_s236 = "foo" +_s237 = "x-foo" +_s238 = "fooMap" +_s239 = "x-foo-" +_s240 = "HttpPrefixHeadersOutput" +_s241 = "aws.protocoltests.restjson#HttpPrefixHeadersOutput" +_s242 = "HttpRequestWithFloatLabelsInput" +_s243 = "aws.protocoltests.restjson#HttpRequestWithFloatLabelsInput" +_s244 = "float" +_s245 = "double" +_s246 = "HttpRequestWithGreedyLabelInPathInput" +_s247 = "aws.protocoltests.restjson#HttpRequestWithGreedyLabelInPathInput" +_s248 = "EpochSeconds" +_s249 = "epoch-seconds" +_s250 = "HttpDate" +_s251 = "http-date" +_s252 = "HttpRequestWithLabelsAndTimestampFormatInput" +_s253 = "aws.protocoltests.restjson#HttpRequestWithLabelsAndTimestampFormatInput" +_s254 = "memberEpochSeconds" +_s255 = "smithy.api#httpLabel" +_s256 = "memberHttpDate" +_s257 = "memberDateTime" +_s258 = "defaultFormat" +_s259 = "targetEpochSeconds" +_s260 = "targetHttpDate" +_s261 = "targetDateTime" +_s262 = "HttpRequestWithLabelsInput" +_s263 = "aws.protocoltests.restjson#HttpRequestWithLabelsInput" +_s264 = "string" +_s265 = "short" +_s266 = "integer" +_s267 = "long" +_s268 = "boolean" +_s269 = "timestamp" +_s270 = "HttpRequestWithRegexLiteralInput" +_s271 = "aws.protocoltests.restjson#HttpRequestWithRegexLiteralInput" +_s272 = "str" +_s273 = "HttpResponseCodeOutput" +_s274 = "aws.protocoltests.restjson#HttpResponseCodeOutput" +_s275 = "Status" +_s276 = "IgnoreQueryParamsInResponseOutput" +_s277 = "aws.protocoltests.restjson#IgnoreQueryParamsInResponseOutput" +_s278 = "InputStreamInput" +_s279 = "aws.protocoltests.restjson#InputStreamInput" +_s280 = "InputStreamWithInitialRequestInput" +_s281 = "aws.protocoltests.restjson#InputStreamWithInitialRequestInput" +_s282 = "InvalidGreeting" +_s283 = "Message" +_s284 = "JsonHeaderString" +_s285 = "smithy.api#mediaType" +_s286 = "application/json" +_s287 = "JsonValue" +_s288 = "MalformedAcceptWithGenericStringOutput" +_s289 = "aws.protocoltests.restjson#MalformedAcceptWithGenericStringOutput" +_s290 = "JpegBlob" +_s291 = "image/jpeg" +_s292 = "MalformedAcceptWithPayloadOutput" +_s293 = "aws.protocoltests.restjson#MalformedAcceptWithPayloadOutput" +_s294 = "MalformedBlobInput" +_s295 = "aws.protocoltests.restjson#MalformedBlobInput" +_s296 = "blob" +_s297 = "MalformedBooleanInput" +_s298 = "aws.protocoltests.restjson#MalformedBooleanInput" +_s299 = "booleanInBody" +_s300 = "booleanInPath" +_s301 = "booleanInQuery" +_s302 = "booleanInHeader" +_s303 = "MalformedByteInput" +_s304 = "aws.protocoltests.restjson#MalformedByteInput" +_s305 = "byteInBody" +_s306 = "byteInPath" +_s307 = "byteInQuery" +_s308 = "byteInHeader" +_s309 = "MalformedContentTypeWithGenericStringInput" +_s310 = "aws.protocoltests.restjson#MalformedContentTypeWithGenericStringInput" +_s311 = "MalformedContentTypeWithPayloadInput" +_s312 = "aws.protocoltests.restjson#MalformedContentTypeWithPayloadInput" +_s313 = "MalformedContentTypeWithoutBodyEmptyInputInput" +_s314 = "aws.protocoltests.restjson#MalformedContentTypeWithoutBodyEmptyInputInput" +_s315 = "MalformedDoubleInput" +_s316 = "aws.protocoltests.restjson#MalformedDoubleInput" +_s317 = "doubleInBody" +_s318 = "doubleInPath" +_s319 = "doubleInQuery" +_s320 = "doubleInHeader" +_s321 = "MalformedFloatInput" +_s322 = "aws.protocoltests.restjson#MalformedFloatInput" +_s323 = "floatInBody" +_s324 = "floatInPath" +_s325 = "floatInQuery" +_s326 = "floatInHeader" +_s327 = "MalformedIntegerInput" +_s328 = "aws.protocoltests.restjson#MalformedIntegerInput" +_s329 = "integerInBody" +_s330 = "integerInPath" +_s331 = "integerInQuery" +_s332 = "integerInHeader" +_s333 = "SimpleList" +_s334 = "MalformedListInput" +_s335 = "aws.protocoltests.restjson#MalformedListInput" +_s336 = "bodyList" +_s337 = "MalformedLongInput" +_s338 = "aws.protocoltests.restjson#MalformedLongInput" +_s339 = "longInBody" +_s340 = "longInPath" +_s341 = "longInQuery" +_s342 = "longInHeader" +_s343 = "SimpleMap" +_s344 = "MalformedMapInput" +_s345 = "aws.protocoltests.restjson#MalformedMapInput" +_s346 = "bodyMap" +_s347 = "MalformedRequestBodyInput" +_s348 = "aws.protocoltests.restjson#MalformedRequestBodyInput" +_s349 = "int" +_s350 = "MalformedShortInput" +_s351 = "aws.protocoltests.restjson#MalformedShortInput" +_s352 = "shortInBody" +_s353 = "shortInPath" +_s354 = "shortInQuery" +_s355 = "shortInHeader" +_s356 = "MalformedStringInput" +_s357 = "aws.protocoltests.restjson#MalformedStringInput" +_s358 = "amz-media-typed-header" +_s359 = "MalformedTimestampBodyDateTimeInput" +_s360 = "aws.protocoltests.restjson#MalformedTimestampBodyDateTimeInput" +_s505 = "smithy.api#Unit" +_s553 = "HttpRequestWithFloatLabelsOutput" +_s554 = "HttpRequestWithGreedyLabelInPathOutput" +_s555 = "HttpRequestWithLabelsOutput" +_s556 = "HttpRequestWithLabelsAndTimestampFormatOutput" +_s557 = "HttpRequestWithRegexLiteralOutput" +_s558 = "HttpResponseCodeInput" +_s562 = "IgnoreQueryParamsInResponseInput" +_s602 = "InputStreamOutput" +_s603 = "InputStreamWithInitialRequestOutput" +_s663 = "MalformedAcceptWithGenericStringInput" +_s664 = "MalformedAcceptWithPayloadInput" +_s665 = "MalformedBlobOutput" +_s666 = "MalformedBooleanOutput" +_s667 = "MalformedByteOutput" +_s670 = "MalformedContentTypeWithGenericStringOutput" +_s671 = "MalformedContentTypeWithPayloadOutput" +_s674 = "MalformedContentTypeWithoutBodyEmptyInputOutput" +_s675 = "MalformedDoubleOutput" +_s676 = "MalformedFloatOutput" +_s677 = "MalformedIntegerOutput" +_s678 = "MalformedListOutput" +_s679 = "MalformedLongOutput" +_s680 = "MalformedMapOutput" +_s681 = "MalformedRequestBodyOutput" +_s682 = "MalformedShortOutput" +_s683 = "MalformedStringOutput" +_s684 = "MalformedTimestampBodyDateTimeOutput" +_s794 = "smithy.api#http" +_s820 = "HttpPrefixHeaders" +_s823 = "HttpRequestWithFloatLabels" +_s824 = "HttpRequestWithGreedyLabelInPath" +_s825 = "HttpRequestWithLabels" +_s826 = "HttpRequestWithLabelsAndTimestampFormat" +_s827 = "HttpRequestWithRegexLiteral" +_s828 = "HttpResponseCode" +_s830 = "IgnoreQueryParamsInResponse" +_s832 = "InputStream" +_s833 = "InputStreamWithInitialRequest" +_s842 = "MalformedAcceptWithGenericString" +_s843 = "MalformedAcceptWithPayload" +_s844 = "MalformedBlob" +_s845 = "MalformedBoolean" +_s846 = "MalformedByte" +_s848 = "MalformedContentTypeWithGenericString" +_s849 = "MalformedContentTypeWithPayload" +_s851 = "MalformedContentTypeWithoutBodyEmptyInput" +_s852 = "MalformedDouble" +_s853 = "MalformedFloat" +_s854 = "MalformedInteger" +_s855 = "MalformedList" +_s856 = "MalformedLong" +_s857 = "MalformedMap" +_s858 = "MalformedRequestBody" +_s859 = "MalformedShort" +_s860 = "MalformedString" +_s861 = "MalformedTimestampBodyDateTime" + +HTTP_PREFIX_HEADERS_INPUT: StaticSchema = ( + 18, + n1, + _s234, + {_s30: _s235, _s32: None}, + (_s236, _s238), + ((3, {_s80: _s237}), (lambda: schemas.STRING_MAP, {_s226: _s239})), +) + +HTTP_PREFIX_HEADERS_OUTPUT: StaticSchema = ( 18, n1, - _s237, - {_s30: _s238, _s32: None}, - (_s239,), - ((1, 0),), -) - -MALFORMED_BLOB_OUTPUT: StaticSchema = ( - 18, - n1, - _s602, - {_s30: _s444, _s92: None}, + _s240, + {_s30: _s241, _s95: None}, + (_s236, _s238), + ((3, {_s80: _s237}), (lambda: schemas.STRING_MAP, {_s226: _s239})), ) -MALFORMED_BLOB: StaticOperationSchema = ( +HTTP_PREFIX_HEADERS: StaticOperationSchema = ( 23, n1, - _s774, - {_s729: MappingProxyType({"uri": "/MalformedBlob", "method": "POST"})}, - MALFORMED_BLOB_INPUT, - MALFORMED_BLOB_OUTPUT, + _s820, + {_s794: MappingProxyType({"uri": "/HttpPrefixHeaders", "method": "GET"})}, + HTTP_PREFIX_HEADERS_INPUT, + HTTP_PREFIX_HEADERS_OUTPUT, (), ) -MALFORMED_BOOLEAN_INPUT: StaticSchema = ( +HTTP_REQUEST_WITH_FLOAT_LABELS_INPUT: StaticSchema = ( 18, n1, - _s240, - {_s30: _s241, _s32: None}, - (_s242, _s243, _s244, _s245), - ((2, 0), (2, 9), (2, {_s34: _s244}), (2, {_s77: _s245})), + _s242, + {_s30: _s243, _s32: None}, + (_s244, _s245), + ((9, 9), (10, 9)), ) -MALFORMED_BOOLEAN_OUTPUT: StaticSchema = ( +HTTP_REQUEST_WITH_FLOAT_LABELS_OUTPUT: StaticSchema = ( 18, n1, - _s603, - {_s30: _s444, _s92: None}, + _s553, + {_s30: _s505, _s95: None}, ) -MALFORMED_BOOLEAN: StaticOperationSchema = ( +HTTP_REQUEST_WITH_FLOAT_LABELS: StaticOperationSchema = ( 23, n1, - _s775, + _s823, { - _s729: MappingProxyType( - {"uri": "/MalformedBoolean/{booleanInPath}", "method": "POST"} + _s794: MappingProxyType( + {"method": "GET", "uri": "/FloatHttpLabels/{float}/{double}"} ) }, - MALFORMED_BOOLEAN_INPUT, - MALFORMED_BOOLEAN_OUTPUT, + HTTP_REQUEST_WITH_FLOAT_LABELS_INPUT, + HTTP_REQUEST_WITH_FLOAT_LABELS_OUTPUT, (), ) -MALFORMED_BYTE_INPUT: StaticSchema = ( +HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_INPUT: StaticSchema = ( 18, n1, _s246, {_s30: _s247, _s32: None}, - (_s248, _s249, _s250, _s251), - ((5, 0), (5, 9), (5, {_s34: _s250}), (5, {_s77: _s251})), + (_s236, _s86), + ((3, 9), (3, 9)), ) -MALFORMED_BYTE_OUTPUT: StaticSchema = ( - 18, - n1, - _s604, - {_s30: _s444, _s92: None}, -) - -MALFORMED_BYTE: StaticOperationSchema = ( - 23, - n1, - _s776, - {_s729: MappingProxyType({"uri": "/MalformedByte/{byteInPath}", "method": "POST"})}, - MALFORMED_BYTE_INPUT, - MALFORMED_BYTE_OUTPUT, - (), -) - -MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_INPUT: StaticSchema = ( - 18, - n1, - _s252, - {_s30: _s253, _s32: None}, - (_s232,), - ((3, 16),), -) - -MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_OUTPUT: StaticSchema = ( +HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_OUTPUT: StaticSchema = ( 18, n1, - _s607, - {_s30: _s444, _s92: None}, + _s554, + {_s30: _s505, _s95: None}, ) -MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING: StaticOperationSchema = ( +HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH: StaticOperationSchema = ( 23, n1, - _s778, + _s824, { - _s729: MappingProxyType( - {"method": "POST", "uri": "/MalformedContentTypeWithGenericString"} + _s794: MappingProxyType( + { + "method": "GET", + "uri": "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", + } ) }, - MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_INPUT, - MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_OUTPUT, + HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_INPUT, + HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_OUTPUT, (), ) -MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_INPUT: StaticSchema = ( - 18, - n1, - _s254, - {_s30: _s255, _s32: None}, - (_s232,), - ((lambda: schemas.JPEG_BLOB, 16),), -) - -MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_OUTPUT: StaticSchema = ( - 18, - n1, - _s608, - {_s30: _s444, _s92: None}, +EPOCH_SECONDS: StaticSchema = ( + 4, + n0, + _s248, + {_s97: _s249}, ) -MALFORMED_CONTENT_TYPE_WITH_PAYLOAD: StaticOperationSchema = ( - 23, - n1, - _s779, - { - _s729: MappingProxyType( - {"method": "POST", "uri": "/MalformedContentTypeWithPayload"} - ) - }, - MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_INPUT, - MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_OUTPUT, - (), +HTTP_DATE: StaticSchema = ( + 4, + n0, + _s250, + {_s97: _s251}, ) -MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_INPUT: StaticSchema = ( +HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_INPUT: StaticSchema = ( 18, n1, - _s256, - {_s30: _s257, _s32: None}, - (_s258,), - ((3, {_s77: _s258}),), + _s252, + {_s30: _s253, _s32: None}, + (_s254, _s256, _s257, _s258, _s259, _s260, _s261), + ( + (4, {_s97: _s249, _s255: None, _s204: None}), + (4, {_s97: _s251, _s255: None, _s204: None}), + (4, {_s97: _s98, _s255: None, _s204: None}), + (4, 9), + (EPOCH_SECONDS, 9), + (HTTP_DATE, 9), + (lambda: schemas.DATE_TIME, 9), + ), ) -MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_OUTPUT: StaticSchema = ( +HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_OUTPUT: StaticSchema = ( 18, n1, - _s611, - {_s30: _s444, _s92: None}, + _s556, + {_s30: _s505, _s95: None}, ) -MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT: StaticOperationSchema = ( +HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT: StaticOperationSchema = ( 23, n1, - _s781, + _s826, { - _s729: MappingProxyType( - {"method": "POST", "uri": "/MalformedContentTypeWithoutBodyEmptyInput"} + _s794: MappingProxyType( + { + "method": "GET", + "uri": "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", + } ) }, - MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_INPUT, - MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_OUTPUT, + HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_INPUT, + HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_OUTPUT, (), ) -MALFORMED_DOUBLE_INPUT: StaticSchema = ( +HTTP_REQUEST_WITH_LABELS_INPUT: StaticSchema = ( 18, n1, - _s259, - {_s30: _s260, _s32: None}, - (_s261, _s262, _s263, _s264), - ((10, 0), (10, 9), (10, {_s34: _s263}), (10, {_s77: _s264})), + _s262, + {_s30: _s263, _s32: None}, + (_s264, _s265, _s266, _s267, _s244, _s245, _s268, _s269), + ((3, 9), (6, 9), (7, 9), (8, 9), (9, 9), (10, 9), (2, 9), (4, 9)), ) -MALFORMED_DOUBLE_OUTPUT: StaticSchema = ( +HTTP_REQUEST_WITH_LABELS_OUTPUT: StaticSchema = ( 18, n1, - _s612, - {_s30: _s444, _s92: None}, + _s555, + {_s30: _s505, _s95: None}, ) -MALFORMED_DOUBLE: StaticOperationSchema = ( +HTTP_REQUEST_WITH_LABELS: StaticOperationSchema = ( 23, n1, - _s782, + _s825, { - _s729: MappingProxyType( - {"uri": "/MalformedDouble/{doubleInPath}", "method": "POST"} + _s794: MappingProxyType( + { + "method": "GET", + "uri": "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", + } ) }, - MALFORMED_DOUBLE_INPUT, - MALFORMED_DOUBLE_OUTPUT, + HTTP_REQUEST_WITH_LABELS_INPUT, + HTTP_REQUEST_WITH_LABELS_OUTPUT, (), ) -MALFORMED_FLOAT_INPUT: StaticSchema = ( +HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT: StaticSchema = ( 18, n1, - _s265, - {_s30: _s266, _s32: None}, - (_s267, _s268, _s269, _s270), - ((9, 0), (9, 9), (9, {_s34: _s269}), (9, {_s77: _s270})), + _s270, + {_s30: _s271, _s32: None}, + (_s272,), + ((3, 9),), ) -MALFORMED_FLOAT_OUTPUT: StaticSchema = ( +HTTP_REQUEST_WITH_REGEX_LITERAL_OUTPUT: StaticSchema = ( 18, n1, - _s613, - {_s30: _s444, _s92: None}, + _s557, + {_s30: _s505, _s95: None}, ) -MALFORMED_FLOAT: StaticOperationSchema = ( +HTTP_REQUEST_WITH_REGEX_LITERAL: StaticOperationSchema = ( 23, n1, - _s783, - { - _s729: MappingProxyType( - {"uri": "/MalformedFloat/{floatInPath}", "method": "POST"} - ) - }, - MALFORMED_FLOAT_INPUT, - MALFORMED_FLOAT_OUTPUT, + _s827, + {_s794: MappingProxyType({"method": "GET", "uri": "/ReDosLiteral/{str}/(a+)+"})}, + HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT, + HTTP_REQUEST_WITH_REGEX_LITERAL_OUTPUT, (), ) -MALFORMED_INTEGER_INPUT: StaticSchema = ( +HTTP_RESPONSE_CODE_OUTPUT: StaticSchema = ( 18, n1, - _s271, - {_s30: _s272, _s32: None}, - (_s273, _s274, _s275, _s276), - ((7, 0), (7, 9), (7, {_s34: _s275}), (7, {_s77: _s276})), + _s273, + {_s30: _s274, _s95: None}, + (_s275,), + ((7, 128),), ) -MALFORMED_INTEGER_OUTPUT: StaticSchema = ( +HTTP_RESPONSE_CODE_INPUT: StaticSchema = ( 18, n1, - _s614, - {_s30: _s444, _s92: None}, + _s558, + {_s30: _s505, _s32: None}, ) -MALFORMED_INTEGER: StaticOperationSchema = ( +HTTP_RESPONSE_CODE: StaticOperationSchema = ( 23, n1, - _s784, - { - _s729: MappingProxyType( - {"uri": "/MalformedInteger/{integerInPath}", "method": "POST"} - ) - }, - MALFORMED_INTEGER_INPUT, - MALFORMED_INTEGER_OUTPUT, + _s828, + {_s794: MappingProxyType({"uri": "/HttpResponseCode", "method": "PUT"})}, + HTTP_RESPONSE_CODE_INPUT, + HTTP_RESPONSE_CODE_OUTPUT, (), ) -SIMPLE_LIST: StaticSchema = ( - 16, - n1, - _s277, - 0, - (_s1,), - ((3, 0),), -) - -MALFORMED_LIST_INPUT: StaticSchema = ( +IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT: StaticSchema = ( 18, n1, - _s278, - {_s30: _s279, _s32: None}, - (_s280,), - ((SIMPLE_LIST, 0),), + _s276, + {_s30: _s277, _s95: None}, + (_s86,), + ((3, {_s34: _s86}),), ) -MALFORMED_LIST_OUTPUT: StaticSchema = ( +IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT: StaticSchema = ( 18, n1, - _s615, - {_s30: _s444, _s92: None}, + _s562, + {_s30: _s505, _s32: None}, ) -MALFORMED_LIST: StaticOperationSchema = ( +IGNORE_QUERY_PARAMS_IN_RESPONSE: StaticOperationSchema = ( 23, n1, - _s785, - {_s729: MappingProxyType({"uri": "/MalformedList", "method": "POST"})}, - MALFORMED_LIST_INPUT, - MALFORMED_LIST_OUTPUT, + _s830, + {_s794: MappingProxyType({"uri": "/IgnoreQueryParamsInResponse", "method": "GET"})}, + IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT, + IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT, (), ) -MALFORMED_LONG_INPUT: StaticSchema = ( +INPUT_STREAM_INPUT: StaticSchema = ( 18, n1, - _s281, - {_s30: _s282, _s32: None}, - (_s283, _s284, _s285, _s286), - ((8, 0), (8, 9), (8, {_s34: _s285}), (8, {_s77: _s286})), + _s278, + {_s30: _s279, _s32: None}, + (_s190,), + ((lambda: schemas.EVENT_STREAM, 16),), ) -MALFORMED_LONG_OUTPUT: StaticSchema = ( +INPUT_STREAM_OUTPUT: StaticSchema = ( 18, n1, - _s616, - {_s30: _s444, _s92: None}, + _s602, + {_s30: _s505, _s95: None}, ) -MALFORMED_LONG: StaticOperationSchema = ( +INPUT_STREAM: StaticOperationSchema = ( 23, n1, - _s786, - {_s729: MappingProxyType({"uri": "/MalformedLong/{longInPath}", "method": "POST"})}, - MALFORMED_LONG_INPUT, - MALFORMED_LONG_OUTPUT, + _s832, + {_s794: MappingProxyType({"method": "POST", "uri": "/InputStream"})}, + INPUT_STREAM_INPUT, + INPUT_STREAM_OUTPUT, (), ) -SIMPLE_MAP: StaticSchema = ( - 17, - n1, - _s287, - 0, - (_s27, _s28), - ((3, 0), (3, 0)), -) - -MALFORMED_MAP_INPUT: StaticSchema = ( +INPUT_STREAM_WITH_INITIAL_REQUEST_INPUT: StaticSchema = ( 18, n1, - _s288, - {_s30: _s289, _s32: None}, - (_s290,), - ((SIMPLE_MAP, 0),), + _s280, + {_s30: _s281, _s32: None}, + (_s202, _s190), + ((3, {_s80: _s203, _s204: None}), (lambda: schemas.EVENT_STREAM, 16)), ) -MALFORMED_MAP_OUTPUT: StaticSchema = ( +INPUT_STREAM_WITH_INITIAL_REQUEST_OUTPUT: StaticSchema = ( 18, n1, - _s617, - {_s30: _s444, _s92: None}, + _s603, + {_s30: _s505, _s95: None}, ) -MALFORMED_MAP: StaticOperationSchema = ( +INPUT_STREAM_WITH_INITIAL_REQUEST: StaticOperationSchema = ( 23, n1, - _s787, - {_s729: MappingProxyType({"uri": "/MalformedMap", "method": "POST"})}, - MALFORMED_MAP_INPUT, - MALFORMED_MAP_OUTPUT, + _s833, + { + _s794: MappingProxyType( + {"method": "POST", "uri": "/InputStreamWithInitialRequest"} + ) + }, + INPUT_STREAM_WITH_INITIAL_REQUEST_INPUT, + INPUT_STREAM_WITH_INITIAL_REQUEST_OUTPUT, (), ) -MALFORMED_REQUEST_BODY_INPUT: StaticSchema = ( +INVALID_GREETING: StaticSchema = ( 18, n1, - _s291, - {_s30: _s292, _s32: None}, - (_s293, _s189), - ((7, 0), (9, 0)), + _s282, + {_s76: _s77, _s78: 400}, + (_s283,), + ((3, 0),), ) -MALFORMED_REQUEST_BODY_OUTPUT: StaticSchema = ( - 18, +JSON_HEADER_STRING: StaticSchema = ( + 3, n1, - _s618, - {_s30: _s444, _s92: None}, + _s284, + {_s285: _s286}, ) -MALFORMED_REQUEST_BODY: StaticOperationSchema = ( - 23, +JSON_VALUE: StaticSchema = ( + 3, n1, - _s788, - {_s729: MappingProxyType({"uri": "/MalformedRequestBody", "method": "POST"})}, - MALFORMED_REQUEST_BODY_INPUT, - MALFORMED_REQUEST_BODY_OUTPUT, - (), + _s287, + {_s285: _s286}, ) -MALFORMED_SHORT_INPUT: StaticSchema = ( +MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT: StaticSchema = ( 18, n1, - _s294, - {_s30: _s295, _s32: None}, - (_s296, _s297, _s298, _s299), - ((6, 0), (6, 9), (6, {_s34: _s298}), (6, {_s77: _s299})), + _s288, + {_s30: _s289, _s95: None}, + (_s67,), + ((3, 16),), ) -MALFORMED_SHORT_OUTPUT: StaticSchema = ( +MALFORMED_ACCEPT_WITH_GENERIC_STRING_INPUT: StaticSchema = ( 18, n1, - _s619, - {_s30: _s444, _s92: None}, + _s663, + {_s30: _s505, _s32: None}, ) -MALFORMED_SHORT: StaticOperationSchema = ( +MALFORMED_ACCEPT_WITH_GENERIC_STRING: StaticOperationSchema = ( 23, n1, - _s789, + _s842, { - _s729: MappingProxyType( - {"uri": "/MalformedShort/{shortInPath}", "method": "POST"} + _s794: MappingProxyType( + {"method": "POST", "uri": "/MalformedAcceptWithGenericString"} ) }, - MALFORMED_SHORT_INPUT, - MALFORMED_SHORT_OUTPUT, + MALFORMED_ACCEPT_WITH_GENERIC_STRING_INPUT, + MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT, (), ) -MALFORMED_STRING_INPUT: StaticSchema = ( +JPEG_BLOB: StaticSchema = ( + 1, + n0, + _s290, + {_s285: _s291}, +) + +MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT: StaticSchema = ( 18, n1, - _s300, - {_s30: _s301, _s32: None}, - (_s239,), - ((lambda: schemas.JSON_HEADER_STRING, {_s77: _s302}),), + _s292, + {_s30: _s293, _s95: None}, + (_s67,), + ((JPEG_BLOB, 16),), ) -MALFORMED_STRING_OUTPUT: StaticSchema = ( +MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT: StaticSchema = ( 18, n1, - _s620, - {_s30: _s444, _s92: None}, + _s664, + {_s30: _s505, _s32: None}, ) -MALFORMED_STRING: StaticOperationSchema = ( +MALFORMED_ACCEPT_WITH_PAYLOAD: StaticOperationSchema = ( 23, n1, - _s790, - {_s729: MappingProxyType({"uri": "/MalformedString", "method": "POST"})}, - MALFORMED_STRING_INPUT, - MALFORMED_STRING_OUTPUT, + _s843, + {_s794: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithPayload"})}, + MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT, + MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT, (), ) -MALFORMED_TIMESTAMP_BODY_DATE_TIME_INPUT: StaticSchema = ( +MALFORMED_BLOB_INPUT: StaticSchema = ( 18, n1, - _s303, - {_s30: _s304, _s32: None}, - (_s215,), - ((4, {_s94: _s95, _s201: None}),), + _s294, + {_s30: _s295, _s32: None}, + (_s296,), + ((1, 0),), ) -MALFORMED_TIMESTAMP_BODY_DATE_TIME_OUTPUT: StaticSchema = ( +MALFORMED_BLOB_OUTPUT: StaticSchema = ( 18, n1, - _s621, - {_s30: _s444, _s92: None}, + _s665, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_BODY_DATE_TIME: StaticOperationSchema = ( +MALFORMED_BLOB: StaticOperationSchema = ( 23, n1, - _s791, - { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampBodyDateTime", "method": "POST"} - ) - }, - MALFORMED_TIMESTAMP_BODY_DATE_TIME_INPUT, - MALFORMED_TIMESTAMP_BODY_DATE_TIME_OUTPUT, + _s844, + {_s794: MappingProxyType({"uri": "/MalformedBlob", "method": "POST"})}, + MALFORMED_BLOB_INPUT, + MALFORMED_BLOB_OUTPUT, (), ) -MALFORMED_TIMESTAMP_BODY_DEFAULT_INPUT: StaticSchema = ( +MALFORMED_BOOLEAN_INPUT: StaticSchema = ( 18, n1, - _s305, - {_s30: _s306, _s32: None}, - (_s215,), - ((4, 1),), + _s297, + {_s30: _s298, _s32: None}, + (_s299, _s300, _s301, _s302), + ((2, 0), (2, 9), (2, {_s34: _s301}), (2, {_s80: _s302})), ) -MALFORMED_TIMESTAMP_BODY_DEFAULT_OUTPUT: StaticSchema = ( +MALFORMED_BOOLEAN_OUTPUT: StaticSchema = ( 18, n1, - _s622, - {_s30: _s444, _s92: None}, + _s666, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_BODY_DEFAULT: StaticOperationSchema = ( +MALFORMED_BOOLEAN: StaticOperationSchema = ( 23, n1, - _s792, + _s845, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampBodyDefault", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedBoolean/{booleanInPath}", "method": "POST"} ) }, - MALFORMED_TIMESTAMP_BODY_DEFAULT_INPUT, - MALFORMED_TIMESTAMP_BODY_DEFAULT_OUTPUT, + MALFORMED_BOOLEAN_INPUT, + MALFORMED_BOOLEAN_OUTPUT, (), ) -MALFORMED_TIMESTAMP_BODY_HTTP_DATE_INPUT: StaticSchema = ( +MALFORMED_BYTE_INPUT: StaticSchema = ( 18, n1, - _s307, - {_s30: _s308, _s32: None}, - (_s215,), - ((4, {_s94: _s196, _s201: None}),), + _s303, + {_s30: _s304, _s32: None}, + (_s305, _s306, _s307, _s308), + ((5, 0), (5, 9), (5, {_s34: _s307}), (5, {_s80: _s308})), ) -MALFORMED_TIMESTAMP_BODY_HTTP_DATE_OUTPUT: StaticSchema = ( +MALFORMED_BYTE_OUTPUT: StaticSchema = ( 18, n1, - _s623, - {_s30: _s444, _s92: None}, + _s667, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_BODY_HTTP_DATE: StaticOperationSchema = ( +MALFORMED_BYTE: StaticOperationSchema = ( 23, n1, - _s793, - { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampBodyHttpDate", "method": "POST"} - ) - }, - MALFORMED_TIMESTAMP_BODY_HTTP_DATE_INPUT, - MALFORMED_TIMESTAMP_BODY_HTTP_DATE_OUTPUT, + _s846, + {_s794: MappingProxyType({"uri": "/MalformedByte/{byteInPath}", "method": "POST"})}, + MALFORMED_BYTE_INPUT, + MALFORMED_BYTE_OUTPUT, (), ) -MALFORMED_TIMESTAMP_HEADER_DATE_TIME_INPUT: StaticSchema = ( +MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_INPUT: StaticSchema = ( 18, n1, _s309, {_s30: _s310, _s32: None}, - (_s215,), - ((4, {_s77: _s215, _s94: _s95, _s201: None}),), + (_s67,), + ((3, 16),), ) -MALFORMED_TIMESTAMP_HEADER_DATE_TIME_OUTPUT: StaticSchema = ( +MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_OUTPUT: StaticSchema = ( 18, n1, - _s624, - {_s30: _s444, _s92: None}, + _s670, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_HEADER_DATE_TIME: StaticOperationSchema = ( +MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING: StaticOperationSchema = ( 23, n1, - _s794, + _s848, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampHeaderDateTime", "method": "POST"} + _s794: MappingProxyType( + {"method": "POST", "uri": "/MalformedContentTypeWithGenericString"} ) }, - MALFORMED_TIMESTAMP_HEADER_DATE_TIME_INPUT, - MALFORMED_TIMESTAMP_HEADER_DATE_TIME_OUTPUT, + MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_INPUT, + MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_OUTPUT, (), ) -MALFORMED_TIMESTAMP_HEADER_DEFAULT_INPUT: StaticSchema = ( +MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_INPUT: StaticSchema = ( 18, n1, _s311, {_s30: _s312, _s32: None}, - (_s215,), - ((4, {_s77: _s215, _s201: None}),), + (_s67,), + ((JPEG_BLOB, 16),), ) -MALFORMED_TIMESTAMP_HEADER_DEFAULT_OUTPUT: StaticSchema = ( +MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_OUTPUT: StaticSchema = ( 18, n1, - _s625, - {_s30: _s444, _s92: None}, + _s671, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_HEADER_DEFAULT: StaticOperationSchema = ( +MALFORMED_CONTENT_TYPE_WITH_PAYLOAD: StaticOperationSchema = ( 23, n1, - _s795, + _s849, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampHeaderDefault", "method": "POST"} + _s794: MappingProxyType( + {"method": "POST", "uri": "/MalformedContentTypeWithPayload"} ) }, - MALFORMED_TIMESTAMP_HEADER_DEFAULT_INPUT, - MALFORMED_TIMESTAMP_HEADER_DEFAULT_OUTPUT, + MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_INPUT, + MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_OUTPUT, (), ) -MALFORMED_TIMESTAMP_HEADER_EPOCH_INPUT: StaticSchema = ( +MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_INPUT: StaticSchema = ( 18, n1, _s313, {_s30: _s314, _s32: None}, - (_s215,), - ((4, {_s77: _s215, _s94: _s194, _s201: None}),), + (_s174,), + ((3, {_s80: _s174}),), ) -MALFORMED_TIMESTAMP_HEADER_EPOCH_OUTPUT: StaticSchema = ( +MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_OUTPUT: StaticSchema = ( 18, n1, - _s626, - {_s30: _s444, _s92: None}, + _s674, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_HEADER_EPOCH: StaticOperationSchema = ( +MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT: StaticOperationSchema = ( 23, n1, - _s796, + _s851, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampHeaderEpoch", "method": "POST"} + _s794: MappingProxyType( + {"method": "POST", "uri": "/MalformedContentTypeWithoutBodyEmptyInput"} ) }, - MALFORMED_TIMESTAMP_HEADER_EPOCH_INPUT, - MALFORMED_TIMESTAMP_HEADER_EPOCH_OUTPUT, + MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_INPUT, + MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_OUTPUT, (), ) -MALFORMED_TIMESTAMP_PATH_DEFAULT_INPUT: StaticSchema = ( +MALFORMED_DOUBLE_INPUT: StaticSchema = ( 18, n1, _s315, {_s30: _s316, _s32: None}, - (_s215,), - ((4, 9),), + (_s317, _s318, _s319, _s320), + ((10, 0), (10, 9), (10, {_s34: _s319}), (10, {_s80: _s320})), ) -MALFORMED_TIMESTAMP_PATH_DEFAULT_OUTPUT: StaticSchema = ( +MALFORMED_DOUBLE_OUTPUT: StaticSchema = ( 18, n1, - _s627, - {_s30: _s444, _s92: None}, + _s675, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_PATH_DEFAULT: StaticOperationSchema = ( +MALFORMED_DOUBLE: StaticOperationSchema = ( 23, n1, - _s797, + _s852, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampPathDefault/{timestamp}", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedDouble/{doubleInPath}", "method": "POST"} ) }, - MALFORMED_TIMESTAMP_PATH_DEFAULT_INPUT, - MALFORMED_TIMESTAMP_PATH_DEFAULT_OUTPUT, + MALFORMED_DOUBLE_INPUT, + MALFORMED_DOUBLE_OUTPUT, (), ) -MALFORMED_TIMESTAMP_PATH_EPOCH_INPUT: StaticSchema = ( +MALFORMED_FLOAT_INPUT: StaticSchema = ( 18, n1, - _s317, - {_s30: _s318, _s32: None}, - (_s215,), - ((4, {_s94: _s194, _s200: None, _s201: None}),), + _s321, + {_s30: _s322, _s32: None}, + (_s323, _s324, _s325, _s326), + ((9, 0), (9, 9), (9, {_s34: _s325}), (9, {_s80: _s326})), ) -MALFORMED_TIMESTAMP_PATH_EPOCH_OUTPUT: StaticSchema = ( +MALFORMED_FLOAT_OUTPUT: StaticSchema = ( 18, n1, - _s628, - {_s30: _s444, _s92: None}, + _s676, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_PATH_EPOCH: StaticOperationSchema = ( +MALFORMED_FLOAT: StaticOperationSchema = ( 23, n1, - _s798, + _s853, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampPathEpoch/{timestamp}", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedFloat/{floatInPath}", "method": "POST"} ) }, - MALFORMED_TIMESTAMP_PATH_EPOCH_INPUT, - MALFORMED_TIMESTAMP_PATH_EPOCH_OUTPUT, + MALFORMED_FLOAT_INPUT, + MALFORMED_FLOAT_OUTPUT, (), ) -MALFORMED_TIMESTAMP_PATH_HTTP_DATE_INPUT: StaticSchema = ( +MALFORMED_INTEGER_INPUT: StaticSchema = ( 18, n1, - _s319, - {_s30: _s320, _s32: None}, - (_s215,), - ((4, {_s94: _s196, _s200: None, _s201: None}),), + _s327, + {_s30: _s328, _s32: None}, + (_s329, _s330, _s331, _s332), + ((7, 0), (7, 9), (7, {_s34: _s331}), (7, {_s80: _s332})), ) -MALFORMED_TIMESTAMP_PATH_HTTP_DATE_OUTPUT: StaticSchema = ( +MALFORMED_INTEGER_OUTPUT: StaticSchema = ( 18, n1, - _s629, - {_s30: _s444, _s92: None}, + _s677, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_PATH_HTTP_DATE: StaticOperationSchema = ( +MALFORMED_INTEGER: StaticOperationSchema = ( 23, n1, - _s799, + _s854, { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampPathHttpDate/{timestamp}", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedInteger/{integerInPath}", "method": "POST"} ) }, - MALFORMED_TIMESTAMP_PATH_HTTP_DATE_INPUT, - MALFORMED_TIMESTAMP_PATH_HTTP_DATE_OUTPUT, + MALFORMED_INTEGER_INPUT, + MALFORMED_INTEGER_OUTPUT, (), ) -MALFORMED_TIMESTAMP_QUERY_DEFAULT_INPUT: StaticSchema = ( - 18, - n1, - _s321, - {_s30: _s322, _s32: None}, - (_s215,), - ((4, {_s34: _s215, _s201: None}),), -) - -MALFORMED_TIMESTAMP_QUERY_DEFAULT_OUTPUT: StaticSchema = ( - 18, - n1, - _s630, - {_s30: _s444, _s92: None}, -) - -MALFORMED_TIMESTAMP_QUERY_DEFAULT: StaticOperationSchema = ( - 23, +SIMPLE_LIST: StaticSchema = ( + 16, n1, - _s800, - { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampQueryDefault", "method": "POST"} - ) - }, - MALFORMED_TIMESTAMP_QUERY_DEFAULT_INPUT, - MALFORMED_TIMESTAMP_QUERY_DEFAULT_OUTPUT, - (), + _s333, + 0, + (_s1,), + ((3, 0),), ) -MALFORMED_TIMESTAMP_QUERY_EPOCH_INPUT: StaticSchema = ( +MALFORMED_LIST_INPUT: StaticSchema = ( 18, n1, - _s323, - {_s30: _s324, _s32: None}, - (_s215,), - ((4, {_s34: _s215, _s94: _s194, _s201: None}),), + _s334, + {_s30: _s335, _s32: None}, + (_s336,), + ((SIMPLE_LIST, 0),), ) -MALFORMED_TIMESTAMP_QUERY_EPOCH_OUTPUT: StaticSchema = ( +MALFORMED_LIST_OUTPUT: StaticSchema = ( 18, n1, - _s631, - {_s30: _s444, _s92: None}, + _s678, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_QUERY_EPOCH: StaticOperationSchema = ( +MALFORMED_LIST: StaticOperationSchema = ( 23, n1, - _s801, - { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampQueryEpoch", "method": "POST"} - ) - }, - MALFORMED_TIMESTAMP_QUERY_EPOCH_INPUT, - MALFORMED_TIMESTAMP_QUERY_EPOCH_OUTPUT, + _s855, + {_s794: MappingProxyType({"uri": "/MalformedList", "method": "POST"})}, + MALFORMED_LIST_INPUT, + MALFORMED_LIST_OUTPUT, (), ) -MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_INPUT: StaticSchema = ( +MALFORMED_LONG_INPUT: StaticSchema = ( 18, n1, - _s325, - {_s30: _s326, _s32: None}, - (_s215,), - ((4, {_s34: _s215, _s94: _s196, _s201: None}),), + _s337, + {_s30: _s338, _s32: None}, + (_s339, _s340, _s341, _s342), + ((8, 0), (8, 9), (8, {_s34: _s341}), (8, {_s80: _s342})), ) -MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_OUTPUT: StaticSchema = ( +MALFORMED_LONG_OUTPUT: StaticSchema = ( 18, n1, - _s632, - {_s30: _s444, _s92: None}, + _s679, + {_s30: _s505, _s95: None}, ) -MALFORMED_TIMESTAMP_QUERY_HTTP_DATE: StaticOperationSchema = ( +MALFORMED_LONG: StaticOperationSchema = ( 23, n1, - _s802, - { - _s729: MappingProxyType( - {"uri": "/MalformedTimestampQueryHttpDate", "method": "POST"} - ) - }, - MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_INPUT, - MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_OUTPUT, + _s856, + {_s794: MappingProxyType({"uri": "/MalformedLong/{longInPath}", "method": "POST"})}, + MALFORMED_LONG_INPUT, + MALFORMED_LONG_OUTPUT, (), ) -SIMPLE_UNION: StaticSchema = ( - 19, +SIMPLE_MAP: StaticSchema = ( + 17, n1, - _s327, + _s343, 0, - (_s293, _s210), - ((7, 0), (3, 0)), + (_s27, _s28), + ((3, 0), (3, 0)), ) -MALFORMED_UNION_INPUT: StaticSchema = ( +MALFORMED_MAP_INPUT: StaticSchema = ( 18, n1, - _s328, - {_s30: _s329, _s32: None}, - (_s330,), - ((SIMPLE_UNION, 0),), + _s344, + {_s30: _s345, _s32: None}, + (_s346,), + ((SIMPLE_MAP, 0),), ) -MALFORMED_UNION_OUTPUT: StaticSchema = ( +MALFORMED_MAP_OUTPUT: StaticSchema = ( 18, n1, - _s633, - {_s30: _s444, _s92: None}, + _s680, + {_s30: _s505, _s95: None}, ) -MALFORMED_UNION: StaticOperationSchema = ( +MALFORMED_MAP: StaticOperationSchema = ( 23, n1, - _s803, - {_s729: MappingProxyType({"uri": "/MalformedUnion", "method": "POST"})}, - MALFORMED_UNION_INPUT, - MALFORMED_UNION_OUTPUT, + _s857, + {_s794: MappingProxyType({"uri": "/MalformedMap", "method": "POST"})}, + MALFORMED_MAP_INPUT, + MALFORMED_MAP_OUTPUT, (), ) -MEDIA_TYPE_HEADER_INPUT: StaticSchema = ( +MALFORMED_REQUEST_BODY_INPUT: StaticSchema = ( 18, n1, - _s331, - {_s30: _s332, _s32: None}, - (_s333,), - ((lambda: schemas.JSON_VALUE, {_s77: _s334}),), + _s347, + {_s30: _s348, _s32: None}, + (_s349, _s244), + ((7, 0), (9, 0)), ) -MEDIA_TYPE_HEADER_OUTPUT: StaticSchema = ( +MALFORMED_REQUEST_BODY_OUTPUT: StaticSchema = ( 18, n1, - _s335, - {_s30: _s336, _s92: None}, - (_s333,), - ((lambda: schemas.JSON_VALUE, {_s77: _s334}),), + _s681, + {_s30: _s505, _s95: None}, ) -MEDIA_TYPE_HEADER: StaticOperationSchema = ( +MALFORMED_REQUEST_BODY: StaticOperationSchema = ( 23, n1, - _s804, - {_s729: MappingProxyType({"uri": "/MediaTypeHeader", "method": "GET"})}, - MEDIA_TYPE_HEADER_INPUT, - MEDIA_TYPE_HEADER_OUTPUT, + _s858, + {_s794: MappingProxyType({"uri": "/MalformedRequestBody", "method": "POST"})}, + MALFORMED_REQUEST_BODY_INPUT, + MALFORMED_REQUEST_BODY_OUTPUT, (), ) -RENAMED_GREETING: StaticSchema = ( - 18, - n2, - _s141, - 0, - (_s337,), - ((3, 0),), -) - -NESTED_UNION: StaticSchema = ( - 19, - n1, - _s338, - 0, - (_s339,), - ((3, 0),), -) - -MY_UNION: StaticSchema = ( - 19, - n1, - _s340, - 0, - (_s339, _s341, _s342, _s343, _s344, _s345, _s346, _s347, _s348, _s349, _s350), - ( - (3, 0), - (2, 0), - (7, 0), - (1, 0), - (4, 0), - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.STRING_LIST, 0), - (lambda: schemas.STRING_MAP, 0), - (lambda: schemas.GREETING_STRUCT, 0), - (RENAMED_GREETING, 0), - (NESTED_UNION, 0), - ), -) - -NESTED_PAYLOAD: StaticSchema = ( - 18, - n1, - _s351, - 0, - (_s148, _s352), - ((3, 0), (3, 0)), -) - -NO_INPUT_AND_OUTPUT_OUTPUT: StaticSchema = ( +MALFORMED_SHORT_INPUT: StaticSchema = ( 18, n1, - _s353, - {_s30: _s354, _s92: None}, + _s350, + {_s30: _s351, _s32: None}, + (_s352, _s353, _s354, _s355), + ((6, 0), (6, 9), (6, {_s34: _s354}), (6, {_s80: _s355})), ) -NO_INPUT_AND_OUTPUT_INPUT: StaticSchema = ( +MALFORMED_SHORT_OUTPUT: StaticSchema = ( 18, n1, - _s636, - {_s30: _s444, _s32: None}, + _s682, + {_s30: _s505, _s95: None}, ) -NO_INPUT_AND_OUTPUT: StaticOperationSchema = ( +MALFORMED_SHORT: StaticOperationSchema = ( 23, n1, - _s806, - {_s729: MappingProxyType({"uri": "/NoInputAndOutputOutput", "method": "POST"})}, - NO_INPUT_AND_OUTPUT_INPUT, - NO_INPUT_AND_OUTPUT_OUTPUT, + _s859, + { + _s794: MappingProxyType( + {"uri": "/MalformedShort/{shortInPath}", "method": "POST"} + ) + }, + MALFORMED_SHORT_INPUT, + MALFORMED_SHORT_OUTPUT, (), ) -OMITS_NULL_SERIALIZES_EMPTY_STRING_INPUT: StaticSchema = ( +MALFORMED_STRING_INPUT: StaticSchema = ( 18, n1, - _s355, - {_s30: _s356, _s32: None}, - (_s357, _s127), - ((3, {_s34: _s358}), (3, {_s34: _s359})), + _s356, + {_s30: _s357, _s32: None}, + (_s296,), + ((JSON_HEADER_STRING, {_s80: _s358}),), ) -OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT: StaticSchema = ( +MALFORMED_STRING_OUTPUT: StaticSchema = ( 18, n1, - _s646, - {_s30: _s444, _s92: None}, + _s683, + {_s30: _s505, _s95: None}, ) -OMITS_NULL_SERIALIZES_EMPTY_STRING: StaticOperationSchema = ( +MALFORMED_STRING: StaticOperationSchema = ( 23, n1, - _s809, - { - _s729: MappingProxyType( - {"uri": "/OmitsNullSerializesEmptyString", "method": "GET"} - ) - }, - OMITS_NULL_SERIALIZES_EMPTY_STRING_INPUT, - OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT, + _s860, + {_s794: MappingProxyType({"uri": "/MalformedString", "method": "POST"})}, + MALFORMED_STRING_INPUT, + MALFORMED_STRING_OUTPUT, (), ) -OMITS_SERIALIZING_EMPTY_LISTS_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_BODY_DATE_TIME_INPUT: StaticSchema = ( 18, n1, - _s360, - {_s30: _s361, _s32: None}, - (_s36, _s44, _s52, _s55, _s58, _s61, _s64), - ( - (lambda: schemas.STRING_LIST, {_s34: _s0}), - (lambda: schemas.INTEGER_LIST, {_s34: _s3}), - (lambda: schemas.DOUBLE_LIST, {_s34: _s5}), - (lambda: schemas.BOOLEAN_LIST, {_s34: _s6}), - (lambda: schemas.TIMESTAMP_LIST, {_s34: _s7}), - (lambda: schemas.FOO_ENUM_LIST, {_s34: _s62}), - (lambda: schemas.INTEGER_ENUM_LIST, {_s34: _s25}), - ), + _s359, + {_s30: _s360, _s32: None}, + (_s269,), + ((4, {_s97: _s98, _s204: None}),), ) -OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_BODY_DATE_TIME_OUTPUT: StaticSchema = ( 18, n1, - _s647, - {_s30: _s444, _s92: None}, + _s684, + {_s30: _s505, _s95: None}, ) -OMITS_SERIALIZING_EMPTY_LISTS: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_BODY_DATE_TIME: StaticOperationSchema = ( 23, n1, - _s810, - {_s729: MappingProxyType({"uri": "/OmitsSerializingEmptyLists", "method": "POST"})}, - OMITS_SERIALIZING_EMPTY_LISTS_INPUT, - OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT, + _s861, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampBodyDateTime", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_BODY_DATE_TIME_INPUT, + MALFORMED_TIMESTAMP_BODY_DATE_TIME_OUTPUT, (), ) diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_2.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_2.py index ac9fd0ae0..fec2796c2 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_2.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_2.py @@ -4,1347 +4,1092 @@ from . import schemas -n0 = "aws.protocoltests.shared" -_s1 = "member" +_s0 = "StringList" +_s3 = "IntegerList" +_s5 = "DoubleList" +_s6 = "BooleanList" +_s7 = "TimestampList" _s9 = "FOO" -_s10 = "smithy.api#enumValue" -_s27 = "key" +_s25 = "IntegerEnumList" _s28 = "value" n1 = "aws.protocoltests.restjson" _s30 = "smithy.synthetic#originalShapeId" _s32 = "smithy.api#input" _s34 = "smithy.api#httpQuery" -_s68 = "smithy.api#default" -_s70 = "smithy.api#jsonName" -_s77 = "smithy.api#httpHeader" -_s79 = "TopLevel" -_s83 = "baz" -_s92 = "smithy.api#output" -_s100 = "Document" -_s106 = "defaultString" -_s107 = "hi" -_s108 = "defaultBoolean" -_s109 = "defaultList" -_s110 = "defaultDocumentMap" -_s111 = "defaultDocumentString" -_s112 = "defaultDocumentBoolean" -_s113 = "defaultDocumentList" -_s114 = "defaultNullDocument" -_s115 = "defaultTimestamp" -_s116 = "defaultBlob" -_s117 = "YWJj" -_s118 = "defaultByte" -_s119 = "defaultShort" -_s120 = "defaultInteger" -_s121 = "defaultLong" -_s122 = "defaultFloat" -_s123 = "defaultDouble" -_s124 = "defaultMap" -_s125 = "defaultEnum" -_s126 = "defaultIntEnum" -_s127 = "emptyString" -_s128 = "" -_s129 = "falseBoolean" -_s130 = "emptyBlob" -_s131 = "zeroByte" -_s132 = "zeroShort" -_s133 = "zeroInteger" -_s134 = "zeroLong" -_s135 = "zeroFloat" -_s136 = "zeroDouble" -_s148 = "greeting" -_s158 = "smithy.api#streaming" -_s181 = "foo" -_s227 = "smithy.api#mediaType" -_s232 = "payload" -_s239 = "blob" -_s339 = "stringValue" -_s362 = "OperationWithDefaultsInput" -_s363 = "aws.protocoltests.restjson#OperationWithDefaultsInput" -_s364 = "defaults" -_s365 = "clientOptionalDefaults" -_s366 = "topLevelDefault" -_s367 = "otherTopLevelDefault" -_s368 = "OperationWithDefaultsOutput" -_s369 = "aws.protocoltests.restjson#OperationWithDefaultsOutput" -_s370 = "dialog" -_s371 = "dialogList" -_s372 = "dialogMap" -_s373 = "OperationWithNestedStructureInput" -_s374 = "aws.protocoltests.restjson#OperationWithNestedStructureInput" -_s375 = "topLevel" -_s376 = "OperationWithNestedStructureOutput" -_s377 = "aws.protocoltests.restjson#OperationWithNestedStructureOutput" -_s378 = "PayloadConfig" -_s379 = "data" -_s380 = "PlayerAction" -_s381 = "quit" -_s382 = "PostPlayerActionInput" -_s383 = "aws.protocoltests.restjson#PostPlayerActionInput" -_s384 = "action" -_s385 = "PostPlayerActionOutput" -_s386 = "aws.protocoltests.restjson#PostPlayerActionOutput" -_s387 = "UnionWithJsonName" -_s388 = "bar" -_s389 = "_baz" -_s390 = "PostUnionWithJsonNameInput" -_s391 = "aws.protocoltests.restjson#PostUnionWithJsonNameInput" -_s392 = "PostUnionWithJsonNameOutput" -_s393 = "aws.protocoltests.restjson#PostUnionWithJsonNameOutput" -_s394 = "PutWithContentEncodingInput" -_s395 = "aws.protocoltests.restjson#PutWithContentEncodingInput" -_s396 = "encoding" -_s397 = "Content-Encoding" -_s398 = "QueryIdempotencyTokenAutoFillInput" -_s399 = "aws.protocoltests.restjson#QueryIdempotencyTokenAutoFillInput" -_s400 = "token" -_s401 = "smithy.api#idempotencyToken" -_s402 = "QueryMap" -_s403 = "QueryParamsAsStringListMapInput" -_s404 = "aws.protocoltests.restjson#QueryParamsAsStringListMapInput" -_s405 = "qux" -_s406 = "corge" -_s407 = "QueryPrecedenceInput" -_s408 = "aws.protocoltests.restjson#QueryPrecedenceInput" -_s409 = "ResponseCodeRequiredOutput" -_s410 = "aws.protocoltests.restjson#ResponseCodeRequiredOutput" -_s411 = "responseCode" -_s412 = "SparseBooleanMap" -_s413 = "SparseNumberMap" -_s414 = "SparseSetMap" -_s415 = "SparseStructMap" -_s416 = "StreamingBlob" -_s417 = "StreamingTextPlainBlob" -_s418 = "text/plain" -_s419 = "StreamingTraitsRequireLengthInput" -_s420 = "aws.protocoltests.restjson#StreamingTraitsRequireLengthInput" -_s421 = "X-Foo" -_s422 = "smithy.api#httpPayload" -_s423 = "StringEnum" -_s424 = "V" -_s425 = "enumvalue" -_s426 = "StructureListMember" -_s427 = "a" -_s428 = "b" -_s429 = "other" -_s430 = "StructureList" -_s431 = "TestConfig" -_s432 = "timeout" -_s433 = "UnionPayload" -_s434 = "FooEnumMap" -_s435 = "FooEnumSet" -_s436 = "IntegerEnumMap" -_s437 = "IntegerEnumSet" -_s438 = "NestedStringList" -_s439 = "SparseShortList" -_s440 = "SparseStringList" -_s441 = "SparseStringMap" -_s442 = "TextPlainBlob" -_s444 = "smithy.api#Unit" -_s448 = "DocumentTypeInput" -_s449 = "aws.protocoltests.restjson#DocumentTypeInputOutput" -_s450 = "documentValue" -_s451 = "DocumentTypeOutput" -_s452 = "DocumentTypeAsMapValueInput" -_s453 = "aws.protocoltests.restjson#DocumentTypeAsMapValueInputOutput" -_s454 = "docValuedMap" -_s455 = "DocumentTypeAsMapValueOutput" -_s456 = "DocumentTypeAsPayloadInput" -_s457 = "aws.protocoltests.restjson#DocumentTypeAsPayloadInputOutput" -_s458 = "DocumentTypeAsPayloadOutput" -_s459 = "EndpointOperationInput" -_s460 = "EndpointOperationOutput" -_s461 = "EndpointWithHostLabelOperationInput" -_s462 = "aws.protocoltests.restjson#HostLabelInput" -_s463 = "label" -_s464 = "EndpointWithHostLabelOperationOutput" -_s467 = "HostWithPathOperationInput" -_s468 = "HostWithPathOperationOutput" -_s469 = "HttpChecksumRequiredInput" -_s470 = "aws.protocoltests.restjson#HttpChecksumRequiredInputOutput" -_s471 = "HttpChecksumRequiredOutput" -_s472 = "HttpEnumPayloadInput" -_s473 = "aws.protocoltests.restjson#EnumPayloadInput" -_s474 = "HttpEnumPayloadOutput" -_s475 = "HttpPayloadTraitsInput" -_s476 = "aws.protocoltests.restjson#HttpPayloadTraitsInputOutput" -_s477 = "HttpPayloadTraitsOutput" -_s478 = "HttpPayloadTraitsWithMediaTypeInput" -_s479 = "aws.protocoltests.restjson#HttpPayloadTraitsWithMediaTypeInputOutput" -_s480 = "HttpPayloadTraitsWithMediaTypeOutput" -_s481 = "HttpPayloadWithStructureInput" -_s482 = "aws.protocoltests.restjson#HttpPayloadWithStructureInputOutput" -_s483 = "nested" -_s484 = "HttpPayloadWithStructureOutput" -_s485 = "HttpPayloadWithUnionInput" -_s486 = "aws.protocoltests.restjson#HttpPayloadWithUnionInputOutput" -_s487 = "HttpPayloadWithUnionOutput" -_s488 = "HttpQueryParamsOnlyOperationInput" -_s489 = "aws.protocoltests.restjson#HttpQueryParamsOnlyInput" -_s490 = "queryMap" -_s491 = "HttpQueryParamsOnlyOperationOutput" -_s498 = "HttpStringPayloadInput" -_s499 = "aws.protocoltests.restjson#StringPayloadInput" -_s500 = "HttpStringPayloadOutput" -_s502 = "InputAndOutputWithHeadersInput" -_s503 = "aws.protocoltests.restjson#InputAndOutputWithHeadersIO" -_s504 = "headerString" -_s505 = "X-String" -_s506 = "headerByte" -_s507 = "X-Byte" -_s508 = "headerShort" -_s509 = "X-Short" -_s510 = "headerInteger" -_s511 = "X-Integer" -_s512 = "headerLong" -_s513 = "X-Long" -_s514 = "headerFloat" -_s515 = "X-Float" -_s516 = "headerDouble" -_s517 = "X-Double" -_s518 = "headerTrueBool" -_s519 = "X-Boolean1" -_s520 = "headerFalseBool" -_s521 = "X-Boolean2" -_s522 = "headerStringList" -_s523 = "X-StringList" -_s524 = "headerStringSet" -_s525 = "X-StringSet" -_s526 = "headerIntegerList" -_s527 = "X-IntegerList" -_s528 = "headerBooleanList" -_s529 = "X-BooleanList" -_s530 = "headerTimestampList" -_s531 = "X-TimestampList" -_s532 = "headerEnum" -_s533 = "X-Enum" -_s534 = "headerEnumList" -_s535 = "X-EnumList" -_s536 = "headerIntegerEnum" -_s537 = "X-IntegerEnum" -_s538 = "headerIntegerEnumList" -_s539 = "X-IntegerEnumList" -_s540 = "InputAndOutputWithHeadersOutput" -_s648 = "PutWithContentEncodingOutput" -_s649 = "QueryIdempotencyTokenAutoFillOutput" -_s650 = "QueryParamsAsStringListMapOutput" -_s651 = "QueryPrecedenceOutput" -_s658 = "ResponseCodeRequiredInput" -_s687 = "StreamingTraitsRequireLengthOutput" -_s729 = "smithy.api#http" -_s734 = "DocumentType" -_s735 = "DocumentTypeAsMapValue" -_s736 = "DocumentTypeAsPayload" -_s738 = "EndpointOperation" -_s739 = "smithy.api#endpoint" -_s740 = "EndpointWithHostLabelOperation" -_s743 = "HostWithPathOperation" -_s744 = "HttpChecksumRequired" -_s745 = "smithy.api#httpChecksumRequired" -_s747 = "HttpEnumPayload" -_s748 = "HttpPayloadTraits" -_s749 = "HttpPayloadTraitsWithMediaType" -_s750 = "HttpPayloadWithStructure" -_s751 = "HttpPayloadWithUnion" -_s754 = "HttpQueryParamsOnlyOperation" -_s761 = "HttpStringPayload" -_s763 = "InputAndOutputWithHeaders" -_s811 = "OperationWithDefaults" -_s812 = "OperationWithNestedStructure" -_s813 = "PostPlayerAction" -_s814 = "PostUnionWithJsonName" -_s815 = "PutWithContentEncoding" -_s816 = "smithy.api#requestCompression" -_s817 = "QueryIdempotencyTokenAutoFill" -_s818 = "QueryParamsAsStringListMap" -_s819 = "QueryPrecedence" -_s822 = "ResponseCodeRequired" -_s827 = "StreamingTraitsRequireLength" - -DOCUMENT: StaticSchema = ( - 13, - n1, - _s100, - 0, -) - -OPERATION_WITH_DEFAULTS_INPUT: StaticSchema = ( +_s36 = "queryStringList" +_s44 = "queryIntegerList" +_s52 = "queryDoubleList" +_s55 = "queryBooleanList" +_s58 = "queryTimestampList" +_s61 = "queryEnumList" +_s62 = "EnumList" +_s64 = "queryIntegerEnumList" +_s71 = "smithy.api#default" +_s73 = "smithy.api#jsonName" +_s80 = "smithy.api#httpHeader" +_s82 = "TopLevel" +_s86 = "baz" +_s95 = "smithy.api#output" +_s97 = "smithy.api#timestampFormat" +_s98 = "date-time" +_s109 = "defaultString" +_s110 = "hi" +_s111 = "defaultBoolean" +_s112 = "defaultList" +_s113 = "defaultDocumentMap" +_s114 = "defaultDocumentString" +_s115 = "defaultDocumentBoolean" +_s116 = "defaultDocumentList" +_s117 = "defaultNullDocument" +_s118 = "defaultTimestamp" +_s119 = "defaultBlob" +_s120 = "YWJj" +_s121 = "defaultByte" +_s122 = "defaultShort" +_s123 = "defaultInteger" +_s124 = "defaultLong" +_s125 = "defaultFloat" +_s126 = "defaultDouble" +_s127 = "defaultMap" +_s128 = "defaultEnum" +_s129 = "defaultIntEnum" +_s130 = "emptyString" +_s131 = "" +_s132 = "falseBoolean" +_s133 = "emptyBlob" +_s134 = "zeroByte" +_s135 = "zeroShort" +_s136 = "zeroInteger" +_s137 = "zeroLong" +_s138 = "zeroFloat" +_s139 = "zeroDouble" +_s144 = "GreetingStruct" +_s151 = "greeting" +_s190 = "stream" +_s204 = "smithy.api#required" +_s207 = "initialResponseMember" +_s208 = "initial-response-member" +_s236 = "foo" +_s249 = "epoch-seconds" +_s251 = "http-date" +_s255 = "smithy.api#httpLabel" +_s264 = "string" +_s269 = "timestamp" +_s349 = "int" +_s361 = "MalformedTimestampBodyDefaultInput" +_s362 = "aws.protocoltests.restjson#MalformedTimestampBodyDefaultInput" +_s363 = "MalformedTimestampBodyHttpDateInput" +_s364 = "aws.protocoltests.restjson#MalformedTimestampBodyHttpDateInput" +_s365 = "MalformedTimestampHeaderDateTimeInput" +_s366 = "aws.protocoltests.restjson#MalformedTimestampHeaderDateTimeInput" +_s367 = "MalformedTimestampHeaderDefaultInput" +_s368 = "aws.protocoltests.restjson#MalformedTimestampHeaderDefaultInput" +_s369 = "MalformedTimestampHeaderEpochInput" +_s370 = "aws.protocoltests.restjson#MalformedTimestampHeaderEpochInput" +_s371 = "MalformedTimestampPathDefaultInput" +_s372 = "aws.protocoltests.restjson#MalformedTimestampPathDefaultInput" +_s373 = "MalformedTimestampPathEpochInput" +_s374 = "aws.protocoltests.restjson#MalformedTimestampPathEpochInput" +_s375 = "MalformedTimestampPathHttpDateInput" +_s376 = "aws.protocoltests.restjson#MalformedTimestampPathHttpDateInput" +_s377 = "MalformedTimestampQueryDefaultInput" +_s378 = "aws.protocoltests.restjson#MalformedTimestampQueryDefaultInput" +_s379 = "MalformedTimestampQueryEpochInput" +_s380 = "aws.protocoltests.restjson#MalformedTimestampQueryEpochInput" +_s381 = "MalformedTimestampQueryHttpDateInput" +_s382 = "aws.protocoltests.restjson#MalformedTimestampQueryHttpDateInput" +_s383 = "SimpleUnion" +_s384 = "MalformedUnionInput" +_s385 = "aws.protocoltests.restjson#MalformedUnionInput" +_s386 = "union" +_s387 = "MediaTypeHeaderInput" +_s388 = "aws.protocoltests.restjson#MediaTypeHeaderInput" +_s389 = "json" +_s390 = "X-Json" +_s391 = "MediaTypeHeaderOutput" +_s392 = "aws.protocoltests.restjson#MediaTypeHeaderOutput" +n2 = "aws.protocoltests.restjson.nested" +_s393 = "salutation" +_s394 = "NestedUnion" +_s395 = "stringValue" +_s396 = "MyUnion" +_s397 = "booleanValue" +_s398 = "numberValue" +_s399 = "blobValue" +_s400 = "timestampValue" +_s401 = "enumValue" +_s402 = "listValue" +_s403 = "mapValue" +_s404 = "structureValue" +_s405 = "renamedStructureValue" +_s406 = "unionValue" +_s407 = "NestedPayload" +_s408 = "name" +_s409 = "NoInputAndOutputOutput" +_s410 = "aws.protocoltests.restjson#NoInputAndOutputOutput" +_s411 = "OmitsNullSerializesEmptyStringInput" +_s412 = "aws.protocoltests.restjson#OmitsNullSerializesEmptyStringInput" +_s413 = "nullValue" +_s414 = "Null" +_s415 = "Empty" +_s416 = "OmitsSerializingEmptyListsInput" +_s417 = "aws.protocoltests.restjson#OmitsSerializingEmptyListsInput" +_s418 = "OperationWithDefaultsInput" +_s419 = "aws.protocoltests.restjson#OperationWithDefaultsInput" +_s420 = "defaults" +_s421 = "clientOptionalDefaults" +_s422 = "topLevelDefault" +_s423 = "otherTopLevelDefault" +_s424 = "OperationWithDefaultsOutput" +_s425 = "aws.protocoltests.restjson#OperationWithDefaultsOutput" +_s426 = "dialog" +_s427 = "dialogList" +_s428 = "dialogMap" +_s429 = "OperationWithNestedStructureInput" +_s430 = "aws.protocoltests.restjson#OperationWithNestedStructureInput" +_s431 = "topLevel" +_s432 = "OperationWithNestedStructureOutput" +_s433 = "aws.protocoltests.restjson#OperationWithNestedStructureOutput" +_s434 = "OutputStreamOutput" +_s435 = "aws.protocoltests.restjson#OutputStreamOutput" +_s436 = "OutputStreamWithInitialResponseOutput" +_s437 = "aws.protocoltests.restjson#OutputStreamWithInitialResponseOutput" +_s438 = "PayloadConfig" +_s439 = "data" +_s440 = "PlayerAction" +_s441 = "quit" +_s442 = "PostPlayerActionInput" +_s443 = "aws.protocoltests.restjson#PostPlayerActionInput" +_s444 = "action" +_s445 = "PostPlayerActionOutput" +_s446 = "aws.protocoltests.restjson#PostPlayerActionOutput" +_s447 = "UnionWithJsonName" +_s448 = "bar" +_s449 = "_baz" +_s450 = "PostUnionWithJsonNameInput" +_s451 = "aws.protocoltests.restjson#PostUnionWithJsonNameInput" +_s452 = "PostUnionWithJsonNameOutput" +_s453 = "aws.protocoltests.restjson#PostUnionWithJsonNameOutput" +_s454 = "PutWithContentEncodingInput" +_s455 = "aws.protocoltests.restjson#PutWithContentEncodingInput" +_s456 = "encoding" +_s457 = "Content-Encoding" +_s458 = "QueryIdempotencyTokenAutoFillInput" +_s459 = "aws.protocoltests.restjson#QueryIdempotencyTokenAutoFillInput" +_s460 = "token" +_s461 = "smithy.api#idempotencyToken" +_s505 = "smithy.api#Unit" +_s685 = "MalformedTimestampBodyDefaultOutput" +_s686 = "MalformedTimestampBodyHttpDateOutput" +_s687 = "MalformedTimestampHeaderDateTimeOutput" +_s688 = "MalformedTimestampHeaderDefaultOutput" +_s689 = "MalformedTimestampHeaderEpochOutput" +_s690 = "MalformedTimestampPathDefaultOutput" +_s691 = "MalformedTimestampPathEpochOutput" +_s692 = "MalformedTimestampPathHttpDateOutput" +_s693 = "MalformedTimestampQueryDefaultOutput" +_s694 = "MalformedTimestampQueryEpochOutput" +_s695 = "MalformedTimestampQueryHttpDateOutput" +_s696 = "MalformedUnionOutput" +_s699 = "NoInputAndOutputInput" +_s709 = "OmitsNullSerializesEmptyStringOutput" +_s710 = "OmitsSerializingEmptyListsOutput" +_s711 = "OutputStreamInput" +_s712 = "OutputStreamWithInitialResponseInput" +_s713 = "PutWithContentEncodingOutput" +_s714 = "QueryIdempotencyTokenAutoFillOutput" +_s794 = "smithy.api#http" +_s862 = "MalformedTimestampBodyDefault" +_s863 = "MalformedTimestampBodyHttpDate" +_s864 = "MalformedTimestampHeaderDateTime" +_s865 = "MalformedTimestampHeaderDefault" +_s866 = "MalformedTimestampHeaderEpoch" +_s867 = "MalformedTimestampPathDefault" +_s868 = "MalformedTimestampPathEpoch" +_s869 = "MalformedTimestampPathHttpDate" +_s870 = "MalformedTimestampQueryDefault" +_s871 = "MalformedTimestampQueryEpoch" +_s872 = "MalformedTimestampQueryHttpDate" +_s873 = "MalformedUnion" +_s874 = "MediaTypeHeader" +_s876 = "NoInputAndOutput" +_s879 = "OmitsNullSerializesEmptyString" +_s880 = "OmitsSerializingEmptyLists" +_s881 = "OperationWithDefaults" +_s882 = "OperationWithNestedStructure" +_s883 = "OutputStream" +_s884 = "OutputStreamWithInitialResponse" +_s885 = "PostPlayerAction" +_s886 = "PostUnionWithJsonName" +_s887 = "PutWithContentEncoding" +_s888 = "smithy.api#requestCompression" +_s889 = "QueryIdempotencyTokenAutoFill" + +MALFORMED_TIMESTAMP_BODY_DEFAULT_INPUT: StaticSchema = ( 18, n1, - _s362, - {_s30: _s363, _s32: None}, - (_s364, _s365, _s366, _s367), - ( - (lambda: schemas.DEFAULTS, 0), - (lambda: schemas.CLIENT_OPTIONAL_DEFAULTS, 0), - (3, {_s68: _s107}), - (7, {_s68: 0}), - ), + _s361, + {_s30: _s362, _s32: None}, + (_s269,), + ((4, 1),), ) -OPERATION_WITH_DEFAULTS_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_BODY_DEFAULT_OUTPUT: StaticSchema = ( 18, n1, - _s368, - {_s30: _s369, _s92: None}, - ( - _s106, - _s108, - _s109, - _s110, - _s111, - _s112, - _s113, - _s114, - _s115, - _s116, - _s118, - _s119, - _s120, - _s121, - _s122, - _s123, - _s124, - _s125, - _s126, - _s127, - _s129, - _s130, - _s131, - _s132, - _s133, - _s134, - _s135, - _s136, - ), - ( - (3, {_s68: _s107}), - (2, {_s68: True}), - (lambda: schemas.TEST_STRING_LIST, {_s68: ()}), - (DOCUMENT, {_s68: MappingProxyType[str, object]({})}), - (DOCUMENT, {_s68: _s107}), - (DOCUMENT, {_s68: True}), - (DOCUMENT, {_s68: ()}), - (DOCUMENT, {_s68: None}), - (4, {_s68: 0}), - (1, {_s68: _s117}), - (5, {_s68: 1}), - (6, {_s68: 1}), - (7, {_s68: 10}), - (8, {_s68: 100}), - (9, {_s68: 1.0}), - (10, {_s68: 1.0}), - (lambda: schemas.TEST_STRING_MAP, {_s68: MappingProxyType[str, object]({})}), - (lambda: schemas.TEST_ENUM, {_s68: _s9}), - (lambda: schemas.TEST_INT_ENUM, {_s68: 1}), - (3, {_s68: _s128}), - (2, {_s68: False}), - (1, {_s68: _s128}), - (5, {_s68: 0}), - (6, {_s68: 0}), - (7, {_s68: 0}), - (8, {_s68: 0}), - (9, {_s68: 0.0}), - (10, {_s68: 0.0}), - ), + _s685, + {_s30: _s505, _s95: None}, ) -OPERATION_WITH_DEFAULTS: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_BODY_DEFAULT: StaticOperationSchema = ( 23, n1, - _s811, - {_s729: MappingProxyType({"uri": "/OperationWithDefaults", "method": "POST"})}, - OPERATION_WITH_DEFAULTS_INPUT, - OPERATION_WITH_DEFAULTS_OUTPUT, + _s862, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampBodyDefault", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_BODY_DEFAULT_INPUT, + MALFORMED_TIMESTAMP_BODY_DEFAULT_OUTPUT, (), ) -TOP_LEVEL: StaticSchema = ( - 18, - n1, - _s79, - 0, - (_s370, _s371, _s372), - ( - (lambda: schemas.DIALOG, 1), - (lambda: schemas.DIALOG_LIST, {_s68: ()}), - (lambda: schemas.DIALOG_MAP, {_s68: MappingProxyType[str, object]({})}), - ), -) - -OPERATION_WITH_NESTED_STRUCTURE_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_BODY_HTTP_DATE_INPUT: StaticSchema = ( 18, n1, - _s373, - {_s30: _s374, _s32: None}, - (_s375,), - ((TOP_LEVEL, 1),), + _s363, + {_s30: _s364, _s32: None}, + (_s269,), + ((4, {_s97: _s251, _s204: None}),), ) -OPERATION_WITH_NESTED_STRUCTURE_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_BODY_HTTP_DATE_OUTPUT: StaticSchema = ( 18, n1, - _s376, - {_s30: _s377, _s92: None}, - (_s370, _s371, _s372), - ( - (lambda: schemas.DIALOG, 1), - (lambda: schemas.DIALOG_LIST, {_s68: ()}), - (lambda: schemas.DIALOG_MAP, {_s68: MappingProxyType[str, object]({})}), - ), + _s686, + {_s30: _s505, _s95: None}, ) -OPERATION_WITH_NESTED_STRUCTURE: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_BODY_HTTP_DATE: StaticOperationSchema = ( 23, n1, - _s812, + _s863, { - _s729: MappingProxyType( - {"uri": "/OperationWithNestedStructure", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedTimestampBodyHttpDate", "method": "POST"} ) }, - OPERATION_WITH_NESTED_STRUCTURE_INPUT, - OPERATION_WITH_NESTED_STRUCTURE_OUTPUT, + MALFORMED_TIMESTAMP_BODY_HTTP_DATE_INPUT, + MALFORMED_TIMESTAMP_BODY_HTTP_DATE_OUTPUT, (), ) -PAYLOAD_CONFIG: StaticSchema = ( - 18, - n1, - _s378, - 0, - (_s379,), - ((7, 0),), -) - -PLAYER_ACTION: StaticSchema = ( - 19, - n1, - _s380, - 0, - (_s381,), - ((-1, 0),), -) - -POST_PLAYER_ACTION_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_HEADER_DATE_TIME_INPUT: StaticSchema = ( 18, n1, - _s382, - {_s30: _s383, _s32: None}, - (_s384,), - ((PLAYER_ACTION, 0),), + _s365, + {_s30: _s366, _s32: None}, + (_s269,), + ((4, {_s80: _s269, _s97: _s98, _s204: None}),), ) -POST_PLAYER_ACTION_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_HEADER_DATE_TIME_OUTPUT: StaticSchema = ( 18, n1, - _s385, - {_s30: _s386, _s92: None}, - (_s384,), - ((PLAYER_ACTION, 1),), + _s687, + {_s30: _s505, _s95: None}, ) -POST_PLAYER_ACTION: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_HEADER_DATE_TIME: StaticOperationSchema = ( 23, n1, - _s813, - {_s729: MappingProxyType({"uri": "/PostPlayerAction", "method": "POST"})}, - POST_PLAYER_ACTION_INPUT, - POST_PLAYER_ACTION_OUTPUT, + _s864, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampHeaderDateTime", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_HEADER_DATE_TIME_INPUT, + MALFORMED_TIMESTAMP_HEADER_DATE_TIME_OUTPUT, (), ) -UNION_WITH_JSON_NAME: StaticSchema = ( - 19, - n1, - _s387, - 0, - (_s181, _s388, _s83), - ((3, {_s70: _s9}), (3, 0), (3, {_s70: _s389})), -) - -POST_UNION_WITH_JSON_NAME_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_HEADER_DEFAULT_INPUT: StaticSchema = ( 18, n1, - _s390, - {_s30: _s391, _s32: None}, - (_s28,), - ((UNION_WITH_JSON_NAME, 0),), + _s367, + {_s30: _s368, _s32: None}, + (_s269,), + ((4, {_s80: _s269, _s204: None}),), ) -POST_UNION_WITH_JSON_NAME_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_HEADER_DEFAULT_OUTPUT: StaticSchema = ( 18, n1, - _s392, - {_s30: _s393, _s92: None}, - (_s28,), - ((UNION_WITH_JSON_NAME, 1),), + _s688, + {_s30: _s505, _s95: None}, ) -POST_UNION_WITH_JSON_NAME: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_HEADER_DEFAULT: StaticOperationSchema = ( 23, n1, - _s814, - {_s729: MappingProxyType({"uri": "/PostUnionWithJsonName", "method": "POST"})}, - POST_UNION_WITH_JSON_NAME_INPUT, - POST_UNION_WITH_JSON_NAME_OUTPUT, + _s865, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampHeaderDefault", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_HEADER_DEFAULT_INPUT, + MALFORMED_TIMESTAMP_HEADER_DEFAULT_OUTPUT, (), ) -PUT_WITH_CONTENT_ENCODING_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_HEADER_EPOCH_INPUT: StaticSchema = ( 18, n1, - _s394, - {_s30: _s395, _s32: None}, - (_s396, _s379), - ((3, {_s77: _s397}), (3, 0)), + _s369, + {_s30: _s370, _s32: None}, + (_s269,), + ((4, {_s80: _s269, _s97: _s249, _s204: None}),), ) -PUT_WITH_CONTENT_ENCODING_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_HEADER_EPOCH_OUTPUT: StaticSchema = ( 18, n1, - _s648, - {_s30: _s444, _s92: None}, + _s689, + {_s30: _s505, _s95: None}, ) -PUT_WITH_CONTENT_ENCODING: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_HEADER_EPOCH: StaticOperationSchema = ( 23, n1, - _s815, + _s866, { - _s729: MappingProxyType( - {"method": "POST", "uri": "/requestcompression/putcontentwithencoding"} - ), - _s816: MappingProxyType({"encodings": ("gzip",)}), + _s794: MappingProxyType( + {"uri": "/MalformedTimestampHeaderEpoch", "method": "POST"} + ) }, - PUT_WITH_CONTENT_ENCODING_INPUT, - PUT_WITH_CONTENT_ENCODING_OUTPUT, + MALFORMED_TIMESTAMP_HEADER_EPOCH_INPUT, + MALFORMED_TIMESTAMP_HEADER_EPOCH_OUTPUT, (), ) -QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_PATH_DEFAULT_INPUT: StaticSchema = ( 18, n1, - _s398, - {_s30: _s399, _s32: None}, - (_s400,), - ((3, {_s34: _s400, _s401: None}),), + _s371, + {_s30: _s372, _s32: None}, + (_s269,), + ((4, 9),), ) -QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_PATH_DEFAULT_OUTPUT: StaticSchema = ( 18, n1, - _s649, - {_s30: _s444, _s92: None}, + _s690, + {_s30: _s505, _s95: None}, ) -QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_PATH_DEFAULT: StaticOperationSchema = ( 23, n1, - _s817, + _s867, { - _s729: MappingProxyType( - {"uri": "/QueryIdempotencyTokenAutoFill", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedTimestampPathDefault/{timestamp}", "method": "POST"} ) }, - QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_INPUT, - QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT, + MALFORMED_TIMESTAMP_PATH_DEFAULT_INPUT, + MALFORMED_TIMESTAMP_PATH_DEFAULT_OUTPUT, (), ) -QUERY_MAP: StaticSchema = ( - 17, - n1, - _s402, - 0, - (_s27, _s28), - ((3, 0), (3, 0)), -) - -QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_PATH_EPOCH_INPUT: StaticSchema = ( 18, n1, - _s403, - {_s30: _s404, _s32: None}, - (_s405, _s181), - ((3, {_s34: _s406}), (lambda: schemas.STRING_LIST_MAP, 1024)), + _s373, + {_s30: _s374, _s32: None}, + (_s269,), + ((4, {_s97: _s249, _s255: None, _s204: None}),), ) -QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_PATH_EPOCH_OUTPUT: StaticSchema = ( 18, n1, - _s650, - {_s30: _s444, _s92: None}, + _s691, + {_s30: _s505, _s95: None}, ) -QUERY_PARAMS_AS_STRING_LIST_MAP: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_PATH_EPOCH: StaticOperationSchema = ( 23, n1, - _s818, - {_s729: MappingProxyType({"uri": "/StringListMap", "method": "POST"})}, - QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT, - QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT, + _s868, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampPathEpoch/{timestamp}", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_PATH_EPOCH_INPUT, + MALFORMED_TIMESTAMP_PATH_EPOCH_OUTPUT, (), ) -QUERY_PRECEDENCE_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_PATH_HTTP_DATE_INPUT: StaticSchema = ( 18, n1, - _s407, - {_s30: _s408, _s32: None}, - (_s181, _s83), - ((3, {_s34: _s388}), (lambda: schemas.STRING_MAP, 1024)), + _s375, + {_s30: _s376, _s32: None}, + (_s269,), + ((4, {_s97: _s251, _s255: None, _s204: None}),), ) -QUERY_PRECEDENCE_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_PATH_HTTP_DATE_OUTPUT: StaticSchema = ( 18, n1, - _s651, - {_s30: _s444, _s92: None}, + _s692, + {_s30: _s505, _s95: None}, ) -QUERY_PRECEDENCE: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_PATH_HTTP_DATE: StaticOperationSchema = ( 23, n1, - _s819, - {_s729: MappingProxyType({"uri": "/Precedence", "method": "POST"})}, - QUERY_PRECEDENCE_INPUT, - QUERY_PRECEDENCE_OUTPUT, + _s869, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampPathHttpDate/{timestamp}", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_PATH_HTTP_DATE_INPUT, + MALFORMED_TIMESTAMP_PATH_HTTP_DATE_OUTPUT, (), ) -RESPONSE_CODE_REQUIRED_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_QUERY_DEFAULT_INPUT: StaticSchema = ( 18, n1, - _s409, - {_s30: _s410, _s92: None}, - (_s411,), - ((7, 129),), + _s377, + {_s30: _s378, _s32: None}, + (_s269,), + ((4, {_s34: _s269, _s204: None}),), ) -RESPONSE_CODE_REQUIRED_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_QUERY_DEFAULT_OUTPUT: StaticSchema = ( 18, n1, - _s658, - {_s30: _s444, _s32: None}, + _s693, + {_s30: _s505, _s95: None}, ) -RESPONSE_CODE_REQUIRED: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_QUERY_DEFAULT: StaticOperationSchema = ( 23, n1, - _s822, + _s870, { - _s729: MappingProxyType( - {"method": "GET", "uri": "/responseCodeRequired", "code": 200} + _s794: MappingProxyType( + {"uri": "/MalformedTimestampQueryDefault", "method": "POST"} ) }, - RESPONSE_CODE_REQUIRED_INPUT, - RESPONSE_CODE_REQUIRED_OUTPUT, + MALFORMED_TIMESTAMP_QUERY_DEFAULT_INPUT, + MALFORMED_TIMESTAMP_QUERY_DEFAULT_OUTPUT, (), ) -SPARSE_BOOLEAN_MAP: StaticSchema = ( - 17, - n1, - _s412, - 64, - (_s27, _s28), - ((3, 0), (2, 0)), -) - -SPARSE_NUMBER_MAP: StaticSchema = ( - 17, - n1, - _s413, - 64, - (_s27, _s28), - ((3, 0), (7, 0)), -) - -SPARSE_SET_MAP: StaticSchema = ( - 17, - n1, - _s414, - 64, - (_s27, _s28), - ((3, 0), (lambda: schemas.STRING_SET, 0)), -) - -SPARSE_STRUCT_MAP: StaticSchema = ( - 17, - n1, - _s415, - 64, - (_s27, _s28), - ((3, 0), (lambda: schemas.GREETING_STRUCT, 0)), -) - -STREAMING_BLOB: StaticSchema = ( - 1, - n1, - _s416, - {_s158: None}, -) - -STREAMING_TEXT_PLAIN_BLOB: StaticSchema = ( - 1, - n1, - _s417, - {_s227: _s418, _s158: None}, -) - -STREAMING_TRAITS_REQUIRE_LENGTH_INPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_QUERY_EPOCH_INPUT: StaticSchema = ( 18, n1, - _s419, - {_s30: _s420, _s32: None}, - (_s181, _s239), - ( - (3, {_s77: _s421}), - (lambda: schemas.FINITE_STREAMING_BLOB, {_s68: _s128, _s422: None}), - ), + _s379, + {_s30: _s380, _s32: None}, + (_s269,), + ((4, {_s34: _s269, _s97: _s249, _s204: None}),), ) -STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT: StaticSchema = ( +MALFORMED_TIMESTAMP_QUERY_EPOCH_OUTPUT: StaticSchema = ( 18, n1, - _s687, - {_s30: _s444, _s92: None}, + _s694, + {_s30: _s505, _s95: None}, ) -STREAMING_TRAITS_REQUIRE_LENGTH: StaticOperationSchema = ( +MALFORMED_TIMESTAMP_QUERY_EPOCH: StaticOperationSchema = ( 23, n1, - _s827, + _s871, { - _s729: MappingProxyType( - {"uri": "/StreamingTraitsRequireLength", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/MalformedTimestampQueryEpoch", "method": "POST"} ) }, - STREAMING_TRAITS_REQUIRE_LENGTH_INPUT, - STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT, + MALFORMED_TIMESTAMP_QUERY_EPOCH_INPUT, + MALFORMED_TIMESTAMP_QUERY_EPOCH_OUTPUT, (), ) -STRING_ENUM: StaticSchema = ( - 14, - n1, - _s423, - 0, - (_s424,), - ((-1, {_s10: _s425}),), -) - -STRUCTURE_LIST_MEMBER: StaticSchema = ( +MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_INPUT: StaticSchema = ( 18, n1, - _s426, - 0, - (_s427, _s428), - ((3, {_s70: _s28}), (3, {_s70: _s429})), + _s381, + {_s30: _s382, _s32: None}, + (_s269,), + ((4, {_s34: _s269, _s97: _s251, _s204: None}),), ) -STRUCTURE_LIST: StaticSchema = ( - 16, +MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_OUTPUT: StaticSchema = ( + 18, n1, - _s430, - 0, - (_s1,), - ((STRUCTURE_LIST_MEMBER, 0),), + _s695, + {_s30: _s505, _s95: None}, ) -TEST_CONFIG: StaticSchema = ( - 18, +MALFORMED_TIMESTAMP_QUERY_HTTP_DATE: StaticOperationSchema = ( + 23, n1, - _s431, - 0, - (_s432,), - ((7, 0),), + _s872, + { + _s794: MappingProxyType( + {"uri": "/MalformedTimestampQueryHttpDate", "method": "POST"} + ) + }, + MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_INPUT, + MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_OUTPUT, + (), ) -UNION_PAYLOAD: StaticSchema = ( +SIMPLE_UNION: StaticSchema = ( 19, n1, - _s433, - 0, - (_s148,), - ((3, 0),), -) - -FOO_ENUM_MAP: StaticSchema = ( - 17, - n0, - _s434, - 0, - (_s27, _s28), - ((3, 0), (lambda: schemas.FOO_ENUM, 0)), -) - -FOO_ENUM_SET: StaticSchema = ( - 16, - n0, - _s435, - 0, - (_s1,), - ((lambda: schemas.FOO_ENUM, 0),), -) - -INTEGER_ENUM_MAP: StaticSchema = ( - 17, - n0, - _s436, - 0, - (_s27, _s28), - ((3, 0), (lambda: schemas.INTEGER_ENUM, 0)), -) - -INTEGER_ENUM_SET: StaticSchema = ( - 16, - n0, - _s437, + _s383, 0, - (_s1,), - ((lambda: schemas.INTEGER_ENUM, 0),), -) - -NESTED_STRING_LIST: StaticSchema = ( - 16, - n0, - _s438, - 0, - (_s1,), - ((lambda: schemas.STRING_LIST, 0),), -) - -SPARSE_SHORT_LIST: StaticSchema = ( - 16, - n0, - _s439, - 64, - (_s1,), - ((6, 0),), + (_s349, _s264), + ((7, 0), (3, 0)), ) -SPARSE_STRING_LIST: StaticSchema = ( - 16, - n0, - _s440, - 64, - (_s1,), - ((3, 0),), -) - -SPARSE_STRING_MAP: StaticSchema = ( - 17, - n0, - _s441, - 64, - (_s27, _s28), - ((3, 0), (3, 0)), -) - -TEXT_PLAIN_BLOB: StaticSchema = ( - 1, - n0, - _s442, - {_s227: _s418}, -) - -DOCUMENT_TYPE_INPUT: StaticSchema = ( +MALFORMED_UNION_INPUT: StaticSchema = ( 18, n1, - _s448, - {_s30: _s449, _s32: None}, - (_s339, _s450), - ((3, 0), (DOCUMENT, 0)), + _s384, + {_s30: _s385, _s32: None}, + (_s386,), + ((SIMPLE_UNION, 0),), ) -DOCUMENT_TYPE_OUTPUT: StaticSchema = ( +MALFORMED_UNION_OUTPUT: StaticSchema = ( 18, n1, - _s451, - {_s30: _s449, _s92: None}, - (_s339, _s450), - ((3, 0), (DOCUMENT, 0)), + _s696, + {_s30: _s505, _s95: None}, ) -DOCUMENT_TYPE: StaticOperationSchema = ( +MALFORMED_UNION: StaticOperationSchema = ( 23, n1, - _s734, - {_s729: MappingProxyType({"uri": "/DocumentType", "method": "PUT"})}, - DOCUMENT_TYPE_INPUT, - DOCUMENT_TYPE_OUTPUT, + _s873, + {_s794: MappingProxyType({"uri": "/MalformedUnion", "method": "POST"})}, + MALFORMED_UNION_INPUT, + MALFORMED_UNION_OUTPUT, (), ) -DOCUMENT_TYPE_AS_MAP_VALUE_INPUT: StaticSchema = ( +MEDIA_TYPE_HEADER_INPUT: StaticSchema = ( 18, n1, - _s452, - {_s30: _s453, _s32: None}, - (_s454,), - ((lambda: schemas.DOCUMENT_VALUED_MAP, 0),), + _s387, + {_s30: _s388, _s32: None}, + (_s389,), + ((lambda: schemas.JSON_VALUE, {_s80: _s390}),), ) -DOCUMENT_TYPE_AS_MAP_VALUE_OUTPUT: StaticSchema = ( +MEDIA_TYPE_HEADER_OUTPUT: StaticSchema = ( 18, n1, - _s455, - {_s30: _s453, _s92: None}, - (_s454,), - ((lambda: schemas.DOCUMENT_VALUED_MAP, 0),), + _s391, + {_s30: _s392, _s95: None}, + (_s389,), + ((lambda: schemas.JSON_VALUE, {_s80: _s390}),), ) -DOCUMENT_TYPE_AS_MAP_VALUE: StaticOperationSchema = ( +MEDIA_TYPE_HEADER: StaticOperationSchema = ( 23, n1, - _s735, - {_s729: MappingProxyType({"uri": "/DocumentTypeAsMapValue", "method": "PUT"})}, - DOCUMENT_TYPE_AS_MAP_VALUE_INPUT, - DOCUMENT_TYPE_AS_MAP_VALUE_OUTPUT, + _s874, + {_s794: MappingProxyType({"uri": "/MediaTypeHeader", "method": "GET"})}, + MEDIA_TYPE_HEADER_INPUT, + MEDIA_TYPE_HEADER_OUTPUT, (), ) -DOCUMENT_TYPE_AS_PAYLOAD_INPUT: StaticSchema = ( +RENAMED_GREETING: StaticSchema = ( 18, + n2, + _s144, + 0, + (_s393,), + ((3, 0),), +) + +NESTED_UNION: StaticSchema = ( + 19, n1, - _s456, - {_s30: _s457, _s32: None}, - (_s450,), - ((DOCUMENT, 16),), + _s394, + 0, + (_s395,), + ((3, 0),), ) -DOCUMENT_TYPE_AS_PAYLOAD_OUTPUT: StaticSchema = ( - 18, +MY_UNION: StaticSchema = ( + 19, n1, - _s458, - {_s30: _s457, _s92: None}, - (_s450,), - ((DOCUMENT, 16),), + _s396, + 0, + (_s395, _s397, _s398, _s399, _s400, _s401, _s402, _s403, _s404, _s405, _s406), + ( + (3, 0), + (2, 0), + (7, 0), + (1, 0), + (4, 0), + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_MAP, 0), + (lambda: schemas.GREETING_STRUCT, 0), + (RENAMED_GREETING, 0), + (NESTED_UNION, 0), + ), ) -DOCUMENT_TYPE_AS_PAYLOAD: StaticOperationSchema = ( - 23, +NESTED_PAYLOAD: StaticSchema = ( + 18, n1, - _s736, - {_s729: MappingProxyType({"uri": "/DocumentTypeAsPayload", "method": "PUT"})}, - DOCUMENT_TYPE_AS_PAYLOAD_INPUT, - DOCUMENT_TYPE_AS_PAYLOAD_OUTPUT, - (), + _s407, + 0, + (_s151, _s408), + ((3, 0), (3, 0)), ) -ENDPOINT_OPERATION_INPUT: StaticSchema = ( +NO_INPUT_AND_OUTPUT_OUTPUT: StaticSchema = ( 18, n1, - _s459, - {_s30: _s444, _s32: None}, + _s409, + {_s30: _s410, _s95: None}, ) -ENDPOINT_OPERATION_OUTPUT: StaticSchema = ( +NO_INPUT_AND_OUTPUT_INPUT: StaticSchema = ( 18, n1, - _s460, - {_s30: _s444, _s92: None}, + _s699, + {_s30: _s505, _s32: None}, ) -ENDPOINT_OPERATION: StaticOperationSchema = ( +NO_INPUT_AND_OUTPUT: StaticOperationSchema = ( 23, n1, - _s738, - { - _s739: MappingProxyType({"hostPrefix": "foo."}), - _s729: MappingProxyType({"uri": "/EndpointOperation", "method": "POST"}), - }, - ENDPOINT_OPERATION_INPUT, - ENDPOINT_OPERATION_OUTPUT, + _s876, + {_s794: MappingProxyType({"uri": "/NoInputAndOutputOutput", "method": "POST"})}, + NO_INPUT_AND_OUTPUT_INPUT, + NO_INPUT_AND_OUTPUT_OUTPUT, (), ) -ENDPOINT_WITH_HOST_LABEL_OPERATION_INPUT: StaticSchema = ( +OMITS_NULL_SERIALIZES_EMPTY_STRING_INPUT: StaticSchema = ( 18, n1, - _s461, - {_s30: _s462, _s32: None}, - (_s463,), - ((3, 257),), + _s411, + {_s30: _s412, _s32: None}, + (_s413, _s130), + ((3, {_s34: _s414}), (3, {_s34: _s415})), ) -ENDPOINT_WITH_HOST_LABEL_OPERATION_OUTPUT: StaticSchema = ( +OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT: StaticSchema = ( 18, n1, - _s464, - {_s30: _s444, _s92: None}, + _s709, + {_s30: _s505, _s95: None}, ) -ENDPOINT_WITH_HOST_LABEL_OPERATION: StaticOperationSchema = ( +OMITS_NULL_SERIALIZES_EMPTY_STRING: StaticOperationSchema = ( 23, n1, - _s740, + _s879, { - _s739: MappingProxyType({"hostPrefix": "foo.{label}."}), - _s729: MappingProxyType( - {"uri": "/EndpointWithHostLabelOperation", "method": "POST"} - ), + _s794: MappingProxyType( + {"uri": "/OmitsNullSerializesEmptyString", "method": "GET"} + ) }, - ENDPOINT_WITH_HOST_LABEL_OPERATION_INPUT, - ENDPOINT_WITH_HOST_LABEL_OPERATION_OUTPUT, + OMITS_NULL_SERIALIZES_EMPTY_STRING_INPUT, + OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT, (), ) -HOST_WITH_PATH_OPERATION_INPUT: StaticSchema = ( +OMITS_SERIALIZING_EMPTY_LISTS_INPUT: StaticSchema = ( 18, n1, - _s467, - {_s30: _s444, _s32: None}, + _s416, + {_s30: _s417, _s32: None}, + (_s36, _s44, _s52, _s55, _s58, _s61, _s64), + ( + (lambda: schemas.STRING_LIST, {_s34: _s0}), + (lambda: schemas.INTEGER_LIST, {_s34: _s3}), + (lambda: schemas.DOUBLE_LIST, {_s34: _s5}), + (lambda: schemas.BOOLEAN_LIST, {_s34: _s6}), + (lambda: schemas.TIMESTAMP_LIST, {_s34: _s7}), + (lambda: schemas.FOO_ENUM_LIST, {_s34: _s62}), + (lambda: schemas.INTEGER_ENUM_LIST, {_s34: _s25}), + ), ) -HOST_WITH_PATH_OPERATION_OUTPUT: StaticSchema = ( +OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT: StaticSchema = ( 18, n1, - _s468, - {_s30: _s444, _s92: None}, + _s710, + {_s30: _s505, _s95: None}, ) -HOST_WITH_PATH_OPERATION: StaticOperationSchema = ( +OMITS_SERIALIZING_EMPTY_LISTS: StaticOperationSchema = ( 23, n1, - _s743, - {_s729: MappingProxyType({"uri": "/HostWithPathOperation", "method": "GET"})}, - HOST_WITH_PATH_OPERATION_INPUT, - HOST_WITH_PATH_OPERATION_OUTPUT, + _s880, + {_s794: MappingProxyType({"uri": "/OmitsSerializingEmptyLists", "method": "POST"})}, + OMITS_SERIALIZING_EMPTY_LISTS_INPUT, + OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT, (), ) -HTTP_CHECKSUM_REQUIRED_INPUT: StaticSchema = ( +OPERATION_WITH_DEFAULTS_INPUT: StaticSchema = ( 18, n1, - _s469, - {_s30: _s470, _s32: None}, - (_s181,), - ((3, 0),), + _s418, + {_s30: _s419, _s32: None}, + (_s420, _s421, _s422, _s423), + ( + (lambda: schemas.DEFAULTS, 0), + (lambda: schemas.CLIENT_OPTIONAL_DEFAULTS, 0), + (3, {_s71: _s110}), + (7, {_s71: 0}), + ), ) -HTTP_CHECKSUM_REQUIRED_OUTPUT: StaticSchema = ( +OPERATION_WITH_DEFAULTS_OUTPUT: StaticSchema = ( 18, n1, - _s471, - {_s30: _s470, _s92: None}, - (_s181,), - ((3, 0),), + _s424, + {_s30: _s425, _s95: None}, + ( + _s109, + _s111, + _s112, + _s113, + _s114, + _s115, + _s116, + _s117, + _s118, + _s119, + _s121, + _s122, + _s123, + _s124, + _s125, + _s126, + _s127, + _s128, + _s129, + _s130, + _s132, + _s133, + _s134, + _s135, + _s136, + _s137, + _s138, + _s139, + ), + ( + (3, {_s71: _s110}), + (2, {_s71: True}), + (lambda: schemas.TEST_STRING_LIST, {_s71: ()}), + (lambda: schemas.DOCUMENT, {_s71: MappingProxyType[str, object]({})}), + (lambda: schemas.DOCUMENT, {_s71: _s110}), + (lambda: schemas.DOCUMENT, {_s71: True}), + (lambda: schemas.DOCUMENT, {_s71: ()}), + (lambda: schemas.DOCUMENT, {_s71: None}), + (4, {_s71: 0}), + (1, {_s71: _s120}), + (5, {_s71: 1}), + (6, {_s71: 1}), + (7, {_s71: 10}), + (8, {_s71: 100}), + (9, {_s71: 1.0}), + (10, {_s71: 1.0}), + (lambda: schemas.TEST_STRING_MAP, {_s71: MappingProxyType[str, object]({})}), + (lambda: schemas.TEST_ENUM, {_s71: _s9}), + (lambda: schemas.TEST_INT_ENUM, {_s71: 1}), + (3, {_s71: _s131}), + (2, {_s71: False}), + (1, {_s71: _s131}), + (5, {_s71: 0}), + (6, {_s71: 0}), + (7, {_s71: 0}), + (8, {_s71: 0}), + (9, {_s71: 0.0}), + (10, {_s71: 0.0}), + ), ) -HTTP_CHECKSUM_REQUIRED: StaticOperationSchema = ( +OPERATION_WITH_DEFAULTS: StaticOperationSchema = ( 23, n1, - _s744, - { - _s729: MappingProxyType({"uri": "/HttpChecksumRequired", "method": "POST"}), - _s745: None, - }, - HTTP_CHECKSUM_REQUIRED_INPUT, - HTTP_CHECKSUM_REQUIRED_OUTPUT, + _s881, + {_s794: MappingProxyType({"uri": "/OperationWithDefaults", "method": "POST"})}, + OPERATION_WITH_DEFAULTS_INPUT, + OPERATION_WITH_DEFAULTS_OUTPUT, (), ) -HTTP_ENUM_PAYLOAD_INPUT: StaticSchema = ( +TOP_LEVEL: StaticSchema = ( 18, n1, - _s472, - {_s30: _s473, _s32: None}, - (_s232,), - ((STRING_ENUM, 16),), + _s82, + 0, + (_s426, _s427, _s428), + ( + (lambda: schemas.DIALOG, 1), + (lambda: schemas.DIALOG_LIST, {_s71: ()}), + (lambda: schemas.DIALOG_MAP, {_s71: MappingProxyType[str, object]({})}), + ), ) -HTTP_ENUM_PAYLOAD_OUTPUT: StaticSchema = ( +OPERATION_WITH_NESTED_STRUCTURE_INPUT: StaticSchema = ( 18, n1, - _s474, - {_s30: _s473, _s92: None}, - (_s232,), - ((STRING_ENUM, 16),), + _s429, + {_s30: _s430, _s32: None}, + (_s431,), + ((TOP_LEVEL, 1),), ) -HTTP_ENUM_PAYLOAD: StaticOperationSchema = ( +OPERATION_WITH_NESTED_STRUCTURE_OUTPUT: StaticSchema = ( + 18, + n1, + _s432, + {_s30: _s433, _s95: None}, + (_s426, _s427, _s428), + ( + (lambda: schemas.DIALOG, 1), + (lambda: schemas.DIALOG_LIST, {_s71: ()}), + (lambda: schemas.DIALOG_MAP, {_s71: MappingProxyType[str, object]({})}), + ), +) + +OPERATION_WITH_NESTED_STRUCTURE: StaticOperationSchema = ( 23, n1, - _s747, - {_s729: MappingProxyType({"uri": "/EnumPayload", "method": "POST"})}, - HTTP_ENUM_PAYLOAD_INPUT, - HTTP_ENUM_PAYLOAD_OUTPUT, + _s882, + { + _s794: MappingProxyType( + {"uri": "/OperationWithNestedStructure", "method": "POST"} + ) + }, + OPERATION_WITH_NESTED_STRUCTURE_INPUT, + OPERATION_WITH_NESTED_STRUCTURE_OUTPUT, (), ) -HTTP_PAYLOAD_TRAITS_INPUT: StaticSchema = ( +OUTPUT_STREAM_OUTPUT: StaticSchema = ( 18, n1, - _s475, - {_s30: _s476, _s32: None}, - (_s181, _s239), - ((3, {_s77: _s421}), (1, 16)), + _s434, + {_s30: _s435, _s95: None}, + (_s190,), + ((lambda: schemas.EVENT_STREAM, 16),), ) -HTTP_PAYLOAD_TRAITS_OUTPUT: StaticSchema = ( +OUTPUT_STREAM_INPUT: StaticSchema = ( 18, n1, - _s477, - {_s30: _s476, _s92: None}, - (_s181, _s239), - ((3, {_s77: _s421}), (1, 16)), + _s711, + {_s30: _s505, _s32: None}, ) -HTTP_PAYLOAD_TRAITS: StaticOperationSchema = ( +OUTPUT_STREAM: StaticOperationSchema = ( 23, n1, - _s748, - {_s729: MappingProxyType({"uri": "/HttpPayloadTraits", "method": "POST"})}, - HTTP_PAYLOAD_TRAITS_INPUT, - HTTP_PAYLOAD_TRAITS_OUTPUT, - (), + _s883, + {_s794: MappingProxyType({"method": "POST", "uri": "/OutputStream"})}, + OUTPUT_STREAM_INPUT, + OUTPUT_STREAM_OUTPUT, + (lambda: schemas.SERVICE_UNAVAILABLE_ERROR,), ) -HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_INPUT: StaticSchema = ( +OUTPUT_STREAM_WITH_INITIAL_RESPONSE_OUTPUT: StaticSchema = ( 18, n1, - _s478, - {_s30: _s479, _s32: None}, - (_s181, _s239), - ((3, {_s77: _s421}), (TEXT_PLAIN_BLOB, 16)), + _s436, + {_s30: _s437, _s95: None}, + (_s207, _s190), + ((3, {_s80: _s208, _s204: None}), (lambda: schemas.EVENT_STREAM, 16)), ) -HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_OUTPUT: StaticSchema = ( +OUTPUT_STREAM_WITH_INITIAL_RESPONSE_INPUT: StaticSchema = ( 18, n1, - _s480, - {_s30: _s479, _s92: None}, - (_s181, _s239), - ((3, {_s77: _s421}), (TEXT_PLAIN_BLOB, 16)), + _s712, + {_s30: _s505, _s32: None}, ) -HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE: StaticOperationSchema = ( +OUTPUT_STREAM_WITH_INITIAL_RESPONSE: StaticOperationSchema = ( 23, n1, - _s749, + _s884, { - _s729: MappingProxyType( - {"uri": "/HttpPayloadTraitsWithMediaType", "method": "POST"} + _s794: MappingProxyType( + {"method": "POST", "uri": "/OutputStreamWithInitialResponse"} ) }, - HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_INPUT, - HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_OUTPUT, + OUTPUT_STREAM_WITH_INITIAL_RESPONSE_INPUT, + OUTPUT_STREAM_WITH_INITIAL_RESPONSE_OUTPUT, (), ) -HTTP_PAYLOAD_WITH_STRUCTURE_INPUT: StaticSchema = ( - 18, - n1, - _s481, - {_s30: _s482, _s32: None}, - (_s483,), - ((lambda: schemas.NESTED_PAYLOAD, 16),), -) - -HTTP_PAYLOAD_WITH_STRUCTURE_OUTPUT: StaticSchema = ( +PAYLOAD_CONFIG: StaticSchema = ( 18, n1, - _s484, - {_s30: _s482, _s92: None}, - (_s483,), - ((lambda: schemas.NESTED_PAYLOAD, 16),), + _s438, + 0, + (_s439,), + ((7, 0),), ) -HTTP_PAYLOAD_WITH_STRUCTURE: StaticOperationSchema = ( - 23, +PLAYER_ACTION: StaticSchema = ( + 19, n1, - _s750, - {_s729: MappingProxyType({"uri": "/HttpPayloadWithStructure", "method": "PUT"})}, - HTTP_PAYLOAD_WITH_STRUCTURE_INPUT, - HTTP_PAYLOAD_WITH_STRUCTURE_OUTPUT, - (), + _s440, + 0, + (_s441,), + ((-1, 0),), ) -HTTP_PAYLOAD_WITH_UNION_INPUT: StaticSchema = ( +POST_PLAYER_ACTION_INPUT: StaticSchema = ( 18, n1, - _s485, - {_s30: _s486, _s32: None}, - (_s483,), - ((UNION_PAYLOAD, 16),), + _s442, + {_s30: _s443, _s32: None}, + (_s444,), + ((PLAYER_ACTION, 0),), ) -HTTP_PAYLOAD_WITH_UNION_OUTPUT: StaticSchema = ( +POST_PLAYER_ACTION_OUTPUT: StaticSchema = ( 18, n1, - _s487, - {_s30: _s486, _s92: None}, - (_s483,), - ((UNION_PAYLOAD, 16),), + _s445, + {_s30: _s446, _s95: None}, + (_s444,), + ((PLAYER_ACTION, 1),), ) -HTTP_PAYLOAD_WITH_UNION: StaticOperationSchema = ( +POST_PLAYER_ACTION: StaticOperationSchema = ( 23, n1, - _s751, - {_s729: MappingProxyType({"uri": "/HttpPayloadWithUnion", "method": "PUT"})}, - HTTP_PAYLOAD_WITH_UNION_INPUT, - HTTP_PAYLOAD_WITH_UNION_OUTPUT, + _s885, + {_s794: MappingProxyType({"uri": "/PostPlayerAction", "method": "POST"})}, + POST_PLAYER_ACTION_INPUT, + POST_PLAYER_ACTION_OUTPUT, (), ) -HTTP_QUERY_PARAMS_ONLY_OPERATION_INPUT: StaticSchema = ( +UNION_WITH_JSON_NAME: StaticSchema = ( + 19, + n1, + _s447, + 0, + (_s236, _s448, _s86), + ((3, {_s73: _s9}), (3, 0), (3, {_s73: _s449})), +) + +POST_UNION_WITH_JSON_NAME_INPUT: StaticSchema = ( 18, n1, - _s488, - {_s30: _s489, _s32: None}, - (_s490,), - ((QUERY_MAP, 1024),), + _s450, + {_s30: _s451, _s32: None}, + (_s28,), + ((UNION_WITH_JSON_NAME, 0),), ) -HTTP_QUERY_PARAMS_ONLY_OPERATION_OUTPUT: StaticSchema = ( +POST_UNION_WITH_JSON_NAME_OUTPUT: StaticSchema = ( 18, n1, - _s491, - {_s30: _s444, _s92: None}, + _s452, + {_s30: _s453, _s95: None}, + (_s28,), + ((UNION_WITH_JSON_NAME, 1),), ) -HTTP_QUERY_PARAMS_ONLY_OPERATION: StaticOperationSchema = ( +POST_UNION_WITH_JSON_NAME: StaticOperationSchema = ( 23, n1, - _s754, - {_s729: MappingProxyType({"uri": "/http-query-params-only", "method": "GET"})}, - HTTP_QUERY_PARAMS_ONLY_OPERATION_INPUT, - HTTP_QUERY_PARAMS_ONLY_OPERATION_OUTPUT, + _s886, + {_s794: MappingProxyType({"uri": "/PostUnionWithJsonName", "method": "POST"})}, + POST_UNION_WITH_JSON_NAME_INPUT, + POST_UNION_WITH_JSON_NAME_OUTPUT, (), ) -HTTP_STRING_PAYLOAD_INPUT: StaticSchema = ( +PUT_WITH_CONTENT_ENCODING_INPUT: StaticSchema = ( 18, n1, - _s498, - {_s30: _s499, _s32: None}, - (_s232,), - ((3, 16),), + _s454, + {_s30: _s455, _s32: None}, + (_s456, _s439), + ((3, {_s80: _s457}), (3, 0)), ) -HTTP_STRING_PAYLOAD_OUTPUT: StaticSchema = ( +PUT_WITH_CONTENT_ENCODING_OUTPUT: StaticSchema = ( 18, n1, - _s500, - {_s30: _s499, _s92: None}, - (_s232,), - ((3, 16),), + _s713, + {_s30: _s505, _s95: None}, ) -HTTP_STRING_PAYLOAD: StaticOperationSchema = ( +PUT_WITH_CONTENT_ENCODING: StaticOperationSchema = ( 23, n1, - _s761, - {_s729: MappingProxyType({"uri": "/StringPayload", "method": "POST"})}, - HTTP_STRING_PAYLOAD_INPUT, - HTTP_STRING_PAYLOAD_OUTPUT, + _s887, + { + _s794: MappingProxyType( + {"method": "POST", "uri": "/requestcompression/putcontentwithencoding"} + ), + _s888: MappingProxyType({"encodings": ("gzip",)}), + }, + PUT_WITH_CONTENT_ENCODING_INPUT, + PUT_WITH_CONTENT_ENCODING_OUTPUT, (), ) -INPUT_AND_OUTPUT_WITH_HEADERS_INPUT: StaticSchema = ( +QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_INPUT: StaticSchema = ( 18, n1, - _s502, - {_s30: _s503, _s32: None}, - ( - _s504, - _s506, - _s508, - _s510, - _s512, - _s514, - _s516, - _s518, - _s520, - _s522, - _s524, - _s526, - _s528, - _s530, - _s532, - _s534, - _s536, - _s538, - ), - ( - (3, {_s77: _s505}), - (5, {_s77: _s507}), - (6, {_s77: _s509}), - (7, {_s77: _s511}), - (8, {_s77: _s513}), - (9, {_s77: _s515}), - (10, {_s77: _s517}), - (2, {_s77: _s519}), - (2, {_s77: _s521}), - (lambda: schemas.STRING_LIST, {_s77: _s523}), - (lambda: schemas.STRING_SET, {_s77: _s525}), - (lambda: schemas.INTEGER_LIST, {_s77: _s527}), - (lambda: schemas.BOOLEAN_LIST, {_s77: _s529}), - (lambda: schemas.TIMESTAMP_LIST, {_s77: _s531}), - (lambda: schemas.FOO_ENUM, {_s77: _s533}), - (lambda: schemas.FOO_ENUM_LIST, {_s77: _s535}), - (lambda: schemas.INTEGER_ENUM, {_s77: _s537}), - (lambda: schemas.INTEGER_ENUM_LIST, {_s77: _s539}), - ), + _s458, + {_s30: _s459, _s32: None}, + (_s460,), + ((3, {_s34: _s460, _s461: None}),), ) -INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT: StaticSchema = ( +QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT: StaticSchema = ( 18, n1, - _s540, - {_s30: _s503, _s92: None}, - ( - _s504, - _s506, - _s508, - _s510, - _s512, - _s514, - _s516, - _s518, - _s520, - _s522, - _s524, - _s526, - _s528, - _s530, - _s532, - _s534, - _s536, - _s538, - ), - ( - (3, {_s77: _s505}), - (5, {_s77: _s507}), - (6, {_s77: _s509}), - (7, {_s77: _s511}), - (8, {_s77: _s513}), - (9, {_s77: _s515}), - (10, {_s77: _s517}), - (2, {_s77: _s519}), - (2, {_s77: _s521}), - (lambda: schemas.STRING_LIST, {_s77: _s523}), - (lambda: schemas.STRING_SET, {_s77: _s525}), - (lambda: schemas.INTEGER_LIST, {_s77: _s527}), - (lambda: schemas.BOOLEAN_LIST, {_s77: _s529}), - (lambda: schemas.TIMESTAMP_LIST, {_s77: _s531}), - (lambda: schemas.FOO_ENUM, {_s77: _s533}), - (lambda: schemas.FOO_ENUM_LIST, {_s77: _s535}), - (lambda: schemas.INTEGER_ENUM, {_s77: _s537}), - (lambda: schemas.INTEGER_ENUM_LIST, {_s77: _s539}), - ), + _s714, + {_s30: _s505, _s95: None}, ) -INPUT_AND_OUTPUT_WITH_HEADERS: StaticOperationSchema = ( +QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL: StaticOperationSchema = ( 23, n1, - _s763, - {_s729: MappingProxyType({"uri": "/InputAndOutputWithHeaders", "method": "POST"})}, - INPUT_AND_OUTPUT_WITH_HEADERS_INPUT, - INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT, + _s889, + { + _s794: MappingProxyType( + {"uri": "/QueryIdempotencyTokenAutoFill", "method": "POST"} + ) + }, + QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_INPUT, + QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT, (), ) diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_3.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_3.py index 22a43333f..f8e8ca870 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_3.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_3.py @@ -4,1200 +4,1120 @@ from . import schemas +n0 = "aws.protocoltests.shared" +_s1 = "member" +_s10 = "smithy.api#enumValue" +_s27 = "key" +_s28 = "value" n1 = "aws.protocoltests.restjson" _s30 = "smithy.synthetic#originalShapeId" _s32 = "smithy.api#input" -_s68 = "smithy.api#default" -_s70 = "smithy.api#jsonName" -_s77 = "smithy.api#httpHeader" -_s92 = "smithy.api#output" -_s94 = "smithy.api#timestampFormat" -_s95 = "date-time" -_s107 = "hi" -_s128 = "" -_s181 = "foo" -_s194 = "epoch-seconds" -_s196 = "http-date" -_s199 = "memberEpochSeconds" -_s202 = "memberHttpDate" -_s203 = "memberDateTime" -_s204 = "defaultFormat" -_s205 = "targetEpochSeconds" -_s206 = "targetHttpDate" -_s207 = "targetDateTime" -_s239 = "blob" -_s339 = "stringValue" -_s379 = "data" -_s388 = "bar" -_s421 = "X-Foo" -_s422 = "smithy.api#httpPayload" -_s427 = "a" -_s428 = "b" -_s444 = "smithy.api#Unit" -_s483 = "nested" -_s541 = "JsonBlobsInput" -_s542 = "aws.protocoltests.restjson#JsonBlobsInputOutput" -_s543 = "JsonBlobsOutput" -_s544 = "JsonEnumsInput" -_s545 = "aws.protocoltests.restjson#JsonEnumsInputOutput" -_s546 = "fooEnum1" -_s547 = "fooEnum2" -_s548 = "fooEnum3" -_s549 = "fooEnumList" -_s550 = "fooEnumSet" -_s551 = "fooEnumMap" -_s552 = "JsonEnumsOutput" -_s553 = "JsonIntEnumsInput" -_s554 = "aws.protocoltests.restjson#JsonIntEnumsInputOutput" -_s555 = "integerEnum1" -_s556 = "integerEnum2" -_s557 = "integerEnum3" -_s558 = "integerEnumList" -_s559 = "integerEnumSet" -_s560 = "integerEnumMap" -_s561 = "JsonIntEnumsOutput" -_s562 = "JsonListsInput" -_s563 = "aws.protocoltests.restjson#JsonListsInputOutput" -_s564 = "stringList" -_s565 = "stringSet" -_s566 = "integerList" -_s567 = "booleanList" -_s568 = "timestampList" -_s569 = "enumList" -_s570 = "intEnumList" -_s571 = "nestedStringList" -_s572 = "structureList" -_s573 = "myStructureList" -_s574 = "JsonListsOutput" -_s575 = "JsonMapsInput" -_s576 = "aws.protocoltests.restjson#JsonMapsInputOutput" -_s577 = "denseStructMap" -_s578 = "denseNumberMap" -_s579 = "denseBooleanMap" -_s580 = "denseStringMap" -_s581 = "denseSetMap" -_s582 = "JsonMapsOutput" -_s583 = "JsonTimestampsInput" -_s584 = "aws.protocoltests.restjson#JsonTimestampsInputOutput" -_s585 = "normal" -_s586 = "dateTime" -_s587 = "dateTimeOnTarget" -_s588 = "epochSeconds" -_s589 = "epochSecondsOnTarget" -_s590 = "httpDate" -_s591 = "httpDateOnTarget" -_s592 = "JsonTimestampsOutput" -_s593 = "JsonUnionsInput" -_s594 = "aws.protocoltests.restjson#UnionInputOutput" -_s595 = "contents" -_s596 = "JsonUnionsOutput" -_s597 = "MalformedAcceptWithBodyInput" -_s598 = "MalformedAcceptWithBodyOutput" -_s599 = "aws.protocoltests.shared#GreetingStruct" -_s605 = "MalformedContentTypeWithBodyInput" -_s606 = "MalformedContentTypeWithBodyOutput" -_s609 = "MalformedContentTypeWithoutBodyInput" -_s610 = "MalformedContentTypeWithoutBodyOutput" -_s634 = "NoInputAndNoOutputInput" -_s635 = "NoInputAndNoOutputOutput" -_s637 = "NullAndEmptyHeadersClientInput" -_s638 = "aws.protocoltests.restjson#NullAndEmptyHeadersIO" -_s639 = "X-A" -_s640 = "X-B" -_s641 = "c" -_s642 = "X-C" -_s643 = "NullAndEmptyHeadersClientOutput" -_s644 = "NullAndEmptyHeadersServerInput" -_s645 = "NullAndEmptyHeadersServerOutput" -_s652 = "RecursiveShapesInput" -_s653 = "aws.protocoltests.restjson#RecursiveShapesInputOutput" -_s654 = "RecursiveShapesOutput" -_s655 = "ResponseCodeHttpFallbackInput" -_s656 = "aws.protocoltests.restjson#ResponseCodeHttpFallbackInputOutput" -_s657 = "ResponseCodeHttpFallbackOutput" -_s659 = "SimpleScalarPropertiesInput" -_s660 = "aws.protocoltests.restjson#SimpleScalarPropertiesInputOutput" -_s661 = "trueBooleanValue" -_s662 = "falseBooleanValue" -_s663 = "byteValue" -_s664 = "shortValue" -_s665 = "integerValue" -_s666 = "longValue" -_s667 = "floatValue" -_s668 = "doubleValue" -_s669 = "DoubleDribble" -_s670 = "SimpleScalarPropertiesOutput" -_s671 = "SparseJsonListsInput" -_s672 = "aws.protocoltests.restjson#SparseJsonListsInputOutput" -_s673 = "sparseStringList" -_s674 = "sparseShortList" -_s675 = "SparseJsonListsOutput" -_s676 = "SparseJsonMapsInput" -_s677 = "aws.protocoltests.restjson#SparseJsonMapsInputOutput" -_s678 = "sparseStructMap" -_s679 = "sparseNumberMap" -_s680 = "sparseBooleanMap" -_s681 = "sparseStringMap" -_s682 = "sparseSetMap" -_s683 = "SparseJsonMapsOutput" -_s684 = "StreamingTraitsInput" -_s685 = "aws.protocoltests.restjson#StreamingTraitsInputOutput" -_s686 = "StreamingTraitsOutput" -_s688 = "StreamingTraitsWithMediaTypeInput" -_s689 = "aws.protocoltests.restjson#StreamingTraitsWithMediaTypeInputOutput" -_s690 = "StreamingTraitsWithMediaTypeOutput" -_s691 = "TestBodyStructureInput" -_s692 = "aws.protocoltests.restjson#TestBodyStructureInputOutput" -_s693 = "testId" -_s694 = "x-amz-test-id" -_s695 = "testConfig" -_s696 = "TestBodyStructureOutput" -_s697 = "TestGetNoInputNoPayloadInput" -_s698 = "TestGetNoInputNoPayloadOutput" -_s699 = "aws.protocoltests.restjson#TestNoPayloadInputOutput" -_s700 = "X-Amz-Test-Id" -_s701 = "TestGetNoPayloadInput" -_s702 = "TestGetNoPayloadOutput" -_s703 = "TestPayloadBlobInput" -_s704 = "aws.protocoltests.restjson#TestPayloadBlobInputOutput" -_s705 = "contentType" -_s706 = "Content-Type" -_s707 = "TestPayloadBlobOutput" -_s708 = "TestPayloadStructureInput" -_s709 = "aws.protocoltests.restjson#TestPayloadStructureInputOutput" -_s710 = "payloadConfig" -_s711 = "TestPayloadStructureOutput" -_s712 = "TestPostNoInputNoPayloadInput" -_s713 = "TestPostNoInputNoPayloadOutput" -_s714 = "TestPostNoPayloadInput" -_s715 = "TestPostNoPayloadOutput" -_s716 = "TimestampFormatHeadersInput" -_s717 = "aws.protocoltests.restjson#TimestampFormatHeadersIO" -_s718 = "X-memberEpochSeconds" -_s719 = "X-memberHttpDate" -_s720 = "X-memberDateTime" -_s721 = "X-defaultFormat" -_s722 = "X-targetEpochSeconds" -_s723 = "X-targetHttpDate" -_s724 = "X-targetDateTime" -_s725 = "TimestampFormatHeadersOutput" -_s726 = "UnitInputAndOutputInput" -_s727 = "UnitInputAndOutputOutput" -_s729 = "smithy.api#http" -_s764 = "JsonBlobs" -_s765 = "JsonEnums" -_s766 = "JsonIntEnums" -_s767 = "JsonLists" -_s768 = "JsonMaps" -_s769 = "JsonTimestamps" -_s770 = "JsonUnions" -_s771 = "MalformedAcceptWithBody" -_s777 = "MalformedContentTypeWithBody" -_s780 = "MalformedContentTypeWithoutBody" -_s805 = "NoInputAndNoOutput" -_s807 = "NullAndEmptyHeadersClient" -_s808 = "NullAndEmptyHeadersServer" -_s820 = "RecursiveShapes" -_s821 = "ResponseCodeHttpFallback" -_s823 = "SimpleScalarProperties" -_s824 = "SparseJsonLists" -_s825 = "SparseJsonMaps" -_s826 = "StreamingTraits" -_s828 = "StreamingTraitsWithMediaType" -_s829 = "TestBodyStructure" -_s830 = "TestGetNoInputNoPayload" -_s831 = "TestGetNoPayload" -_s832 = "TestPayloadBlob" -_s833 = "TestPayloadStructure" -_s834 = "TestPostNoInputNoPayload" -_s835 = "TestPostNoPayload" -_s836 = "TimestampFormatHeaders" -_s837 = "UnitInputAndOutput" -_s838 = "RestJson" -_s839 = "aws.api#service" -_s840 = "aws.auth#sigv4" -_s841 = "aws.protocols#restJson1" -_s842 = "RecursiveShapesInputOutputNested1" -_s843 = "RecursiveShapesInputOutputNested2" -_s844 = "recursiveMember" +_s34 = "smithy.api#httpQuery" +_s67 = "payload" +_s71 = "smithy.api#default" +_s73 = "smithy.api#jsonName" +_s80 = "smithy.api#httpHeader" +_s86 = "baz" +_s95 = "smithy.api#output" +_s103 = "Document" +_s131 = "" +_s151 = "greeting" +_s179 = "smithy.api#streaming" +_s236 = "foo" +_s285 = "smithy.api#mediaType" +_s296 = "blob" +_s395 = "stringValue" +_s439 = "data" +_s448 = "bar" +_s462 = "QueryMap" +_s463 = "QueryParamsAsStringListMapInput" +_s464 = "aws.protocoltests.restjson#QueryParamsAsStringListMapInput" +_s465 = "qux" +_s466 = "corge" +_s467 = "QueryPrecedenceInput" +_s468 = "aws.protocoltests.restjson#QueryPrecedenceInput" +_s469 = "ResponseCodeRequiredOutput" +_s470 = "aws.protocoltests.restjson#ResponseCodeRequiredOutput" +_s471 = "responseCode" +_s473 = "SparseBooleanMap" +_s474 = "SparseNumberMap" +_s475 = "SparseSetMap" +_s476 = "SparseStructMap" +_s477 = "StreamingBlob" +_s478 = "StreamingTextPlainBlob" +_s479 = "text/plain" +_s480 = "StreamingTraitsRequireLengthInput" +_s481 = "aws.protocoltests.restjson#StreamingTraitsRequireLengthInput" +_s482 = "X-Foo" +_s483 = "smithy.api#httpPayload" +_s484 = "StringEnum" +_s485 = "V" +_s486 = "enumvalue" +_s487 = "StructureListMember" +_s488 = "a" +_s489 = "b" +_s490 = "other" +_s491 = "StructureList" +_s492 = "TestConfig" +_s493 = "timeout" +_s494 = "UnionPayload" +_s495 = "FooEnumMap" +_s496 = "FooEnumSet" +_s497 = "IntegerEnumMap" +_s498 = "IntegerEnumSet" +_s499 = "NestedStringList" +_s500 = "SparseShortList" +_s501 = "SparseStringList" +_s502 = "SparseStringMap" +_s503 = "TextPlainBlob" +_s505 = "smithy.api#Unit" +_s509 = "DocumentTypeInput" +_s510 = "aws.protocoltests.restjson#DocumentTypeInputOutput" +_s511 = "documentValue" +_s512 = "DocumentTypeOutput" +_s513 = "DocumentTypeAsMapValueInput" +_s514 = "aws.protocoltests.restjson#DocumentTypeAsMapValueInputOutput" +_s515 = "docValuedMap" +_s516 = "DocumentTypeAsMapValueOutput" +_s517 = "DocumentTypeAsPayloadInput" +_s518 = "aws.protocoltests.restjson#DocumentTypeAsPayloadInputOutput" +_s519 = "DocumentTypeAsPayloadOutput" +_s520 = "EndpointOperationInput" +_s521 = "EndpointOperationOutput" +_s522 = "EndpointWithHostLabelOperationInput" +_s523 = "aws.protocoltests.restjson#HostLabelInput" +_s524 = "label" +_s525 = "EndpointWithHostLabelOperationOutput" +_s528 = "HostWithPathOperationInput" +_s529 = "HostWithPathOperationOutput" +_s530 = "HttpChecksumRequiredInput" +_s531 = "aws.protocoltests.restjson#HttpChecksumRequiredInputOutput" +_s532 = "HttpChecksumRequiredOutput" +_s533 = "HttpEnumPayloadInput" +_s534 = "aws.protocoltests.restjson#EnumPayloadInput" +_s535 = "HttpEnumPayloadOutput" +_s536 = "HttpPayloadTraitsInput" +_s537 = "aws.protocoltests.restjson#HttpPayloadTraitsInputOutput" +_s538 = "HttpPayloadTraitsOutput" +_s539 = "HttpPayloadTraitsWithMediaTypeInput" +_s540 = "aws.protocoltests.restjson#HttpPayloadTraitsWithMediaTypeInputOutput" +_s541 = "HttpPayloadTraitsWithMediaTypeOutput" +_s542 = "HttpPayloadWithStructureInput" +_s543 = "aws.protocoltests.restjson#HttpPayloadWithStructureInputOutput" +_s544 = "nested" +_s545 = "HttpPayloadWithStructureOutput" +_s546 = "HttpPayloadWithUnionInput" +_s547 = "aws.protocoltests.restjson#HttpPayloadWithUnionInputOutput" +_s548 = "HttpPayloadWithUnionOutput" +_s549 = "HttpQueryParamsOnlyOperationInput" +_s550 = "aws.protocoltests.restjson#HttpQueryParamsOnlyInput" +_s551 = "queryMap" +_s552 = "HttpQueryParamsOnlyOperationOutput" +_s559 = "HttpStringPayloadInput" +_s560 = "aws.protocoltests.restjson#StringPayloadInput" +_s561 = "HttpStringPayloadOutput" +_s563 = "InputAndOutputWithHeadersInput" +_s564 = "aws.protocoltests.restjson#InputAndOutputWithHeadersIO" +_s565 = "headerString" +_s566 = "X-String" +_s567 = "headerByte" +_s568 = "X-Byte" +_s569 = "headerShort" +_s570 = "X-Short" +_s571 = "headerInteger" +_s572 = "X-Integer" +_s573 = "headerLong" +_s574 = "X-Long" +_s575 = "headerFloat" +_s576 = "X-Float" +_s577 = "headerDouble" +_s578 = "X-Double" +_s579 = "headerTrueBool" +_s580 = "X-Boolean1" +_s581 = "headerFalseBool" +_s582 = "X-Boolean2" +_s583 = "headerStringList" +_s584 = "X-StringList" +_s585 = "headerStringSet" +_s586 = "X-StringSet" +_s587 = "headerIntegerList" +_s588 = "X-IntegerList" +_s589 = "headerBooleanList" +_s590 = "X-BooleanList" +_s591 = "headerTimestampList" +_s592 = "X-TimestampList" +_s593 = "headerEnum" +_s594 = "X-Enum" +_s595 = "headerEnumList" +_s596 = "X-EnumList" +_s597 = "headerIntegerEnum" +_s598 = "X-IntegerEnum" +_s599 = "headerIntegerEnumList" +_s600 = "X-IntegerEnumList" +_s601 = "InputAndOutputWithHeadersOutput" +_s604 = "JsonBlobsInput" +_s605 = "aws.protocoltests.restjson#JsonBlobsInputOutput" +_s606 = "JsonBlobsOutput" +_s607 = "JsonEnumsInput" +_s608 = "aws.protocoltests.restjson#JsonEnumsInputOutput" +_s609 = "fooEnum1" +_s610 = "fooEnum2" +_s611 = "fooEnum3" +_s612 = "fooEnumList" +_s613 = "fooEnumSet" +_s614 = "fooEnumMap" +_s615 = "JsonEnumsOutput" +_s616 = "JsonIntEnumsInput" +_s617 = "aws.protocoltests.restjson#JsonIntEnumsInputOutput" +_s618 = "integerEnum1" +_s619 = "integerEnum2" +_s620 = "integerEnum3" +_s621 = "integerEnumList" +_s622 = "integerEnumSet" +_s623 = "integerEnumMap" +_s624 = "JsonIntEnumsOutput" +_s715 = "QueryParamsAsStringListMapOutput" +_s716 = "QueryPrecedenceOutput" +_s723 = "ResponseCodeRequiredInput" +_s752 = "StreamingTraitsRequireLengthOutput" +_s794 = "smithy.api#http" +_s799 = "DocumentType" +_s800 = "DocumentTypeAsMapValue" +_s801 = "DocumentTypeAsPayload" +_s806 = "EndpointOperation" +_s807 = "smithy.api#endpoint" +_s808 = "EndpointWithHostLabelOperation" +_s811 = "HostWithPathOperation" +_s812 = "HttpChecksumRequired" +_s813 = "smithy.api#httpChecksumRequired" +_s815 = "HttpEnumPayload" +_s816 = "HttpPayloadTraits" +_s817 = "HttpPayloadTraitsWithMediaType" +_s818 = "HttpPayloadWithStructure" +_s819 = "HttpPayloadWithUnion" +_s822 = "HttpQueryParamsOnlyOperation" +_s829 = "HttpStringPayload" +_s831 = "InputAndOutputWithHeaders" +_s834 = "JsonBlobs" +_s835 = "JsonEnums" +_s836 = "JsonIntEnums" +_s890 = "QueryParamsAsStringListMap" +_s891 = "QueryPrecedence" +_s894 = "ResponseCodeRequired" +_s899 = "StreamingTraitsRequireLength" + +DOCUMENT: StaticSchema = ( + 13, + n1, + _s103, + 0, +) -JSON_BLOBS_INPUT: StaticSchema = ( +QUERY_MAP: StaticSchema = ( + 17, + n1, + _s462, + 0, + (_s27, _s28), + ((3, 0), (3, 0)), +) + +QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT: StaticSchema = ( 18, n1, - _s541, - {_s30: _s542, _s32: None}, - (_s379,), - ((1, 0),), + _s463, + {_s30: _s464, _s32: None}, + (_s465, _s236), + ((3, {_s34: _s466}), (lambda: schemas.STRING_LIST_MAP, 1024)), ) -JSON_BLOBS_OUTPUT: StaticSchema = ( +QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT: StaticSchema = ( 18, n1, - _s543, - {_s30: _s542, _s92: None}, - (_s379,), - ((1, 0),), + _s715, + {_s30: _s505, _s95: None}, ) -JSON_BLOBS: StaticOperationSchema = ( +QUERY_PARAMS_AS_STRING_LIST_MAP: StaticOperationSchema = ( 23, n1, - _s764, - {_s729: MappingProxyType({"uri": "/JsonBlobs", "method": "POST"})}, - JSON_BLOBS_INPUT, - JSON_BLOBS_OUTPUT, + _s890, + {_s794: MappingProxyType({"uri": "/StringListMap", "method": "POST"})}, + QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT, + QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT, (), ) -JSON_ENUMS_INPUT: StaticSchema = ( +QUERY_PRECEDENCE_INPUT: StaticSchema = ( 18, n1, - _s544, - {_s30: _s545, _s32: None}, - (_s546, _s547, _s548, _s549, _s550, _s551), - ( - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.FOO_ENUM_LIST, 0), - (lambda: schemas.FOO_ENUM_SET, 0), - (lambda: schemas.FOO_ENUM_MAP, 0), - ), + _s467, + {_s30: _s468, _s32: None}, + (_s236, _s86), + ((3, {_s34: _s448}), (lambda: schemas.STRING_MAP, 1024)), ) -JSON_ENUMS_OUTPUT: StaticSchema = ( +QUERY_PRECEDENCE_OUTPUT: StaticSchema = ( 18, n1, - _s552, - {_s30: _s545, _s92: None}, - (_s546, _s547, _s548, _s549, _s550, _s551), - ( - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.FOO_ENUM, 0), - (lambda: schemas.FOO_ENUM_LIST, 0), - (lambda: schemas.FOO_ENUM_SET, 0), - (lambda: schemas.FOO_ENUM_MAP, 0), - ), + _s716, + {_s30: _s505, _s95: None}, ) -JSON_ENUMS: StaticOperationSchema = ( +QUERY_PRECEDENCE: StaticOperationSchema = ( 23, n1, - _s765, - {_s729: MappingProxyType({"uri": "/JsonEnums", "method": "PUT"})}, - JSON_ENUMS_INPUT, - JSON_ENUMS_OUTPUT, + _s891, + {_s794: MappingProxyType({"uri": "/Precedence", "method": "POST"})}, + QUERY_PRECEDENCE_INPUT, + QUERY_PRECEDENCE_OUTPUT, (), ) -JSON_INT_ENUMS_INPUT: StaticSchema = ( +RESPONSE_CODE_REQUIRED_OUTPUT: StaticSchema = ( 18, n1, - _s553, - {_s30: _s554, _s32: None}, - (_s555, _s556, _s557, _s558, _s559, _s560), - ( - (lambda: schemas.INTEGER_ENUM, 0), - (lambda: schemas.INTEGER_ENUM, 0), - (lambda: schemas.INTEGER_ENUM, 0), - (lambda: schemas.INTEGER_ENUM_LIST, 0), - (lambda: schemas.INTEGER_ENUM_SET, 0), - (lambda: schemas.INTEGER_ENUM_MAP, 0), - ), + _s469, + {_s30: _s470, _s95: None}, + (_s471,), + ((7, 129),), ) -JSON_INT_ENUMS_OUTPUT: StaticSchema = ( +RESPONSE_CODE_REQUIRED_INPUT: StaticSchema = ( 18, n1, - _s561, - {_s30: _s554, _s92: None}, - (_s555, _s556, _s557, _s558, _s559, _s560), - ( - (lambda: schemas.INTEGER_ENUM, 0), - (lambda: schemas.INTEGER_ENUM, 0), - (lambda: schemas.INTEGER_ENUM, 0), - (lambda: schemas.INTEGER_ENUM_LIST, 0), - (lambda: schemas.INTEGER_ENUM_SET, 0), - (lambda: schemas.INTEGER_ENUM_MAP, 0), - ), + _s723, + {_s30: _s505, _s32: None}, ) -JSON_INT_ENUMS: StaticOperationSchema = ( +RESPONSE_CODE_REQUIRED: StaticOperationSchema = ( 23, n1, - _s766, - {_s729: MappingProxyType({"uri": "/JsonIntEnums", "method": "PUT"})}, - JSON_INT_ENUMS_INPUT, - JSON_INT_ENUMS_OUTPUT, + _s894, + { + _s794: MappingProxyType( + {"method": "GET", "uri": "/responseCodeRequired", "code": 200} + ) + }, + RESPONSE_CODE_REQUIRED_INPUT, + RESPONSE_CODE_REQUIRED_OUTPUT, (), ) -JSON_LISTS_INPUT: StaticSchema = ( - 18, +SPARSE_BOOLEAN_MAP: StaticSchema = ( + 17, n1, - _s562, - {_s30: _s563, _s32: None}, - (_s564, _s565, _s566, _s567, _s568, _s569, _s570, _s571, _s572), - ( - (lambda: schemas.STRING_LIST, 0), - (lambda: schemas.STRING_SET, 0), - (lambda: schemas.INTEGER_LIST, 0), - (lambda: schemas.BOOLEAN_LIST, 0), - (lambda: schemas.TIMESTAMP_LIST, 0), - (lambda: schemas.FOO_ENUM_LIST, 0), - (lambda: schemas.INTEGER_ENUM_LIST, 0), - (lambda: schemas.NESTED_STRING_LIST, 0), - (lambda: schemas.STRUCTURE_LIST, {_s70: _s573}), - ), + _s473, + 64, + (_s27, _s28), + ((3, 0), (2, 0)), ) -JSON_LISTS_OUTPUT: StaticSchema = ( - 18, +SPARSE_NUMBER_MAP: StaticSchema = ( + 17, n1, - _s574, - {_s30: _s563, _s92: None}, - (_s564, _s565, _s566, _s567, _s568, _s569, _s570, _s571, _s572), - ( - (lambda: schemas.STRING_LIST, 0), - (lambda: schemas.STRING_SET, 0), - (lambda: schemas.INTEGER_LIST, 0), - (lambda: schemas.BOOLEAN_LIST, 0), - (lambda: schemas.TIMESTAMP_LIST, 0), - (lambda: schemas.FOO_ENUM_LIST, 0), - (lambda: schemas.INTEGER_ENUM_LIST, 0), - (lambda: schemas.NESTED_STRING_LIST, 0), - (lambda: schemas.STRUCTURE_LIST, {_s70: _s573}), - ), + _s474, + 64, + (_s27, _s28), + ((3, 0), (7, 0)), ) -JSON_LISTS: StaticOperationSchema = ( - 23, +SPARSE_SET_MAP: StaticSchema = ( + 17, n1, - _s767, - {_s729: MappingProxyType({"uri": "/JsonLists", "method": "PUT"})}, - JSON_LISTS_INPUT, - JSON_LISTS_OUTPUT, - (), + _s475, + 64, + (_s27, _s28), + ((3, 0), (lambda: schemas.STRING_SET, 0)), ) -JSON_MAPS_INPUT: StaticSchema = ( - 18, +SPARSE_STRUCT_MAP: StaticSchema = ( + 17, n1, - _s575, - {_s30: _s576, _s32: None}, - (_s577, _s578, _s579, _s580, _s581), - ( - (lambda: schemas.DENSE_STRUCT_MAP, 0), - (lambda: schemas.DENSE_NUMBER_MAP, 0), - (lambda: schemas.DENSE_BOOLEAN_MAP, 0), - (lambda: schemas.DENSE_STRING_MAP, 0), - (lambda: schemas.DENSE_SET_MAP, 0), - ), + _s476, + 64, + (_s27, _s28), + ((3, 0), (lambda: schemas.GREETING_STRUCT, 0)), ) -JSON_MAPS_OUTPUT: StaticSchema = ( - 18, +STREAMING_BLOB: StaticSchema = ( + 1, n1, - _s582, - {_s30: _s576, _s92: None}, - (_s577, _s578, _s579, _s580, _s581), - ( - (lambda: schemas.DENSE_STRUCT_MAP, 0), - (lambda: schemas.DENSE_NUMBER_MAP, 0), - (lambda: schemas.DENSE_BOOLEAN_MAP, 0), - (lambda: schemas.DENSE_STRING_MAP, 0), - (lambda: schemas.DENSE_SET_MAP, 0), - ), + _s477, + {_s179: None}, ) -JSON_MAPS: StaticOperationSchema = ( - 23, +STREAMING_TEXT_PLAIN_BLOB: StaticSchema = ( + 1, n1, - _s768, - {_s729: MappingProxyType({"uri": "/JsonMaps", "method": "POST"})}, - JSON_MAPS_INPUT, - JSON_MAPS_OUTPUT, - (), + _s478, + {_s285: _s479, _s179: None}, ) -JSON_TIMESTAMPS_INPUT: StaticSchema = ( +STREAMING_TRAITS_REQUIRE_LENGTH_INPUT: StaticSchema = ( 18, n1, - _s583, - {_s30: _s584, _s32: None}, - (_s585, _s586, _s587, _s588, _s589, _s590, _s591), + _s480, + {_s30: _s481, _s32: None}, + (_s236, _s296), ( - (4, 0), - (4, {_s94: _s95}), - (lambda: schemas.DATE_TIME, 0), - (4, {_s94: _s194}), - (lambda: schemas.EPOCH_SECONDS, 0), - (4, {_s94: _s196}), - (lambda: schemas.HTTP_DATE, 0), + (3, {_s80: _s482}), + (lambda: schemas.FINITE_STREAMING_BLOB, {_s71: _s131, _s483: None}), ), ) -JSON_TIMESTAMPS_OUTPUT: StaticSchema = ( +STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT: StaticSchema = ( 18, n1, - _s592, - {_s30: _s584, _s92: None}, - (_s585, _s586, _s587, _s588, _s589, _s590, _s591), - ( - (4, 0), - (4, {_s94: _s95}), - (lambda: schemas.DATE_TIME, 0), - (4, {_s94: _s194}), - (lambda: schemas.EPOCH_SECONDS, 0), - (4, {_s94: _s196}), - (lambda: schemas.HTTP_DATE, 0), - ), + _s752, + {_s30: _s505, _s95: None}, ) -JSON_TIMESTAMPS: StaticOperationSchema = ( +STREAMING_TRAITS_REQUIRE_LENGTH: StaticOperationSchema = ( 23, n1, - _s769, - {_s729: MappingProxyType({"uri": "/JsonTimestamps", "method": "POST"})}, - JSON_TIMESTAMPS_INPUT, - JSON_TIMESTAMPS_OUTPUT, + _s899, + { + _s794: MappingProxyType( + {"uri": "/StreamingTraitsRequireLength", "method": "POST"} + ) + }, + STREAMING_TRAITS_REQUIRE_LENGTH_INPUT, + STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT, (), ) -JSON_UNIONS_INPUT: StaticSchema = ( - 18, +STRING_ENUM: StaticSchema = ( + 14, n1, - _s593, - {_s30: _s594, _s32: None}, - (_s595,), - ((lambda: schemas.MY_UNION, 0),), + _s484, + 0, + (_s485,), + ((-1, {_s10: _s486}),), ) -JSON_UNIONS_OUTPUT: StaticSchema = ( +STRUCTURE_LIST_MEMBER: StaticSchema = ( 18, n1, - _s596, - {_s30: _s594, _s92: None}, - (_s595,), - ((lambda: schemas.MY_UNION, 0),), + _s487, + 0, + (_s488, _s489), + ((3, {_s73: _s28}), (3, {_s73: _s490})), ) -JSON_UNIONS: StaticOperationSchema = ( - 23, +STRUCTURE_LIST: StaticSchema = ( + 16, n1, - _s770, - {_s729: MappingProxyType({"uri": "/JsonUnions", "method": "PUT"})}, - JSON_UNIONS_INPUT, - JSON_UNIONS_OUTPUT, - (), + _s491, + 0, + (_s1,), + ((STRUCTURE_LIST_MEMBER, 0),), ) -MALFORMED_ACCEPT_WITH_BODY_INPUT: StaticSchema = ( +TEST_CONFIG: StaticSchema = ( 18, n1, - _s597, - {_s30: _s444, _s32: None}, + _s492, + 0, + (_s493,), + ((7, 0),), ) -MALFORMED_ACCEPT_WITH_BODY_OUTPUT: StaticSchema = ( - 18, +UNION_PAYLOAD: StaticSchema = ( + 19, n1, - _s598, - {_s30: _s599, _s92: None}, - (_s107,), + _s494, + 0, + (_s151,), ((3, 0),), ) -MALFORMED_ACCEPT_WITH_BODY: StaticOperationSchema = ( - 23, - n1, - _s771, - {_s729: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithBody"})}, - MALFORMED_ACCEPT_WITH_BODY_INPUT, - MALFORMED_ACCEPT_WITH_BODY_OUTPUT, - (), +FOO_ENUM_MAP: StaticSchema = ( + 17, + n0, + _s495, + 0, + (_s27, _s28), + ((3, 0), (lambda: schemas.FOO_ENUM, 0)), ) -MALFORMED_CONTENT_TYPE_WITH_BODY_INPUT: StaticSchema = ( - 18, - n1, - _s605, - {_s30: _s599, _s32: None}, - (_s107,), - ((3, 0),), +FOO_ENUM_SET: StaticSchema = ( + 16, + n0, + _s496, + 0, + (_s1,), + ((lambda: schemas.FOO_ENUM, 0),), ) -MALFORMED_CONTENT_TYPE_WITH_BODY_OUTPUT: StaticSchema = ( - 18, - n1, - _s606, - {_s30: _s444, _s92: None}, +INTEGER_ENUM_MAP: StaticSchema = ( + 17, + n0, + _s497, + 0, + (_s27, _s28), + ((3, 0), (lambda: schemas.INTEGER_ENUM, 0)), ) -MALFORMED_CONTENT_TYPE_WITH_BODY: StaticOperationSchema = ( - 23, - n1, - _s777, - { - _s729: MappingProxyType( - {"method": "POST", "uri": "/MalformedContentTypeWithBody"} - ) - }, - MALFORMED_CONTENT_TYPE_WITH_BODY_INPUT, - MALFORMED_CONTENT_TYPE_WITH_BODY_OUTPUT, - (), +INTEGER_ENUM_SET: StaticSchema = ( + 16, + n0, + _s498, + 0, + (_s1,), + ((lambda: schemas.INTEGER_ENUM, 0),), ) -MALFORMED_CONTENT_TYPE_WITHOUT_BODY_INPUT: StaticSchema = ( - 18, - n1, - _s609, - {_s30: _s444, _s32: None}, +NESTED_STRING_LIST: StaticSchema = ( + 16, + n0, + _s499, + 0, + (_s1,), + ((lambda: schemas.STRING_LIST, 0),), ) -MALFORMED_CONTENT_TYPE_WITHOUT_BODY_OUTPUT: StaticSchema = ( - 18, - n1, - _s610, - {_s30: _s444, _s92: None}, +SPARSE_SHORT_LIST: StaticSchema = ( + 16, + n0, + _s500, + 64, + (_s1,), + ((6, 0),), ) -MALFORMED_CONTENT_TYPE_WITHOUT_BODY: StaticOperationSchema = ( - 23, - n1, - _s780, - { - _s729: MappingProxyType( - {"method": "POST", "uri": "/MalformedContentTypeWithoutBody"} - ) - }, - MALFORMED_CONTENT_TYPE_WITHOUT_BODY_INPUT, - MALFORMED_CONTENT_TYPE_WITHOUT_BODY_OUTPUT, - (), +SPARSE_STRING_LIST: StaticSchema = ( + 16, + n0, + _s501, + 64, + (_s1,), + ((3, 0),), +) + +SPARSE_STRING_MAP: StaticSchema = ( + 17, + n0, + _s502, + 64, + (_s27, _s28), + ((3, 0), (3, 0)), ) -NO_INPUT_AND_NO_OUTPUT_INPUT: StaticSchema = ( +TEXT_PLAIN_BLOB: StaticSchema = ( + 1, + n0, + _s503, + {_s285: _s479}, +) + +DOCUMENT_TYPE_INPUT: StaticSchema = ( 18, n1, - _s634, - {_s30: _s444, _s32: None}, + _s509, + {_s30: _s510, _s32: None}, + (_s395, _s511), + ((3, 0), (DOCUMENT, 0)), ) -NO_INPUT_AND_NO_OUTPUT_OUTPUT: StaticSchema = ( +DOCUMENT_TYPE_OUTPUT: StaticSchema = ( 18, n1, - _s635, - {_s30: _s444, _s92: None}, + _s512, + {_s30: _s510, _s95: None}, + (_s395, _s511), + ((3, 0), (DOCUMENT, 0)), ) -NO_INPUT_AND_NO_OUTPUT: StaticOperationSchema = ( +DOCUMENT_TYPE: StaticOperationSchema = ( 23, n1, - _s805, - {_s729: MappingProxyType({"uri": "/NoInputAndNoOutput", "method": "POST"})}, - NO_INPUT_AND_NO_OUTPUT_INPUT, - NO_INPUT_AND_NO_OUTPUT_OUTPUT, + _s799, + {_s794: MappingProxyType({"uri": "/DocumentType", "method": "PUT"})}, + DOCUMENT_TYPE_INPUT, + DOCUMENT_TYPE_OUTPUT, (), ) -NULL_AND_EMPTY_HEADERS_CLIENT_INPUT: StaticSchema = ( +DOCUMENT_TYPE_AS_MAP_VALUE_INPUT: StaticSchema = ( 18, n1, - _s637, - {_s30: _s638, _s32: None}, - (_s427, _s428, _s641), - ( - (3, {_s77: _s639}), - (3, {_s77: _s640}), - (lambda: schemas.STRING_LIST, {_s77: _s642}), - ), + _s513, + {_s30: _s514, _s32: None}, + (_s515,), + ((lambda: schemas.DOCUMENT_VALUED_MAP, 0),), ) -NULL_AND_EMPTY_HEADERS_CLIENT_OUTPUT: StaticSchema = ( +DOCUMENT_TYPE_AS_MAP_VALUE_OUTPUT: StaticSchema = ( 18, n1, - _s643, - {_s30: _s638, _s92: None}, - (_s427, _s428, _s641), - ( - (3, {_s77: _s639}), - (3, {_s77: _s640}), - (lambda: schemas.STRING_LIST, {_s77: _s642}), - ), + _s516, + {_s30: _s514, _s95: None}, + (_s515,), + ((lambda: schemas.DOCUMENT_VALUED_MAP, 0),), ) -NULL_AND_EMPTY_HEADERS_CLIENT: StaticOperationSchema = ( +DOCUMENT_TYPE_AS_MAP_VALUE: StaticOperationSchema = ( 23, n1, - _s807, - {_s729: MappingProxyType({"uri": "/NullAndEmptyHeadersClient", "method": "GET"})}, - NULL_AND_EMPTY_HEADERS_CLIENT_INPUT, - NULL_AND_EMPTY_HEADERS_CLIENT_OUTPUT, + _s800, + {_s794: MappingProxyType({"uri": "/DocumentTypeAsMapValue", "method": "PUT"})}, + DOCUMENT_TYPE_AS_MAP_VALUE_INPUT, + DOCUMENT_TYPE_AS_MAP_VALUE_OUTPUT, (), ) -NULL_AND_EMPTY_HEADERS_SERVER_INPUT: StaticSchema = ( +DOCUMENT_TYPE_AS_PAYLOAD_INPUT: StaticSchema = ( 18, n1, - _s644, - {_s30: _s638, _s32: None}, - (_s427, _s428, _s641), - ( - (3, {_s77: _s639}), - (3, {_s77: _s640}), - (lambda: schemas.STRING_LIST, {_s77: _s642}), - ), + _s517, + {_s30: _s518, _s32: None}, + (_s511,), + ((DOCUMENT, 16),), ) -NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT: StaticSchema = ( +DOCUMENT_TYPE_AS_PAYLOAD_OUTPUT: StaticSchema = ( 18, n1, - _s645, - {_s30: _s638, _s92: None}, - (_s427, _s428, _s641), - ( - (3, {_s77: _s639}), - (3, {_s77: _s640}), - (lambda: schemas.STRING_LIST, {_s77: _s642}), - ), + _s519, + {_s30: _s518, _s95: None}, + (_s511,), + ((DOCUMENT, 16),), ) -NULL_AND_EMPTY_HEADERS_SERVER: StaticOperationSchema = ( +DOCUMENT_TYPE_AS_PAYLOAD: StaticOperationSchema = ( 23, n1, - _s808, - {_s729: MappingProxyType({"uri": "/NullAndEmptyHeadersServer", "method": "GET"})}, - NULL_AND_EMPTY_HEADERS_SERVER_INPUT, - NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT, + _s801, + {_s794: MappingProxyType({"uri": "/DocumentTypeAsPayload", "method": "PUT"})}, + DOCUMENT_TYPE_AS_PAYLOAD_INPUT, + DOCUMENT_TYPE_AS_PAYLOAD_OUTPUT, (), ) -RECURSIVE_SHAPES_INPUT: StaticSchema = ( +ENDPOINT_OPERATION_INPUT: StaticSchema = ( 18, n1, - _s652, - {_s30: _s653, _s32: None}, - (_s483,), - ((lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0),), + _s520, + {_s30: _s505, _s32: None}, ) -RECURSIVE_SHAPES_OUTPUT: StaticSchema = ( +ENDPOINT_OPERATION_OUTPUT: StaticSchema = ( 18, n1, - _s654, - {_s30: _s653, _s92: None}, - (_s483,), - ((lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0),), + _s521, + {_s30: _s505, _s95: None}, ) -RECURSIVE_SHAPES: StaticOperationSchema = ( +ENDPOINT_OPERATION: StaticOperationSchema = ( 23, n1, - _s820, - {_s729: MappingProxyType({"uri": "/RecursiveShapes", "method": "PUT"})}, - RECURSIVE_SHAPES_INPUT, - RECURSIVE_SHAPES_OUTPUT, + _s806, + { + _s807: MappingProxyType({"hostPrefix": "foo."}), + _s794: MappingProxyType({"uri": "/EndpointOperation", "method": "POST"}), + }, + ENDPOINT_OPERATION_INPUT, + ENDPOINT_OPERATION_OUTPUT, (), ) -RESPONSE_CODE_HTTP_FALLBACK_INPUT: StaticSchema = ( +ENDPOINT_WITH_HOST_LABEL_OPERATION_INPUT: StaticSchema = ( 18, n1, - _s655, - {_s30: _s656, _s32: None}, + _s522, + {_s30: _s523, _s32: None}, + (_s524,), + ((3, 257),), ) -RESPONSE_CODE_HTTP_FALLBACK_OUTPUT: StaticSchema = ( +ENDPOINT_WITH_HOST_LABEL_OPERATION_OUTPUT: StaticSchema = ( 18, n1, - _s657, - {_s30: _s656, _s92: None}, + _s525, + {_s30: _s505, _s95: None}, ) -RESPONSE_CODE_HTTP_FALLBACK: StaticOperationSchema = ( +ENDPOINT_WITH_HOST_LABEL_OPERATION: StaticOperationSchema = ( 23, n1, - _s821, + _s808, { - _s729: MappingProxyType( - {"method": "GET", "uri": "/responseCodeHttpFallback", "code": 201} - ) + _s807: MappingProxyType({"hostPrefix": "foo.{label}."}), + _s794: MappingProxyType( + {"uri": "/EndpointWithHostLabelOperation", "method": "POST"} + ), }, - RESPONSE_CODE_HTTP_FALLBACK_INPUT, - RESPONSE_CODE_HTTP_FALLBACK_OUTPUT, + ENDPOINT_WITH_HOST_LABEL_OPERATION_INPUT, + ENDPOINT_WITH_HOST_LABEL_OPERATION_OUTPUT, (), ) -SIMPLE_SCALAR_PROPERTIES_INPUT: StaticSchema = ( +HOST_WITH_PATH_OPERATION_INPUT: StaticSchema = ( 18, n1, - _s659, - {_s30: _s660, _s32: None}, - (_s181, _s339, _s661, _s662, _s663, _s664, _s665, _s666, _s667, _s668), - ( - (3, {_s77: _s421}), - (3, 0), - (2, 0), - (2, 0), - (5, 0), - (6, 0), - (7, 0), - (8, 0), - (9, 0), - (10, {_s70: _s669}), - ), + _s528, + {_s30: _s505, _s32: None}, ) -SIMPLE_SCALAR_PROPERTIES_OUTPUT: StaticSchema = ( +HOST_WITH_PATH_OPERATION_OUTPUT: StaticSchema = ( 18, n1, - _s670, - {_s30: _s660, _s92: None}, - (_s181, _s339, _s661, _s662, _s663, _s664, _s665, _s666, _s667, _s668), - ( - (3, {_s77: _s421}), - (3, 0), - (2, 0), - (2, 0), - (5, 0), - (6, 0), - (7, 0), - (8, 0), - (9, 0), - (10, {_s70: _s669}), - ), + _s529, + {_s30: _s505, _s95: None}, ) -SIMPLE_SCALAR_PROPERTIES: StaticOperationSchema = ( +HOST_WITH_PATH_OPERATION: StaticOperationSchema = ( 23, n1, - _s823, - {_s729: MappingProxyType({"uri": "/SimpleScalarProperties", "method": "PUT"})}, - SIMPLE_SCALAR_PROPERTIES_INPUT, - SIMPLE_SCALAR_PROPERTIES_OUTPUT, + _s811, + {_s794: MappingProxyType({"uri": "/HostWithPathOperation", "method": "GET"})}, + HOST_WITH_PATH_OPERATION_INPUT, + HOST_WITH_PATH_OPERATION_OUTPUT, (), ) -SPARSE_JSON_LISTS_INPUT: StaticSchema = ( +HTTP_CHECKSUM_REQUIRED_INPUT: StaticSchema = ( 18, n1, - _s671, - {_s30: _s672, _s32: None}, - (_s673, _s674), - ((lambda: schemas.SPARSE_STRING_LIST, 0), (lambda: schemas.SPARSE_SHORT_LIST, 0)), + _s530, + {_s30: _s531, _s32: None}, + (_s236,), + ((3, 0),), ) -SPARSE_JSON_LISTS_OUTPUT: StaticSchema = ( +HTTP_CHECKSUM_REQUIRED_OUTPUT: StaticSchema = ( 18, n1, - _s675, - {_s30: _s672, _s92: None}, - (_s673, _s674), - ((lambda: schemas.SPARSE_STRING_LIST, 0), (lambda: schemas.SPARSE_SHORT_LIST, 0)), + _s532, + {_s30: _s531, _s95: None}, + (_s236,), + ((3, 0),), ) -SPARSE_JSON_LISTS: StaticOperationSchema = ( +HTTP_CHECKSUM_REQUIRED: StaticOperationSchema = ( 23, n1, - _s824, - {_s729: MappingProxyType({"uri": "/SparseJsonLists", "method": "PUT"})}, - SPARSE_JSON_LISTS_INPUT, - SPARSE_JSON_LISTS_OUTPUT, + _s812, + { + _s794: MappingProxyType({"uri": "/HttpChecksumRequired", "method": "POST"}), + _s813: None, + }, + HTTP_CHECKSUM_REQUIRED_INPUT, + HTTP_CHECKSUM_REQUIRED_OUTPUT, (), ) -SPARSE_JSON_MAPS_INPUT: StaticSchema = ( +HTTP_ENUM_PAYLOAD_INPUT: StaticSchema = ( 18, n1, - _s676, - {_s30: _s677, _s32: None}, - (_s678, _s679, _s680, _s681, _s682), - ( - (lambda: schemas.SPARSE_STRUCT_MAP, 0), - (lambda: schemas.SPARSE_NUMBER_MAP, 0), - (lambda: schemas.SPARSE_BOOLEAN_MAP, 0), - (lambda: schemas.SPARSE_STRING_MAP, 0), - (lambda: schemas.SPARSE_SET_MAP, 0), - ), + _s533, + {_s30: _s534, _s32: None}, + (_s67,), + ((STRING_ENUM, 16),), ) -SPARSE_JSON_MAPS_OUTPUT: StaticSchema = ( +HTTP_ENUM_PAYLOAD_OUTPUT: StaticSchema = ( 18, n1, - _s683, - {_s30: _s677, _s92: None}, - (_s678, _s679, _s680, _s681, _s682), - ( - (lambda: schemas.SPARSE_STRUCT_MAP, 0), - (lambda: schemas.SPARSE_NUMBER_MAP, 0), - (lambda: schemas.SPARSE_BOOLEAN_MAP, 0), - (lambda: schemas.SPARSE_STRING_MAP, 0), - (lambda: schemas.SPARSE_SET_MAP, 0), - ), + _s535, + {_s30: _s534, _s95: None}, + (_s67,), + ((STRING_ENUM, 16),), ) -SPARSE_JSON_MAPS: StaticOperationSchema = ( +HTTP_ENUM_PAYLOAD: StaticOperationSchema = ( 23, n1, - _s825, - {_s729: MappingProxyType({"uri": "/SparseJsonMaps", "method": "POST"})}, - SPARSE_JSON_MAPS_INPUT, - SPARSE_JSON_MAPS_OUTPUT, + _s815, + {_s794: MappingProxyType({"uri": "/EnumPayload", "method": "POST"})}, + HTTP_ENUM_PAYLOAD_INPUT, + HTTP_ENUM_PAYLOAD_OUTPUT, (), ) -STREAMING_TRAITS_INPUT: StaticSchema = ( +HTTP_PAYLOAD_TRAITS_INPUT: StaticSchema = ( 18, n1, - _s684, - {_s30: _s685, _s32: None}, - (_s181, _s239), - ((3, {_s77: _s421}), (lambda: schemas.STREAMING_BLOB, {_s68: _s128, _s422: None})), + _s536, + {_s30: _s537, _s32: None}, + (_s236, _s296), + ((3, {_s80: _s482}), (1, 16)), ) -STREAMING_TRAITS_OUTPUT: StaticSchema = ( +HTTP_PAYLOAD_TRAITS_OUTPUT: StaticSchema = ( 18, n1, - _s686, - {_s30: _s685, _s92: None}, - (_s181, _s239), - ((3, {_s77: _s421}), (lambda: schemas.STREAMING_BLOB, {_s68: _s128, _s422: None})), + _s538, + {_s30: _s537, _s95: None}, + (_s236, _s296), + ((3, {_s80: _s482}), (1, 16)), ) -STREAMING_TRAITS: StaticOperationSchema = ( +HTTP_PAYLOAD_TRAITS: StaticOperationSchema = ( 23, n1, - _s826, - {_s729: MappingProxyType({"uri": "/StreamingTraits", "method": "POST"})}, - STREAMING_TRAITS_INPUT, - STREAMING_TRAITS_OUTPUT, + _s816, + {_s794: MappingProxyType({"uri": "/HttpPayloadTraits", "method": "POST"})}, + HTTP_PAYLOAD_TRAITS_INPUT, + HTTP_PAYLOAD_TRAITS_OUTPUT, (), ) -STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT: StaticSchema = ( +HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_INPUT: StaticSchema = ( 18, n1, - _s688, - {_s30: _s689, _s32: None}, - (_s181, _s239), - ( - (3, {_s77: _s421}), - (lambda: schemas.STREAMING_TEXT_PLAIN_BLOB, {_s68: _s128, _s422: None}), - ), + _s539, + {_s30: _s540, _s32: None}, + (_s236, _s296), + ((3, {_s80: _s482}), (TEXT_PLAIN_BLOB, 16)), ) -STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT: StaticSchema = ( +HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_OUTPUT: StaticSchema = ( 18, n1, - _s690, - {_s30: _s689, _s92: None}, - (_s181, _s239), - ( - (3, {_s77: _s421}), - (lambda: schemas.STREAMING_TEXT_PLAIN_BLOB, {_s68: _s128, _s422: None}), - ), + _s541, + {_s30: _s540, _s95: None}, + (_s236, _s296), + ((3, {_s80: _s482}), (TEXT_PLAIN_BLOB, 16)), ) -STREAMING_TRAITS_WITH_MEDIA_TYPE: StaticOperationSchema = ( +HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE: StaticOperationSchema = ( 23, n1, - _s828, + _s817, { - _s729: MappingProxyType( - {"uri": "/StreamingTraitsWithMediaType", "method": "POST"} + _s794: MappingProxyType( + {"uri": "/HttpPayloadTraitsWithMediaType", "method": "POST"} ) }, - STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT, - STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT, + HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_INPUT, + HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_OUTPUT, (), ) -TEST_BODY_STRUCTURE_INPUT: StaticSchema = ( +HTTP_PAYLOAD_WITH_STRUCTURE_INPUT: StaticSchema = ( 18, n1, - _s691, - {_s30: _s692, _s32: None}, - (_s693, _s695), - ((3, {_s77: _s694}), (lambda: schemas.TEST_CONFIG, 0)), + _s542, + {_s30: _s543, _s32: None}, + (_s544,), + ((lambda: schemas.NESTED_PAYLOAD, 16),), ) -TEST_BODY_STRUCTURE_OUTPUT: StaticSchema = ( +HTTP_PAYLOAD_WITH_STRUCTURE_OUTPUT: StaticSchema = ( 18, n1, - _s696, - {_s30: _s692, _s92: None}, - (_s693, _s695), - ((3, {_s77: _s694}), (lambda: schemas.TEST_CONFIG, 0)), + _s545, + {_s30: _s543, _s95: None}, + (_s544,), + ((lambda: schemas.NESTED_PAYLOAD, 16),), ) -TEST_BODY_STRUCTURE: StaticOperationSchema = ( +HTTP_PAYLOAD_WITH_STRUCTURE: StaticOperationSchema = ( 23, n1, - _s829, - {_s729: MappingProxyType({"uri": "/body", "method": "POST"})}, - TEST_BODY_STRUCTURE_INPUT, - TEST_BODY_STRUCTURE_OUTPUT, + _s818, + {_s794: MappingProxyType({"uri": "/HttpPayloadWithStructure", "method": "PUT"})}, + HTTP_PAYLOAD_WITH_STRUCTURE_INPUT, + HTTP_PAYLOAD_WITH_STRUCTURE_OUTPUT, (), ) -TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT: StaticSchema = ( +HTTP_PAYLOAD_WITH_UNION_INPUT: StaticSchema = ( 18, n1, - _s697, - {_s30: _s444, _s32: None}, + _s546, + {_s30: _s547, _s32: None}, + (_s544,), + ((UNION_PAYLOAD, 16),), ) -TEST_GET_NO_INPUT_NO_PAYLOAD_OUTPUT: StaticSchema = ( +HTTP_PAYLOAD_WITH_UNION_OUTPUT: StaticSchema = ( 18, n1, - _s698, - {_s30: _s699, _s92: None}, - (_s693,), - ((3, {_s77: _s700}),), + _s548, + {_s30: _s547, _s95: None}, + (_s544,), + ((UNION_PAYLOAD, 16),), ) -TEST_GET_NO_INPUT_NO_PAYLOAD: StaticOperationSchema = ( +HTTP_PAYLOAD_WITH_UNION: StaticOperationSchema = ( 23, n1, - _s830, - {_s729: MappingProxyType({"uri": "/no_input_no_payload", "method": "GET"})}, - TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT, - TEST_GET_NO_INPUT_NO_PAYLOAD_OUTPUT, + _s819, + {_s794: MappingProxyType({"uri": "/HttpPayloadWithUnion", "method": "PUT"})}, + HTTP_PAYLOAD_WITH_UNION_INPUT, + HTTP_PAYLOAD_WITH_UNION_OUTPUT, (), ) -TEST_GET_NO_PAYLOAD_INPUT: StaticSchema = ( +HTTP_QUERY_PARAMS_ONLY_OPERATION_INPUT: StaticSchema = ( 18, n1, - _s701, - {_s30: _s699, _s32: None}, - (_s693,), - ((3, {_s77: _s700}),), + _s549, + {_s30: _s550, _s32: None}, + (_s551,), + ((QUERY_MAP, 1024),), ) -TEST_GET_NO_PAYLOAD_OUTPUT: StaticSchema = ( +HTTP_QUERY_PARAMS_ONLY_OPERATION_OUTPUT: StaticSchema = ( 18, n1, - _s702, - {_s30: _s699, _s92: None}, - (_s693,), - ((3, {_s77: _s700}),), + _s552, + {_s30: _s505, _s95: None}, ) -TEST_GET_NO_PAYLOAD: StaticOperationSchema = ( +HTTP_QUERY_PARAMS_ONLY_OPERATION: StaticOperationSchema = ( 23, n1, - _s831, - {_s729: MappingProxyType({"uri": "/no_payload", "method": "GET"})}, - TEST_GET_NO_PAYLOAD_INPUT, - TEST_GET_NO_PAYLOAD_OUTPUT, + _s822, + {_s794: MappingProxyType({"uri": "/http-query-params-only", "method": "GET"})}, + HTTP_QUERY_PARAMS_ONLY_OPERATION_INPUT, + HTTP_QUERY_PARAMS_ONLY_OPERATION_OUTPUT, (), ) -TEST_PAYLOAD_BLOB_INPUT: StaticSchema = ( +HTTP_STRING_PAYLOAD_INPUT: StaticSchema = ( 18, n1, - _s703, - {_s30: _s704, _s32: None}, - (_s705, _s379), - ((3, {_s77: _s706}), (1, 16)), + _s559, + {_s30: _s560, _s32: None}, + (_s67,), + ((3, 16),), ) -TEST_PAYLOAD_BLOB_OUTPUT: StaticSchema = ( +HTTP_STRING_PAYLOAD_OUTPUT: StaticSchema = ( 18, n1, - _s707, - {_s30: _s704, _s92: None}, - (_s705, _s379), - ((3, {_s77: _s706}), (1, 16)), + _s561, + {_s30: _s560, _s95: None}, + (_s67,), + ((3, 16),), ) -TEST_PAYLOAD_BLOB: StaticOperationSchema = ( +HTTP_STRING_PAYLOAD: StaticOperationSchema = ( 23, n1, - _s832, - {_s729: MappingProxyType({"uri": "/blob_payload", "method": "POST"})}, - TEST_PAYLOAD_BLOB_INPUT, - TEST_PAYLOAD_BLOB_OUTPUT, + _s829, + {_s794: MappingProxyType({"uri": "/StringPayload", "method": "POST"})}, + HTTP_STRING_PAYLOAD_INPUT, + HTTP_STRING_PAYLOAD_OUTPUT, (), ) -TEST_PAYLOAD_STRUCTURE_INPUT: StaticSchema = ( +INPUT_AND_OUTPUT_WITH_HEADERS_INPUT: StaticSchema = ( 18, n1, - _s708, - {_s30: _s709, _s32: None}, - (_s693, _s710), - ((3, {_s77: _s694}), (lambda: schemas.PAYLOAD_CONFIG, 16)), + _s563, + {_s30: _s564, _s32: None}, + ( + _s565, + _s567, + _s569, + _s571, + _s573, + _s575, + _s577, + _s579, + _s581, + _s583, + _s585, + _s587, + _s589, + _s591, + _s593, + _s595, + _s597, + _s599, + ), + ( + (3, {_s80: _s566}), + (5, {_s80: _s568}), + (6, {_s80: _s570}), + (7, {_s80: _s572}), + (8, {_s80: _s574}), + (9, {_s80: _s576}), + (10, {_s80: _s578}), + (2, {_s80: _s580}), + (2, {_s80: _s582}), + (lambda: schemas.STRING_LIST, {_s80: _s584}), + (lambda: schemas.STRING_SET, {_s80: _s586}), + (lambda: schemas.INTEGER_LIST, {_s80: _s588}), + (lambda: schemas.BOOLEAN_LIST, {_s80: _s590}), + (lambda: schemas.TIMESTAMP_LIST, {_s80: _s592}), + (lambda: schemas.FOO_ENUM, {_s80: _s594}), + (lambda: schemas.FOO_ENUM_LIST, {_s80: _s596}), + (lambda: schemas.INTEGER_ENUM, {_s80: _s598}), + (lambda: schemas.INTEGER_ENUM_LIST, {_s80: _s600}), + ), ) -TEST_PAYLOAD_STRUCTURE_OUTPUT: StaticSchema = ( +INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT: StaticSchema = ( 18, n1, - _s711, - {_s30: _s709, _s92: None}, - (_s693, _s710), - ((3, {_s77: _s694}), (lambda: schemas.PAYLOAD_CONFIG, 16)), + _s601, + {_s30: _s564, _s95: None}, + ( + _s565, + _s567, + _s569, + _s571, + _s573, + _s575, + _s577, + _s579, + _s581, + _s583, + _s585, + _s587, + _s589, + _s591, + _s593, + _s595, + _s597, + _s599, + ), + ( + (3, {_s80: _s566}), + (5, {_s80: _s568}), + (6, {_s80: _s570}), + (7, {_s80: _s572}), + (8, {_s80: _s574}), + (9, {_s80: _s576}), + (10, {_s80: _s578}), + (2, {_s80: _s580}), + (2, {_s80: _s582}), + (lambda: schemas.STRING_LIST, {_s80: _s584}), + (lambda: schemas.STRING_SET, {_s80: _s586}), + (lambda: schemas.INTEGER_LIST, {_s80: _s588}), + (lambda: schemas.BOOLEAN_LIST, {_s80: _s590}), + (lambda: schemas.TIMESTAMP_LIST, {_s80: _s592}), + (lambda: schemas.FOO_ENUM, {_s80: _s594}), + (lambda: schemas.FOO_ENUM_LIST, {_s80: _s596}), + (lambda: schemas.INTEGER_ENUM, {_s80: _s598}), + (lambda: schemas.INTEGER_ENUM_LIST, {_s80: _s600}), + ), ) -TEST_PAYLOAD_STRUCTURE: StaticOperationSchema = ( +INPUT_AND_OUTPUT_WITH_HEADERS: StaticOperationSchema = ( 23, n1, - _s833, - {_s729: MappingProxyType({"uri": "/payload", "method": "POST"})}, - TEST_PAYLOAD_STRUCTURE_INPUT, - TEST_PAYLOAD_STRUCTURE_OUTPUT, + _s831, + {_s794: MappingProxyType({"uri": "/InputAndOutputWithHeaders", "method": "POST"})}, + INPUT_AND_OUTPUT_WITH_HEADERS_INPUT, + INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT, (), ) -TEST_POST_NO_INPUT_NO_PAYLOAD_INPUT: StaticSchema = ( +JSON_BLOBS_INPUT: StaticSchema = ( 18, n1, - _s712, - {_s30: _s444, _s32: None}, + _s604, + {_s30: _s605, _s32: None}, + (_s439,), + ((1, 0),), ) -TEST_POST_NO_INPUT_NO_PAYLOAD_OUTPUT: StaticSchema = ( +JSON_BLOBS_OUTPUT: StaticSchema = ( 18, n1, - _s713, - {_s30: _s699, _s92: None}, - (_s693,), - ((3, {_s77: _s700}),), + _s606, + {_s30: _s605, _s95: None}, + (_s439,), + ((1, 0),), ) -TEST_POST_NO_INPUT_NO_PAYLOAD: StaticOperationSchema = ( +JSON_BLOBS: StaticOperationSchema = ( 23, n1, _s834, - {_s729: MappingProxyType({"uri": "/no_input_no_payload", "method": "POST"})}, - TEST_POST_NO_INPUT_NO_PAYLOAD_INPUT, - TEST_POST_NO_INPUT_NO_PAYLOAD_OUTPUT, + {_s794: MappingProxyType({"uri": "/JsonBlobs", "method": "POST"})}, + JSON_BLOBS_INPUT, + JSON_BLOBS_OUTPUT, (), ) -TEST_POST_NO_PAYLOAD_INPUT: StaticSchema = ( +JSON_ENUMS_INPUT: StaticSchema = ( 18, n1, - _s714, - {_s30: _s699, _s32: None}, - (_s693,), - ((3, {_s77: _s700}),), + _s607, + {_s30: _s608, _s32: None}, + (_s609, _s610, _s611, _s612, _s613, _s614), + ( + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.FOO_ENUM_LIST, 0), + (FOO_ENUM_SET, 0), + (FOO_ENUM_MAP, 0), + ), ) -TEST_POST_NO_PAYLOAD_OUTPUT: StaticSchema = ( +JSON_ENUMS_OUTPUT: StaticSchema = ( 18, n1, - _s715, - {_s30: _s699, _s92: None}, - (_s693,), - ((3, {_s77: _s700}),), + _s615, + {_s30: _s608, _s95: None}, + (_s609, _s610, _s611, _s612, _s613, _s614), + ( + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.FOO_ENUM, 0), + (lambda: schemas.FOO_ENUM_LIST, 0), + (FOO_ENUM_SET, 0), + (FOO_ENUM_MAP, 0), + ), ) -TEST_POST_NO_PAYLOAD: StaticOperationSchema = ( +JSON_ENUMS: StaticOperationSchema = ( 23, n1, _s835, - {_s729: MappingProxyType({"uri": "/no_payload", "method": "POST"})}, - TEST_POST_NO_PAYLOAD_INPUT, - TEST_POST_NO_PAYLOAD_OUTPUT, + {_s794: MappingProxyType({"uri": "/JsonEnums", "method": "PUT"})}, + JSON_ENUMS_INPUT, + JSON_ENUMS_OUTPUT, (), ) -TIMESTAMP_FORMAT_HEADERS_INPUT: StaticSchema = ( +JSON_INT_ENUMS_INPUT: StaticSchema = ( 18, n1, - _s716, - {_s30: _s717, _s32: None}, - (_s199, _s202, _s203, _s204, _s205, _s206, _s207), + _s616, + {_s30: _s617, _s32: None}, + (_s618, _s619, _s620, _s621, _s622, _s623), ( - (4, {_s77: _s718, _s94: _s194}), - (4, {_s77: _s719, _s94: _s196}), - (4, {_s77: _s720, _s94: _s95}), - (4, {_s77: _s721}), - (lambda: schemas.EPOCH_SECONDS, {_s77: _s722}), - (lambda: schemas.HTTP_DATE, {_s77: _s723}), - (lambda: schemas.DATE_TIME, {_s77: _s724}), + (lambda: schemas.INTEGER_ENUM, 0), + (lambda: schemas.INTEGER_ENUM, 0), + (lambda: schemas.INTEGER_ENUM, 0), + (lambda: schemas.INTEGER_ENUM_LIST, 0), + (INTEGER_ENUM_SET, 0), + (INTEGER_ENUM_MAP, 0), ), ) -TIMESTAMP_FORMAT_HEADERS_OUTPUT: StaticSchema = ( +JSON_INT_ENUMS_OUTPUT: StaticSchema = ( 18, n1, - _s725, - {_s30: _s717, _s92: None}, - (_s199, _s202, _s203, _s204, _s205, _s206, _s207), + _s624, + {_s30: _s617, _s95: None}, + (_s618, _s619, _s620, _s621, _s622, _s623), ( - (4, {_s77: _s718, _s94: _s194}), - (4, {_s77: _s719, _s94: _s196}), - (4, {_s77: _s720, _s94: _s95}), - (4, {_s77: _s721}), - (lambda: schemas.EPOCH_SECONDS, {_s77: _s722}), - (lambda: schemas.HTTP_DATE, {_s77: _s723}), - (lambda: schemas.DATE_TIME, {_s77: _s724}), + (lambda: schemas.INTEGER_ENUM, 0), + (lambda: schemas.INTEGER_ENUM, 0), + (lambda: schemas.INTEGER_ENUM, 0), + (lambda: schemas.INTEGER_ENUM_LIST, 0), + (INTEGER_ENUM_SET, 0), + (INTEGER_ENUM_MAP, 0), ), ) -TIMESTAMP_FORMAT_HEADERS: StaticOperationSchema = ( +JSON_INT_ENUMS: StaticOperationSchema = ( 23, n1, _s836, - {_s729: MappingProxyType({"uri": "/TimestampFormatHeaders", "method": "POST"})}, - TIMESTAMP_FORMAT_HEADERS_INPUT, - TIMESTAMP_FORMAT_HEADERS_OUTPUT, - (), -) - -UNIT_INPUT_AND_OUTPUT_INPUT: StaticSchema = ( - 18, - n1, - _s726, - {_s30: _s444, _s32: None}, -) - -UNIT_INPUT_AND_OUTPUT_OUTPUT: StaticSchema = ( - 18, - n1, - _s727, - {_s30: _s444, _s92: None}, -) - -UNIT_INPUT_AND_OUTPUT: StaticOperationSchema = ( - 23, - n1, - _s837, - {_s729: MappingProxyType({"uri": "/UnitInputAndOutput", "method": "POST"})}, - UNIT_INPUT_AND_OUTPUT_INPUT, - UNIT_INPUT_AND_OUTPUT_OUTPUT, + {_s794: MappingProxyType({"uri": "/JsonIntEnums", "method": "PUT"})}, + JSON_INT_ENUMS_INPUT, + JSON_INT_ENUMS_OUTPUT, (), ) - -REST_JSON: StaticSchema = ( - 21, - n1, - _s838, - { - _s839: MappingProxyType({"sdkId": "Rest Json Protocol"}), - _s840: MappingProxyType({"name": "restjson"}), - _s841: None, - }, -) - -RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1: StaticSchema = ( - 18, - n1, - _s842, - 0, - (_s181, _s483), - ((3, 0), (lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2, 0)), -) - -RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2: StaticSchema = ( - 18, - n1, - _s843, - 0, - (_s388, _s844), - ((3, 0), (RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0)), -) diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_4.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_4.py new file mode 100644 index 000000000..4dfe83887 --- /dev/null +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas_4.py @@ -0,0 +1,1067 @@ +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + +n1 = "aws.protocoltests.restjson" +_s30 = "smithy.synthetic#originalShapeId" +_s32 = "smithy.api#input" +_s71 = "smithy.api#default" +_s73 = "smithy.api#jsonName" +_s80 = "smithy.api#httpHeader" +_s95 = "smithy.api#output" +_s97 = "smithy.api#timestampFormat" +_s98 = "date-time" +_s110 = "hi" +_s131 = "" +_s236 = "foo" +_s249 = "epoch-seconds" +_s251 = "http-date" +_s254 = "memberEpochSeconds" +_s256 = "memberHttpDate" +_s257 = "memberDateTime" +_s258 = "defaultFormat" +_s259 = "targetEpochSeconds" +_s260 = "targetHttpDate" +_s261 = "targetDateTime" +_s296 = "blob" +_s395 = "stringValue" +_s439 = "data" +_s448 = "bar" +_s482 = "X-Foo" +_s483 = "smithy.api#httpPayload" +_s488 = "a" +_s489 = "b" +_s505 = "smithy.api#Unit" +_s544 = "nested" +_s625 = "JsonListsInput" +_s626 = "aws.protocoltests.restjson#JsonListsInputOutput" +_s627 = "stringList" +_s628 = "stringSet" +_s629 = "integerList" +_s630 = "booleanList" +_s631 = "timestampList" +_s632 = "enumList" +_s633 = "intEnumList" +_s634 = "nestedStringList" +_s635 = "structureList" +_s636 = "myStructureList" +_s637 = "JsonListsOutput" +_s638 = "JsonMapsInput" +_s639 = "aws.protocoltests.restjson#JsonMapsInputOutput" +_s640 = "denseStructMap" +_s641 = "denseNumberMap" +_s642 = "denseBooleanMap" +_s643 = "denseStringMap" +_s644 = "denseSetMap" +_s645 = "JsonMapsOutput" +_s646 = "JsonTimestampsInput" +_s647 = "aws.protocoltests.restjson#JsonTimestampsInputOutput" +_s648 = "normal" +_s649 = "dateTime" +_s650 = "dateTimeOnTarget" +_s651 = "epochSeconds" +_s652 = "epochSecondsOnTarget" +_s653 = "httpDate" +_s654 = "httpDateOnTarget" +_s655 = "JsonTimestampsOutput" +_s656 = "JsonUnionsInput" +_s657 = "aws.protocoltests.restjson#UnionInputOutput" +_s658 = "contents" +_s659 = "JsonUnionsOutput" +_s660 = "MalformedAcceptWithBodyInput" +_s661 = "MalformedAcceptWithBodyOutput" +_s662 = "aws.protocoltests.shared#GreetingStruct" +_s668 = "MalformedContentTypeWithBodyInput" +_s669 = "MalformedContentTypeWithBodyOutput" +_s672 = "MalformedContentTypeWithoutBodyInput" +_s673 = "MalformedContentTypeWithoutBodyOutput" +_s697 = "NoInputAndNoOutputInput" +_s698 = "NoInputAndNoOutputOutput" +_s700 = "NullAndEmptyHeadersClientInput" +_s701 = "aws.protocoltests.restjson#NullAndEmptyHeadersIO" +_s702 = "X-A" +_s703 = "X-B" +_s704 = "c" +_s705 = "X-C" +_s706 = "NullAndEmptyHeadersClientOutput" +_s707 = "NullAndEmptyHeadersServerInput" +_s708 = "NullAndEmptyHeadersServerOutput" +_s717 = "RecursiveShapesInput" +_s718 = "aws.protocoltests.restjson#RecursiveShapesInputOutput" +_s719 = "RecursiveShapesOutput" +_s720 = "ResponseCodeHttpFallbackInput" +_s721 = "aws.protocoltests.restjson#ResponseCodeHttpFallbackInputOutput" +_s722 = "ResponseCodeHttpFallbackOutput" +_s724 = "SimpleScalarPropertiesInput" +_s725 = "aws.protocoltests.restjson#SimpleScalarPropertiesInputOutput" +_s726 = "trueBooleanValue" +_s727 = "falseBooleanValue" +_s728 = "byteValue" +_s729 = "shortValue" +_s730 = "integerValue" +_s731 = "longValue" +_s732 = "floatValue" +_s733 = "doubleValue" +_s734 = "DoubleDribble" +_s735 = "SimpleScalarPropertiesOutput" +_s736 = "SparseJsonListsInput" +_s737 = "aws.protocoltests.restjson#SparseJsonListsInputOutput" +_s738 = "sparseStringList" +_s739 = "sparseShortList" +_s740 = "SparseJsonListsOutput" +_s741 = "SparseJsonMapsInput" +_s742 = "aws.protocoltests.restjson#SparseJsonMapsInputOutput" +_s743 = "sparseStructMap" +_s744 = "sparseNumberMap" +_s745 = "sparseBooleanMap" +_s746 = "sparseStringMap" +_s747 = "sparseSetMap" +_s748 = "SparseJsonMapsOutput" +_s749 = "StreamingTraitsInput" +_s750 = "aws.protocoltests.restjson#StreamingTraitsInputOutput" +_s751 = "StreamingTraitsOutput" +_s753 = "StreamingTraitsWithMediaTypeInput" +_s754 = "aws.protocoltests.restjson#StreamingTraitsWithMediaTypeInputOutput" +_s755 = "StreamingTraitsWithMediaTypeOutput" +_s756 = "TestBodyStructureInput" +_s757 = "aws.protocoltests.restjson#TestBodyStructureInputOutput" +_s758 = "testId" +_s759 = "x-amz-test-id" +_s760 = "testConfig" +_s761 = "TestBodyStructureOutput" +_s762 = "TestGetNoInputNoPayloadInput" +_s763 = "TestGetNoInputNoPayloadOutput" +_s764 = "aws.protocoltests.restjson#TestNoPayloadInputOutput" +_s765 = "X-Amz-Test-Id" +_s766 = "TestGetNoPayloadInput" +_s767 = "TestGetNoPayloadOutput" +_s768 = "TestPayloadBlobInput" +_s769 = "aws.protocoltests.restjson#TestPayloadBlobInputOutput" +_s770 = "contentType" +_s771 = "Content-Type" +_s772 = "TestPayloadBlobOutput" +_s773 = "TestPayloadStructureInput" +_s774 = "aws.protocoltests.restjson#TestPayloadStructureInputOutput" +_s775 = "payloadConfig" +_s776 = "TestPayloadStructureOutput" +_s777 = "TestPostNoInputNoPayloadInput" +_s778 = "TestPostNoInputNoPayloadOutput" +_s779 = "TestPostNoPayloadInput" +_s780 = "TestPostNoPayloadOutput" +_s781 = "TimestampFormatHeadersInput" +_s782 = "aws.protocoltests.restjson#TimestampFormatHeadersIO" +_s783 = "X-memberEpochSeconds" +_s784 = "X-memberHttpDate" +_s785 = "X-memberDateTime" +_s786 = "X-defaultFormat" +_s787 = "X-targetEpochSeconds" +_s788 = "X-targetHttpDate" +_s789 = "X-targetDateTime" +_s790 = "TimestampFormatHeadersOutput" +_s791 = "UnitInputAndOutputInput" +_s792 = "UnitInputAndOutputOutput" +_s794 = "smithy.api#http" +_s837 = "JsonLists" +_s838 = "JsonMaps" +_s839 = "JsonTimestamps" +_s840 = "JsonUnions" +_s841 = "MalformedAcceptWithBody" +_s847 = "MalformedContentTypeWithBody" +_s850 = "MalformedContentTypeWithoutBody" +_s875 = "NoInputAndNoOutput" +_s877 = "NullAndEmptyHeadersClient" +_s878 = "NullAndEmptyHeadersServer" +_s892 = "RecursiveShapes" +_s893 = "ResponseCodeHttpFallback" +_s895 = "SimpleScalarProperties" +_s896 = "SparseJsonLists" +_s897 = "SparseJsonMaps" +_s898 = "StreamingTraits" +_s900 = "StreamingTraitsWithMediaType" +_s901 = "TestBodyStructure" +_s902 = "TestGetNoInputNoPayload" +_s903 = "TestGetNoPayload" +_s904 = "TestPayloadBlob" +_s905 = "TestPayloadStructure" +_s906 = "TestPostNoInputNoPayload" +_s907 = "TestPostNoPayload" +_s908 = "TimestampFormatHeaders" +_s909 = "UnitInputAndOutput" +_s910 = "RestJson" +_s911 = "aws.api#service" +_s912 = "aws.auth#sigv4" +_s913 = "aws.protocols#restJson1" +_s914 = "RecursiveShapesInputOutputNested1" +_s915 = "RecursiveShapesInputOutputNested2" +_s916 = "recursiveMember" + +JSON_LISTS_INPUT: StaticSchema = ( + 18, + n1, + _s625, + {_s30: _s626, _s32: None}, + (_s627, _s628, _s629, _s630, _s631, _s632, _s633, _s634, _s635), + ( + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_SET, 0), + (lambda: schemas.INTEGER_LIST, 0), + (lambda: schemas.BOOLEAN_LIST, 0), + (lambda: schemas.TIMESTAMP_LIST, 0), + (lambda: schemas.FOO_ENUM_LIST, 0), + (lambda: schemas.INTEGER_ENUM_LIST, 0), + (lambda: schemas.NESTED_STRING_LIST, 0), + (lambda: schemas.STRUCTURE_LIST, {_s73: _s636}), + ), +) + +JSON_LISTS_OUTPUT: StaticSchema = ( + 18, + n1, + _s637, + {_s30: _s626, _s95: None}, + (_s627, _s628, _s629, _s630, _s631, _s632, _s633, _s634, _s635), + ( + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_SET, 0), + (lambda: schemas.INTEGER_LIST, 0), + (lambda: schemas.BOOLEAN_LIST, 0), + (lambda: schemas.TIMESTAMP_LIST, 0), + (lambda: schemas.FOO_ENUM_LIST, 0), + (lambda: schemas.INTEGER_ENUM_LIST, 0), + (lambda: schemas.NESTED_STRING_LIST, 0), + (lambda: schemas.STRUCTURE_LIST, {_s73: _s636}), + ), +) + +JSON_LISTS: StaticOperationSchema = ( + 23, + n1, + _s837, + {_s794: MappingProxyType({"uri": "/JsonLists", "method": "PUT"})}, + JSON_LISTS_INPUT, + JSON_LISTS_OUTPUT, + (), +) + +JSON_MAPS_INPUT: StaticSchema = ( + 18, + n1, + _s638, + {_s30: _s639, _s32: None}, + (_s640, _s641, _s642, _s643, _s644), + ( + (lambda: schemas.DENSE_STRUCT_MAP, 0), + (lambda: schemas.DENSE_NUMBER_MAP, 0), + (lambda: schemas.DENSE_BOOLEAN_MAP, 0), + (lambda: schemas.DENSE_STRING_MAP, 0), + (lambda: schemas.DENSE_SET_MAP, 0), + ), +) + +JSON_MAPS_OUTPUT: StaticSchema = ( + 18, + n1, + _s645, + {_s30: _s639, _s95: None}, + (_s640, _s641, _s642, _s643, _s644), + ( + (lambda: schemas.DENSE_STRUCT_MAP, 0), + (lambda: schemas.DENSE_NUMBER_MAP, 0), + (lambda: schemas.DENSE_BOOLEAN_MAP, 0), + (lambda: schemas.DENSE_STRING_MAP, 0), + (lambda: schemas.DENSE_SET_MAP, 0), + ), +) + +JSON_MAPS: StaticOperationSchema = ( + 23, + n1, + _s838, + {_s794: MappingProxyType({"uri": "/JsonMaps", "method": "POST"})}, + JSON_MAPS_INPUT, + JSON_MAPS_OUTPUT, + (), +) + +JSON_TIMESTAMPS_INPUT: StaticSchema = ( + 18, + n1, + _s646, + {_s30: _s647, _s32: None}, + (_s648, _s649, _s650, _s651, _s652, _s653, _s654), + ( + (4, 0), + (4, {_s97: _s98}), + (lambda: schemas.DATE_TIME, 0), + (4, {_s97: _s249}), + (lambda: schemas.EPOCH_SECONDS, 0), + (4, {_s97: _s251}), + (lambda: schemas.HTTP_DATE, 0), + ), +) + +JSON_TIMESTAMPS_OUTPUT: StaticSchema = ( + 18, + n1, + _s655, + {_s30: _s647, _s95: None}, + (_s648, _s649, _s650, _s651, _s652, _s653, _s654), + ( + (4, 0), + (4, {_s97: _s98}), + (lambda: schemas.DATE_TIME, 0), + (4, {_s97: _s249}), + (lambda: schemas.EPOCH_SECONDS, 0), + (4, {_s97: _s251}), + (lambda: schemas.HTTP_DATE, 0), + ), +) + +JSON_TIMESTAMPS: StaticOperationSchema = ( + 23, + n1, + _s839, + {_s794: MappingProxyType({"uri": "/JsonTimestamps", "method": "POST"})}, + JSON_TIMESTAMPS_INPUT, + JSON_TIMESTAMPS_OUTPUT, + (), +) + +JSON_UNIONS_INPUT: StaticSchema = ( + 18, + n1, + _s656, + {_s30: _s657, _s32: None}, + (_s658,), + ((lambda: schemas.MY_UNION, 0),), +) + +JSON_UNIONS_OUTPUT: StaticSchema = ( + 18, + n1, + _s659, + {_s30: _s657, _s95: None}, + (_s658,), + ((lambda: schemas.MY_UNION, 0),), +) + +JSON_UNIONS: StaticOperationSchema = ( + 23, + n1, + _s840, + {_s794: MappingProxyType({"uri": "/JsonUnions", "method": "PUT"})}, + JSON_UNIONS_INPUT, + JSON_UNIONS_OUTPUT, + (), +) + +MALFORMED_ACCEPT_WITH_BODY_INPUT: StaticSchema = ( + 18, + n1, + _s660, + {_s30: _s505, _s32: None}, +) + +MALFORMED_ACCEPT_WITH_BODY_OUTPUT: StaticSchema = ( + 18, + n1, + _s661, + {_s30: _s662, _s95: None}, + (_s110,), + ((3, 0),), +) + +MALFORMED_ACCEPT_WITH_BODY: StaticOperationSchema = ( + 23, + n1, + _s841, + {_s794: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithBody"})}, + MALFORMED_ACCEPT_WITH_BODY_INPUT, + MALFORMED_ACCEPT_WITH_BODY_OUTPUT, + (), +) + +MALFORMED_CONTENT_TYPE_WITH_BODY_INPUT: StaticSchema = ( + 18, + n1, + _s668, + {_s30: _s662, _s32: None}, + (_s110,), + ((3, 0),), +) + +MALFORMED_CONTENT_TYPE_WITH_BODY_OUTPUT: StaticSchema = ( + 18, + n1, + _s669, + {_s30: _s505, _s95: None}, +) + +MALFORMED_CONTENT_TYPE_WITH_BODY: StaticOperationSchema = ( + 23, + n1, + _s847, + { + _s794: MappingProxyType( + {"method": "POST", "uri": "/MalformedContentTypeWithBody"} + ) + }, + MALFORMED_CONTENT_TYPE_WITH_BODY_INPUT, + MALFORMED_CONTENT_TYPE_WITH_BODY_OUTPUT, + (), +) + +MALFORMED_CONTENT_TYPE_WITHOUT_BODY_INPUT: StaticSchema = ( + 18, + n1, + _s672, + {_s30: _s505, _s32: None}, +) + +MALFORMED_CONTENT_TYPE_WITHOUT_BODY_OUTPUT: StaticSchema = ( + 18, + n1, + _s673, + {_s30: _s505, _s95: None}, +) + +MALFORMED_CONTENT_TYPE_WITHOUT_BODY: StaticOperationSchema = ( + 23, + n1, + _s850, + { + _s794: MappingProxyType( + {"method": "POST", "uri": "/MalformedContentTypeWithoutBody"} + ) + }, + MALFORMED_CONTENT_TYPE_WITHOUT_BODY_INPUT, + MALFORMED_CONTENT_TYPE_WITHOUT_BODY_OUTPUT, + (), +) + +NO_INPUT_AND_NO_OUTPUT_INPUT: StaticSchema = ( + 18, + n1, + _s697, + {_s30: _s505, _s32: None}, +) + +NO_INPUT_AND_NO_OUTPUT_OUTPUT: StaticSchema = ( + 18, + n1, + _s698, + {_s30: _s505, _s95: None}, +) + +NO_INPUT_AND_NO_OUTPUT: StaticOperationSchema = ( + 23, + n1, + _s875, + {_s794: MappingProxyType({"uri": "/NoInputAndNoOutput", "method": "POST"})}, + NO_INPUT_AND_NO_OUTPUT_INPUT, + NO_INPUT_AND_NO_OUTPUT_OUTPUT, + (), +) + +NULL_AND_EMPTY_HEADERS_CLIENT_INPUT: StaticSchema = ( + 18, + n1, + _s700, + {_s30: _s701, _s32: None}, + (_s488, _s489, _s704), + ( + (3, {_s80: _s702}), + (3, {_s80: _s703}), + (lambda: schemas.STRING_LIST, {_s80: _s705}), + ), +) + +NULL_AND_EMPTY_HEADERS_CLIENT_OUTPUT: StaticSchema = ( + 18, + n1, + _s706, + {_s30: _s701, _s95: None}, + (_s488, _s489, _s704), + ( + (3, {_s80: _s702}), + (3, {_s80: _s703}), + (lambda: schemas.STRING_LIST, {_s80: _s705}), + ), +) + +NULL_AND_EMPTY_HEADERS_CLIENT: StaticOperationSchema = ( + 23, + n1, + _s877, + {_s794: MappingProxyType({"uri": "/NullAndEmptyHeadersClient", "method": "GET"})}, + NULL_AND_EMPTY_HEADERS_CLIENT_INPUT, + NULL_AND_EMPTY_HEADERS_CLIENT_OUTPUT, + (), +) + +NULL_AND_EMPTY_HEADERS_SERVER_INPUT: StaticSchema = ( + 18, + n1, + _s707, + {_s30: _s701, _s32: None}, + (_s488, _s489, _s704), + ( + (3, {_s80: _s702}), + (3, {_s80: _s703}), + (lambda: schemas.STRING_LIST, {_s80: _s705}), + ), +) + +NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT: StaticSchema = ( + 18, + n1, + _s708, + {_s30: _s701, _s95: None}, + (_s488, _s489, _s704), + ( + (3, {_s80: _s702}), + (3, {_s80: _s703}), + (lambda: schemas.STRING_LIST, {_s80: _s705}), + ), +) + +NULL_AND_EMPTY_HEADERS_SERVER: StaticOperationSchema = ( + 23, + n1, + _s878, + {_s794: MappingProxyType({"uri": "/NullAndEmptyHeadersServer", "method": "GET"})}, + NULL_AND_EMPTY_HEADERS_SERVER_INPUT, + NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT, + (), +) + +RECURSIVE_SHAPES_INPUT: StaticSchema = ( + 18, + n1, + _s717, + {_s30: _s718, _s32: None}, + (_s544,), + ((lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0),), +) + +RECURSIVE_SHAPES_OUTPUT: StaticSchema = ( + 18, + n1, + _s719, + {_s30: _s718, _s95: None}, + (_s544,), + ((lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0),), +) + +RECURSIVE_SHAPES: StaticOperationSchema = ( + 23, + n1, + _s892, + {_s794: MappingProxyType({"uri": "/RecursiveShapes", "method": "PUT"})}, + RECURSIVE_SHAPES_INPUT, + RECURSIVE_SHAPES_OUTPUT, + (), +) + +RESPONSE_CODE_HTTP_FALLBACK_INPUT: StaticSchema = ( + 18, + n1, + _s720, + {_s30: _s721, _s32: None}, +) + +RESPONSE_CODE_HTTP_FALLBACK_OUTPUT: StaticSchema = ( + 18, + n1, + _s722, + {_s30: _s721, _s95: None}, +) + +RESPONSE_CODE_HTTP_FALLBACK: StaticOperationSchema = ( + 23, + n1, + _s893, + { + _s794: MappingProxyType( + {"method": "GET", "uri": "/responseCodeHttpFallback", "code": 201} + ) + }, + RESPONSE_CODE_HTTP_FALLBACK_INPUT, + RESPONSE_CODE_HTTP_FALLBACK_OUTPUT, + (), +) + +SIMPLE_SCALAR_PROPERTIES_INPUT: StaticSchema = ( + 18, + n1, + _s724, + {_s30: _s725, _s32: None}, + (_s236, _s395, _s726, _s727, _s728, _s729, _s730, _s731, _s732, _s733), + ( + (3, {_s80: _s482}), + (3, 0), + (2, 0), + (2, 0), + (5, 0), + (6, 0), + (7, 0), + (8, 0), + (9, 0), + (10, {_s73: _s734}), + ), +) + +SIMPLE_SCALAR_PROPERTIES_OUTPUT: StaticSchema = ( + 18, + n1, + _s735, + {_s30: _s725, _s95: None}, + (_s236, _s395, _s726, _s727, _s728, _s729, _s730, _s731, _s732, _s733), + ( + (3, {_s80: _s482}), + (3, 0), + (2, 0), + (2, 0), + (5, 0), + (6, 0), + (7, 0), + (8, 0), + (9, 0), + (10, {_s73: _s734}), + ), +) + +SIMPLE_SCALAR_PROPERTIES: StaticOperationSchema = ( + 23, + n1, + _s895, + {_s794: MappingProxyType({"uri": "/SimpleScalarProperties", "method": "PUT"})}, + SIMPLE_SCALAR_PROPERTIES_INPUT, + SIMPLE_SCALAR_PROPERTIES_OUTPUT, + (), +) + +SPARSE_JSON_LISTS_INPUT: StaticSchema = ( + 18, + n1, + _s736, + {_s30: _s737, _s32: None}, + (_s738, _s739), + ((lambda: schemas.SPARSE_STRING_LIST, 0), (lambda: schemas.SPARSE_SHORT_LIST, 0)), +) + +SPARSE_JSON_LISTS_OUTPUT: StaticSchema = ( + 18, + n1, + _s740, + {_s30: _s737, _s95: None}, + (_s738, _s739), + ((lambda: schemas.SPARSE_STRING_LIST, 0), (lambda: schemas.SPARSE_SHORT_LIST, 0)), +) + +SPARSE_JSON_LISTS: StaticOperationSchema = ( + 23, + n1, + _s896, + {_s794: MappingProxyType({"uri": "/SparseJsonLists", "method": "PUT"})}, + SPARSE_JSON_LISTS_INPUT, + SPARSE_JSON_LISTS_OUTPUT, + (), +) + +SPARSE_JSON_MAPS_INPUT: StaticSchema = ( + 18, + n1, + _s741, + {_s30: _s742, _s32: None}, + (_s743, _s744, _s745, _s746, _s747), + ( + (lambda: schemas.SPARSE_STRUCT_MAP, 0), + (lambda: schemas.SPARSE_NUMBER_MAP, 0), + (lambda: schemas.SPARSE_BOOLEAN_MAP, 0), + (lambda: schemas.SPARSE_STRING_MAP, 0), + (lambda: schemas.SPARSE_SET_MAP, 0), + ), +) + +SPARSE_JSON_MAPS_OUTPUT: StaticSchema = ( + 18, + n1, + _s748, + {_s30: _s742, _s95: None}, + (_s743, _s744, _s745, _s746, _s747), + ( + (lambda: schemas.SPARSE_STRUCT_MAP, 0), + (lambda: schemas.SPARSE_NUMBER_MAP, 0), + (lambda: schemas.SPARSE_BOOLEAN_MAP, 0), + (lambda: schemas.SPARSE_STRING_MAP, 0), + (lambda: schemas.SPARSE_SET_MAP, 0), + ), +) + +SPARSE_JSON_MAPS: StaticOperationSchema = ( + 23, + n1, + _s897, + {_s794: MappingProxyType({"uri": "/SparseJsonMaps", "method": "POST"})}, + SPARSE_JSON_MAPS_INPUT, + SPARSE_JSON_MAPS_OUTPUT, + (), +) + +STREAMING_TRAITS_INPUT: StaticSchema = ( + 18, + n1, + _s749, + {_s30: _s750, _s32: None}, + (_s236, _s296), + ((3, {_s80: _s482}), (lambda: schemas.STREAMING_BLOB, {_s71: _s131, _s483: None})), +) + +STREAMING_TRAITS_OUTPUT: StaticSchema = ( + 18, + n1, + _s751, + {_s30: _s750, _s95: None}, + (_s236, _s296), + ((3, {_s80: _s482}), (lambda: schemas.STREAMING_BLOB, {_s71: _s131, _s483: None})), +) + +STREAMING_TRAITS: StaticOperationSchema = ( + 23, + n1, + _s898, + {_s794: MappingProxyType({"uri": "/StreamingTraits", "method": "POST"})}, + STREAMING_TRAITS_INPUT, + STREAMING_TRAITS_OUTPUT, + (), +) + +STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT: StaticSchema = ( + 18, + n1, + _s753, + {_s30: _s754, _s32: None}, + (_s236, _s296), + ( + (3, {_s80: _s482}), + (lambda: schemas.STREAMING_TEXT_PLAIN_BLOB, {_s71: _s131, _s483: None}), + ), +) + +STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT: StaticSchema = ( + 18, + n1, + _s755, + {_s30: _s754, _s95: None}, + (_s236, _s296), + ( + (3, {_s80: _s482}), + (lambda: schemas.STREAMING_TEXT_PLAIN_BLOB, {_s71: _s131, _s483: None}), + ), +) + +STREAMING_TRAITS_WITH_MEDIA_TYPE: StaticOperationSchema = ( + 23, + n1, + _s900, + { + _s794: MappingProxyType( + {"uri": "/StreamingTraitsWithMediaType", "method": "POST"} + ) + }, + STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT, + STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT, + (), +) + +TEST_BODY_STRUCTURE_INPUT: StaticSchema = ( + 18, + n1, + _s756, + {_s30: _s757, _s32: None}, + (_s758, _s760), + ((3, {_s80: _s759}), (lambda: schemas.TEST_CONFIG, 0)), +) + +TEST_BODY_STRUCTURE_OUTPUT: StaticSchema = ( + 18, + n1, + _s761, + {_s30: _s757, _s95: None}, + (_s758, _s760), + ((3, {_s80: _s759}), (lambda: schemas.TEST_CONFIG, 0)), +) + +TEST_BODY_STRUCTURE: StaticOperationSchema = ( + 23, + n1, + _s901, + {_s794: MappingProxyType({"uri": "/body", "method": "POST"})}, + TEST_BODY_STRUCTURE_INPUT, + TEST_BODY_STRUCTURE_OUTPUT, + (), +) + +TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT: StaticSchema = ( + 18, + n1, + _s762, + {_s30: _s505, _s32: None}, +) + +TEST_GET_NO_INPUT_NO_PAYLOAD_OUTPUT: StaticSchema = ( + 18, + n1, + _s763, + {_s30: _s764, _s95: None}, + (_s758,), + ((3, {_s80: _s765}),), +) + +TEST_GET_NO_INPUT_NO_PAYLOAD: StaticOperationSchema = ( + 23, + n1, + _s902, + {_s794: MappingProxyType({"uri": "/no_input_no_payload", "method": "GET"})}, + TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT, + TEST_GET_NO_INPUT_NO_PAYLOAD_OUTPUT, + (), +) + +TEST_GET_NO_PAYLOAD_INPUT: StaticSchema = ( + 18, + n1, + _s766, + {_s30: _s764, _s32: None}, + (_s758,), + ((3, {_s80: _s765}),), +) + +TEST_GET_NO_PAYLOAD_OUTPUT: StaticSchema = ( + 18, + n1, + _s767, + {_s30: _s764, _s95: None}, + (_s758,), + ((3, {_s80: _s765}),), +) + +TEST_GET_NO_PAYLOAD: StaticOperationSchema = ( + 23, + n1, + _s903, + {_s794: MappingProxyType({"uri": "/no_payload", "method": "GET"})}, + TEST_GET_NO_PAYLOAD_INPUT, + TEST_GET_NO_PAYLOAD_OUTPUT, + (), +) + +TEST_PAYLOAD_BLOB_INPUT: StaticSchema = ( + 18, + n1, + _s768, + {_s30: _s769, _s32: None}, + (_s770, _s439), + ((3, {_s80: _s771}), (1, 16)), +) + +TEST_PAYLOAD_BLOB_OUTPUT: StaticSchema = ( + 18, + n1, + _s772, + {_s30: _s769, _s95: None}, + (_s770, _s439), + ((3, {_s80: _s771}), (1, 16)), +) + +TEST_PAYLOAD_BLOB: StaticOperationSchema = ( + 23, + n1, + _s904, + {_s794: MappingProxyType({"uri": "/blob_payload", "method": "POST"})}, + TEST_PAYLOAD_BLOB_INPUT, + TEST_PAYLOAD_BLOB_OUTPUT, + (), +) + +TEST_PAYLOAD_STRUCTURE_INPUT: StaticSchema = ( + 18, + n1, + _s773, + {_s30: _s774, _s32: None}, + (_s758, _s775), + ((3, {_s80: _s759}), (lambda: schemas.PAYLOAD_CONFIG, 16)), +) + +TEST_PAYLOAD_STRUCTURE_OUTPUT: StaticSchema = ( + 18, + n1, + _s776, + {_s30: _s774, _s95: None}, + (_s758, _s775), + ((3, {_s80: _s759}), (lambda: schemas.PAYLOAD_CONFIG, 16)), +) + +TEST_PAYLOAD_STRUCTURE: StaticOperationSchema = ( + 23, + n1, + _s905, + {_s794: MappingProxyType({"uri": "/payload", "method": "POST"})}, + TEST_PAYLOAD_STRUCTURE_INPUT, + TEST_PAYLOAD_STRUCTURE_OUTPUT, + (), +) + +TEST_POST_NO_INPUT_NO_PAYLOAD_INPUT: StaticSchema = ( + 18, + n1, + _s777, + {_s30: _s505, _s32: None}, +) + +TEST_POST_NO_INPUT_NO_PAYLOAD_OUTPUT: StaticSchema = ( + 18, + n1, + _s778, + {_s30: _s764, _s95: None}, + (_s758,), + ((3, {_s80: _s765}),), +) + +TEST_POST_NO_INPUT_NO_PAYLOAD: StaticOperationSchema = ( + 23, + n1, + _s906, + {_s794: MappingProxyType({"uri": "/no_input_no_payload", "method": "POST"})}, + TEST_POST_NO_INPUT_NO_PAYLOAD_INPUT, + TEST_POST_NO_INPUT_NO_PAYLOAD_OUTPUT, + (), +) + +TEST_POST_NO_PAYLOAD_INPUT: StaticSchema = ( + 18, + n1, + _s779, + {_s30: _s764, _s32: None}, + (_s758,), + ((3, {_s80: _s765}),), +) + +TEST_POST_NO_PAYLOAD_OUTPUT: StaticSchema = ( + 18, + n1, + _s780, + {_s30: _s764, _s95: None}, + (_s758,), + ((3, {_s80: _s765}),), +) + +TEST_POST_NO_PAYLOAD: StaticOperationSchema = ( + 23, + n1, + _s907, + {_s794: MappingProxyType({"uri": "/no_payload", "method": "POST"})}, + TEST_POST_NO_PAYLOAD_INPUT, + TEST_POST_NO_PAYLOAD_OUTPUT, + (), +) + +TIMESTAMP_FORMAT_HEADERS_INPUT: StaticSchema = ( + 18, + n1, + _s781, + {_s30: _s782, _s32: None}, + (_s254, _s256, _s257, _s258, _s259, _s260, _s261), + ( + (4, {_s80: _s783, _s97: _s249}), + (4, {_s80: _s784, _s97: _s251}), + (4, {_s80: _s785, _s97: _s98}), + (4, {_s80: _s786}), + (lambda: schemas.EPOCH_SECONDS, {_s80: _s787}), + (lambda: schemas.HTTP_DATE, {_s80: _s788}), + (lambda: schemas.DATE_TIME, {_s80: _s789}), + ), +) + +TIMESTAMP_FORMAT_HEADERS_OUTPUT: StaticSchema = ( + 18, + n1, + _s790, + {_s30: _s782, _s95: None}, + (_s254, _s256, _s257, _s258, _s259, _s260, _s261), + ( + (4, {_s80: _s783, _s97: _s249}), + (4, {_s80: _s784, _s97: _s251}), + (4, {_s80: _s785, _s97: _s98}), + (4, {_s80: _s786}), + (lambda: schemas.EPOCH_SECONDS, {_s80: _s787}), + (lambda: schemas.HTTP_DATE, {_s80: _s788}), + (lambda: schemas.DATE_TIME, {_s80: _s789}), + ), +) + +TIMESTAMP_FORMAT_HEADERS: StaticOperationSchema = ( + 23, + n1, + _s908, + {_s794: MappingProxyType({"uri": "/TimestampFormatHeaders", "method": "POST"})}, + TIMESTAMP_FORMAT_HEADERS_INPUT, + TIMESTAMP_FORMAT_HEADERS_OUTPUT, + (), +) + +UNIT_INPUT_AND_OUTPUT_INPUT: StaticSchema = ( + 18, + n1, + _s791, + {_s30: _s505, _s32: None}, +) + +UNIT_INPUT_AND_OUTPUT_OUTPUT: StaticSchema = ( + 18, + n1, + _s792, + {_s30: _s505, _s95: None}, +) + +UNIT_INPUT_AND_OUTPUT: StaticOperationSchema = ( + 23, + n1, + _s909, + {_s794: MappingProxyType({"uri": "/UnitInputAndOutput", "method": "POST"})}, + UNIT_INPUT_AND_OUTPUT_INPUT, + UNIT_INPUT_AND_OUTPUT_OUTPUT, + (), +) + +REST_JSON: StaticSchema = ( + 21, + n1, + _s910, + { + _s911: MappingProxyType({"sdkId": "Rest Json Protocol"}), + _s912: MappingProxyType({"name": "restjson"}), + _s913: None, + }, +) + +RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1: StaticSchema = ( + 18, + n1, + _s914, + 0, + (_s236, _s544), + ((3, 0), (lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2, 0)), +) + +RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2: StaticSchema = ( + 18, + n1, + _s915, + 0, + (_s448, _s916), + ((3, 0), (RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0)), +) diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/aio/client.py b/codegen-output-py/rest-json-1-client/src/restjson_client/aio/client.py index 229db14ef..9e0d07d8e 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/aio/client.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/aio/client.py @@ -7,6 +7,11 @@ from smithy_aws_core.config.types import ConfigSource from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient +from smithy_core.aio.eventstream import ( + AsyncDuplexEventStream, + AsyncInputEventStream, + AsyncOutputEventStream, +) from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin @@ -335,6 +340,163 @@ async def document_type_as_payload( plugins, ) + @overload + async def duplex_stream( + self, + request: models.DuplexStreamInput | models.DuplexStreamInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncDuplexEventStream[ + models.EventStream, models.EventStream, models.DuplexStreamOutput + ]: ... + + @overload + async def duplex_stream( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.DuplexStreamInputDict], + ) -> AsyncDuplexEventStream[ + models.EventStream, models.EventStream, models.DuplexStreamOutput + ]: + """ + Invokes the DuplexStream operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncDuplexEventStream` that sends and receives events. + """ + + async def duplex_stream( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncDuplexEventStream[ + models.EventStream, models.EventStream, models.DuplexStreamOutput + ]: + pipeline, call = await self._prepare_call( + self._select_input(models.DUPLEX_STREAM, args, kwargs), + models.DUPLEX_STREAM, + [], + plugins, + ) + return await pipeline.duplex_stream( + call, + models.EventStream, + models.EventStream, + models._EventStreamDeserializer().deserialize, # pyright: ignore[reportPrivateUsage] + ) + + @overload + async def duplex_stream_with_distinct_streams( + self, + request: models.DuplexStreamWithDistinctStreamsInput + | models.DuplexStreamWithDistinctStreamsInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncInputEventStream[ + models.EventStream, models.DuplexStreamWithDistinctStreamsOutput + ]: ... + + @overload + async def duplex_stream_with_distinct_streams( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.DuplexStreamWithDistinctStreamsInputDict], + ) -> AsyncInputEventStream[ + models.EventStream, models.DuplexStreamWithDistinctStreamsOutput + ]: + """ + Invokes the DuplexStreamWithDistinctStreams operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncInputEventStream` that sends events. + """ + + async def duplex_stream_with_distinct_streams( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncInputEventStream[ + models.EventStream, models.DuplexStreamWithDistinctStreamsOutput + ]: + pipeline, call = await self._prepare_call( + self._select_input( + models.DUPLEX_STREAM_WITH_DISTINCT_STREAMS, args, kwargs + ), + models.DUPLEX_STREAM_WITH_DISTINCT_STREAMS, + [], + plugins, + ) + return await pipeline.input_stream(call, models.EventStream) + + @overload + async def duplex_stream_with_initial_messages( + self, + request: models.DuplexStreamWithInitialMessagesInput + | models.DuplexStreamWithInitialMessagesInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncDuplexEventStream[ + models.EventStream, + models.EventStream, + models.DuplexStreamWithInitialMessagesOutput, + ]: ... + + @overload + async def duplex_stream_with_initial_messages( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.DuplexStreamWithInitialMessagesInputDict], + ) -> AsyncDuplexEventStream[ + models.EventStream, + models.EventStream, + models.DuplexStreamWithInitialMessagesOutput, + ]: + """ + Invokes the DuplexStreamWithInitialMessages operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncDuplexEventStream` that sends and receives events. + """ + + async def duplex_stream_with_initial_messages( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncDuplexEventStream[ + models.EventStream, + models.EventStream, + models.DuplexStreamWithInitialMessagesOutput, + ]: + pipeline, call = await self._prepare_call( + self._select_input( + models.DUPLEX_STREAM_WITH_INITIAL_MESSAGES, args, kwargs + ), + models.DUPLEX_STREAM_WITH_INITIAL_MESSAGES, + [], + plugins, + ) + return await pipeline.duplex_stream( + call, + models.EventStream, + models.EventStream, + models._EventStreamDeserializer().deserialize, # pyright: ignore[reportPrivateUsage] + ) + @overload async def empty_input_and_empty_output( self, @@ -1335,6 +1497,91 @@ async def input_and_output_with_headers( plugins, ) + @overload + async def input_stream( + self, + request: models.InputStreamInput | models.InputStreamInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncInputEventStream[models.EventStream, models.InputStreamOutput]: ... + + @overload + async def input_stream( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.InputStreamInputDict], + ) -> AsyncInputEventStream[models.EventStream, models.InputStreamOutput]: + """ + Invokes the InputStream operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncInputEventStream` that sends events. + """ + + async def input_stream( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncInputEventStream[models.EventStream, models.InputStreamOutput]: + pipeline, call = await self._prepare_call( + self._select_input(models.INPUT_STREAM, args, kwargs), + models.INPUT_STREAM, + [], + plugins, + ) + return await pipeline.input_stream(call, models.EventStream) + + @overload + async def input_stream_with_initial_request( + self, + request: models.InputStreamWithInitialRequestInput + | models.InputStreamWithInitialRequestInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncInputEventStream[ + models.EventStream, models.InputStreamWithInitialRequestOutput + ]: ... + + @overload + async def input_stream_with_initial_request( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.InputStreamWithInitialRequestInputDict], + ) -> AsyncInputEventStream[ + models.EventStream, models.InputStreamWithInitialRequestOutput + ]: + """ + Invokes the InputStreamWithInitialRequest operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncInputEventStream` that sends events. + """ + + async def input_stream_with_initial_request( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncInputEventStream[ + models.EventStream, models.InputStreamWithInitialRequestOutput + ]: + pipeline, call = await self._prepare_call( + self._select_input(models.INPUT_STREAM_WITH_INITIAL_REQUEST, args, kwargs), + models.INPUT_STREAM_WITH_INITIAL_REQUEST, + [], + plugins, + ) + return await pipeline.input_stream(call, models.EventStream) + @overload async def json_blobs( self, @@ -3260,6 +3507,101 @@ async def operation_with_nested_structure( plugins, ) + @overload + async def output_stream( + self, + request: models.OutputStreamInput | models.OutputStreamInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncOutputEventStream[models.EventStream, models.OutputStreamOutput]: ... + + @overload + async def output_stream( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.OutputStreamInputDict], + ) -> AsyncOutputEventStream[models.EventStream, models.OutputStreamOutput]: + """ + Invokes the OutputStream operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncOutputEventStream` that receives events. + """ + + async def output_stream( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncOutputEventStream[models.EventStream, models.OutputStreamOutput]: + pipeline, call = await self._prepare_call( + self._select_input(models.OUTPUT_STREAM, args, kwargs), + models.OUTPUT_STREAM, + [], + plugins, + ) + return await pipeline.output_stream( + call, + models.EventStream, + models._EventStreamDeserializer().deserialize, # pyright: ignore[reportPrivateUsage] + ) + + @overload + async def output_stream_with_initial_response( + self, + request: models.OutputStreamWithInitialResponseInput + | models.OutputStreamWithInitialResponseInputDict, + /, + *, + plugins: list[Plugin] | None = None, + ) -> AsyncOutputEventStream[ + models.EventStream, models.OutputStreamWithInitialResponseOutput + ]: ... + + @overload + async def output_stream_with_initial_response( + self, + /, + *, + plugins: list[Plugin] | None = None, + **kwargs: Unpack[models.OutputStreamWithInitialResponseInputDict], + ) -> AsyncOutputEventStream[ + models.EventStream, models.OutputStreamWithInitialResponseOutput + ]: + """ + Invokes the OutputStreamWithInitialResponse operation. + + Args: + plugins: + Callables that change the configuration for this call only. + + Returns: + An `AsyncOutputEventStream` that receives events. + """ + + async def output_stream_with_initial_response( + self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object + ) -> AsyncOutputEventStream[ + models.EventStream, models.OutputStreamWithInitialResponseOutput + ]: + pipeline, call = await self._prepare_call( + self._select_input( + models.OUTPUT_STREAM_WITH_INITIAL_RESPONSE, args, kwargs + ), + models.OUTPUT_STREAM_WITH_INITIAL_RESPONSE, + [], + plugins, + ) + return await pipeline.output_stream( + call, + models.EventStream, + models._EventStreamDeserializer().deserialize, # pyright: ignore[reportPrivateUsage] + ) + @overload async def post_player_action( self, diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/models.py b/codegen-output-py/rest-json-1-client/src/restjson_client/models.py index d38cf2819..8433a6ecb 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/models.py +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/models.py @@ -15,6 +15,7 @@ class ServiceError(ModeledError): _MODEL_INDEX = { "AllQueryStringTypesInput": "ALL_QUERY_STRING_TYPES_INPUT", + "BlobPayloadEvent": "BLOB_PAYLOAD_EVENT", "ClientOptionalDefaults": "CLIENT_OPTIONAL_DEFAULTS", "ComplexError": "COMPLEX_ERROR", "ComplexNestedErrorData": "COMPLEX_NESTED_ERROR_DATA", @@ -25,12 +26,32 @@ class ServiceError(ModeledError): "DatetimeOffsetsOutput": "DATETIME_OFFSETS_OUTPUT", "Defaults": "DEFAULTS", "Dialog": "DIALOG", + "DuplexStreamInput": "DUPLEX_STREAM_INPUT", + "DuplexStreamOutput": "DUPLEX_STREAM_OUTPUT", + "DuplexStreamWithDistinctStreamsInput": "DUPLEX_STREAM_WITH_DISTINCT_STREAMS_INPUT", + "DuplexStreamWithDistinctStreamsOutput": "DUPLEX_STREAM_WITH_DISTINCT_STREAMS_OUTPUT", + "DuplexStreamWithInitialMessagesInput": "DUPLEX_STREAM_WITH_INITIAL_MESSAGES_INPUT", + "DuplexStreamWithInitialMessagesOutput": "DUPLEX_STREAM_WITH_INITIAL_MESSAGES_OUTPUT", "EmptyInputAndEmptyOutputInput": "EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT", "EmptyInputAndEmptyOutputOutput": "EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT", + "ErrorEvent": "ERROR_EVENT", + "EventStream": "EVENT_STREAM", + "EventStreamHeaders": "EVENT_STREAM", + "EventStreamBlobPayload": "EVENT_STREAM", + "EventStreamStringPayload": "EVENT_STREAM", + "EventStreamStructurePayload": "EVENT_STREAM", + "EventStreamUnionPayload": "EVENT_STREAM", + "EventStreamHeadersAndExplicitPayload": "EVENT_STREAM", + "EventStreamHeadersAndImplicitPayload": "EVENT_STREAM", + "EventStreamError": "EVENT_STREAM", + "EventStreamUnknown": "EVENT_STREAM", "Farewell": "FAREWELL", "FooError": "FOO_ERROR", "FractionalSecondsOutput": "FRACTIONAL_SECONDS_OUTPUT", "GreetingWithErrorsOutput": "GREETING_WITH_ERRORS_OUTPUT", + "HeadersAndExplicitPayloadEvent": "HEADERS_AND_EXPLICIT_PAYLOAD_EVENT", + "HeadersAndImplicitPayloadEvent": "HEADERS_AND_IMPLICIT_PAYLOAD_EVENT", + "HeadersEvent": "HEADERS_EVENT", "HttpEmptyPrefixHeadersInput": "HTTP_EMPTY_PREFIX_HEADERS_INPUT", "HttpEmptyPrefixHeadersOutput": "HTTP_EMPTY_PREFIX_HEADERS_OUTPUT", "HttpPrefixHeadersInResponseInput": "HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT", @@ -44,6 +65,8 @@ class ServiceError(ModeledError): "HttpRequestWithRegexLiteralInput": "HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT", "HttpResponseCodeOutput": "HTTP_RESPONSE_CODE_OUTPUT", "IgnoreQueryParamsInResponseOutput": "IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT", + "InputStreamInput": "INPUT_STREAM_INPUT", + "InputStreamWithInitialRequestInput": "INPUT_STREAM_WITH_INITIAL_REQUEST_INPUT", "InvalidGreeting": "INVALID_GREETING", "MalformedAcceptWithGenericStringOutput": "MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT", "MalformedAcceptWithPayloadOutput": "MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT", @@ -101,7 +124,13 @@ class ServiceError(ModeledError): "OperationWithDefaultsOutput": "OPERATION_WITH_DEFAULTS_OUTPUT", "OperationWithNestedStructureInput": "OPERATION_WITH_NESTED_STRUCTURE_INPUT", "OperationWithNestedStructureOutput": "OPERATION_WITH_NESTED_STRUCTURE_OUTPUT", + "OutputStreamOutput": "OUTPUT_STREAM_OUTPUT", + "OutputStreamWithInitialResponseOutput": "OUTPUT_STREAM_WITH_INITIAL_RESPONSE_OUTPUT", "PayloadConfig": "PAYLOAD_CONFIG", + "PayloadStructure": "PAYLOAD_STRUCTURE", + "PayloadUnion": "PAYLOAD_UNION", + "PayloadUnionUnionMember": "PAYLOAD_UNION", + "PayloadUnionUnknown": "PAYLOAD_UNION", "PlayerAction": "PLAYER_ACTION", "PlayerActionQuit": "PLAYER_ACTION", "PlayerActionUnknown": "PLAYER_ACTION", @@ -116,13 +145,20 @@ class ServiceError(ModeledError): "RecursiveShapesInputOutputNested1": "RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1", "RecursiveShapesInputOutputNested2": "RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2", "ResponseCodeRequiredOutput": "RESPONSE_CODE_REQUIRED_OUTPUT", + "ServiceUnavailableError": "SERVICE_UNAVAILABLE_ERROR", "SimpleUnion": "SIMPLE_UNION", "SimpleUnionInt": "SIMPLE_UNION", "SimpleUnionString": "SIMPLE_UNION", "SimpleUnionUnknown": "SIMPLE_UNION", + "SingletonEvent": "SINGLETON_EVENT", + "SingletonEventStream": "SINGLETON_EVENT_STREAM", + "SingletonEventStreamSingleton": "SINGLETON_EVENT_STREAM", + "SingletonEventStreamUnknown": "SINGLETON_EVENT_STREAM", "StreamingTraitsRequireLengthInput": "STREAMING_TRAITS_REQUIRE_LENGTH_INPUT", "StringEnum": "STRING_ENUM", + "StringPayloadEvent": "STRING_PAYLOAD_EVENT", "StructureListMember": "STRUCTURE_LIST_MEMBER", + "StructurePayloadEvent": "STRUCTURE_PAYLOAD_EVENT", "TestConfig": "TEST_CONFIG", "TestEnum": "TEST_ENUM", "TestIntEnum": "TEST_INT_ENUM", @@ -130,6 +166,7 @@ class ServiceError(ModeledError): "UnionPayload": "UNION_PAYLOAD", "UnionPayloadGreeting": "UNION_PAYLOAD", "UnionPayloadUnknown": "UNION_PAYLOAD", + "UnionPayloadEvent": "UNION_PAYLOAD_EVENT", "UnionWithJsonName": "UNION_WITH_JSON_NAME", "UnionWithJsonNameFoo": "UNION_WITH_JSON_NAME", "UnionWithJsonNameBar": "UNION_WITH_JSON_NAME", @@ -182,6 +219,8 @@ class ServiceError(ModeledError): "IgnoreQueryParamsInResponseInput": "IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT", "InputAndOutputWithHeadersInput": "INPUT_AND_OUTPUT_WITH_HEADERS_INPUT", "InputAndOutputWithHeadersOutput": "INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT", + "InputStreamOutput": "INPUT_STREAM_OUTPUT", + "InputStreamWithInitialRequestOutput": "INPUT_STREAM_WITH_INITIAL_REQUEST_OUTPUT", "JsonBlobsInput": "JSON_BLOBS_INPUT", "JsonBlobsOutput": "JSON_BLOBS_OUTPUT", "JsonEnumsInput": "JSON_ENUMS_INPUT", @@ -241,6 +280,8 @@ class ServiceError(ModeledError): "NullAndEmptyHeadersServerOutput": "NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT", "OmitsNullSerializesEmptyStringOutput": "OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT", "OmitsSerializingEmptyListsOutput": "OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT", + "OutputStreamInput": "OUTPUT_STREAM_INPUT", + "OutputStreamWithInitialResponseInput": "OUTPUT_STREAM_WITH_INITIAL_RESPONSE_INPUT", "PutWithContentEncodingOutput": "PUT_WITH_CONTENT_ENCODING_OUTPUT", "QueryIdempotencyTokenAutoFillOutput": "QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT", "QueryParamsAsStringListMapOutput": "QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT", @@ -322,6 +363,18 @@ class ServiceError(ModeledError): (), ("aws.auth#sigv4",), ), + "DUPLEX_STREAM": ( + (), + ("aws.auth#sigv4",), + ), + "DUPLEX_STREAM_WITH_DISTINCT_STREAMS": ( + (), + ("aws.auth#sigv4",), + ), + "DUPLEX_STREAM_WITH_INITIAL_MESSAGES": ( + ("aws.protocoltests.restjson#ServiceUnavailableError",), + ("aws.auth#sigv4",), + ), "EMPTY_INPUT_AND_EMPTY_OUTPUT": ( (), ("aws.auth#sigv4",), @@ -426,6 +479,14 @@ class ServiceError(ModeledError): (), ("aws.auth#sigv4",), ), + "INPUT_STREAM": ( + (), + ("aws.auth#sigv4",), + ), + "INPUT_STREAM_WITH_INITIAL_REQUEST": ( + (), + ("aws.auth#sigv4",), + ), "JSON_BLOBS": ( (), ("aws.auth#sigv4",), @@ -622,6 +683,14 @@ class ServiceError(ModeledError): (), ("aws.auth#sigv4",), ), + "OUTPUT_STREAM": ( + ("aws.protocoltests.restjson#ServiceUnavailableError",), + ("aws.auth#sigv4",), + ), + "OUTPUT_STREAM_WITH_INITIAL_RESPONSE": ( + (), + ("aws.auth#sigv4",), + ), "POST_PLAYER_ACTION": ( (), ("aws.auth#sigv4",), @@ -733,6 +802,7 @@ class ServiceError(ModeledError): { "AllQueryStringTypesInput", "AllQueryStringTypesOutput", + "BlobPayloadEvent", "ClientOptionalDefaults", "ComplexError", "ComplexNestedErrorData", @@ -752,12 +822,20 @@ class ServiceError(ModeledError): "DocumentTypeAsPayloadOutput", "DocumentTypeInput", "DocumentTypeOutput", + "DuplexStreamInput", + "DuplexStreamOutput", + "DuplexStreamWithDistinctStreamsInput", + "DuplexStreamWithDistinctStreamsOutput", + "DuplexStreamWithInitialMessagesInput", + "DuplexStreamWithInitialMessagesOutput", "EmptyInputAndEmptyOutputInput", "EmptyInputAndEmptyOutputOutput", "EndpointOperationInput", "EndpointOperationOutput", "EndpointWithHostLabelOperationInput", "EndpointWithHostLabelOperationOutput", + "ErrorEvent", + "EventStream", "Farewell", "FooEnum", "FooError", @@ -766,6 +844,9 @@ class ServiceError(ModeledError): "GreetingStruct", "GreetingWithErrorsInput", "GreetingWithErrorsOutput", + "HeadersAndExplicitPayloadEvent", + "HeadersAndImplicitPayloadEvent", + "HeadersEvent", "HostWithPathOperationInput", "HostWithPathOperationOutput", "HttpChecksumRequiredInput", @@ -806,6 +887,10 @@ class ServiceError(ModeledError): "IgnoreQueryParamsInResponseOutput", "InputAndOutputWithHeadersInput", "InputAndOutputWithHeadersOutput", + "InputStreamInput", + "InputStreamOutput", + "InputStreamWithInitialRequestInput", + "InputStreamWithInitialRequestOutput", "IntegerEnum", "InvalidGreeting", "JsonBlobsInput", @@ -909,7 +994,13 @@ class ServiceError(ModeledError): "OperationWithDefaultsOutput", "OperationWithNestedStructureInput", "OperationWithNestedStructureOutput", + "OutputStreamInput", + "OutputStreamOutput", + "OutputStreamWithInitialResponseInput", + "OutputStreamWithInitialResponseOutput", "PayloadConfig", + "PayloadStructure", + "PayloadUnion", "PlayerAction", "PostPlayerActionInput", "PostPlayerActionOutput", @@ -932,9 +1023,12 @@ class ServiceError(ModeledError): "ResponseCodeHttpFallbackOutput", "ResponseCodeRequiredInput", "ResponseCodeRequiredOutput", + "ServiceUnavailableError", "SimpleScalarPropertiesInput", "SimpleScalarPropertiesOutput", "SimpleUnion", + "SingletonEvent", + "SingletonEventStream", "SparseJsonListsInput", "SparseJsonListsOutput", "SparseJsonMapsInput", @@ -946,7 +1040,9 @@ class ServiceError(ModeledError): "StreamingTraitsWithMediaTypeInput", "StreamingTraitsWithMediaTypeOutput", "StringEnum", + "StringPayloadEvent", "StructureListMember", + "StructurePayloadEvent", "TestBodyStructureInput", "TestBodyStructureOutput", "TestConfig", @@ -968,6 +1064,7 @@ class ServiceError(ModeledError): "TimestampFormatHeadersOutput", "TopLevel", "UnionPayload", + "UnionPayloadEvent", "UnionWithJsonName", "Unit", "UnitInputAndOutputInput", diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/models.pyi b/codegen-output-py/rest-json-1-client/src/restjson_client/models.pyi index cee27c0d9..ab82a94ce 100644 --- a/codegen-output-py/rest-json-1-client/src/restjson_client/models.pyi +++ b/codegen-output-py/rest-json-1-client/src/restjson_client/models.pyi @@ -1,22 +1,484 @@ -from collections.abc import Mapping, Sequence from dataclasses import dataclass -from datetime import datetime -from enum import IntEnum, StrEnum -from typing import Required, Self, TypedDict +from typing import Self, TypedDict -from smithy_core.aio.interfaces import ( - StreamingBlob as _smithy_core_aio_interfaces_StreamingBlob, -) from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.interfaces import ( - StreamingBlob as _smithy_core_interfaces_StreamingBlob, -) -from smithy_core.response import ErrorResponseMetadata, ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AllQueryStringTypesInput, + AllQueryStringTypesInputDict, + AllQueryStringTypesOutput, + AsyncStreamingTraitsInputDict, + AsyncStreamingTraitsRequireLengthInputDict, + AsyncStreamingTraitsWithMediaTypeInputDict, + BlobPayloadEvent, + ClientOptionalDefaults, + ClientOptionalDefaultsDict, + ComplexError, + ComplexNestedErrorData, + ConstantAndVariableQueryStringInput, + ConstantAndVariableQueryStringInputDict, + ConstantAndVariableQueryStringOutput, + ConstantQueryStringInput, + ConstantQueryStringInputDict, + ConstantQueryStringOutput, + ContentTypeParametersInput, + ContentTypeParametersInputDict, + ContentTypeParametersOutput, + DatetimeOffsetsInput, + DatetimeOffsetsInputDict, + DatetimeOffsetsOutput, + Defaults, + DefaultsDict, + Dialog, + DialogDict, + DocumentTypeAsMapValueInput, + DocumentTypeAsMapValueInputDict, + DocumentTypeAsMapValueOutput, + DocumentTypeAsPayloadInput, + DocumentTypeAsPayloadInputDict, + DocumentTypeAsPayloadOutput, + DocumentTypeInput, + DocumentTypeInputDict, + DocumentTypeOutput, + DuplexStreamInput, + DuplexStreamInputDict, + DuplexStreamOutput, + DuplexStreamWithDistinctStreamsInput, + DuplexStreamWithDistinctStreamsInputDict, + DuplexStreamWithDistinctStreamsOutput, + DuplexStreamWithInitialMessagesInput, + DuplexStreamWithInitialMessagesInputDict, + DuplexStreamWithInitialMessagesOutput, + EmptyInputAndEmptyOutputInput, + EmptyInputAndEmptyOutputInputDict, + EmptyInputAndEmptyOutputOutput, + EndpointOperationInput, + EndpointOperationInputDict, + EndpointOperationOutput, + EndpointWithHostLabelOperationInput, + EndpointWithHostLabelOperationInputDict, + EndpointWithHostLabelOperationOutput, + ErrorEvent, + EventStream, + EventStreamBlobPayload, + EventStreamError, + EventStreamHeaders, + EventStreamHeadersAndExplicitPayload, + EventStreamHeadersAndImplicitPayload, + EventStreamStringPayload, + EventStreamStructurePayload, + EventStreamUnionPayload, + EventStreamUnknown, + Farewell, + FarewellDict, + FooEnum, + FooError, + FractionalSecondsInput, + FractionalSecondsInputDict, + FractionalSecondsOutput, + GreetingStruct, + GreetingStructDict, + GreetingWithErrorsInput, + GreetingWithErrorsInputDict, + GreetingWithErrorsOutput, + HeadersAndExplicitPayloadEvent, + HeadersAndImplicitPayloadEvent, + HeadersEvent, + HostWithPathOperationInput, + HostWithPathOperationInputDict, + HostWithPathOperationOutput, + HttpChecksumRequiredInput, + HttpChecksumRequiredInputDict, + HttpChecksumRequiredOutput, + HttpEmptyPrefixHeadersInput, + HttpEmptyPrefixHeadersInputDict, + HttpEmptyPrefixHeadersOutput, + HttpEnumPayloadInput, + HttpEnumPayloadInputDict, + HttpEnumPayloadOutput, + HttpPayloadTraitsInput, + HttpPayloadTraitsInputDict, + HttpPayloadTraitsOutput, + HttpPayloadTraitsWithMediaTypeInput, + HttpPayloadTraitsWithMediaTypeInputDict, + HttpPayloadTraitsWithMediaTypeOutput, + HttpPayloadWithStructureInput, + HttpPayloadWithStructureInputDict, + HttpPayloadWithStructureOutput, + HttpPayloadWithUnionInput, + HttpPayloadWithUnionInputDict, + HttpPayloadWithUnionOutput, + HttpPrefixHeadersInput, + HttpPrefixHeadersInputDict, + HttpPrefixHeadersInResponseInput, + HttpPrefixHeadersInResponseInputDict, + HttpPrefixHeadersInResponseOutput, + HttpPrefixHeadersOutput, + HttpQueryParamsOnlyOperationInput, + HttpQueryParamsOnlyOperationInputDict, + HttpQueryParamsOnlyOperationOutput, + HttpRequestWithFloatLabelsInput, + HttpRequestWithFloatLabelsInputDict, + HttpRequestWithFloatLabelsOutput, + HttpRequestWithGreedyLabelInPathInput, + HttpRequestWithGreedyLabelInPathInputDict, + HttpRequestWithGreedyLabelInPathOutput, + HttpRequestWithLabelsAndTimestampFormatInput, + HttpRequestWithLabelsAndTimestampFormatInputDict, + HttpRequestWithLabelsAndTimestampFormatOutput, + HttpRequestWithLabelsInput, + HttpRequestWithLabelsInputDict, + HttpRequestWithLabelsOutput, + HttpRequestWithRegexLiteralInput, + HttpRequestWithRegexLiteralInputDict, + HttpRequestWithRegexLiteralOutput, + HttpResponseCodeInput, + HttpResponseCodeInputDict, + HttpResponseCodeOutput, + HttpStringPayloadInput, + HttpStringPayloadInputDict, + HttpStringPayloadOutput, + IgnoreQueryParamsInResponseInput, + IgnoreQueryParamsInResponseInputDict, + IgnoreQueryParamsInResponseOutput, + InputAndOutputWithHeadersInput, + InputAndOutputWithHeadersInputDict, + InputAndOutputWithHeadersOutput, + InputStreamInput, + InputStreamInputDict, + InputStreamOutput, + InputStreamWithInitialRequestInput, + InputStreamWithInitialRequestInputDict, + InputStreamWithInitialRequestOutput, + IntegerEnum, + InvalidGreeting, + JsonBlobsInput, + JsonBlobsInputDict, + JsonBlobsOutput, + JsonEnumsInput, + JsonEnumsInputDict, + JsonEnumsOutput, + JsonIntEnumsInput, + JsonIntEnumsInputDict, + JsonIntEnumsOutput, + JsonListsInput, + JsonListsInputDict, + JsonListsOutput, + JsonMapsInput, + JsonMapsInputDict, + JsonMapsOutput, + JsonTimestampsInput, + JsonTimestampsInputDict, + JsonTimestampsOutput, + JsonUnionsInput, + JsonUnionsInputDict, + JsonUnionsOutput, + MalformedAcceptWithBodyInput, + MalformedAcceptWithBodyInputDict, + MalformedAcceptWithBodyOutput, + MalformedAcceptWithGenericStringInput, + MalformedAcceptWithGenericStringInputDict, + MalformedAcceptWithGenericStringOutput, + MalformedAcceptWithPayloadInput, + MalformedAcceptWithPayloadInputDict, + MalformedAcceptWithPayloadOutput, + MalformedBlobInput, + MalformedBlobInputDict, + MalformedBlobOutput, + MalformedBooleanInput, + MalformedBooleanInputDict, + MalformedBooleanOutput, + MalformedByteInput, + MalformedByteInputDict, + MalformedByteOutput, + MalformedContentTypeWithBodyInput, + MalformedContentTypeWithBodyInputDict, + MalformedContentTypeWithBodyOutput, + MalformedContentTypeWithGenericStringInput, + MalformedContentTypeWithGenericStringInputDict, + MalformedContentTypeWithGenericStringOutput, + MalformedContentTypeWithoutBodyEmptyInputInput, + MalformedContentTypeWithoutBodyEmptyInputInputDict, + MalformedContentTypeWithoutBodyEmptyInputOutput, + MalformedContentTypeWithoutBodyInput, + MalformedContentTypeWithoutBodyInputDict, + MalformedContentTypeWithoutBodyOutput, + MalformedContentTypeWithPayloadInput, + MalformedContentTypeWithPayloadInputDict, + MalformedContentTypeWithPayloadOutput, + MalformedDoubleInput, + MalformedDoubleInputDict, + MalformedDoubleOutput, + MalformedFloatInput, + MalformedFloatInputDict, + MalformedFloatOutput, + MalformedIntegerInput, + MalformedIntegerInputDict, + MalformedIntegerOutput, + MalformedListInput, + MalformedListInputDict, + MalformedListOutput, + MalformedLongInput, + MalformedLongInputDict, + MalformedLongOutput, + MalformedMapInput, + MalformedMapInputDict, + MalformedMapOutput, + MalformedRequestBodyInput, + MalformedRequestBodyInputDict, + MalformedRequestBodyOutput, + MalformedShortInput, + MalformedShortInputDict, + MalformedShortOutput, + MalformedStringInput, + MalformedStringInputDict, + MalformedStringOutput, + MalformedTimestampBodyDateTimeInput, + MalformedTimestampBodyDateTimeInputDict, + MalformedTimestampBodyDateTimeOutput, + MalformedTimestampBodyDefaultInput, + MalformedTimestampBodyDefaultInputDict, + MalformedTimestampBodyDefaultOutput, + MalformedTimestampBodyHttpDateInput, + MalformedTimestampBodyHttpDateInputDict, + MalformedTimestampBodyHttpDateOutput, + MalformedTimestampHeaderDateTimeInput, + MalformedTimestampHeaderDateTimeInputDict, + MalformedTimestampHeaderDateTimeOutput, + MalformedTimestampHeaderDefaultInput, + MalformedTimestampHeaderDefaultInputDict, + MalformedTimestampHeaderDefaultOutput, + MalformedTimestampHeaderEpochInput, + MalformedTimestampHeaderEpochInputDict, + MalformedTimestampHeaderEpochOutput, + MalformedTimestampPathDefaultInput, + MalformedTimestampPathDefaultInputDict, + MalformedTimestampPathDefaultOutput, + MalformedTimestampPathEpochInput, + MalformedTimestampPathEpochInputDict, + MalformedTimestampPathEpochOutput, + MalformedTimestampPathHttpDateInput, + MalformedTimestampPathHttpDateInputDict, + MalformedTimestampPathHttpDateOutput, + MalformedTimestampQueryDefaultInput, + MalformedTimestampQueryDefaultInputDict, + MalformedTimestampQueryDefaultOutput, + MalformedTimestampQueryEpochInput, + MalformedTimestampQueryEpochInputDict, + MalformedTimestampQueryEpochOutput, + MalformedTimestampQueryHttpDateInput, + MalformedTimestampQueryHttpDateInputDict, + MalformedTimestampQueryHttpDateOutput, + MalformedUnionInput, + MalformedUnionInputDict, + MalformedUnionOutput, + MediaTypeHeaderInput, + MediaTypeHeaderInputDict, + MediaTypeHeaderOutput, + MyUnion, + MyUnionBlobValue, + MyUnionBlobValueDict, + MyUnionBooleanValue, + MyUnionBooleanValueDict, + MyUnionDict, + MyUnionEnumValue, + MyUnionEnumValueDict, + MyUnionListValue, + MyUnionListValueDict, + MyUnionMapValue, + MyUnionMapValueDict, + MyUnionNumberValue, + MyUnionNumberValueDict, + MyUnionRenamedStructureValue, + MyUnionRenamedStructureValueDict, + MyUnionStringValue, + MyUnionStringValueDict, + MyUnionStructureValue, + MyUnionStructureValueDict, + MyUnionTimestampValue, + MyUnionTimestampValueDict, + MyUnionUnionValue, + MyUnionUnionValueDict, + MyUnionUnknown, + NestedPayload, + NestedPayloadDict, + NestedUnion, + NestedUnionDict, + NestedUnionStringValue, + NestedUnionStringValueDict, + NestedUnionUnknown, + NoInputAndNoOutputInput, + NoInputAndNoOutputInputDict, + NoInputAndNoOutputOutput, + NoInputAndOutputInput, + NoInputAndOutputInputDict, + NoInputAndOutputOutput, + NullAndEmptyHeadersClientInput, + NullAndEmptyHeadersClientInputDict, + NullAndEmptyHeadersClientOutput, + NullAndEmptyHeadersServerInput, + NullAndEmptyHeadersServerInputDict, + NullAndEmptyHeadersServerOutput, + OmitsNullSerializesEmptyStringInput, + OmitsNullSerializesEmptyStringInputDict, + OmitsNullSerializesEmptyStringOutput, + OmitsSerializingEmptyListsInput, + OmitsSerializingEmptyListsInputDict, + OmitsSerializingEmptyListsOutput, + OperationWithDefaultsInput, + OperationWithDefaultsInputDict, + OperationWithDefaultsOutput, + OperationWithNestedStructureInput, + OperationWithNestedStructureInputDict, + OperationWithNestedStructureOutput, + OutputStreamInput, + OutputStreamInputDict, + OutputStreamOutput, + OutputStreamWithInitialResponseInput, + OutputStreamWithInitialResponseInputDict, + OutputStreamWithInitialResponseOutput, + PayloadConfig, + PayloadConfigDict, + PayloadStructure, + PayloadUnion, + PayloadUnionUnionMember, + PayloadUnionUnknown, + PlayerAction, + PlayerActionDict, + PlayerActionQuit, + PlayerActionQuitDict, + PlayerActionUnknown, + PostPlayerActionInput, + PostPlayerActionInputDict, + PostPlayerActionOutput, + PostUnionWithJsonNameInput, + PostUnionWithJsonNameInputDict, + PostUnionWithJsonNameOutput, + PutWithContentEncodingInput, + PutWithContentEncodingInputDict, + PutWithContentEncodingOutput, + QueryIdempotencyTokenAutoFillInput, + QueryIdempotencyTokenAutoFillInputDict, + QueryIdempotencyTokenAutoFillOutput, + QueryParamsAsStringListMapInput, + QueryParamsAsStringListMapInputDict, + QueryParamsAsStringListMapOutput, + QueryPrecedenceInput, + QueryPrecedenceInputDict, + QueryPrecedenceOutput, + RecursiveShapesInput, + RecursiveShapesInputDict, + RecursiveShapesInputOutputNested1, + RecursiveShapesInputOutputNested1Dict, + RecursiveShapesInputOutputNested2, + RecursiveShapesInputOutputNested2Dict, + RecursiveShapesOutput, + RenamedGreeting, + RenamedGreetingDict, + ResponseCodeHttpFallbackInput, + ResponseCodeHttpFallbackInputDict, + ResponseCodeHttpFallbackOutput, + ResponseCodeRequiredInput, + ResponseCodeRequiredInputDict, + ResponseCodeRequiredOutput, + ServiceUnavailableError, + SimpleScalarPropertiesInput, + SimpleScalarPropertiesInputDict, + SimpleScalarPropertiesOutput, + SimpleUnion, + SimpleUnionDict, + SimpleUnionInt, + SimpleUnionIntDict, + SimpleUnionString, + SimpleUnionStringDict, + SimpleUnionUnknown, + SingletonEvent, + SingletonEventStream, + SingletonEventStreamSingleton, + SingletonEventStreamUnknown, + SparseJsonListsInput, + SparseJsonListsInputDict, + SparseJsonListsOutput, + SparseJsonMapsInput, + SparseJsonMapsInputDict, + SparseJsonMapsOutput, + StreamingTraitsInput, + StreamingTraitsInputDict, + StreamingTraitsOutput, + StreamingTraitsRequireLengthInput, + StreamingTraitsRequireLengthInputDict, + StreamingTraitsRequireLengthOutput, + StreamingTraitsWithMediaTypeInput, + StreamingTraitsWithMediaTypeInputDict, + StreamingTraitsWithMediaTypeOutput, + StringEnum, + StringPayloadEvent, + StructureListMember, + StructureListMemberDict, + StructurePayloadEvent, + TestConfig, + TestConfigDict, + TestEnum, + TestIntEnum, + TopLevel, + TopLevelDict, + UnionPayload, + UnionPayloadDict, + UnionPayloadEvent, + UnionPayloadGreeting, + UnionPayloadGreetingDict, + UnionPayloadUnknown, + UnionWithJsonName, + UnionWithJsonNameBar, + UnionWithJsonNameBarDict, + UnionWithJsonNameBaz, + UnionWithJsonNameBazDict, + UnionWithJsonNameDict, + UnionWithJsonNameFoo, + UnionWithJsonNameFooDict, + UnionWithJsonNameUnknown, + _EventStreamDeserializer, # pyright: ignore[reportPrivateUsage] + _MyUnionDeserializer, # pyright: ignore[reportPrivateUsage] + _NestedUnionDeserializer, # pyright: ignore[reportPrivateUsage] + _PayloadUnionDeserializer, # pyright: ignore[reportPrivateUsage] + _PlayerActionDeserializer, # pyright: ignore[reportPrivateUsage] + _SimpleUnionDeserializer, # pyright: ignore[reportPrivateUsage] + _SingletonEventStreamDeserializer, # pyright: ignore[reportPrivateUsage] + _UnionPayloadDeserializer, # pyright: ignore[reportPrivateUsage] + _UnionWithJsonNameDeserializer, # pyright: ignore[reportPrivateUsage] +) +from ._private.models_1 import ( + TestBodyStructureInput, + TestBodyStructureInputDict, + TestBodyStructureOutput, + TestGetNoInputNoPayloadInput, + TestGetNoInputNoPayloadInputDict, + TestGetNoInputNoPayloadOutput, + TestGetNoPayloadInput, + TestGetNoPayloadInputDict, + TestGetNoPayloadOutput, + TestPayloadBlobInput, + TestPayloadBlobInputDict, + TestPayloadBlobOutput, + TestPayloadStructureInput, + TestPayloadStructureInputDict, + TestPayloadStructureOutput, + TestPostNoInputNoPayloadInput, + TestPostNoInputNoPayloadInputDict, + TestPostNoInputNoPayloadOutput, + TestPostNoPayloadInput, + TestPostNoPayloadInputDict, + TestPostNoPayloadOutput, + TimestampFormatHeadersInput, + TimestampFormatHeadersInputDict, + TimestampFormatHeadersOutput, + UnitInputAndOutputInput, + UnitInputAndOutputInputDict, + UnitInputAndOutputOutput, +) __all__ = [ "ALL_QUERY_STRING_TYPES", @@ -27,6 +489,9 @@ __all__ = [ "DOCUMENT_TYPE", "DOCUMENT_TYPE_AS_MAP_VALUE", "DOCUMENT_TYPE_AS_PAYLOAD", + "DUPLEX_STREAM", + "DUPLEX_STREAM_WITH_DISTINCT_STREAMS", + "DUPLEX_STREAM_WITH_INITIAL_MESSAGES", "EMPTY_INPUT_AND_EMPTY_OUTPUT", "ENDPOINT_OPERATION", "ENDPOINT_WITH_HOST_LABEL_OPERATION", @@ -52,6 +517,8 @@ __all__ = [ "HTTP_STRING_PAYLOAD", "IGNORE_QUERY_PARAMS_IN_RESPONSE", "INPUT_AND_OUTPUT_WITH_HEADERS", + "INPUT_STREAM", + "INPUT_STREAM_WITH_INITIAL_REQUEST", "JSON_BLOBS", "JSON_ENUMS", "JSON_INT_ENUMS", @@ -101,6 +568,8 @@ __all__ = [ "OMITS_SERIALIZING_EMPTY_LISTS", "OPERATION_WITH_DEFAULTS", "OPERATION_WITH_NESTED_STRUCTURE", + "OUTPUT_STREAM", + "OUTPUT_STREAM_WITH_INITIAL_RESPONSE", "POST_PLAYER_ACTION", "POST_UNION_WITH_JSON_NAME", "PUT_WITH_CONTENT_ENCODING", @@ -126,272 +595,476 @@ __all__ = [ "TIMESTAMP_FORMAT_HEADERS", "UNIT_INPUT_AND_OUTPUT", "AllQueryStringTypesInput", + "AllQueryStringTypesInputDict", "AllQueryStringTypesOutput", + "AsyncStreamingTraitsInputDict", + "AsyncStreamingTraitsRequireLengthInputDict", + "AsyncStreamingTraitsWithMediaTypeInputDict", + "BlobPayloadEvent", "ClientOptionalDefaults", + "ClientOptionalDefaultsDict", "ComplexError", "ComplexNestedErrorData", "ConstantAndVariableQueryStringInput", + "ConstantAndVariableQueryStringInputDict", "ConstantAndVariableQueryStringOutput", "ConstantQueryStringInput", + "ConstantQueryStringInputDict", "ConstantQueryStringOutput", "ContentTypeParametersInput", + "ContentTypeParametersInputDict", "ContentTypeParametersOutput", "DatetimeOffsetsInput", + "DatetimeOffsetsInputDict", "DatetimeOffsetsOutput", "Defaults", + "DefaultsDict", "Dialog", + "DialogDict", "DocumentTypeAsMapValueInput", + "DocumentTypeAsMapValueInputDict", "DocumentTypeAsMapValueOutput", "DocumentTypeAsPayloadInput", + "DocumentTypeAsPayloadInputDict", "DocumentTypeAsPayloadOutput", "DocumentTypeInput", + "DocumentTypeInputDict", "DocumentTypeOutput", + "DuplexStreamInput", + "DuplexStreamInputDict", + "DuplexStreamOutput", + "DuplexStreamWithDistinctStreamsInput", + "DuplexStreamWithDistinctStreamsInputDict", + "DuplexStreamWithDistinctStreamsOutput", + "DuplexStreamWithInitialMessagesInput", + "DuplexStreamWithInitialMessagesInputDict", + "DuplexStreamWithInitialMessagesOutput", "EmptyInputAndEmptyOutputInput", + "EmptyInputAndEmptyOutputInputDict", "EmptyInputAndEmptyOutputOutput", "EndpointOperationInput", + "EndpointOperationInputDict", "EndpointOperationOutput", "EndpointWithHostLabelOperationInput", + "EndpointWithHostLabelOperationInputDict", "EndpointWithHostLabelOperationOutput", + "ErrorEvent", + "EventStream", + "EventStreamBlobPayload", + "EventStreamError", + "EventStreamHeaders", + "EventStreamHeadersAndExplicitPayload", + "EventStreamHeadersAndImplicitPayload", + "EventStreamStringPayload", + "EventStreamStructurePayload", + "EventStreamUnionPayload", + "EventStreamUnknown", "Farewell", + "FarewellDict", "FooEnum", "FooError", "FractionalSecondsInput", + "FractionalSecondsInputDict", "FractionalSecondsOutput", "GreetingStruct", + "GreetingStructDict", "GreetingWithErrorsInput", + "GreetingWithErrorsInputDict", "GreetingWithErrorsOutput", + "HeadersAndExplicitPayloadEvent", + "HeadersAndImplicitPayloadEvent", + "HeadersEvent", "HostWithPathOperationInput", + "HostWithPathOperationInputDict", "HostWithPathOperationOutput", "HttpChecksumRequiredInput", + "HttpChecksumRequiredInputDict", "HttpChecksumRequiredOutput", "HttpEmptyPrefixHeadersInput", + "HttpEmptyPrefixHeadersInputDict", "HttpEmptyPrefixHeadersOutput", "HttpEnumPayloadInput", + "HttpEnumPayloadInputDict", "HttpEnumPayloadOutput", "HttpPayloadTraitsInput", + "HttpPayloadTraitsInputDict", "HttpPayloadTraitsOutput", "HttpPayloadTraitsWithMediaTypeInput", + "HttpPayloadTraitsWithMediaTypeInputDict", "HttpPayloadTraitsWithMediaTypeOutput", "HttpPayloadWithStructureInput", + "HttpPayloadWithStructureInputDict", "HttpPayloadWithStructureOutput", "HttpPayloadWithUnionInput", + "HttpPayloadWithUnionInputDict", "HttpPayloadWithUnionOutput", "HttpPrefixHeadersInResponseInput", + "HttpPrefixHeadersInResponseInputDict", "HttpPrefixHeadersInResponseOutput", "HttpPrefixHeadersInput", + "HttpPrefixHeadersInputDict", "HttpPrefixHeadersOutput", "HttpQueryParamsOnlyOperationInput", + "HttpQueryParamsOnlyOperationInputDict", "HttpQueryParamsOnlyOperationOutput", "HttpRequestWithFloatLabelsInput", + "HttpRequestWithFloatLabelsInputDict", "HttpRequestWithFloatLabelsOutput", "HttpRequestWithGreedyLabelInPathInput", + "HttpRequestWithGreedyLabelInPathInputDict", "HttpRequestWithGreedyLabelInPathOutput", "HttpRequestWithLabelsAndTimestampFormatInput", + "HttpRequestWithLabelsAndTimestampFormatInputDict", "HttpRequestWithLabelsAndTimestampFormatOutput", "HttpRequestWithLabelsInput", + "HttpRequestWithLabelsInputDict", "HttpRequestWithLabelsOutput", "HttpRequestWithRegexLiteralInput", + "HttpRequestWithRegexLiteralInputDict", "HttpRequestWithRegexLiteralOutput", "HttpResponseCodeInput", + "HttpResponseCodeInputDict", "HttpResponseCodeOutput", "HttpStringPayloadInput", + "HttpStringPayloadInputDict", "HttpStringPayloadOutput", "IgnoreQueryParamsInResponseInput", + "IgnoreQueryParamsInResponseInputDict", "IgnoreQueryParamsInResponseOutput", "InputAndOutputWithHeadersInput", + "InputAndOutputWithHeadersInputDict", "InputAndOutputWithHeadersOutput", + "InputStreamInput", + "InputStreamInputDict", + "InputStreamOutput", + "InputStreamWithInitialRequestInput", + "InputStreamWithInitialRequestInputDict", + "InputStreamWithInitialRequestOutput", "IntegerEnum", "InvalidGreeting", "JsonBlobsInput", + "JsonBlobsInputDict", "JsonBlobsOutput", "JsonEnumsInput", + "JsonEnumsInputDict", "JsonEnumsOutput", "JsonIntEnumsInput", + "JsonIntEnumsInputDict", "JsonIntEnumsOutput", "JsonListsInput", + "JsonListsInputDict", "JsonListsOutput", "JsonMapsInput", + "JsonMapsInputDict", "JsonMapsOutput", "JsonTimestampsInput", + "JsonTimestampsInputDict", "JsonTimestampsOutput", "JsonUnionsInput", + "JsonUnionsInputDict", "JsonUnionsOutput", "MalformedAcceptWithBodyInput", + "MalformedAcceptWithBodyInputDict", "MalformedAcceptWithBodyOutput", "MalformedAcceptWithGenericStringInput", + "MalformedAcceptWithGenericStringInputDict", "MalformedAcceptWithGenericStringOutput", "MalformedAcceptWithPayloadInput", + "MalformedAcceptWithPayloadInputDict", "MalformedAcceptWithPayloadOutput", "MalformedBlobInput", + "MalformedBlobInputDict", "MalformedBlobOutput", "MalformedBooleanInput", + "MalformedBooleanInputDict", "MalformedBooleanOutput", "MalformedByteInput", + "MalformedByteInputDict", "MalformedByteOutput", "MalformedContentTypeWithBodyInput", + "MalformedContentTypeWithBodyInputDict", "MalformedContentTypeWithBodyOutput", "MalformedContentTypeWithGenericStringInput", + "MalformedContentTypeWithGenericStringInputDict", "MalformedContentTypeWithGenericStringOutput", "MalformedContentTypeWithPayloadInput", + "MalformedContentTypeWithPayloadInputDict", "MalformedContentTypeWithPayloadOutput", "MalformedContentTypeWithoutBodyEmptyInputInput", + "MalformedContentTypeWithoutBodyEmptyInputInputDict", "MalformedContentTypeWithoutBodyEmptyInputOutput", "MalformedContentTypeWithoutBodyInput", + "MalformedContentTypeWithoutBodyInputDict", "MalformedContentTypeWithoutBodyOutput", "MalformedDoubleInput", + "MalformedDoubleInputDict", "MalformedDoubleOutput", "MalformedFloatInput", + "MalformedFloatInputDict", "MalformedFloatOutput", "MalformedIntegerInput", + "MalformedIntegerInputDict", "MalformedIntegerOutput", "MalformedListInput", + "MalformedListInputDict", "MalformedListOutput", "MalformedLongInput", + "MalformedLongInputDict", "MalformedLongOutput", "MalformedMapInput", + "MalformedMapInputDict", "MalformedMapOutput", "MalformedRequestBodyInput", + "MalformedRequestBodyInputDict", "MalformedRequestBodyOutput", "MalformedShortInput", + "MalformedShortInputDict", "MalformedShortOutput", "MalformedStringInput", + "MalformedStringInputDict", "MalformedStringOutput", "MalformedTimestampBodyDateTimeInput", + "MalformedTimestampBodyDateTimeInputDict", "MalformedTimestampBodyDateTimeOutput", "MalformedTimestampBodyDefaultInput", + "MalformedTimestampBodyDefaultInputDict", "MalformedTimestampBodyDefaultOutput", "MalformedTimestampBodyHttpDateInput", + "MalformedTimestampBodyHttpDateInputDict", "MalformedTimestampBodyHttpDateOutput", "MalformedTimestampHeaderDateTimeInput", + "MalformedTimestampHeaderDateTimeInputDict", "MalformedTimestampHeaderDateTimeOutput", "MalformedTimestampHeaderDefaultInput", + "MalformedTimestampHeaderDefaultInputDict", "MalformedTimestampHeaderDefaultOutput", "MalformedTimestampHeaderEpochInput", + "MalformedTimestampHeaderEpochInputDict", "MalformedTimestampHeaderEpochOutput", "MalformedTimestampPathDefaultInput", + "MalformedTimestampPathDefaultInputDict", "MalformedTimestampPathDefaultOutput", "MalformedTimestampPathEpochInput", + "MalformedTimestampPathEpochInputDict", "MalformedTimestampPathEpochOutput", "MalformedTimestampPathHttpDateInput", + "MalformedTimestampPathHttpDateInputDict", "MalformedTimestampPathHttpDateOutput", "MalformedTimestampQueryDefaultInput", + "MalformedTimestampQueryDefaultInputDict", "MalformedTimestampQueryDefaultOutput", "MalformedTimestampQueryEpochInput", + "MalformedTimestampQueryEpochInputDict", "MalformedTimestampQueryEpochOutput", "MalformedTimestampQueryHttpDateInput", + "MalformedTimestampQueryHttpDateInputDict", "MalformedTimestampQueryHttpDateOutput", "MalformedUnionInput", + "MalformedUnionInputDict", "MalformedUnionOutput", "MediaTypeHeaderInput", + "MediaTypeHeaderInputDict", "MediaTypeHeaderOutput", "MyUnion", "MyUnionBlobValue", + "MyUnionBlobValueDict", "MyUnionBooleanValue", + "MyUnionBooleanValueDict", + "MyUnionDict", "MyUnionEnumValue", + "MyUnionEnumValueDict", "MyUnionListValue", + "MyUnionListValueDict", "MyUnionMapValue", + "MyUnionMapValueDict", "MyUnionNumberValue", + "MyUnionNumberValueDict", "MyUnionRenamedStructureValue", + "MyUnionRenamedStructureValueDict", "MyUnionStringValue", + "MyUnionStringValueDict", "MyUnionStructureValue", + "MyUnionStructureValueDict", "MyUnionTimestampValue", + "MyUnionTimestampValueDict", "MyUnionUnionValue", + "MyUnionUnionValueDict", "MyUnionUnknown", "NestedPayload", + "NestedPayloadDict", "NestedUnion", + "NestedUnionDict", "NestedUnionStringValue", + "NestedUnionStringValueDict", "NestedUnionUnknown", "NoInputAndNoOutputInput", + "NoInputAndNoOutputInputDict", "NoInputAndNoOutputOutput", "NoInputAndOutputInput", + "NoInputAndOutputInputDict", "NoInputAndOutputOutput", "NullAndEmptyHeadersClientInput", + "NullAndEmptyHeadersClientInputDict", "NullAndEmptyHeadersClientOutput", "NullAndEmptyHeadersServerInput", + "NullAndEmptyHeadersServerInputDict", "NullAndEmptyHeadersServerOutput", "OmitsNullSerializesEmptyStringInput", + "OmitsNullSerializesEmptyStringInputDict", "OmitsNullSerializesEmptyStringOutput", "OmitsSerializingEmptyListsInput", + "OmitsSerializingEmptyListsInputDict", "OmitsSerializingEmptyListsOutput", "OperationWithDefaultsInput", + "OperationWithDefaultsInputDict", "OperationWithDefaultsOutput", "OperationWithNestedStructureInput", + "OperationWithNestedStructureInputDict", "OperationWithNestedStructureOutput", + "OutputStreamInput", + "OutputStreamInputDict", + "OutputStreamOutput", + "OutputStreamWithInitialResponseInput", + "OutputStreamWithInitialResponseInputDict", + "OutputStreamWithInitialResponseOutput", "PayloadConfig", + "PayloadConfigDict", + "PayloadStructure", + "PayloadUnion", + "PayloadUnionUnionMember", + "PayloadUnionUnknown", "PlayerAction", + "PlayerActionDict", "PlayerActionQuit", + "PlayerActionQuitDict", "PlayerActionUnknown", "PostPlayerActionInput", + "PostPlayerActionInputDict", "PostPlayerActionOutput", "PostUnionWithJsonNameInput", + "PostUnionWithJsonNameInputDict", "PostUnionWithJsonNameOutput", "PutWithContentEncodingInput", + "PutWithContentEncodingInputDict", "PutWithContentEncodingOutput", "QueryIdempotencyTokenAutoFillInput", + "QueryIdempotencyTokenAutoFillInputDict", "QueryIdempotencyTokenAutoFillOutput", "QueryParamsAsStringListMapInput", + "QueryParamsAsStringListMapInputDict", "QueryParamsAsStringListMapOutput", "QueryPrecedenceInput", + "QueryPrecedenceInputDict", "QueryPrecedenceOutput", "RecursiveShapesInput", + "RecursiveShapesInputDict", "RecursiveShapesInputOutputNested1", + "RecursiveShapesInputOutputNested1Dict", "RecursiveShapesInputOutputNested2", + "RecursiveShapesInputOutputNested2Dict", "RecursiveShapesOutput", "RenamedGreeting", + "RenamedGreetingDict", "ResponseCodeHttpFallbackInput", + "ResponseCodeHttpFallbackInputDict", "ResponseCodeHttpFallbackOutput", "ResponseCodeRequiredInput", + "ResponseCodeRequiredInputDict", "ResponseCodeRequiredOutput", "ServiceError", + "ServiceUnavailableError", "SimpleScalarPropertiesInput", + "SimpleScalarPropertiesInputDict", "SimpleScalarPropertiesOutput", "SimpleUnion", + "SimpleUnionDict", "SimpleUnionInt", + "SimpleUnionIntDict", "SimpleUnionString", + "SimpleUnionStringDict", "SimpleUnionUnknown", + "SingletonEvent", + "SingletonEventStream", + "SingletonEventStreamSingleton", + "SingletonEventStreamUnknown", "SparseJsonListsInput", + "SparseJsonListsInputDict", "SparseJsonListsOutput", "SparseJsonMapsInput", + "SparseJsonMapsInputDict", "SparseJsonMapsOutput", "StreamingTraitsInput", + "StreamingTraitsInputDict", "StreamingTraitsOutput", "StreamingTraitsRequireLengthInput", + "StreamingTraitsRequireLengthInputDict", "StreamingTraitsRequireLengthOutput", "StreamingTraitsWithMediaTypeInput", + "StreamingTraitsWithMediaTypeInputDict", "StreamingTraitsWithMediaTypeOutput", "StringEnum", + "StringPayloadEvent", "StructureListMember", + "StructureListMemberDict", + "StructurePayloadEvent", "TestBodyStructureInput", + "TestBodyStructureInputDict", "TestBodyStructureOutput", "TestConfig", + "TestConfigDict", "TestEnum", "TestGetNoInputNoPayloadInput", + "TestGetNoInputNoPayloadInputDict", "TestGetNoInputNoPayloadOutput", "TestGetNoPayloadInput", + "TestGetNoPayloadInputDict", "TestGetNoPayloadOutput", "TestIntEnum", "TestPayloadBlobInput", + "TestPayloadBlobInputDict", "TestPayloadBlobOutput", "TestPayloadStructureInput", + "TestPayloadStructureInputDict", "TestPayloadStructureOutput", "TestPostNoInputNoPayloadInput", + "TestPostNoInputNoPayloadInputDict", "TestPostNoInputNoPayloadOutput", "TestPostNoPayloadInput", + "TestPostNoPayloadInputDict", "TestPostNoPayloadOutput", "TimestampFormatHeadersInput", + "TimestampFormatHeadersInputDict", "TimestampFormatHeadersOutput", "TopLevel", + "TopLevelDict", "UnionPayload", + "UnionPayloadDict", + "UnionPayloadEvent", "UnionPayloadGreeting", + "UnionPayloadGreetingDict", "UnionPayloadUnknown", "UnionWithJsonName", "UnionWithJsonNameBar", + "UnionWithJsonNameBarDict", "UnionWithJsonNameBaz", + "UnionWithJsonNameBazDict", + "UnionWithJsonNameDict", "UnionWithJsonNameFoo", + "UnionWithJsonNameFooDict", "UnionWithJsonNameUnknown", "Unit", "UnitInputAndOutputInput", + "UnitInputAndOutputInputDict", "UnitInputAndOutputOutput", + "_EventStreamDeserializer", + "_MyUnionDeserializer", + "_NestedUnionDeserializer", + "_PayloadUnionDeserializer", + "_PlayerActionDeserializer", + "_SimpleUnionDeserializer", + "_SingletonEventStreamDeserializer", + "_UnionPayloadDeserializer", + "_UnionWithJsonNameDeserializer", ] class _SerdeShape: @@ -409,3578 +1082,11 @@ class ServiceError(ModeledError): """ @dataclass(kw_only=True) -class AllQueryStringTypesInput(_SerdeShape): - "Dataclass for AllQueryStringTypesInput structure." - - query_string: str | None = ... - query_string_list: list[str] | None = ... - query_string_set: list[str] | None = ... - query_byte: int | None = ... - query_short: int | None = ... - query_integer: int | None = ... - query_integer_list: list[int] | None = ... - query_integer_set: list[int] | None = ... - query_long: int | None = ... - query_float: float | None = ... - query_double: float | None = ... - query_double_list: list[float] | None = ... - query_boolean: bool | None = ... - query_boolean_list: list[bool] | None = ... - query_timestamp: datetime | None = ... - query_timestamp_list: list[datetime] | None = ... - query_enum: str | None = ... - query_enum_list: list[str] | None = ... - query_integer_enum: int | None = ... - query_integer_enum_list: list[int] | None = ... - query_params_map_of_string_list: dict[str, list[str]] | None = ... - -class AllQueryStringTypesInputDict(TypedDict, total=False): - "Dictionary form of `AllQueryStringTypesInput`." - - query_string: str | None - query_string_list: Sequence[str] | None - query_string_set: Sequence[str] | None - query_byte: int | None - query_short: int | None - query_integer: int | None - query_integer_list: Sequence[int] | None - query_integer_set: Sequence[int] | None - query_long: int | None - query_float: float | None - query_double: float | None - query_double_list: Sequence[float] | None - query_boolean: bool | None - query_boolean_list: Sequence[bool] | None - query_timestamp: datetime | None - query_timestamp_list: Sequence[datetime] | None - query_enum: str | None - query_enum_list: Sequence[str] | None - query_integer_enum: int | None - query_integer_enum_list: Sequence[int] | None - query_params_map_of_string_list: Mapping[str, Sequence[str]] | None - -@dataclass(kw_only=True) -class ClientOptionalDefaults(_SerdeShape): - "Dataclass for ClientOptionalDefaults structure." - - member: int | None = ... - -class ClientOptionalDefaultsDict(TypedDict, total=False): - "Dictionary form of `ClientOptionalDefaults`." - - member: int | None - -@dataclass(kw_only=True) -class ComplexError(ServiceError, _SerdeShape): - "This error is thrown when a request is invalid." - - header: str | None = ... - top_level: str | None = ... - nested: ComplexNestedErrorData | None = ... - response_metadata: ErrorResponseMetadata = ... - """ - Metadata about the response that produced this error. - - Use this to read the error code or to recover the request identifiers a - service's support team needs in order to investigate a call. Members of - the metadata are individually optional. - """ - -@dataclass(kw_only=True) -class ComplexNestedErrorData(_SerdeShape): - "Dataclass for ComplexNestedErrorData structure." - - foo: str | None = ... - -@dataclass(kw_only=True) -class ConstantAndVariableQueryStringInput(_SerdeShape): - "Dataclass for ConstantAndVariableQueryStringInput structure." - - baz: str | None = ... - maybe_set: str | None = ... - -class ConstantAndVariableQueryStringInputDict(TypedDict, total=False): - "Dictionary form of `ConstantAndVariableQueryStringInput`." - - baz: str | None - maybe_set: str | None - -@dataclass(kw_only=True) -class ConstantQueryStringInput(_SerdeShape): - "Dataclass for ConstantQueryStringInput structure." - - hello: str | None = ... - -class ConstantQueryStringInputDict(TypedDict, total=False): - "Dictionary form of `ConstantQueryStringInput`." - - hello: Required[str] - -@dataclass(kw_only=True) -class ContentTypeParametersInput(_SerdeShape): - "Dataclass for ContentTypeParametersInput structure." - - value: int | None = ... - -class ContentTypeParametersInputDict(TypedDict, total=False): - "Dictionary form of `ContentTypeParametersInput`." - - value: int | None - -@dataclass(kw_only=True) -class ContentTypeParametersOutput(_SerdeShape): - "Dataclass for ContentTypeParametersOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class DatetimeOffsetsOutput(_SerdeShape): - "Dataclass for DatetimeOffsetsOutput structure." - - datetime_: datetime | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class Defaults(_SerdeShape): - "Dataclass for Defaults structure." - - default_string: str | None = ... - default_boolean: bool | None = ... - default_list: list[str] | None = ... - default_document_map: Document | None = ... - default_document_string: Document | None = ... - default_document_boolean: Document | None = ... - default_document_list: Document | None = ... - default_null_document: Document | None = ... - default_timestamp: datetime | None = ... - default_blob: bytes | None = ... - default_byte: int | None = ... - default_short: int | None = ... - default_integer: int | None = ... - default_long: int | None = ... - default_float: float | None = ... - default_double: float | None = ... - default_map: dict[str, str] | None = ... - default_enum: str | None = ... - default_int_enum: int | None = ... - empty_string: str | None = ... - false_boolean: bool | None = ... - empty_blob: bytes | None = ... - zero_byte: int | None = ... - zero_short: int | None = ... - zero_integer: int | None = ... - zero_long: int | None = ... - zero_float: float | None = ... - zero_double: float | None = ... - -class DefaultsDict(TypedDict, total=False): - "Dictionary form of `Defaults`." - - default_string: str | None - default_boolean: bool | None - default_list: Sequence[str] | None - default_document_map: Document | None - default_document_string: Document | None - default_document_boolean: Document | None - default_document_list: Document | None - default_null_document: Document | None - default_timestamp: datetime | None - default_blob: bytes | None - default_byte: int | None - default_short: int | None - default_integer: int | None - default_long: int | None - default_float: float | None - default_double: float | None - default_map: Mapping[str, str] | None - default_enum: str | None - default_int_enum: int | None - empty_string: str | None - false_boolean: bool | None - empty_blob: bytes | None - zero_byte: int | None - zero_short: int | None - zero_integer: int | None - zero_long: int | None - zero_float: float | None - zero_double: float | None - -@dataclass(kw_only=True) -class Dialog(_SerdeShape): - "Dataclass for Dialog structure." - - language: str | None = ... - greeting: str | None = ... - farewell: Farewell | None = ... - -class DialogDict(TypedDict, total=False): - "Dictionary form of `Dialog`." - - language: str | None - greeting: str | None - farewell: Farewell | FarewellDict | None - -@dataclass(kw_only=True) -class EmptyInputAndEmptyOutputInput(_SerdeShape): - "Dataclass for EmptyInputAndEmptyOutputInput structure." - -class EmptyInputAndEmptyOutputInputDict(TypedDict, total=False): - "Dictionary form of `EmptyInputAndEmptyOutputInput`." - -@dataclass(kw_only=True) -class EmptyInputAndEmptyOutputOutput(_SerdeShape): - "Dataclass for EmptyInputAndEmptyOutputOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class Farewell(_SerdeShape): - "Dataclass for Farewell structure." - - phrase: str | None = ... - -class FarewellDict(TypedDict, total=False): - "Dictionary form of `Farewell`." - - phrase: str | None - -@dataclass(kw_only=True) -class FooError(ServiceError, _SerdeShape): - """ - This error has test cases that test some of the dark corners of Amazon - service - framework history. It should only be implemented by clients. - """ - - response_metadata: ErrorResponseMetadata = ... - """ - Metadata about the response that produced this error. - - Use this to read the error code or to recover the request identifiers a - service's support team needs in order to investigate a call. Members of - the metadata are individually optional. - """ - -@dataclass(kw_only=True) -class FractionalSecondsOutput(_SerdeShape): - "Dataclass for FractionalSecondsOutput structure." - - datetime_: datetime | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class GreetingWithErrorsOutput(_SerdeShape): - "Dataclass for GreetingWithErrorsOutput structure." - - greeting: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpEmptyPrefixHeadersInput(_SerdeShape): - "Dataclass for HttpEmptyPrefixHeadersInput structure." - - prefix_headers: dict[str, str] | None = ... - specific_header: str | None = ... - -class HttpEmptyPrefixHeadersInputDict(TypedDict, total=False): - "Dictionary form of `HttpEmptyPrefixHeadersInput`." - - prefix_headers: Mapping[str, str] | None - specific_header: str | None - -@dataclass(kw_only=True) -class HttpEmptyPrefixHeadersOutput(_SerdeShape): - "Dataclass for HttpEmptyPrefixHeadersOutput structure." - - prefix_headers: dict[str, str] | None = ... - specific_header: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpPrefixHeadersInResponseInput(_SerdeShape): - "Dataclass for HttpPrefixHeadersInResponseInput structure." - -class HttpPrefixHeadersInResponseInputDict(TypedDict, total=False): - "Dictionary form of `HttpPrefixHeadersInResponseInput`." - -@dataclass(kw_only=True) -class HttpPrefixHeadersInResponseOutput(_SerdeShape): - "Dataclass for HttpPrefixHeadersInResponseOutput structure." - - prefix_headers: dict[str, str] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpPrefixHeadersInput(_SerdeShape): - "Dataclass for HttpPrefixHeadersInput structure." - - foo: str | None = ... - foo_map: dict[str, str] | None = ... - -class HttpPrefixHeadersInputDict(TypedDict, total=False): - "Dictionary form of `HttpPrefixHeadersInput`." - - foo: str | None - foo_map: Mapping[str, str] | None - -@dataclass(kw_only=True) -class HttpPrefixHeadersOutput(_SerdeShape): - "Dataclass for HttpPrefixHeadersOutput structure." - - foo: str | None = ... - foo_map: dict[str, str] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpRequestWithFloatLabelsInput(_SerdeShape): - "Dataclass for HttpRequestWithFloatLabelsInput structure." - - float_: float | None = ... - double: float | None = ... - -class HttpRequestWithFloatLabelsInputDict(TypedDict, total=False): - "Dictionary form of `HttpRequestWithFloatLabelsInput`." - - float_: Required[float] - double: Required[float] - -@dataclass(kw_only=True) -class HttpRequestWithGreedyLabelInPathInput(_SerdeShape): - "Dataclass for HttpRequestWithGreedyLabelInPathInput structure." - - foo: str | None = ... - baz: str | None = ... - -class HttpRequestWithGreedyLabelInPathInputDict(TypedDict, total=False): - "Dictionary form of `HttpRequestWithGreedyLabelInPathInput`." - - foo: Required[str] - baz: Required[str] - -@dataclass(kw_only=True) -class HttpRequestWithLabelsAndTimestampFormatInput(_SerdeShape): - "Dataclass for HttpRequestWithLabelsAndTimestampFormatInput structure." - - member_epoch_seconds: datetime | None = ... - member_http_date: datetime | None = ... - member_date_time: datetime | None = ... - default_format: datetime | None = ... - target_epoch_seconds: datetime | None = ... - target_http_date: datetime | None = ... - target_date_time: datetime | None = ... - -class HttpRequestWithLabelsAndTimestampFormatInputDict(TypedDict, total=False): - "Dictionary form of `HttpRequestWithLabelsAndTimestampFormatInput`." - - member_epoch_seconds: Required[datetime] - member_http_date: Required[datetime] - member_date_time: Required[datetime] - default_format: Required[datetime] - target_epoch_seconds: Required[datetime] - target_http_date: Required[datetime] - target_date_time: Required[datetime] - -@dataclass(kw_only=True) -class HttpRequestWithLabelsInput(_SerdeShape): - "Dataclass for HttpRequestWithLabelsInput structure." - - string: str | None = ... - short: int | None = ... - integer: int | None = ... - long: int | None = ... - float_: float | None = ... - double: float | None = ... - boolean: bool | None = ... - "Serialized in the path as true or false." - timestamp: datetime | None = ... - """ - Note that this member has no format, so it's serialized as an RFC 3399 - date-time. - """ - -class HttpRequestWithLabelsInputDict(TypedDict, total=False): - "Dictionary form of `HttpRequestWithLabelsInput`." - - string: Required[str] - short: Required[int] - integer: Required[int] - long: Required[int] - float_: Required[float] - double: Required[float] - boolean: Required[bool] - "Serialized in the path as true or false." - timestamp: Required[datetime] - """ - Note that this member has no format, so it's serialized as an RFC 3399 - date-time. - """ - -@dataclass(kw_only=True) -class HttpRequestWithRegexLiteralInput(_SerdeShape): - "Dataclass for HttpRequestWithRegexLiteralInput structure." - - str_: str | None = ... - -class HttpRequestWithRegexLiteralInputDict(TypedDict, total=False): - "Dictionary form of `HttpRequestWithRegexLiteralInput`." - - str_: Required[str] - -@dataclass(kw_only=True) -class HttpResponseCodeOutput(_SerdeShape): - "Dataclass for HttpResponseCodeOutput structure." - - status: int | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class IgnoreQueryParamsInResponseOutput(_SerdeShape): - "Dataclass for IgnoreQueryParamsInResponseOutput structure." - - baz: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class InvalidGreeting(ServiceError, _SerdeShape): - "This error is thrown when an invalid greeting value is provided." - - response_metadata: ErrorResponseMetadata = ... - """ - Metadata about the response that produced this error. - - Use this to read the error code or to recover the request identifiers a - service's support team needs in order to investigate a call. Members of - the metadata are individually optional. - """ - -@dataclass(kw_only=True) -class MalformedAcceptWithGenericStringOutput(_SerdeShape): - "Dataclass for MalformedAcceptWithGenericStringOutput structure." - - payload: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedAcceptWithPayloadOutput(_SerdeShape): - "Dataclass for MalformedAcceptWithPayloadOutput structure." - - payload: bytes | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedBlobInput(_SerdeShape): - "Dataclass for MalformedBlobInput structure." - - blob: bytes | None = ... - -class MalformedBlobInputDict(TypedDict, total=False): - "Dictionary form of `MalformedBlobInput`." - - blob: bytes | None - -@dataclass(kw_only=True) -class MalformedBooleanInput(_SerdeShape): - "Dataclass for MalformedBooleanInput structure." - - boolean_in_body: bool | None = ... - boolean_in_path: bool | None = ... - boolean_in_query: bool | None = ... - boolean_in_header: bool | None = ... - -class MalformedBooleanInputDict(TypedDict, total=False): - "Dictionary form of `MalformedBooleanInput`." - - boolean_in_body: bool | None - boolean_in_path: Required[bool] - boolean_in_query: bool | None - boolean_in_header: bool | None - -@dataclass(kw_only=True) -class MalformedByteInput(_SerdeShape): - "Dataclass for MalformedByteInput structure." - - byte_in_body: int | None = ... - byte_in_path: int | None = ... - byte_in_query: int | None = ... - byte_in_header: int | None = ... - -class MalformedByteInputDict(TypedDict, total=False): - "Dictionary form of `MalformedByteInput`." - - byte_in_body: int | None - byte_in_path: Required[int] - byte_in_query: int | None - byte_in_header: int | None - -@dataclass(kw_only=True) -class MalformedContentTypeWithGenericStringInput(_SerdeShape): - "Dataclass for MalformedContentTypeWithGenericStringInput structure." - - payload: str | None = ... - -class MalformedContentTypeWithGenericStringInputDict(TypedDict, total=False): - "Dictionary form of `MalformedContentTypeWithGenericStringInput`." - - payload: str | None - -@dataclass(kw_only=True) -class MalformedContentTypeWithPayloadInput(_SerdeShape): - "Dataclass for MalformedContentTypeWithPayloadInput structure." - - payload: bytes | None = ... - -class MalformedContentTypeWithPayloadInputDict(TypedDict, total=False): - "Dictionary form of `MalformedContentTypeWithPayloadInput`." - - payload: bytes | None - -@dataclass(kw_only=True) -class MalformedContentTypeWithoutBodyEmptyInputInput(_SerdeShape): - "Dataclass for MalformedContentTypeWithoutBodyEmptyInputInput structure." - - header: str | None = ... - -class MalformedContentTypeWithoutBodyEmptyInputInputDict(TypedDict, total=False): - "Dictionary form of `MalformedContentTypeWithoutBodyEmptyInputInput`." - - header: str | None - -@dataclass(kw_only=True) -class MalformedDoubleInput(_SerdeShape): - "Dataclass for MalformedDoubleInput structure." - - double_in_body: float | None = ... - double_in_path: float | None = ... - double_in_query: float | None = ... - double_in_header: float | None = ... - -class MalformedDoubleInputDict(TypedDict, total=False): - "Dictionary form of `MalformedDoubleInput`." - - double_in_body: float | None - double_in_path: Required[float] - double_in_query: float | None - double_in_header: float | None - -@dataclass(kw_only=True) -class MalformedFloatInput(_SerdeShape): - "Dataclass for MalformedFloatInput structure." - - float_in_body: float | None = ... - float_in_path: float | None = ... - float_in_query: float | None = ... - float_in_header: float | None = ... - -class MalformedFloatInputDict(TypedDict, total=False): - "Dictionary form of `MalformedFloatInput`." - - float_in_body: float | None - float_in_path: Required[float] - float_in_query: float | None - float_in_header: float | None - -@dataclass(kw_only=True) -class MalformedIntegerInput(_SerdeShape): - "Dataclass for MalformedIntegerInput structure." - - integer_in_body: int | None = ... - integer_in_path: int | None = ... - integer_in_query: int | None = ... - integer_in_header: int | None = ... - -class MalformedIntegerInputDict(TypedDict, total=False): - "Dictionary form of `MalformedIntegerInput`." - - integer_in_body: int | None - integer_in_path: Required[int] - integer_in_query: int | None - integer_in_header: int | None - -@dataclass(kw_only=True) -class MalformedListInput(_SerdeShape): - "Dataclass for MalformedListInput structure." - - body_list: list[str] | None = ... - -class MalformedListInputDict(TypedDict, total=False): - "Dictionary form of `MalformedListInput`." - - body_list: Sequence[str] | None - -@dataclass(kw_only=True) -class MalformedLongInput(_SerdeShape): - "Dataclass for MalformedLongInput structure." - - long_in_body: int | None = ... - long_in_path: int | None = ... - long_in_query: int | None = ... - long_in_header: int | None = ... - -class MalformedLongInputDict(TypedDict, total=False): - "Dictionary form of `MalformedLongInput`." - - long_in_body: int | None - long_in_path: Required[int] - long_in_query: int | None - long_in_header: int | None - -@dataclass(kw_only=True) -class MalformedMapInput(_SerdeShape): - "Dataclass for MalformedMapInput structure." - - body_map: dict[str, str] | None = ... - -class MalformedMapInputDict(TypedDict, total=False): - "Dictionary form of `MalformedMapInput`." - - body_map: Mapping[str, str] | None - -@dataclass(kw_only=True) -class MalformedRequestBodyInput(_SerdeShape): - "Dataclass for MalformedRequestBodyInput structure." - - int_: int | None = ... - float_: float | None = ... +class Unit(_SerdeShape): + pass -class MalformedRequestBodyInputDict(TypedDict, total=False): - "Dictionary form of `MalformedRequestBodyInput`." - - int_: int | None - float_: float | None - -@dataclass(kw_only=True) -class MalformedShortInput(_SerdeShape): - "Dataclass for MalformedShortInput structure." - - short_in_body: int | None = ... - short_in_path: int | None = ... - short_in_query: int | None = ... - short_in_header: int | None = ... - -class MalformedShortInputDict(TypedDict, total=False): - "Dictionary form of `MalformedShortInput`." - - short_in_body: int | None - short_in_path: Required[int] - short_in_query: int | None - short_in_header: int | None - -@dataclass(kw_only=True) -class MalformedStringInput(_SerdeShape): - "Dataclass for MalformedStringInput structure." - - blob: str | None = ... - -class MalformedStringInputDict(TypedDict, total=False): - "Dictionary form of `MalformedStringInput`." - - blob: str | None - -@dataclass(kw_only=True) -class MalformedTimestampBodyDateTimeInput(_SerdeShape): - "Dataclass for MalformedTimestampBodyDateTimeInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampBodyDateTimeInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampBodyDateTimeInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampBodyDefaultInput(_SerdeShape): - "Dataclass for MalformedTimestampBodyDefaultInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampBodyDefaultInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampBodyDefaultInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampBodyHttpDateInput(_SerdeShape): - "Dataclass for MalformedTimestampBodyHttpDateInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampBodyHttpDateInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampBodyHttpDateInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampHeaderDateTimeInput(_SerdeShape): - "Dataclass for MalformedTimestampHeaderDateTimeInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampHeaderDateTimeInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampHeaderDateTimeInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampHeaderDefaultInput(_SerdeShape): - "Dataclass for MalformedTimestampHeaderDefaultInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampHeaderDefaultInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampHeaderDefaultInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampHeaderEpochInput(_SerdeShape): - "Dataclass for MalformedTimestampHeaderEpochInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampHeaderEpochInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampHeaderEpochInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampPathDefaultInput(_SerdeShape): - "Dataclass for MalformedTimestampPathDefaultInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampPathDefaultInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampPathDefaultInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampPathEpochInput(_SerdeShape): - "Dataclass for MalformedTimestampPathEpochInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampPathEpochInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampPathEpochInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampPathHttpDateInput(_SerdeShape): - "Dataclass for MalformedTimestampPathHttpDateInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampPathHttpDateInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampPathHttpDateInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampQueryDefaultInput(_SerdeShape): - "Dataclass for MalformedTimestampQueryDefaultInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampQueryDefaultInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampQueryDefaultInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampQueryEpochInput(_SerdeShape): - "Dataclass for MalformedTimestampQueryEpochInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampQueryEpochInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampQueryEpochInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedTimestampQueryHttpDateInput(_SerdeShape): - "Dataclass for MalformedTimestampQueryHttpDateInput structure." - - timestamp: datetime | None = ... - -class MalformedTimestampQueryHttpDateInputDict(TypedDict, total=False): - "Dictionary form of `MalformedTimestampQueryHttpDateInput`." - - timestamp: Required[datetime] - -@dataclass(kw_only=True) -class MalformedUnionInput(_SerdeShape): - "Dataclass for MalformedUnionInput structure." - - union: SimpleUnion | None = ... - -class MalformedUnionInputDict(TypedDict, total=False): - "Dictionary form of `MalformedUnionInput`." - - union: SimpleUnion | SimpleUnionDict | None - -@dataclass(kw_only=True) -class MediaTypeHeaderInput(_SerdeShape): - "Dataclass for MediaTypeHeaderInput structure." - - json: str | None = ... - -class MediaTypeHeaderInputDict(TypedDict, total=False): - "Dictionary form of `MediaTypeHeaderInput`." - - json: str | None - -@dataclass(kw_only=True) -class MediaTypeHeaderOutput(_SerdeShape): - "Dataclass for MediaTypeHeaderOutput structure." - - json: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass -class MyUnionStringValue(_SerdeShape): - value: str - -@dataclass -class MyUnionBooleanValue(_SerdeShape): - value: bool - -@dataclass -class MyUnionNumberValue(_SerdeShape): - value: int - -@dataclass -class MyUnionBlobValue(_SerdeShape): - value: bytes - -@dataclass -class MyUnionTimestampValue(_SerdeShape): - value: datetime - -@dataclass -class MyUnionEnumValue(_SerdeShape): - value: str - -@dataclass -class MyUnionListValue(_SerdeShape): - value: list[str] - -@dataclass -class MyUnionMapValue(_SerdeShape): - value: dict[str, str] - -@dataclass -class MyUnionStructureValue(_SerdeShape): - value: GreetingStruct - -@dataclass -class MyUnionRenamedStructureValue(_SerdeShape): - value: RenamedGreeting - -@dataclass -class MyUnionUnionValue(_SerdeShape): - value: NestedUnion - -@dataclass -class MyUnionUnknown(_SerdeShape): - """ - Represents an unknown variant. - - If you receive this value, you will need to update your library to - receive the parsed value. - - This value may not be deliberately sent. - """ - - tag: str - -MyUnion = ( - MyUnionStringValue - | MyUnionBooleanValue - | MyUnionNumberValue - | MyUnionBlobValue - | MyUnionTimestampValue - | MyUnionEnumValue - | MyUnionListValue - | MyUnionMapValue - | MyUnionStructureValue - | MyUnionRenamedStructureValue - | MyUnionUnionValue - | MyUnionUnknown -) -"A union with a representative set of types for members." - -class _MyUnionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> MyUnion: ... - -class MyUnionStringValueDict(TypedDict): - string_value: str - -class MyUnionBooleanValueDict(TypedDict): - boolean_value: bool - -class MyUnionNumberValueDict(TypedDict): - number_value: int - -class MyUnionBlobValueDict(TypedDict): - blob_value: bytes - -class MyUnionTimestampValueDict(TypedDict): - timestamp_value: datetime - -class MyUnionEnumValueDict(TypedDict): - enum_value: str - -class MyUnionListValueDict(TypedDict): - list_value: Sequence[str] - -class MyUnionMapValueDict(TypedDict): - map_value: Mapping[str, str] - -class MyUnionStructureValueDict(TypedDict): - structure_value: GreetingStruct | GreetingStructDict - -class MyUnionRenamedStructureValueDict(TypedDict): - renamed_structure_value: RenamedGreeting | RenamedGreetingDict - -class MyUnionUnionValueDict(TypedDict): - union_value: NestedUnion | NestedUnionDict - -MyUnionDict = ( - MyUnionStringValueDict - | MyUnionBooleanValueDict - | MyUnionNumberValueDict - | MyUnionBlobValueDict - | MyUnionTimestampValueDict - | MyUnionEnumValueDict - | MyUnionListValueDict - | MyUnionMapValueDict - | MyUnionStructureValueDict - | MyUnionRenamedStructureValueDict - | MyUnionUnionValueDict -) -"Dictionary form of `MyUnion`, setting exactly one variant." - -@dataclass(kw_only=True) -class NestedPayload(_SerdeShape): - "Dataclass for NestedPayload structure." - - greeting: str | None = ... - name: str | None = ... - -class NestedPayloadDict(TypedDict, total=False): - "Dictionary form of `NestedPayload`." - - greeting: str | None - name: str | None - -@dataclass -class NestedUnionStringValue(_SerdeShape): - value: str - -@dataclass -class NestedUnionUnknown(_SerdeShape): - """ - Represents an unknown variant. - - If you receive this value, you will need to update your library to - receive the parsed value. - - This value may not be deliberately sent. - """ - - tag: str - -NestedUnion = NestedUnionStringValue | NestedUnionUnknown -"A union used to test unions nested inside unions." - -class _NestedUnionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> NestedUnion: ... - -class NestedUnionStringValueDict(TypedDict): - string_value: str - -NestedUnionDict = NestedUnionStringValueDict -"Dictionary form of `NestedUnion`, setting exactly one variant." - -@dataclass(kw_only=True) -class NoInputAndOutputOutput(_SerdeShape): - "Dataclass for NoInputAndOutputOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class OmitsNullSerializesEmptyStringInput(_SerdeShape): - "Dataclass for OmitsNullSerializesEmptyStringInput structure." - - null_value: str | None = ... - empty_string: str | None = ... - -class OmitsNullSerializesEmptyStringInputDict(TypedDict, total=False): - "Dictionary form of `OmitsNullSerializesEmptyStringInput`." - - null_value: str | None - empty_string: str | None - -@dataclass(kw_only=True) -class OmitsSerializingEmptyListsInput(_SerdeShape): - "Dataclass for OmitsSerializingEmptyListsInput structure." - - query_string_list: list[str] | None = ... - query_integer_list: list[int] | None = ... - query_double_list: list[float] | None = ... - query_boolean_list: list[bool] | None = ... - query_timestamp_list: list[datetime] | None = ... - query_enum_list: list[str] | None = ... - query_integer_enum_list: list[int] | None = ... - -class OmitsSerializingEmptyListsInputDict(TypedDict, total=False): - "Dictionary form of `OmitsSerializingEmptyListsInput`." - - query_string_list: Sequence[str] | None - query_integer_list: Sequence[int] | None - query_double_list: Sequence[float] | None - query_boolean_list: Sequence[bool] | None - query_timestamp_list: Sequence[datetime] | None - query_enum_list: Sequence[str] | None - query_integer_enum_list: Sequence[int] | None - -@dataclass(kw_only=True) -class OperationWithDefaultsInput(_SerdeShape): - "Dataclass for OperationWithDefaultsInput structure." - - defaults: Defaults | None = ... - client_optional_defaults: ClientOptionalDefaults | None = ... - top_level_default: str | None = ... - other_top_level_default: int | None = ... - -class OperationWithDefaultsInputDict(TypedDict, total=False): - "Dictionary form of `OperationWithDefaultsInput`." - - defaults: Defaults | DefaultsDict | None - client_optional_defaults: ClientOptionalDefaults | ClientOptionalDefaultsDict | None - top_level_default: str | None - other_top_level_default: int | None - -@dataclass(kw_only=True) -class OperationWithDefaultsOutput(_SerdeShape): - "Dataclass for OperationWithDefaultsOutput structure." - - default_string: str | None = ... - default_boolean: bool | None = ... - default_list: list[str] | None = ... - default_document_map: Document | None = ... - default_document_string: Document | None = ... - default_document_boolean: Document | None = ... - default_document_list: Document | None = ... - default_null_document: Document | None = ... - default_timestamp: datetime | None = ... - default_blob: bytes | None = ... - default_byte: int | None = ... - default_short: int | None = ... - default_integer: int | None = ... - default_long: int | None = ... - default_float: float | None = ... - default_double: float | None = ... - default_map: dict[str, str] | None = ... - default_enum: str | None = ... - default_int_enum: int | None = ... - empty_string: str | None = ... - false_boolean: bool | None = ... - empty_blob: bytes | None = ... - zero_byte: int | None = ... - zero_short: int | None = ... - zero_integer: int | None = ... - zero_long: int | None = ... - zero_float: float | None = ... - zero_double: float | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class OperationWithNestedStructureInput(_SerdeShape): - "Dataclass for OperationWithNestedStructureInput structure." - - top_level: TopLevel | None = ... - -class OperationWithNestedStructureInputDict(TypedDict, total=False): - "Dictionary form of `OperationWithNestedStructureInput`." - - top_level: Required[TopLevel | TopLevelDict] - -@dataclass(kw_only=True) -class OperationWithNestedStructureOutput(_SerdeShape): - "Dataclass for OperationWithNestedStructureOutput structure." - - dialog: Dialog - dialog_list: list[Dialog] | None = ... - dialog_map: dict[str, Dialog] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class PayloadConfig(_SerdeShape): - "Dataclass for PayloadConfig structure." - - data: int | None = ... - -class PayloadConfigDict(TypedDict, total=False): - "Dictionary form of `PayloadConfig`." - - data: int | None - -@dataclass -class PlayerActionQuit(_SerdeShape): - "Quit the game." - - value: Unit - -@dataclass -class PlayerActionUnknown(_SerdeShape): - """ - Represents an unknown variant. - - If you receive this value, you will need to update your library to - receive the parsed value. - - This value may not be deliberately sent. - """ - - tag: str - -PlayerAction = PlayerActionQuit | PlayerActionUnknown - -class _PlayerActionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PlayerAction: ... - -class PlayerActionQuitDict(TypedDict): - quit: Unit | UnitDict - "Quit the game." - -PlayerActionDict = PlayerActionQuitDict -"Dictionary form of `PlayerAction`, setting exactly one variant." - -@dataclass(kw_only=True) -class PostPlayerActionInput(_SerdeShape): - "Dataclass for PostPlayerActionInput structure." - - action: PlayerAction | None = ... - -class PostPlayerActionInputDict(TypedDict, total=False): - "Dictionary form of `PostPlayerActionInput`." - - action: PlayerAction | PlayerActionDict | None - -@dataclass(kw_only=True) -class PostPlayerActionOutput(_SerdeShape): - "Dataclass for PostPlayerActionOutput structure." - - action: PlayerAction - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class PostUnionWithJsonNameInput(_SerdeShape): - "Dataclass for PostUnionWithJsonNameInput structure." - - value: UnionWithJsonName | None = ... - -class PostUnionWithJsonNameInputDict(TypedDict, total=False): - "Dictionary form of `PostUnionWithJsonNameInput`." - - value: UnionWithJsonName | UnionWithJsonNameDict | None - -@dataclass(kw_only=True) -class PostUnionWithJsonNameOutput(_SerdeShape): - "Dataclass for PostUnionWithJsonNameOutput structure." - - value: UnionWithJsonName - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class PutWithContentEncodingInput(_SerdeShape): - "Dataclass for PutWithContentEncodingInput structure." - - encoding: str | None = ... - data: str | None = ... - -class PutWithContentEncodingInputDict(TypedDict, total=False): - "Dictionary form of `PutWithContentEncodingInput`." - - encoding: str | None - data: str | None - -@dataclass(kw_only=True) -class QueryIdempotencyTokenAutoFillInput(_SerdeShape): - "Dataclass for QueryIdempotencyTokenAutoFillInput structure." - - token: str | None = ... - "This field is autopopulated if not provided." - -class QueryIdempotencyTokenAutoFillInputDict(TypedDict, total=False): - "Dictionary form of `QueryIdempotencyTokenAutoFillInput`." - - token: str | None - "This field is autopopulated if not provided." - -@dataclass(kw_only=True) -class QueryParamsAsStringListMapInput(_SerdeShape): - "Dataclass for QueryParamsAsStringListMapInput structure." - - qux: str | None = ... - foo: dict[str, list[str]] | None = ... - -class QueryParamsAsStringListMapInputDict(TypedDict, total=False): - "Dictionary form of `QueryParamsAsStringListMapInput`." - - qux: str | None - foo: Mapping[str, Sequence[str]] | None - -@dataclass(kw_only=True) -class QueryPrecedenceInput(_SerdeShape): - "Dataclass for QueryPrecedenceInput structure." - - foo: str | None = ... - baz: dict[str, str] | None = ... - -class QueryPrecedenceInputDict(TypedDict, total=False): - "Dictionary form of `QueryPrecedenceInput`." - - foo: str | None - baz: Mapping[str, str] | None - -@dataclass(kw_only=True) -class RecursiveShapesInputOutputNested1(_SerdeShape): - "Dataclass for RecursiveShapesInputOutputNested1 structure." - - foo: str | None = ... - nested: RecursiveShapesInputOutputNested2 | None = ... - -class RecursiveShapesInputOutputNested1Dict(TypedDict, total=False): - "Dictionary form of `RecursiveShapesInputOutputNested1`." - - foo: str | None - nested: ( - RecursiveShapesInputOutputNested2 | RecursiveShapesInputOutputNested2Dict | None - ) - -@dataclass(kw_only=True) -class RecursiveShapesInputOutputNested2(_SerdeShape): - "Dataclass for RecursiveShapesInputOutputNested2 structure." - - bar: str | None = ... - recursive_member: RecursiveShapesInputOutputNested1 | None = ... - -class RecursiveShapesInputOutputNested2Dict(TypedDict, total=False): - "Dictionary form of `RecursiveShapesInputOutputNested2`." - - bar: str | None - recursive_member: ( - RecursiveShapesInputOutputNested1 | RecursiveShapesInputOutputNested1Dict | None - ) - -@dataclass(kw_only=True) -class ResponseCodeRequiredOutput(_SerdeShape): - "Dataclass for ResponseCodeRequiredOutput structure." - - response_code: int - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass -class SimpleUnionInt(_SerdeShape): - value: int - -@dataclass -class SimpleUnionString(_SerdeShape): - value: str - -@dataclass -class SimpleUnionUnknown(_SerdeShape): - """ - Represents an unknown variant. - - If you receive this value, you will need to update your library to - receive the parsed value. - - This value may not be deliberately sent. - """ - - tag: str - -SimpleUnion = SimpleUnionInt | SimpleUnionString | SimpleUnionUnknown - -class _SimpleUnionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SimpleUnion: ... - -class SimpleUnionIntDict(TypedDict): - int_: int - -class SimpleUnionStringDict(TypedDict): - string: str - -SimpleUnionDict = SimpleUnionIntDict | SimpleUnionStringDict -"Dictionary form of `SimpleUnion`, setting exactly one variant." - -@dataclass(kw_only=True) -class StreamingTraitsRequireLengthInput(_SerdeShape): - "Dataclass for StreamingTraitsRequireLengthInput structure." - - foo: str | None = ... - blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... - -class StreamingTraitsRequireLengthInputDict(TypedDict, total=False): - """ - Dictionary form of `StreamingTraitsRequireLengthInput` that either - client accepts. Its streaming body is one a sync client can send. Use - `AsyncStreamingTraitsRequireLengthInputDict` for an async stream. - """ - - foo: str | None - blob: _smithy_core_interfaces_StreamingBlob | None - -class AsyncStreamingTraitsRequireLengthInputDict(TypedDict, total=False): - """ - Dictionary form of `StreamingTraitsRequireLengthInput` for the async - client. Its streaming body may also be an async stream. - """ - - foo: str | None - blob: _smithy_core_aio_interfaces_StreamingBlob | None - -class StringEnum(UnknownEnumMixin, StrEnum): - V = "enumvalue" - -@dataclass(kw_only=True) -class StructureListMember(_SerdeShape): - "Dataclass for StructureListMember structure." - - a: str | None = ... - b: str | None = ... - -class StructureListMemberDict(TypedDict, total=False): - "Dictionary form of `StructureListMember`." - - a: str | None - b: str | None - -@dataclass(kw_only=True) -class TestConfig(_SerdeShape): - "Dataclass for TestConfig structure." - - timeout: int | None = ... - -class TestConfigDict(TypedDict, total=False): - "Dictionary form of `TestConfig`." - - timeout: int | None - -class TestEnum(UnknownEnumMixin, StrEnum): - FOO = "FOO" - BAR = "BAR" - BAZ = "BAZ" - -class TestIntEnum(UnknownEnumMixin, IntEnum): - ONE = 1 - TWO = 2 - -@dataclass(kw_only=True) -class TopLevel(_SerdeShape): - "Dataclass for TopLevel structure." - - dialog: Dialog - dialog_list: list[Dialog] | None = ... - dialog_map: dict[str, Dialog] | None = ... - -class TopLevelDict(TypedDict, total=False): - "Dictionary form of `TopLevel`." - - dialog: Required[Dialog | DialogDict] - dialog_list: Sequence[Dialog | DialogDict] | None - dialog_map: Mapping[str, Dialog | DialogDict] | None - -@dataclass -class UnionPayloadGreeting(_SerdeShape): - value: str - -@dataclass -class UnionPayloadUnknown(_SerdeShape): - """ - Represents an unknown variant. - - If you receive this value, you will need to update your library to - receive the parsed value. - - This value may not be deliberately sent. - """ - - tag: str - -UnionPayload = UnionPayloadGreeting | UnionPayloadUnknown - -class _UnionPayloadDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> UnionPayload: ... - -class UnionPayloadGreetingDict(TypedDict): - greeting: str - -UnionPayloadDict = UnionPayloadGreetingDict -"Dictionary form of `UnionPayload`, setting exactly one variant." - -@dataclass -class UnionWithJsonNameFoo(_SerdeShape): - value: str - -@dataclass -class UnionWithJsonNameBar(_SerdeShape): - value: str - -@dataclass -class UnionWithJsonNameBaz(_SerdeShape): - value: str - -@dataclass -class UnionWithJsonNameUnknown(_SerdeShape): - """ - Represents an unknown variant. - - If you receive this value, you will need to update your library to - receive the parsed value. - - This value may not be deliberately sent. - """ - - tag: str - -UnionWithJsonName = ( - UnionWithJsonNameFoo - | UnionWithJsonNameBar - | UnionWithJsonNameBaz - | UnionWithJsonNameUnknown -) - -class _UnionWithJsonNameDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> UnionWithJsonName: ... - -class UnionWithJsonNameFooDict(TypedDict): - foo: str - -class UnionWithJsonNameBarDict(TypedDict): - bar: str - -class UnionWithJsonNameBazDict(TypedDict): - baz: str - -UnionWithJsonNameDict = ( - UnionWithJsonNameFooDict | UnionWithJsonNameBarDict | UnionWithJsonNameBazDict -) -"Dictionary form of `UnionWithJsonName`, setting exactly one variant." - -@dataclass(kw_only=True) -class RenamedGreeting(_SerdeShape): - "Dataclass for GreetingStruct structure." - - salutation: str | None = ... - -class RenamedGreetingDict(TypedDict, total=False): - "Dictionary form of `RenamedGreeting`." - - salutation: str | None - -class FooEnum(UnknownEnumMixin, StrEnum): - FOO = "Foo" - BAZ = "Baz" - BAR = "Bar" - ONE = "1" - ZERO = "0" - -@dataclass(kw_only=True) -class GreetingStruct(_SerdeShape): - "Dataclass for GreetingStruct structure." - - hi: str | None = ... - -class GreetingStructDict(TypedDict, total=False): - "Dictionary form of `GreetingStruct`." - - hi: str | None - -class IntegerEnum(UnknownEnumMixin, IntEnum): - A = 1 - B = 2 - C = 3 - -@dataclass(kw_only=True) -class AllQueryStringTypesOutput(_SerdeShape): - "Dataclass for AllQueryStringTypesOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class ConstantAndVariableQueryStringOutput(_SerdeShape): - "Dataclass for ConstantAndVariableQueryStringOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class ConstantQueryStringOutput(_SerdeShape): - "Dataclass for ConstantQueryStringOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class DatetimeOffsetsInput(_SerdeShape): - "Dataclass for DatetimeOffsetsInput structure." - -class DatetimeOffsetsInputDict(TypedDict, total=False): - "Dictionary form of `DatetimeOffsetsInput`." - -@dataclass(kw_only=True) -class DocumentTypeInput(_SerdeShape): - "Dataclass for DocumentTypeInput structure." - - string_value: str | None = ... - document_value: Document | None = ... - -class DocumentTypeInputDict(TypedDict, total=False): - "Dictionary form of `DocumentTypeInput`." - - string_value: str | None - document_value: Document | None - -@dataclass(kw_only=True) -class DocumentTypeOutput(_SerdeShape): - "Dataclass for DocumentTypeOutput structure." - - string_value: str | None = ... - document_value: Document | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class DocumentTypeAsMapValueInput(_SerdeShape): - "Dataclass for DocumentTypeAsMapValueInput structure." - - doc_valued_map: dict[str, Document] | None = ... - -class DocumentTypeAsMapValueInputDict(TypedDict, total=False): - "Dictionary form of `DocumentTypeAsMapValueInput`." - - doc_valued_map: Mapping[str, Document] | None - -@dataclass(kw_only=True) -class DocumentTypeAsMapValueOutput(_SerdeShape): - "Dataclass for DocumentTypeAsMapValueOutput structure." - - doc_valued_map: dict[str, Document] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class DocumentTypeAsPayloadInput(_SerdeShape): - "Dataclass for DocumentTypeAsPayloadInput structure." - - document_value: Document | None = ... - -class DocumentTypeAsPayloadInputDict(TypedDict, total=False): - "Dictionary form of `DocumentTypeAsPayloadInput`." - - document_value: Document | None - -@dataclass(kw_only=True) -class DocumentTypeAsPayloadOutput(_SerdeShape): - "Dataclass for DocumentTypeAsPayloadOutput structure." - - document_value: Document | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class EndpointOperationInput(_SerdeShape): - "Dataclass for EndpointOperationInput structure." - -class EndpointOperationInputDict(TypedDict, total=False): - "Dictionary form of `EndpointOperationInput`." - -@dataclass(kw_only=True) -class EndpointOperationOutput(_SerdeShape): - "Dataclass for EndpointOperationOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class EndpointWithHostLabelOperationInput(_SerdeShape): - "Dataclass for EndpointWithHostLabelOperationInput structure." - - label: str | None = ... - -class EndpointWithHostLabelOperationInputDict(TypedDict, total=False): - "Dictionary form of `EndpointWithHostLabelOperationInput`." - - label: Required[str] - -@dataclass(kw_only=True) -class EndpointWithHostLabelOperationOutput(_SerdeShape): - "Dataclass for EndpointWithHostLabelOperationOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class FractionalSecondsInput(_SerdeShape): - "Dataclass for FractionalSecondsInput structure." - -class FractionalSecondsInputDict(TypedDict, total=False): - "Dictionary form of `FractionalSecondsInput`." - -@dataclass(kw_only=True) -class GreetingWithErrorsInput(_SerdeShape): - "Dataclass for GreetingWithErrorsInput structure." - -class GreetingWithErrorsInputDict(TypedDict, total=False): - "Dictionary form of `GreetingWithErrorsInput`." - -@dataclass(kw_only=True) -class HostWithPathOperationInput(_SerdeShape): - "Dataclass for HostWithPathOperationInput structure." - -class HostWithPathOperationInputDict(TypedDict, total=False): - "Dictionary form of `HostWithPathOperationInput`." - -@dataclass(kw_only=True) -class HostWithPathOperationOutput(_SerdeShape): - "Dataclass for HostWithPathOperationOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpChecksumRequiredInput(_SerdeShape): - "Dataclass for HttpChecksumRequiredInput structure." - - foo: str | None = ... - -class HttpChecksumRequiredInputDict(TypedDict, total=False): - "Dictionary form of `HttpChecksumRequiredInput`." - - foo: str | None - -@dataclass(kw_only=True) -class HttpChecksumRequiredOutput(_SerdeShape): - "Dataclass for HttpChecksumRequiredOutput structure." - - foo: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpEnumPayloadInput(_SerdeShape): - "Dataclass for HttpEnumPayloadInput structure." - - payload: str | None = ... - -class HttpEnumPayloadInputDict(TypedDict, total=False): - "Dictionary form of `HttpEnumPayloadInput`." - - payload: str | None - -@dataclass(kw_only=True) -class HttpEnumPayloadOutput(_SerdeShape): - "Dataclass for HttpEnumPayloadOutput structure." - - payload: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpPayloadTraitsInput(_SerdeShape): - "Dataclass for HttpPayloadTraitsInput structure." - - foo: str | None = ... - blob: bytes | None = ... - -class HttpPayloadTraitsInputDict(TypedDict, total=False): - "Dictionary form of `HttpPayloadTraitsInput`." - - foo: str | None - blob: bytes | None - -@dataclass(kw_only=True) -class HttpPayloadTraitsOutput(_SerdeShape): - "Dataclass for HttpPayloadTraitsOutput structure." - - foo: str | None = ... - blob: bytes | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpPayloadTraitsWithMediaTypeInput(_SerdeShape): - "Dataclass for HttpPayloadTraitsWithMediaTypeInput structure." - - foo: str | None = ... - blob: bytes | None = ... - -class HttpPayloadTraitsWithMediaTypeInputDict(TypedDict, total=False): - "Dictionary form of `HttpPayloadTraitsWithMediaTypeInput`." - - foo: str | None - blob: bytes | None - -@dataclass(kw_only=True) -class HttpPayloadTraitsWithMediaTypeOutput(_SerdeShape): - "Dataclass for HttpPayloadTraitsWithMediaTypeOutput structure." - - foo: str | None = ... - blob: bytes | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpPayloadWithStructureInput(_SerdeShape): - "Dataclass for HttpPayloadWithStructureInput structure." - - nested: NestedPayload | None = ... - -class HttpPayloadWithStructureInputDict(TypedDict, total=False): - "Dictionary form of `HttpPayloadWithStructureInput`." - - nested: NestedPayload | NestedPayloadDict | None - -@dataclass(kw_only=True) -class HttpPayloadWithStructureOutput(_SerdeShape): - "Dataclass for HttpPayloadWithStructureOutput structure." - - nested: NestedPayload | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpPayloadWithUnionInput(_SerdeShape): - "Dataclass for HttpPayloadWithUnionInput structure." - - nested: UnionPayload | None = ... - -class HttpPayloadWithUnionInputDict(TypedDict, total=False): - "Dictionary form of `HttpPayloadWithUnionInput`." - - nested: UnionPayload | UnionPayloadDict | None - -@dataclass(kw_only=True) -class HttpPayloadWithUnionOutput(_SerdeShape): - "Dataclass for HttpPayloadWithUnionOutput structure." - - nested: UnionPayload | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpQueryParamsOnlyOperationInput(_SerdeShape): - "Dataclass for HttpQueryParamsOnlyOperationInput structure." - - query_map: dict[str, str] | None = ... - -class HttpQueryParamsOnlyOperationInputDict(TypedDict, total=False): - "Dictionary form of `HttpQueryParamsOnlyOperationInput`." - - query_map: Mapping[str, str] | None - -@dataclass(kw_only=True) -class HttpQueryParamsOnlyOperationOutput(_SerdeShape): - "Dataclass for HttpQueryParamsOnlyOperationOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpRequestWithFloatLabelsOutput(_SerdeShape): - "Dataclass for HttpRequestWithFloatLabelsOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpRequestWithGreedyLabelInPathOutput(_SerdeShape): - "Dataclass for HttpRequestWithGreedyLabelInPathOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpRequestWithLabelsOutput(_SerdeShape): - "Dataclass for HttpRequestWithLabelsOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpRequestWithLabelsAndTimestampFormatOutput(_SerdeShape): - "Dataclass for HttpRequestWithLabelsAndTimestampFormatOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpRequestWithRegexLiteralOutput(_SerdeShape): - "Dataclass for HttpRequestWithRegexLiteralOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class HttpResponseCodeInput(_SerdeShape): - "Dataclass for HttpResponseCodeInput structure." - -class HttpResponseCodeInputDict(TypedDict, total=False): - "Dictionary form of `HttpResponseCodeInput`." - -@dataclass(kw_only=True) -class HttpStringPayloadInput(_SerdeShape): - "Dataclass for HttpStringPayloadInput structure." - - payload: str | None = ... - -class HttpStringPayloadInputDict(TypedDict, total=False): - "Dictionary form of `HttpStringPayloadInput`." - - payload: str | None - -@dataclass(kw_only=True) -class HttpStringPayloadOutput(_SerdeShape): - "Dataclass for HttpStringPayloadOutput structure." - - payload: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class IgnoreQueryParamsInResponseInput(_SerdeShape): - "Dataclass for IgnoreQueryParamsInResponseInput structure." - -class IgnoreQueryParamsInResponseInputDict(TypedDict, total=False): - "Dictionary form of `IgnoreQueryParamsInResponseInput`." - -@dataclass(kw_only=True) -class InputAndOutputWithHeadersInput(_SerdeShape): - "Dataclass for InputAndOutputWithHeadersInput structure." - - header_string: str | None = ... - header_byte: int | None = ... - header_short: int | None = ... - header_integer: int | None = ... - header_long: int | None = ... - header_float: float | None = ... - header_double: float | None = ... - header_true_bool: bool | None = ... - header_false_bool: bool | None = ... - header_string_list: list[str] | None = ... - header_string_set: list[str] | None = ... - header_integer_list: list[int] | None = ... - header_boolean_list: list[bool] | None = ... - header_timestamp_list: list[datetime] | None = ... - header_enum: str | None = ... - header_enum_list: list[str] | None = ... - header_integer_enum: int | None = ... - header_integer_enum_list: list[int] | None = ... - -class InputAndOutputWithHeadersInputDict(TypedDict, total=False): - "Dictionary form of `InputAndOutputWithHeadersInput`." - - header_string: str | None - header_byte: int | None - header_short: int | None - header_integer: int | None - header_long: int | None - header_float: float | None - header_double: float | None - header_true_bool: bool | None - header_false_bool: bool | None - header_string_list: Sequence[str] | None - header_string_set: Sequence[str] | None - header_integer_list: Sequence[int] | None - header_boolean_list: Sequence[bool] | None - header_timestamp_list: Sequence[datetime] | None - header_enum: str | None - header_enum_list: Sequence[str] | None - header_integer_enum: int | None - header_integer_enum_list: Sequence[int] | None - -@dataclass(kw_only=True) -class InputAndOutputWithHeadersOutput(_SerdeShape): - "Dataclass for InputAndOutputWithHeadersOutput structure." - - header_string: str | None = ... - header_byte: int | None = ... - header_short: int | None = ... - header_integer: int | None = ... - header_long: int | None = ... - header_float: float | None = ... - header_double: float | None = ... - header_true_bool: bool | None = ... - header_false_bool: bool | None = ... - header_string_list: list[str] | None = ... - header_string_set: list[str] | None = ... - header_integer_list: list[int] | None = ... - header_boolean_list: list[bool] | None = ... - header_timestamp_list: list[datetime] | None = ... - header_enum: str | None = ... - header_enum_list: list[str] | None = ... - header_integer_enum: int | None = ... - header_integer_enum_list: list[int] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonBlobsInput(_SerdeShape): - "Dataclass for JsonBlobsInput structure." - - data: bytes | None = ... - -class JsonBlobsInputDict(TypedDict, total=False): - "Dictionary form of `JsonBlobsInput`." - - data: bytes | None - -@dataclass(kw_only=True) -class JsonBlobsOutput(_SerdeShape): - "Dataclass for JsonBlobsOutput structure." - - data: bytes | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonEnumsInput(_SerdeShape): - "Dataclass for JsonEnumsInput structure." - - foo_enum1: str | None = ... - foo_enum2: str | None = ... - foo_enum3: str | None = ... - foo_enum_list: list[str] | None = ... - foo_enum_set: list[str] | None = ... - foo_enum_map: dict[str, str] | None = ... - -class JsonEnumsInputDict(TypedDict, total=False): - "Dictionary form of `JsonEnumsInput`." - - foo_enum1: str | None - foo_enum2: str | None - foo_enum3: str | None - foo_enum_list: Sequence[str] | None - foo_enum_set: Sequence[str] | None - foo_enum_map: Mapping[str, str] | None - -@dataclass(kw_only=True) -class JsonEnumsOutput(_SerdeShape): - "Dataclass for JsonEnumsOutput structure." - - foo_enum1: str | None = ... - foo_enum2: str | None = ... - foo_enum3: str | None = ... - foo_enum_list: list[str] | None = ... - foo_enum_set: list[str] | None = ... - foo_enum_map: dict[str, str] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonIntEnumsInput(_SerdeShape): - "Dataclass for JsonIntEnumsInput structure." - - integer_enum1: int | None = ... - integer_enum2: int | None = ... - integer_enum3: int | None = ... - integer_enum_list: list[int] | None = ... - integer_enum_set: list[int] | None = ... - integer_enum_map: dict[str, int] | None = ... - -class JsonIntEnumsInputDict(TypedDict, total=False): - "Dictionary form of `JsonIntEnumsInput`." - - integer_enum1: int | None - integer_enum2: int | None - integer_enum3: int | None - integer_enum_list: Sequence[int] | None - integer_enum_set: Sequence[int] | None - integer_enum_map: Mapping[str, int] | None - -@dataclass(kw_only=True) -class JsonIntEnumsOutput(_SerdeShape): - "Dataclass for JsonIntEnumsOutput structure." - - integer_enum1: int | None = ... - integer_enum2: int | None = ... - integer_enum3: int | None = ... - integer_enum_list: list[int] | None = ... - integer_enum_set: list[int] | None = ... - integer_enum_map: dict[str, int] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonListsInput(_SerdeShape): - "Dataclass for JsonListsInput structure." - - string_list: list[str] | None = ... - string_set: list[str] | None = ... - integer_list: list[int] | None = ... - boolean_list: list[bool] | None = ... - timestamp_list: list[datetime] | None = ... - enum_list: list[str] | None = ... - int_enum_list: list[int] | None = ... - nested_string_list: list[list[str]] | None = ... - structure_list: list[StructureListMember] | None = ... - -class JsonListsInputDict(TypedDict, total=False): - "Dictionary form of `JsonListsInput`." - - string_list: Sequence[str] | None - string_set: Sequence[str] | None - integer_list: Sequence[int] | None - boolean_list: Sequence[bool] | None - timestamp_list: Sequence[datetime] | None - enum_list: Sequence[str] | None - int_enum_list: Sequence[int] | None - nested_string_list: Sequence[Sequence[str]] | None - structure_list: Sequence[StructureListMember | StructureListMemberDict] | None - -@dataclass(kw_only=True) -class JsonListsOutput(_SerdeShape): - "Dataclass for JsonListsOutput structure." - - string_list: list[str] | None = ... - string_set: list[str] | None = ... - integer_list: list[int] | None = ... - boolean_list: list[bool] | None = ... - timestamp_list: list[datetime] | None = ... - enum_list: list[str] | None = ... - int_enum_list: list[int] | None = ... - nested_string_list: list[list[str]] | None = ... - structure_list: list[StructureListMember] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonMapsInput(_SerdeShape): - "Dataclass for JsonMapsInput structure." - - dense_struct_map: dict[str, GreetingStruct] | None = ... - dense_number_map: dict[str, int] | None = ... - dense_boolean_map: dict[str, bool] | None = ... - dense_string_map: dict[str, str] | None = ... - dense_set_map: dict[str, list[str]] | None = ... - -class JsonMapsInputDict(TypedDict, total=False): - "Dictionary form of `JsonMapsInput`." - - dense_struct_map: Mapping[str, GreetingStruct | GreetingStructDict] | None - dense_number_map: Mapping[str, int] | None - dense_boolean_map: Mapping[str, bool] | None - dense_string_map: Mapping[str, str] | None - dense_set_map: Mapping[str, Sequence[str]] | None - -@dataclass(kw_only=True) -class JsonMapsOutput(_SerdeShape): - "Dataclass for JsonMapsOutput structure." - - dense_struct_map: dict[str, GreetingStruct] | None = ... - dense_number_map: dict[str, int] | None = ... - dense_boolean_map: dict[str, bool] | None = ... - dense_string_map: dict[str, str] | None = ... - dense_set_map: dict[str, list[str]] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonTimestampsInput(_SerdeShape): - "Dataclass for JsonTimestampsInput structure." - - normal: datetime | None = ... - date_time: datetime | None = ... - date_time_on_target: datetime | None = ... - epoch_seconds: datetime | None = ... - epoch_seconds_on_target: datetime | None = ... - http_date: datetime | None = ... - http_date_on_target: datetime | None = ... - -class JsonTimestampsInputDict(TypedDict, total=False): - "Dictionary form of `JsonTimestampsInput`." - - normal: datetime | None - date_time: datetime | None - date_time_on_target: datetime | None - epoch_seconds: datetime | None - epoch_seconds_on_target: datetime | None - http_date: datetime | None - http_date_on_target: datetime | None - -@dataclass(kw_only=True) -class JsonTimestampsOutput(_SerdeShape): - "Dataclass for JsonTimestampsOutput structure." - - normal: datetime | None = ... - date_time: datetime | None = ... - date_time_on_target: datetime | None = ... - epoch_seconds: datetime | None = ... - epoch_seconds_on_target: datetime | None = ... - http_date: datetime | None = ... - http_date_on_target: datetime | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class JsonUnionsInput(_SerdeShape): - "A shared structure that contains a single union member." - - contents: MyUnion | None = ... - -class JsonUnionsInputDict(TypedDict, total=False): - "Dictionary form of `JsonUnionsInput`." - - contents: MyUnion | MyUnionDict | None - -@dataclass(kw_only=True) -class JsonUnionsOutput(_SerdeShape): - "A shared structure that contains a single union member." - - contents: MyUnion | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedAcceptWithBodyInput(_SerdeShape): - "Dataclass for MalformedAcceptWithBodyInput structure." - -class MalformedAcceptWithBodyInputDict(TypedDict, total=False): - "Dictionary form of `MalformedAcceptWithBodyInput`." - -@dataclass(kw_only=True) -class MalformedAcceptWithBodyOutput(_SerdeShape): - "Dataclass for MalformedAcceptWithBodyOutput structure." - - hi: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedAcceptWithGenericStringInput(_SerdeShape): - "Dataclass for MalformedAcceptWithGenericStringInput structure." - -class MalformedAcceptWithGenericStringInputDict(TypedDict, total=False): - "Dictionary form of `MalformedAcceptWithGenericStringInput`." - -@dataclass(kw_only=True) -class MalformedAcceptWithPayloadInput(_SerdeShape): - "Dataclass for MalformedAcceptWithPayloadInput structure." - -class MalformedAcceptWithPayloadInputDict(TypedDict, total=False): - "Dictionary form of `MalformedAcceptWithPayloadInput`." - -@dataclass(kw_only=True) -class MalformedBlobOutput(_SerdeShape): - "Dataclass for MalformedBlobOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedBooleanOutput(_SerdeShape): - "Dataclass for MalformedBooleanOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedByteOutput(_SerdeShape): - "Dataclass for MalformedByteOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedContentTypeWithBodyInput(_SerdeShape): - "Dataclass for MalformedContentTypeWithBodyInput structure." - - hi: str | None = ... - -class MalformedContentTypeWithBodyInputDict(TypedDict, total=False): - "Dictionary form of `MalformedContentTypeWithBodyInput`." - - hi: str | None - -@dataclass(kw_only=True) -class MalformedContentTypeWithBodyOutput(_SerdeShape): - "Dataclass for MalformedContentTypeWithBodyOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedContentTypeWithGenericStringOutput(_SerdeShape): - "Dataclass for MalformedContentTypeWithGenericStringOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedContentTypeWithPayloadOutput(_SerdeShape): - "Dataclass for MalformedContentTypeWithPayloadOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedContentTypeWithoutBodyInput(_SerdeShape): - "Dataclass for MalformedContentTypeWithoutBodyInput structure." - -class MalformedContentTypeWithoutBodyInputDict(TypedDict, total=False): - "Dictionary form of `MalformedContentTypeWithoutBodyInput`." - -@dataclass(kw_only=True) -class MalformedContentTypeWithoutBodyOutput(_SerdeShape): - "Dataclass for MalformedContentTypeWithoutBodyOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedContentTypeWithoutBodyEmptyInputOutput(_SerdeShape): - "Dataclass for MalformedContentTypeWithoutBodyEmptyInputOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedDoubleOutput(_SerdeShape): - "Dataclass for MalformedDoubleOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedFloatOutput(_SerdeShape): - "Dataclass for MalformedFloatOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedIntegerOutput(_SerdeShape): - "Dataclass for MalformedIntegerOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedListOutput(_SerdeShape): - "Dataclass for MalformedListOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedLongOutput(_SerdeShape): - "Dataclass for MalformedLongOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedMapOutput(_SerdeShape): - "Dataclass for MalformedMapOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedRequestBodyOutput(_SerdeShape): - "Dataclass for MalformedRequestBodyOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedShortOutput(_SerdeShape): - "Dataclass for MalformedShortOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedStringOutput(_SerdeShape): - "Dataclass for MalformedStringOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampBodyDateTimeOutput(_SerdeShape): - "Dataclass for MalformedTimestampBodyDateTimeOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampBodyDefaultOutput(_SerdeShape): - "Dataclass for MalformedTimestampBodyDefaultOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampBodyHttpDateOutput(_SerdeShape): - "Dataclass for MalformedTimestampBodyHttpDateOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampHeaderDateTimeOutput(_SerdeShape): - "Dataclass for MalformedTimestampHeaderDateTimeOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampHeaderDefaultOutput(_SerdeShape): - "Dataclass for MalformedTimestampHeaderDefaultOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampHeaderEpochOutput(_SerdeShape): - "Dataclass for MalformedTimestampHeaderEpochOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampPathDefaultOutput(_SerdeShape): - "Dataclass for MalformedTimestampPathDefaultOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampPathEpochOutput(_SerdeShape): - "Dataclass for MalformedTimestampPathEpochOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampPathHttpDateOutput(_SerdeShape): - "Dataclass for MalformedTimestampPathHttpDateOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampQueryDefaultOutput(_SerdeShape): - "Dataclass for MalformedTimestampQueryDefaultOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampQueryEpochOutput(_SerdeShape): - "Dataclass for MalformedTimestampQueryEpochOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedTimestampQueryHttpDateOutput(_SerdeShape): - "Dataclass for MalformedTimestampQueryHttpDateOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class MalformedUnionOutput(_SerdeShape): - "Dataclass for MalformedUnionOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class NoInputAndNoOutputInput(_SerdeShape): - "Dataclass for NoInputAndNoOutputInput structure." - -class NoInputAndNoOutputInputDict(TypedDict, total=False): - "Dictionary form of `NoInputAndNoOutputInput`." - -@dataclass(kw_only=True) -class NoInputAndNoOutputOutput(_SerdeShape): - "Dataclass for NoInputAndNoOutputOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class NoInputAndOutputInput(_SerdeShape): - "Dataclass for NoInputAndOutputInput structure." - -class NoInputAndOutputInputDict(TypedDict, total=False): - "Dictionary form of `NoInputAndOutputInput`." - -@dataclass(kw_only=True) -class NullAndEmptyHeadersClientInput(_SerdeShape): - "Dataclass for NullAndEmptyHeadersClientInput structure." - - a: str | None = ... - b: str | None = ... - c: list[str] | None = ... - -class NullAndEmptyHeadersClientInputDict(TypedDict, total=False): - "Dictionary form of `NullAndEmptyHeadersClientInput`." - - a: str | None - b: str | None - c: Sequence[str] | None - -@dataclass(kw_only=True) -class NullAndEmptyHeadersClientOutput(_SerdeShape): - "Dataclass for NullAndEmptyHeadersClientOutput structure." - - a: str | None = ... - b: str | None = ... - c: list[str] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class NullAndEmptyHeadersServerInput(_SerdeShape): - "Dataclass for NullAndEmptyHeadersServerInput structure." - - a: str | None = ... - b: str | None = ... - c: list[str] | None = ... - -class NullAndEmptyHeadersServerInputDict(TypedDict, total=False): - "Dictionary form of `NullAndEmptyHeadersServerInput`." - - a: str | None - b: str | None - c: Sequence[str] | None - -@dataclass(kw_only=True) -class NullAndEmptyHeadersServerOutput(_SerdeShape): - "Dataclass for NullAndEmptyHeadersServerOutput structure." - - a: str | None = ... - b: str | None = ... - c: list[str] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class OmitsNullSerializesEmptyStringOutput(_SerdeShape): - "Dataclass for OmitsNullSerializesEmptyStringOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class OmitsSerializingEmptyListsOutput(_SerdeShape): - "Dataclass for OmitsSerializingEmptyListsOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class PutWithContentEncodingOutput(_SerdeShape): - "Dataclass for PutWithContentEncodingOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class QueryIdempotencyTokenAutoFillOutput(_SerdeShape): - "Dataclass for QueryIdempotencyTokenAutoFillOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class QueryParamsAsStringListMapOutput(_SerdeShape): - "Dataclass for QueryParamsAsStringListMapOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class QueryPrecedenceOutput(_SerdeShape): - "Dataclass for QueryPrecedenceOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class RecursiveShapesInput(_SerdeShape): - "Dataclass for RecursiveShapesInput structure." - - nested: RecursiveShapesInputOutputNested1 | None = ... - -class RecursiveShapesInputDict(TypedDict, total=False): - "Dictionary form of `RecursiveShapesInput`." - - nested: ( - RecursiveShapesInputOutputNested1 | RecursiveShapesInputOutputNested1Dict | None - ) - -@dataclass(kw_only=True) -class RecursiveShapesOutput(_SerdeShape): - "Dataclass for RecursiveShapesOutput structure." - - nested: RecursiveShapesInputOutputNested1 | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class ResponseCodeHttpFallbackInput(_SerdeShape): - "Dataclass for ResponseCodeHttpFallbackInput structure." - -class ResponseCodeHttpFallbackInputDict(TypedDict, total=False): - "Dictionary form of `ResponseCodeHttpFallbackInput`." - -@dataclass(kw_only=True) -class ResponseCodeHttpFallbackOutput(_SerdeShape): - "Dataclass for ResponseCodeHttpFallbackOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class ResponseCodeRequiredInput(_SerdeShape): - "Dataclass for ResponseCodeRequiredInput structure." - -class ResponseCodeRequiredInputDict(TypedDict, total=False): - "Dictionary form of `ResponseCodeRequiredInput`." - -@dataclass(kw_only=True) -class SimpleScalarPropertiesInput(_SerdeShape): - "Dataclass for SimpleScalarPropertiesInput structure." - - foo: str | None = ... - string_value: str | None = ... - true_boolean_value: bool | None = ... - false_boolean_value: bool | None = ... - byte_value: int | None = ... - short_value: int | None = ... - integer_value: int | None = ... - long_value: int | None = ... - float_value: float | None = ... - double_value: float | None = ... - -class SimpleScalarPropertiesInputDict(TypedDict, total=False): - "Dictionary form of `SimpleScalarPropertiesInput`." - - foo: str | None - string_value: str | None - true_boolean_value: bool | None - false_boolean_value: bool | None - byte_value: int | None - short_value: int | None - integer_value: int | None - long_value: int | None - float_value: float | None - double_value: float | None - -@dataclass(kw_only=True) -class SimpleScalarPropertiesOutput(_SerdeShape): - "Dataclass for SimpleScalarPropertiesOutput structure." - - foo: str | None = ... - string_value: str | None = ... - true_boolean_value: bool | None = ... - false_boolean_value: bool | None = ... - byte_value: int | None = ... - short_value: int | None = ... - integer_value: int | None = ... - long_value: int | None = ... - float_value: float | None = ... - double_value: float | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class SparseJsonListsInput(_SerdeShape): - "Dataclass for SparseJsonListsInput structure." - - sparse_string_list: list[str | None] | None = ... - sparse_short_list: list[int | None] | None = ... - -class SparseJsonListsInputDict(TypedDict, total=False): - "Dictionary form of `SparseJsonListsInput`." - - sparse_string_list: Sequence[str | None] | None - sparse_short_list: Sequence[int | None] | None - -@dataclass(kw_only=True) -class SparseJsonListsOutput(_SerdeShape): - "Dataclass for SparseJsonListsOutput structure." - - sparse_string_list: list[str | None] | None = ... - sparse_short_list: list[int | None] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class SparseJsonMapsInput(_SerdeShape): - "Dataclass for SparseJsonMapsInput structure." - - sparse_struct_map: dict[str, GreetingStruct | None] | None = ... - sparse_number_map: dict[str, int | None] | None = ... - sparse_boolean_map: dict[str, bool | None] | None = ... - sparse_string_map: dict[str, str | None] | None = ... - sparse_set_map: dict[str, list[str] | None] | None = ... - -class SparseJsonMapsInputDict(TypedDict, total=False): - "Dictionary form of `SparseJsonMapsInput`." - - sparse_struct_map: Mapping[str, GreetingStruct | GreetingStructDict | None] | None - sparse_number_map: Mapping[str, int | None] | None - sparse_boolean_map: Mapping[str, bool | None] | None - sparse_string_map: Mapping[str, str | None] | None - sparse_set_map: Mapping[str, Sequence[str] | None] | None - -@dataclass(kw_only=True) -class SparseJsonMapsOutput(_SerdeShape): - "Dataclass for SparseJsonMapsOutput structure." - - sparse_struct_map: dict[str, GreetingStruct | None] | None = ... - sparse_number_map: dict[str, int | None] | None = ... - sparse_boolean_map: dict[str, bool | None] | None = ... - sparse_string_map: dict[str, str | None] | None = ... - sparse_set_map: dict[str, list[str] | None] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class StreamingTraitsInput(_SerdeShape): - "Dataclass for StreamingTraitsInput structure." - - foo: str | None = ... - blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... - -class StreamingTraitsInputDict(TypedDict, total=False): - """ - Dictionary form of `StreamingTraitsInput` that either client accepts. - Its streaming body is one a sync client can send. Use - `AsyncStreamingTraitsInputDict` for an async stream. - """ - - foo: str | None - blob: _smithy_core_interfaces_StreamingBlob | None - -class AsyncStreamingTraitsInputDict(TypedDict, total=False): - """ - Dictionary form of `StreamingTraitsInput` for the async client. Its - streaming body may also be an async stream. - """ - - foo: str | None - blob: _smithy_core_aio_interfaces_StreamingBlob | None - -@dataclass(kw_only=True) -class StreamingTraitsOutput(_SerdeShape): - "Dataclass for StreamingTraitsOutput structure." - - foo: str | None = ... - blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class StreamingTraitsRequireLengthOutput(_SerdeShape): - "Dataclass for StreamingTraitsRequireLengthOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class StreamingTraitsWithMediaTypeInput(_SerdeShape): - "Dataclass for StreamingTraitsWithMediaTypeInput structure." - - foo: str | None = ... - blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... - -class StreamingTraitsWithMediaTypeInputDict(TypedDict, total=False): - """ - Dictionary form of `StreamingTraitsWithMediaTypeInput` that either - client accepts. Its streaming body is one a sync client can send. Use - `AsyncStreamingTraitsWithMediaTypeInputDict` for an async stream. - """ - - foo: str | None - blob: _smithy_core_interfaces_StreamingBlob | None - -class AsyncStreamingTraitsWithMediaTypeInputDict(TypedDict, total=False): - """ - Dictionary form of `StreamingTraitsWithMediaTypeInput` for the async - client. Its streaming body may also be an async stream. - """ - - foo: str | None - blob: _smithy_core_aio_interfaces_StreamingBlob | None - -@dataclass(kw_only=True) -class StreamingTraitsWithMediaTypeOutput(_SerdeShape): - "Dataclass for StreamingTraitsWithMediaTypeOutput structure." - - foo: str | None = ... - blob: _smithy_core_aio_interfaces_StreamingBlob | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestBodyStructureInput(_SerdeShape): - "Dataclass for TestBodyStructureInput structure." - - test_id: str | None = ... - test_config: TestConfig | None = ... - -class TestBodyStructureInputDict(TypedDict, total=False): - "Dictionary form of `TestBodyStructureInput`." - - test_id: str | None - test_config: TestConfig | TestConfigDict | None - -@dataclass(kw_only=True) -class TestBodyStructureOutput(_SerdeShape): - "Dataclass for TestBodyStructureOutput structure." - - test_id: str | None = ... - test_config: TestConfig | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestGetNoInputNoPayloadInput(_SerdeShape): - "Dataclass for TestGetNoInputNoPayloadInput structure." - -class TestGetNoInputNoPayloadInputDict(TypedDict, total=False): - "Dictionary form of `TestGetNoInputNoPayloadInput`." - -@dataclass(kw_only=True) -class TestGetNoInputNoPayloadOutput(_SerdeShape): - "Dataclass for TestGetNoInputNoPayloadOutput structure." - - test_id: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestGetNoPayloadInput(_SerdeShape): - "Dataclass for TestGetNoPayloadInput structure." - - test_id: str | None = ... - -class TestGetNoPayloadInputDict(TypedDict, total=False): - "Dictionary form of `TestGetNoPayloadInput`." - - test_id: str | None - -@dataclass(kw_only=True) -class TestGetNoPayloadOutput(_SerdeShape): - "Dataclass for TestGetNoPayloadOutput structure." - - test_id: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestPayloadBlobInput(_SerdeShape): - "Dataclass for TestPayloadBlobInput structure." - - content_type: str | None = ... - data: bytes | None = ... - -class TestPayloadBlobInputDict(TypedDict, total=False): - "Dictionary form of `TestPayloadBlobInput`." - - content_type: str | None - data: bytes | None - -@dataclass(kw_only=True) -class TestPayloadBlobOutput(_SerdeShape): - "Dataclass for TestPayloadBlobOutput structure." - - content_type: str | None = ... - data: bytes | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestPayloadStructureInput(_SerdeShape): - "Dataclass for TestPayloadStructureInput structure." - - test_id: str | None = ... - payload_config: PayloadConfig | None = ... - -class TestPayloadStructureInputDict(TypedDict, total=False): - "Dictionary form of `TestPayloadStructureInput`." - - test_id: str | None - payload_config: PayloadConfig | PayloadConfigDict | None - -@dataclass(kw_only=True) -class TestPayloadStructureOutput(_SerdeShape): - "Dataclass for TestPayloadStructureOutput structure." - - test_id: str | None = ... - payload_config: PayloadConfig | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestPostNoInputNoPayloadInput(_SerdeShape): - "Dataclass for TestPostNoInputNoPayloadInput structure." - -class TestPostNoInputNoPayloadInputDict(TypedDict, total=False): - "Dictionary form of `TestPostNoInputNoPayloadInput`." - -@dataclass(kw_only=True) -class TestPostNoInputNoPayloadOutput(_SerdeShape): - "Dataclass for TestPostNoInputNoPayloadOutput structure." - - test_id: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TestPostNoPayloadInput(_SerdeShape): - "Dataclass for TestPostNoPayloadInput structure." - - test_id: str | None = ... - -class TestPostNoPayloadInputDict(TypedDict, total=False): - "Dictionary form of `TestPostNoPayloadInput`." - - test_id: str | None - -@dataclass(kw_only=True) -class TestPostNoPayloadOutput(_SerdeShape): - "Dataclass for TestPostNoPayloadOutput structure." - - test_id: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class TimestampFormatHeadersInput(_SerdeShape): - "Dataclass for TimestampFormatHeadersInput structure." - - member_epoch_seconds: datetime | None = ... - member_http_date: datetime | None = ... - member_date_time: datetime | None = ... - default_format: datetime | None = ... - target_epoch_seconds: datetime | None = ... - target_http_date: datetime | None = ... - target_date_time: datetime | None = ... - -class TimestampFormatHeadersInputDict(TypedDict, total=False): - "Dictionary form of `TimestampFormatHeadersInput`." - - member_epoch_seconds: datetime | None - member_http_date: datetime | None - member_date_time: datetime | None - default_format: datetime | None - target_epoch_seconds: datetime | None - target_http_date: datetime | None - target_date_time: datetime | None - -@dataclass(kw_only=True) -class TimestampFormatHeadersOutput(_SerdeShape): - "Dataclass for TimestampFormatHeadersOutput structure." - - member_epoch_seconds: datetime | None = ... - member_http_date: datetime | None = ... - member_date_time: datetime | None = ... - default_format: datetime | None = ... - target_epoch_seconds: datetime | None = ... - target_http_date: datetime | None = ... - target_date_time: datetime | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class UnitInputAndOutputInput(_SerdeShape): - "Dataclass for UnitInputAndOutputInput structure." - -class UnitInputAndOutputInputDict(TypedDict, total=False): - "Dictionary form of `UnitInputAndOutputInput`." - -@dataclass(kw_only=True) -class UnitInputAndOutputOutput(_SerdeShape): - "Dataclass for UnitInputAndOutputOutput structure." - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. - - Use this to recover the request identifiers a service's support team - needs in order to investigate a call. Members of the metadata are - individually optional. - """ - -@dataclass(kw_only=True) -class Unit(_SerdeShape): - pass - -class UnitDict(TypedDict, total=False): - "Dictionary form of `Unit`." +class UnitDict(TypedDict, total=False): + "Dictionary form of `Unit`." ALL_QUERY_STRING_TYPES: APIOperation[ AllQueryStringTypesInput, AllQueryStringTypesOutput @@ -4000,6 +1106,13 @@ DOCUMENT_TYPE_AS_MAP_VALUE: APIOperation[ DOCUMENT_TYPE_AS_PAYLOAD: APIOperation[ DocumentTypeAsPayloadInput, DocumentTypeAsPayloadOutput ] +DUPLEX_STREAM: APIOperation[DuplexStreamInput, DuplexStreamOutput] +DUPLEX_STREAM_WITH_DISTINCT_STREAMS: APIOperation[ + DuplexStreamWithDistinctStreamsInput, DuplexStreamWithDistinctStreamsOutput +] +DUPLEX_STREAM_WITH_INITIAL_MESSAGES: APIOperation[ + DuplexStreamWithInitialMessagesInput, DuplexStreamWithInitialMessagesOutput +] EMPTY_INPUT_AND_EMPTY_OUTPUT: APIOperation[ EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput ] @@ -4060,6 +1173,10 @@ IGNORE_QUERY_PARAMS_IN_RESPONSE: APIOperation[ INPUT_AND_OUTPUT_WITH_HEADERS: APIOperation[ InputAndOutputWithHeadersInput, InputAndOutputWithHeadersOutput ] +INPUT_STREAM: APIOperation[InputStreamInput, InputStreamOutput] +INPUT_STREAM_WITH_INITIAL_REQUEST: APIOperation[ + InputStreamWithInitialRequestInput, InputStreamWithInitialRequestOutput +] JSON_BLOBS: APIOperation[JsonBlobsInput, JsonBlobsOutput] JSON_ENUMS: APIOperation[JsonEnumsInput, JsonEnumsOutput] JSON_INT_ENUMS: APIOperation[JsonIntEnumsInput, JsonIntEnumsOutput] @@ -4165,6 +1282,10 @@ OPERATION_WITH_DEFAULTS: APIOperation[ OPERATION_WITH_NESTED_STRUCTURE: APIOperation[ OperationWithNestedStructureInput, OperationWithNestedStructureOutput ] +OUTPUT_STREAM: APIOperation[OutputStreamInput, OutputStreamOutput] +OUTPUT_STREAM_WITH_INITIAL_RESPONSE: APIOperation[ + OutputStreamWithInitialResponseInput, OutputStreamWithInitialResponseOutput +] POST_PLAYER_ACTION: APIOperation[PostPlayerActionInput, PostPlayerActionOutput] POST_UNION_WITH_JSON_NAME: APIOperation[ PostUnionWithJsonNameInput, PostUnionWithJsonNameOutput diff --git a/designs/codegen/client.md b/designs/codegen/client.md index 131ff8946..8985e95b6 100644 --- a/designs/codegen/client.md +++ b/designs/codegen/client.md @@ -488,10 +488,17 @@ forms: `Dict` takes a stream a sync client can send, and `AsyncDict`, which the async client takes, may also take an async stream. As in the Java generator, the runtime resolves the `Async` name. -The generator supports operations without event streams, in every protocol -above, that are unsigned or use API key auth, bearer token auth, or SigV4, and whose +Operations with an event stream are generated only on async clients, as in the +Java generator. The method returns `AsyncInputEventStream`, +`AsyncOutputEventStream`, or `AsyncDuplexEventStream`, by which sides stream, +and calls the matching method of the request pipeline. A receiving stream reads +events with the event union's `_Deserializer`, which the runtime +registry builds. A partitioned stub's facade names its dictionary forms and +union deserializers in `__all__`, so it re-exports them. + +The generator supports operations in every protocol above that are unsigned or use API key auth, bearer token auth, or SigV4, and whose endpoint rules use the standard library. Models that require other auth -schemes or event streams fail generation with a diagnostic naming the +schemes fail generation with a diagnostic naming the operation and feature. Authentication and endpoint extension points are provider-neutral. AWS config diff --git a/designs/codegen/snapshots.md b/designs/codegen/snapshots.md index e8e7706ed..d20887ba5 100644 --- a/designs/codegen/snapshots.md +++ b/designs/codegen/snapshots.md @@ -67,7 +67,7 @@ projections, generated with the public `client` command. | `aws-query-client` | `awsquery_client` | 33 | 77 | | `ec2-query-client` | `ec2query_client` | 25 | 59 | | `query-compatible-aws-json-1-0-client` | `querycompatible_awsjson10_client` | 1 | 3 | -| `rest-json-1-client` | `restjson_client` | 106 | 244 | +| `rest-json-1-client` | `restjson_client` | 113 | 244 | | `rest-xml-client` | `restxml_client` | 65 | 178 | | `rest-xml-with-namespace-client` | `restxml_xmlns_client` | 1 | 2 | | `rpcv2-cbor-client` | `rpcv2cbor_client` | 14 | 72 | @@ -78,8 +78,8 @@ import package differs from the types snapshot's, so both resolve in one Pyright project. Each client snapshot adds `client.py`, `config.py`, and their `aio` counterparts to the types files, plus service and operation schemas and lazy operation exports. A projection's `omitOperations` removes service operations -that need features client generation doesn't support yet. `rest-json-1-client` -omits its 7 event stream operations, which have no vectors. Tests compare the RPCv2 CBOR client's operation methods with +that need features client generation doesn't support yet. No projection +omits any today. Tests compare the RPCv2 CBOR client's operation methods with the Java client and send one call through fake sync and async transports. ## Inputs and maintenance diff --git a/packages/smithy-python/.changes/next-release/smithy-python-feature-58ac436bbed24723a3ea3f97177cfe42.json b/packages/smithy-python/.changes/next-release/smithy-python-feature-58ac436bbed24723a3ea3f97177cfe42.json new file mode 100644 index 000000000..e30349268 --- /dev/null +++ b/packages/smithy-python/.changes/next-release/smithy-python-feature-58ac436bbed24723a3ea3f97177cfe42.json @@ -0,0 +1,4 @@ +{ + "type": "feature", + "description": "Generated async clients support event stream operations, returning AsyncInputEventStream, AsyncOutputEventStream or AsyncDuplexEventStream. Sync clients leave them out, as the Java generator does." +} \ No newline at end of file diff --git a/packages/smithy-python/src/smithy_python/_client_emitter.py b/packages/smithy-python/src/smithy_python/_client_emitter.py index 208b5e103..a9e693cd1 100644 --- a/packages/smithy-python/src/smithy_python/_client_emitter.py +++ b/packages/smithy-python/src/smithy_python/_client_emitter.py @@ -46,15 +46,6 @@ def check_supported( f"Operation {shape.id} requires auth ({schemes}), which client " "generation does not support yet" ) - # Streaming blobs are supported. Event streams aren't yet. - for io in (shape.input, shape.output): - for member in plan.model.get_shape(io).members.values(): - target = plan.model.get_target(member) - if target.has_trait("streaming") and target.type is not _BLOB: - raise _exceptions.CodegenError( - f"Operation {shape.id} streams {member.id}, which client " - "generation does not support yet" - ) def plan_endpoints( @@ -216,6 +207,9 @@ def _typing(name: str) -> TypeReference: _CAST: Final = _typing("cast") _OVERLOAD: Final = _typing("overload") _UNPACK: Final = _typing("Unpack") +_INPUT_STREAM: Final = _core("AsyncInputEventStream", "aio.eventstream") +_OUTPUT_STREAM: Final = _core("AsyncOutputEventStream", "aio.eventstream") +_DUPLEX_STREAM: Final = _core("AsyncDuplexEventStream", "aio.eventstream") _TYPE_CHECKING: Final = _typing("TYPE_CHECKING") _CALLABLE: Final = TypeReference("Callable", "collections.abc") _DATACLASS: Final = TypeReference("dataclass", "dataclasses") @@ -305,7 +299,6 @@ def _modes( _NO_AUTH: Final = _model.ShapeId("smithy.api", "noAuth") -_BLOB: Final = _model.ShapeType.BLOB _XML_NAMESPACE: Final = _model.ShapeId("smithy.api", "xmlNamespace") _ENDPOINT: Final = _model.ShapeId("smithy.api", "endpoint") HOST_PREFIX_FIELD: Final = ( @@ -635,7 +628,13 @@ def _write_client( for operation, export, paginator, operation_waiters in zip( plan.operations, plan.models.operations, paginators, waiters, strict=True ): - _write_operation(writer, plan, mode, operation, export.name, models, plugin) + streams = _event_streams(plan, operation) + if streams != (None, None) and not mode.is_async: + # As in the Java generator, only async clients stream events. + continue + _write_operation( + writer, plan, mode, operation, export.name, models, plugin, streams + ) if paginator is not None: _write_paginator( writer, @@ -669,15 +668,31 @@ def _write_operation( constant: str, models: TypeReference, plugin: TypeReference, + streams: tuple[str | None, str | None] = (None, None), ) -> None: name = operation.method_name input_name = operation.input_name + input_event, output_event = streams dict_name = ( plan.models.async_input_dict_names.get(operation.operation.input) if mode.is_async else None ) or plan.models.input_dict_names[operation.operation.input] output: tuple[str | TypeReference, ...] = (models, ".", operation.output_name) + returns = f"An instance of `{operation.output_name}`." + if input_event is not None and output_event is not None: + output = ( + _DUPLEX_STREAM, + *("[", models, ".", input_event, ", ", models, ".", output_event), + *(", ", *output, "]"), + ) + returns = "An `AsyncDuplexEventStream` that sends and receives events." + elif input_event is not None: + output = (_INPUT_STREAM, "[", models, ".", input_event, ", ", *output, "]") + returns = "An `AsyncInputEventStream` that sends events." + elif output_event is not None: + output = (_OUTPUT_STREAM, "[", models, ".", output_event, ", ", *output, "]") + returns = "An `AsyncOutputEventStream` that receives events." plugins: tuple[str | TypeReference, ...] = ( "plugins: list[", plugin, @@ -721,7 +736,7 @@ def _write_operation( "Callables that change the configuration for this call only.", ), ), - returns=f"An instance of `{operation.output_name}`.", + returns=returns, ), ) writer.line() @@ -730,7 +745,10 @@ def _write_operation( writer.line("self, /, *args: object, ", *plugins, ", **kwargs: object") writer.line(") -> ", *output, ":") with writer.indent(): - writer.line("return ", "await " if mode.is_async else "", "self._invoke(") + if streams == (None, None): + writer.line("return ", "await " if mode.is_async else "", "self._invoke(") + else: + writer.line("pipeline, call = await self._prepare_call(") with writer.indent(): writer.line( "self._select_input(", models, ".", constant, ", args, kwargs)," @@ -739,6 +757,57 @@ def _write_operation( writer.line("[],") writer.line("plugins,") writer.line(")") + if streams == (None, None): + return + + def deserializer(event: str) -> tuple[str | TypeReference, ...]: + return (models, "._", event, "Deserializer().deserialize") + + if input_event is not None and output_event is not None: + writer.line("return await pipeline.duplex_stream(") + with writer.indent(): + writer.line("call,") + writer.line(models, ".", input_event, ",") + writer.line(models, ".", output_event, ",") + writer.line( + *deserializer(output_event), + ", # pyright: ignore[reportPrivateUsage]", + ) + writer.line(")") + elif input_event is not None: + writer.line( + "return await pipeline.input_stream(call, ", + models, + ".", + input_event, + ")", + ) + else: + assert output_event is not None # noqa: S101 - one side streams + writer.line("return await pipeline.output_stream(") + with writer.indent(): + writer.line("call,") + writer.line(models, ".", output_event, ",") + writer.line( + *deserializer(output_event), + ", # pyright: ignore[reportPrivateUsage]", + ) + writer.line(")") + + +def _event_streams( + plan: ClientPlan, operation: OperationPlan +) -> tuple[str | None, str | None]: + """The declaration names of an operation's input and output event streams.""" + names: list[str | None] = [] + for io in (operation.operation.input, operation.operation.output): + name = None + for member in plan.model.get_shape(io).members.values(): + target = plan.model.get_target(member) + if target.type is _model.ShapeType.UNION and target.has_trait("streaming"): + name = plan.symbols.declaration_name(target.id) + names.append(name) + return names[0], names[1] def _write_paginator( diff --git a/packages/smithy-python/src/smithy_python/models.py b/packages/smithy-python/src/smithy_python/models.py index 2e953cc32..4ae13d882 100644 --- a/packages/smithy-python/src/smithy_python/models.py +++ b/packages/smithy-python/src/smithy_python/models.py @@ -274,10 +274,26 @@ def write_facade(self, partitions: tuple[tuple[_model.Shape, ...], ...]) -> None with writer.indent(): for shape in shapes: for name in _stub_shape_names(self.plan, shape): - writer.line(name, ",") + if name.startswith("_"): + writer.line( + name, ", # pyright: ignore[reportPrivateUsage]" + ) + else: + writer.line(name, ",") writer.line(")") writer.line() - self._write_preamble() + # A stub re-exports only what __all__ names, so the dictionary forms and + # union deserializers the clients read from the facade are added. + exported = set(_model_exports(self.plan)) + self._write_preamble( + tuple( + name + for shapes in partitions + for shape in shapes + for name in _stub_shape_names(self.plan, shape) + if name not in exported + ) + ) self._write_unit() self._write_operations() @@ -293,12 +309,16 @@ def write_partition(self, shapes: tuple[_model.Shape, ...]) -> None: self.writer.line() self._write_shapes(shapes) - def _write_preamble(self) -> None: + def _write_preamble(self, reexports: tuple[str, ...] = ()) -> None: writer = self.writer writer.line("__all__ = [") with writer.indent(): for name in sorted( - (*_model_exports(self.plan), *(o.name for o in self.plan.operations)) + ( + *_model_exports(self.plan), + *(o.name for o in self.plan.operations), + *reexports, + ) ): writer.line(_quote(name), ",") writer.line("]") @@ -666,6 +686,8 @@ def _stub_shape_names(plan: ModelPlan, shape: _model.Shape) -> tuple[str, ...]: *(plan.union_variant_names[member.id] for member in shape.members.values()), plan.union_unknown_names[shape.id], declaration, + # Event stream clients pass the union's deserializer. + f"_{declaration}Deserializer", *( (*(dicts[member.id] for member in shape.members.values()), dicts[shape.id]) if shape.id in dicts diff --git a/packages/smithy-python/tests/unit/test_client_generation.py b/packages/smithy-python/tests/unit/test_client_generation.py index faf906795..697770c41 100644 --- a/packages/smithy-python/tests/unit/test_client_generation.py +++ b/packages/smithy-python/tests/unit/test_client_generation.py @@ -316,15 +316,6 @@ def _add_rules(shapes: dict[str, Any]) -> None: shapes["example#Greeter"]["traits"]["smithy.rules#endpointRuleSet"] = {} -def _add_stream(shapes: dict[str, Any]) -> None: - shapes["example#GreetOutput"]["members"]["data"] = {"target": "example#Stream"} - shapes["example#Stream"] = { - "type": "union", - "members": {"tick": {"target": "smithy.api#Unit"}}, - "traits": {"smithy.api#streaming": {}}, - } - - def _remove_protocol(shapes: dict[str, Any]) -> None: del shapes["example#Greeter"]["traits"][_CBOR] @@ -334,7 +325,6 @@ def _remove_protocol(shapes: dict[str, Any]) -> None: [ (_add_basic_auth, "Operation example#Greet requires auth"), (_add_rules, "smithy.rules#endpointRuleSet"), - (_add_stream, "Operation example#Greet streams"), (_remove_protocol, "has no supported protocol"), ], ) @@ -430,6 +420,26 @@ def test_streaming_blob_inputs_get_a_dictionary_form_per_client( assert "AsyncGreetInputDict" not in sync_client +def test_event_stream_operations_are_async_only(tmp_path: Path) -> None: + shapes = _shapes() + shapes["example#GreetOutput"]["members"]["events"] = {"target": "example#Events"} + shapes["example#Tick"] = {"type": "structure", "members": {}} + shapes["example#Events"] = { + "type": "union", + "members": {"tick": {"target": "example#Tick"}}, + "traits": {"smithy.api#streaming": {}}, + } + _generate(tmp_path, "greeter_events", shapes) + source = tmp_path / "src/greeter_events" + aio = (source / "aio/client.py").read_text() + assert "AsyncOutputEventStream[models.Events, models.GreetOutput]" in aio + assert "pipeline.output_stream(" in aio + assert "models._EventsDeserializer().deserialize" in aio + sync = (source / "client.py").read_text() + assert "def greet(" not in sync + assert "def ping(" in sync + + def test_rpcv2_json_service_sends_json_and_requires_the_json_extra( tmp_path: Path, monkeypatch: pytest.MonkeyPatch ) -> None: diff --git a/packages/smithy-python/tests/unit/test_models.py b/packages/smithy-python/tests/unit/test_models.py index d77f7b35b..5b1a985d7 100644 --- a/packages/smithy-python/tests/unit/test_models.py +++ b/packages/smithy-python/tests/unit/test_models.py @@ -466,7 +466,8 @@ def test_partitioned_stub_preserves_public_models( assert "from ._private.models_0 import (" in facade assert "Input," in facade assert "Input as Input" not in facade - assert "_SelectionDeserializer" not in facade + # Event stream clients read the union deserializers from the facade. + assert "class _SelectionDeserializer" not in facade assert any("class Input(" in path.read_text() for path in partitions) monkeypatch.syspath_prepend( # pyright: ignore[reportUnknownMemberType] diff --git a/scripts/codegen-output-py/client-projections.json b/scripts/codegen-output-py/client-projections.json index 4ad0307fa..c6690365f 100644 --- a/scripts/codegen-output-py/client-projections.json +++ b/scripts/codegen-output-py/client-projections.json @@ -44,15 +44,6 @@ "rest-json-1-client": { "description": "Python client for the rest-json-1 projection", "model": "models/rest-json-1.json", - "omitOperations": [ - "aws.protocoltests.restjson#DuplexStream", - "aws.protocoltests.restjson#DuplexStreamWithDistinctStreams", - "aws.protocoltests.restjson#DuplexStreamWithInitialMessages", - "aws.protocoltests.restjson#InputStream", - "aws.protocoltests.restjson#InputStreamWithInitialRequest", - "aws.protocoltests.restjson#OutputStream", - "aws.protocoltests.restjson#OutputStreamWithInitialResponse" - ], "package": "restjson_client", "service": "aws.protocoltests.restjson#RestJson", "version": "0.0.1"