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 1dc38c6eb..dfa0aa1c2 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,19 @@
"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": "527d0349a2729f5f8bb76361e2014dbbc85daef87a94ad5bbb5a80604438acc7",
- "src/restjson_client/_private/schemas_0.py": "7f999b435747c05ada33363d3af8d3c1666997bfdc226285d1bfff774b82347b",
- "src/restjson_client/_private/schemas_1.py": "5cba61c8b6db99a0dd5f758c9a78525ed9926f6a8986067dc43d5e5fe7ce7086",
- "src/restjson_client/_private/schemas_2.py": "7af39a649f958d781c314de6dc5d0a1c1e6bc22cf46983ba834aabb461312b83",
- "src/restjson_client/_private/schemas_3.py": "1edc1721aac792698841b83674d1306b373dd42bfd575f45df07da0ba34d882a",
+ "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/aio/__init__.py": "473fc51fef9cf762ab73c2de65aabd8036c7d440c7884bf017e4a02ad7b41ec5",
- "src/restjson_client/aio/client.py": "a09a810e37f8bf9585296d5e1677b14dbf736f3540b02a487a8d4fea6d9515ca",
+ "src/restjson_client/aio/client.py": "5781221dccd9fd3ecc3ea9027f4c5548da77db15cc069770d6e7dcb8e2d2b12e",
"src/restjson_client/aio/config.py": "b5eafa46d3cb15f156f17932375ba8f3ceabd0fad1969a8b50bd3110c1e8b668",
"src/restjson_client/aio/user_agent.py": "8e6fb66d21c2c5e59ecf31b59db9566fb217d3f95a1af63ddcb47e637613afb9",
- "src/restjson_client/client.py": "c58f16622c5a04b50f4abdf066522da916839d216d6ddcfae51822f36068b57a",
+ "src/restjson_client/client.py": "8989d8be150fbd51646f0eaeeeab7f029f677fec9a33713f0d367eaf28c9caac",
"src/restjson_client/config.py": "48d53981c5e60fbd8ff8d4fb6e18de0124c6a2f90e43809045d63c32e087349e",
- "src/restjson_client/models.py": "2ef5c492a6cf5922580732d19f28df88821bf8eb2c4ffaa8339ddc2d3c9cf52d",
- "src/restjson_client/models.pyi": "199c69c5822a4daa522b52cd32935e7c42ea76443597c2566f7417b5efebc426",
+ "src/restjson_client/models.py": "a0efc7e2c44d9da698b89372e875a2eb694039f935724c9c4bddcbeb3e82e68a",
+ "src/restjson_client/models.pyi": "737edd6bc058826260a104dc100161af44b7abeec09c2bb1451927490e007dc3",
"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/schemas.py b/codegen-output-py/rest-json-1-client/src/restjson_client/_private/schemas.py
index 26b863de4..4c06f653e 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
@@ -52,6 +52,7 @@
"EMPTY_INPUT_AND_EMPTY_OUTPUT_INPUT",
"EMPTY_INPUT_AND_EMPTY_OUTPUT_OUTPUT",
"EMPTY_INPUT_AND_EMPTY_OUTPUT",
+ "FINITE_STREAMING_BLOB",
"FOO_ERROR",
"FRACTIONAL_SECONDS_OUTPUT",
"FRACTIONAL_SECONDS_INPUT",
@@ -98,12 +99,12 @@
"MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT",
"MALFORMED_ACCEPT_WITH_GENERIC_STRING_INPUT",
"MALFORMED_ACCEPT_WITH_GENERIC_STRING",
- ),
- (
"JPEG_BLOB",
"MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT",
"MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT",
"MALFORMED_ACCEPT_WITH_PAYLOAD",
+ ),
+ (
"MALFORMED_BLOB_INPUT",
"MALFORMED_BLOB_OUTPUT",
"MALFORMED_BLOB",
@@ -204,12 +205,12 @@
"OMITS_NULL_SERIALIZES_EMPTY_STRING_INPUT",
"OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT",
"OMITS_NULL_SERIALIZES_EMPTY_STRING",
- ),
- (
- "DOCUMENT",
"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",
@@ -246,6 +247,11 @@
"SPARSE_NUMBER_MAP",
"SPARSE_SET_MAP",
"SPARSE_STRUCT_MAP",
+ "STREAMING_BLOB",
+ "STREAMING_TEXT_PLAIN_BLOB",
+ "STREAMING_TRAITS_REQUIRE_LENGTH_INPUT",
+ "STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT",
+ "STREAMING_TRAITS_REQUIRE_LENGTH",
"STRING_ENUM",
"STRUCTURE_LIST_MEMBER",
"STRUCTURE_LIST",
@@ -361,6 +367,12 @@
"SPARSE_JSON_MAPS_INPUT",
"SPARSE_JSON_MAPS_OUTPUT",
"SPARSE_JSON_MAPS",
+ "STREAMING_TRAITS_INPUT",
+ "STREAMING_TRAITS_OUTPUT",
+ "STREAMING_TRAITS",
+ "STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT",
+ "STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT",
+ "STREAMING_TRAITS_WITH_MEDIA_TYPE",
"TEST_BODY_STRUCTURE_INPUT",
"TEST_BODY_STRUCTURE_OUTPUT",
"TEST_BODY_STRUCTURE",
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 fff26e14d..54c1b2577 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
@@ -162,114 +162,123 @@
_s154 = "aws.protocoltests.restjson#EmptyInputAndEmptyOutputInput"
_s155 = "EmptyInputAndEmptyOutputOutput"
_s156 = "aws.protocoltests.restjson#EmptyInputAndEmptyOutputOutput"
-_s157 = "FooError"
-_s158 = "server"
-_s159 = "FractionalSecondsOutput"
-_s160 = "aws.protocoltests.restjson#FractionalSecondsOutput"
-_s161 = "GreetingWithErrorsOutput"
-_s162 = "aws.protocoltests.restjson#GreetingWithErrorsOutput"
-_s163 = "X-Greeting"
-_s164 = "StringMap"
-_s165 = "HttpEmptyPrefixHeadersInput"
-_s166 = "aws.protocoltests.restjson#HttpEmptyPrefixHeadersInput"
-_s167 = "prefixHeaders"
-_s168 = "smithy.api#httpPrefixHeaders"
-_s169 = "specificHeader"
-_s170 = "HttpEmptyPrefixHeadersOutput"
-_s171 = "aws.protocoltests.restjson#HttpEmptyPrefixHeadersOutput"
-_s172 = "HttpPrefixHeadersInResponseInput"
-_s173 = "aws.protocoltests.restjson#HttpPrefixHeadersInResponseInput"
-_s174 = "HttpPrefixHeadersInResponseOutput"
-_s175 = "aws.protocoltests.restjson#HttpPrefixHeadersInResponseOutput"
-_s176 = "HttpPrefixHeadersInput"
-_s177 = "aws.protocoltests.restjson#HttpPrefixHeadersInput"
-_s178 = "foo"
-_s179 = "x-foo"
-_s180 = "fooMap"
-_s181 = "x-foo-"
-_s182 = "HttpPrefixHeadersOutput"
-_s183 = "aws.protocoltests.restjson#HttpPrefixHeadersOutput"
-_s184 = "HttpRequestWithFloatLabelsInput"
-_s185 = "aws.protocoltests.restjson#HttpRequestWithFloatLabelsInput"
-_s186 = "float"
-_s187 = "double"
-_s188 = "HttpRequestWithGreedyLabelInPathInput"
-_s189 = "aws.protocoltests.restjson#HttpRequestWithGreedyLabelInPathInput"
-_s190 = "EpochSeconds"
-_s191 = "epoch-seconds"
-_s192 = "HttpDate"
-_s193 = "http-date"
-_s194 = "HttpRequestWithLabelsAndTimestampFormatInput"
-_s195 = "aws.protocoltests.restjson#HttpRequestWithLabelsAndTimestampFormatInput"
-_s196 = "memberEpochSeconds"
-_s197 = "smithy.api#httpLabel"
-_s198 = "smithy.api#required"
-_s199 = "memberHttpDate"
-_s200 = "memberDateTime"
-_s201 = "defaultFormat"
-_s202 = "targetEpochSeconds"
-_s203 = "targetHttpDate"
-_s204 = "targetDateTime"
-_s205 = "HttpRequestWithLabelsInput"
-_s206 = "aws.protocoltests.restjson#HttpRequestWithLabelsInput"
-_s207 = "string"
-_s208 = "short"
-_s209 = "integer"
-_s210 = "long"
-_s211 = "boolean"
-_s212 = "timestamp"
-_s213 = "HttpRequestWithRegexLiteralInput"
-_s214 = "aws.protocoltests.restjson#HttpRequestWithRegexLiteralInput"
-_s215 = "str"
-_s216 = "HttpResponseCodeOutput"
-_s217 = "aws.protocoltests.restjson#HttpResponseCodeOutput"
-_s218 = "Status"
-_s219 = "IgnoreQueryParamsInResponseOutput"
-_s220 = "aws.protocoltests.restjson#IgnoreQueryParamsInResponseOutput"
-_s221 = "InvalidGreeting"
-_s222 = "Message"
-_s223 = "JsonHeaderString"
-_s224 = "smithy.api#mediaType"
-_s225 = "application/json"
-_s226 = "JsonValue"
-_s227 = "MalformedAcceptWithGenericStringOutput"
-_s228 = "aws.protocoltests.restjson#MalformedAcceptWithGenericStringOutput"
-_s229 = "payload"
-_s434 = "AllQueryStringTypesOutput"
-_s435 = "smithy.api#Unit"
-_s436 = "ConstantAndVariableQueryStringOutput"
-_s437 = "ConstantQueryStringOutput"
-_s438 = "DatetimeOffsetsInput"
-_s456 = "FractionalSecondsInput"
-_s457 = "GreetingWithErrorsInput"
-_s484 = "HttpRequestWithFloatLabelsOutput"
-_s485 = "HttpRequestWithGreedyLabelInPathOutput"
-_s486 = "HttpRequestWithLabelsOutput"
-_s487 = "HttpRequestWithLabelsAndTimestampFormatOutput"
-_s488 = "HttpRequestWithRegexLiteralOutput"
-_s489 = "HttpResponseCodeInput"
-_s493 = "IgnoreQueryParamsInResponseInput"
-_s592 = "MalformedAcceptWithGenericStringInput"
-_s713 = "AllQueryStringTypes"
-_s714 = "smithy.api#http"
-_s715 = "ConstantAndVariableQueryString"
-_s716 = "ConstantQueryString"
-_s717 = "ContentTypeParameters"
-_s718 = "DatetimeOffsets"
-_s722 = "EmptyInputAndEmptyOutput"
-_s726 = "FractionalSeconds"
-_s727 = "GreetingWithErrors"
-_s731 = "HttpEmptyPrefixHeaders"
-_s737 = "HttpPrefixHeaders"
-_s738 = "HttpPrefixHeadersInResponse"
-_s740 = "HttpRequestWithFloatLabels"
-_s741 = "HttpRequestWithGreedyLabelInPath"
-_s742 = "HttpRequestWithLabels"
-_s743 = "HttpRequestWithLabelsAndTimestampFormat"
-_s744 = "HttpRequestWithRegexLiteral"
-_s745 = "HttpResponseCode"
-_s747 = "IgnoreQueryParamsInResponse"
-_s757 = "MalformedAcceptWithGenericString"
+_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"
STRING_LIST: StaticSchema = (
16,
@@ -441,15 +450,15 @@
ALL_QUERY_STRING_TYPES_OUTPUT: StaticSchema = (
18,
n1,
- _s434,
- {_s30: _s435, _s92: None},
+ _s443,
+ {_s30: _s444, _s92: None},
)
ALL_QUERY_STRING_TYPES: StaticOperationSchema = (
23,
n1,
- _s713,
- {_s714: MappingProxyType({"uri": "/AllQueryStringTypesInput", "method": "GET"})},
+ _s728,
+ {_s729: MappingProxyType({"uri": "/AllQueryStringTypesInput", "method": "GET"})},
ALL_QUERY_STRING_TYPES_INPUT,
ALL_QUERY_STRING_TYPES_OUTPUT,
(),
@@ -494,16 +503,16 @@
CONSTANT_AND_VARIABLE_QUERY_STRING_OUTPUT: StaticSchema = (
18,
n1,
- _s436,
- {_s30: _s435, _s92: None},
+ _s445,
+ {_s30: _s444, _s92: None},
)
CONSTANT_AND_VARIABLE_QUERY_STRING: StaticOperationSchema = (
23,
n1,
- _s715,
+ _s730,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/ConstantAndVariableQueryString?foo=bar", "method": "GET"}
)
},
@@ -524,16 +533,16 @@
CONSTANT_QUERY_STRING_OUTPUT: StaticSchema = (
18,
n1,
- _s437,
- {_s30: _s435, _s92: None},
+ _s446,
+ {_s30: _s444, _s92: None},
)
CONSTANT_QUERY_STRING: StaticOperationSchema = (
23,
n1,
- _s716,
+ _s731,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/ConstantQueryString/{hello}?foo=bar&hello", "method": "GET"}
)
},
@@ -561,8 +570,8 @@
CONTENT_TYPE_PARAMETERS: StaticOperationSchema = (
23,
n1,
- _s717,
- {_s714: MappingProxyType({"uri": "/ContentTypeParameters", "method": "POST"})},
+ _s732,
+ {_s729: MappingProxyType({"uri": "/ContentTypeParameters", "method": "POST"})},
CONTENT_TYPE_PARAMETERS_INPUT,
CONTENT_TYPE_PARAMETERS_OUTPUT,
(),
@@ -587,15 +596,15 @@
DATETIME_OFFSETS_INPUT: StaticSchema = (
18,
n1,
- _s438,
- {_s30: _s435, _s32: None},
+ _s447,
+ {_s30: _s444, _s32: None},
)
DATETIME_OFFSETS: StaticOperationSchema = (
23,
n1,
- _s718,
- {_s714: MappingProxyType({"uri": "/DatetimeOffsets", "method": "POST"})},
+ _s733,
+ {_s729: MappingProxyType({"uri": "/DatetimeOffsets", "method": "POST"})},
DATETIME_OFFSETS_INPUT,
DATETIME_OFFSETS_OUTPUT,
(),
@@ -820,25 +829,32 @@
EMPTY_INPUT_AND_EMPTY_OUTPUT: StaticOperationSchema = (
23,
n1,
- _s722,
- {_s714: MappingProxyType({"uri": "/EmptyInputAndEmptyOutput", "method": "POST"})},
+ _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,
- _s157,
- {_s73: _s158, _s75: 500},
+ _s160,
+ {_s73: _s161, _s75: 500},
)
FRACTIONAL_SECONDS_OUTPUT: StaticSchema = (
18,
n1,
- _s159,
- {_s30: _s160, _s92: None},
+ _s162,
+ {_s30: _s163, _s92: None},
(_s98,),
((DATE_TIME, 0),),
)
@@ -846,15 +862,15 @@
FRACTIONAL_SECONDS_INPUT: StaticSchema = (
18,
n1,
- _s456,
- {_s30: _s435, _s32: None},
+ _s465,
+ {_s30: _s444, _s32: None},
)
FRACTIONAL_SECONDS: StaticOperationSchema = (
23,
n1,
- _s726,
- {_s714: MappingProxyType({"uri": "/FractionalSeconds", "method": "POST"})},
+ _s741,
+ {_s729: MappingProxyType({"uri": "/FractionalSeconds", "method": "POST"})},
FRACTIONAL_SECONDS_INPUT,
FRACTIONAL_SECONDS_OUTPUT,
(),
@@ -863,24 +879,24 @@
GREETING_WITH_ERRORS_OUTPUT: StaticSchema = (
18,
n1,
- _s161,
- {_s30: _s162, _s92: None},
+ _s164,
+ {_s30: _s165, _s92: None},
(_s148,),
- ((3, {_s77: _s163}),),
+ ((3, {_s77: _s166}),),
)
GREETING_WITH_ERRORS_INPUT: StaticSchema = (
18,
n1,
- _s457,
- {_s30: _s435, _s32: None},
+ _s466,
+ {_s30: _s444, _s32: None},
)
GREETING_WITH_ERRORS: StaticOperationSchema = (
23,
n1,
- _s727,
- {_s714: MappingProxyType({"uri": "/GreetingWithErrors", "method": "PUT"})},
+ _s742,
+ {_s729: MappingProxyType({"uri": "/GreetingWithErrors", "method": "PUT"})},
GREETING_WITH_ERRORS_INPUT,
GREETING_WITH_ERRORS_OUTPUT,
(COMPLEX_ERROR, FOO_ERROR, lambda: INVALID_GREETING),
@@ -889,7 +905,7 @@
STRING_MAP: StaticSchema = (
17,
n0,
- _s164,
+ _s167,
0,
(_s27, _s28),
((3, 0), (3, 0)),
@@ -898,26 +914,26 @@
HTTP_EMPTY_PREFIX_HEADERS_INPUT: StaticSchema = (
18,
n1,
- _s165,
- {_s30: _s166, _s32: None},
- (_s167, _s169),
- ((STRING_MAP, {_s168: _s128}), (3, {_s77: _s87})),
+ _s168,
+ {_s30: _s169, _s32: None},
+ (_s170, _s172),
+ ((STRING_MAP, {_s171: _s128}), (3, {_s77: _s87})),
)
HTTP_EMPTY_PREFIX_HEADERS_OUTPUT: StaticSchema = (
18,
n1,
- _s170,
- {_s30: _s171, _s92: None},
- (_s167, _s169),
- ((STRING_MAP, {_s168: _s128}), (3, {_s77: _s87})),
+ _s173,
+ {_s30: _s174, _s92: None},
+ (_s170, _s172),
+ ((STRING_MAP, {_s171: _s128}), (3, {_s77: _s87})),
)
HTTP_EMPTY_PREFIX_HEADERS: StaticOperationSchema = (
23,
n1,
- _s731,
- {_s714: MappingProxyType({"uri": "/HttpEmptyPrefixHeaders", "method": "GET"})},
+ _s746,
+ {_s729: MappingProxyType({"uri": "/HttpEmptyPrefixHeaders", "method": "GET"})},
HTTP_EMPTY_PREFIX_HEADERS_INPUT,
HTTP_EMPTY_PREFIX_HEADERS_OUTPUT,
(),
@@ -926,24 +942,24 @@
HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT: StaticSchema = (
18,
n1,
- _s172,
- {_s30: _s173, _s32: None},
+ _s175,
+ {_s30: _s176, _s32: None},
)
HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT: StaticSchema = (
18,
n1,
- _s174,
- {_s30: _s175, _s92: None},
- (_s167,),
- ((STRING_MAP, {_s168: _s128}),),
+ _s177,
+ {_s30: _s178, _s92: None},
+ (_s170,),
+ ((STRING_MAP, {_s171: _s128}),),
)
HTTP_PREFIX_HEADERS_IN_RESPONSE: StaticOperationSchema = (
23,
n1,
- _s738,
- {_s714: MappingProxyType({"uri": "/HttpPrefixHeadersResponse", "method": "GET"})},
+ _s753,
+ {_s729: MappingProxyType({"uri": "/HttpPrefixHeadersResponse", "method": "GET"})},
HTTP_PREFIX_HEADERS_IN_RESPONSE_INPUT,
HTTP_PREFIX_HEADERS_IN_RESPONSE_OUTPUT,
(),
@@ -952,26 +968,26 @@
HTTP_PREFIX_HEADERS_INPUT: StaticSchema = (
18,
n1,
- _s176,
- {_s30: _s177, _s32: None},
- (_s178, _s180),
- ((3, {_s77: _s179}), (STRING_MAP, {_s168: _s181})),
+ _s179,
+ {_s30: _s180, _s32: None},
+ (_s181, _s183),
+ ((3, {_s77: _s182}), (STRING_MAP, {_s171: _s184})),
)
HTTP_PREFIX_HEADERS_OUTPUT: StaticSchema = (
18,
n1,
- _s182,
- {_s30: _s183, _s92: None},
- (_s178, _s180),
- ((3, {_s77: _s179}), (STRING_MAP, {_s168: _s181})),
+ _s185,
+ {_s30: _s186, _s92: None},
+ (_s181, _s183),
+ ((3, {_s77: _s182}), (STRING_MAP, {_s171: _s184})),
)
HTTP_PREFIX_HEADERS: StaticOperationSchema = (
23,
n1,
- _s737,
- {_s714: MappingProxyType({"uri": "/HttpPrefixHeaders", "method": "GET"})},
+ _s752,
+ {_s729: MappingProxyType({"uri": "/HttpPrefixHeaders", "method": "GET"})},
HTTP_PREFIX_HEADERS_INPUT,
HTTP_PREFIX_HEADERS_OUTPUT,
(),
@@ -980,25 +996,25 @@
HTTP_REQUEST_WITH_FLOAT_LABELS_INPUT: StaticSchema = (
18,
n1,
- _s184,
- {_s30: _s185, _s32: None},
- (_s186, _s187),
+ _s187,
+ {_s30: _s188, _s32: None},
+ (_s189, _s190),
((9, 9), (10, 9)),
)
HTTP_REQUEST_WITH_FLOAT_LABELS_OUTPUT: StaticSchema = (
18,
n1,
- _s484,
- {_s30: _s435, _s92: None},
+ _s492,
+ {_s30: _s444, _s92: None},
)
HTTP_REQUEST_WITH_FLOAT_LABELS: StaticOperationSchema = (
23,
n1,
- _s740,
+ _s755,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "GET", "uri": "/FloatHttpLabels/{float}/{double}"}
)
},
@@ -1010,25 +1026,25 @@
HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_INPUT: StaticSchema = (
18,
n1,
- _s188,
- {_s30: _s189, _s32: None},
- (_s178, _s83),
+ _s191,
+ {_s30: _s192, _s32: None},
+ (_s181, _s83),
((3, 9), (3, 9)),
)
HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH_OUTPUT: StaticSchema = (
18,
n1,
- _s485,
- {_s30: _s435, _s92: None},
+ _s493,
+ {_s30: _s444, _s92: None},
)
HTTP_REQUEST_WITH_GREEDY_LABEL_IN_PATH: StaticOperationSchema = (
23,
n1,
- _s741,
+ _s756,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{
"method": "GET",
"uri": "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}",
@@ -1043,27 +1059,27 @@
EPOCH_SECONDS: StaticSchema = (
4,
n0,
- _s190,
- {_s94: _s191},
+ _s193,
+ {_s94: _s194},
)
HTTP_DATE: StaticSchema = (
4,
n0,
- _s192,
- {_s94: _s193},
+ _s195,
+ {_s94: _s196},
)
HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_INPUT: StaticSchema = (
18,
n1,
- _s194,
- {_s30: _s195, _s32: None},
- (_s196, _s199, _s200, _s201, _s202, _s203, _s204),
+ _s197,
+ {_s30: _s198, _s32: None},
+ (_s199, _s202, _s203, _s204, _s205, _s206, _s207),
(
- (4, {_s94: _s191, _s197: None, _s198: None}),
- (4, {_s94: _s193, _s197: None, _s198: None}),
- (4, {_s94: _s95, _s197: None, _s198: None}),
+ (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),
@@ -1074,16 +1090,16 @@
HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT_OUTPUT: StaticSchema = (
18,
n1,
- _s487,
- {_s30: _s435, _s92: None},
+ _s495,
+ {_s30: _s444, _s92: None},
)
HTTP_REQUEST_WITH_LABELS_AND_TIMESTAMP_FORMAT: StaticOperationSchema = (
23,
n1,
- _s743,
+ _s758,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{
"method": "GET",
"uri": "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}",
@@ -1098,25 +1114,25 @@
HTTP_REQUEST_WITH_LABELS_INPUT: StaticSchema = (
18,
n1,
- _s205,
- {_s30: _s206, _s32: None},
- (_s207, _s208, _s209, _s210, _s186, _s187, _s211, _s212),
+ _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)),
)
HTTP_REQUEST_WITH_LABELS_OUTPUT: StaticSchema = (
18,
n1,
- _s486,
- {_s30: _s435, _s92: None},
+ _s494,
+ {_s30: _s444, _s92: None},
)
HTTP_REQUEST_WITH_LABELS: StaticOperationSchema = (
23,
n1,
- _s742,
+ _s757,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{
"method": "GET",
"uri": "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}",
@@ -1131,24 +1147,24 @@
HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT: StaticSchema = (
18,
n1,
- _s213,
- {_s30: _s214, _s32: None},
- (_s215,),
+ _s216,
+ {_s30: _s217, _s32: None},
+ (_s218,),
((3, 9),),
)
HTTP_REQUEST_WITH_REGEX_LITERAL_OUTPUT: StaticSchema = (
18,
n1,
- _s488,
- {_s30: _s435, _s92: None},
+ _s496,
+ {_s30: _s444, _s92: None},
)
HTTP_REQUEST_WITH_REGEX_LITERAL: StaticOperationSchema = (
23,
n1,
- _s744,
- {_s714: MappingProxyType({"method": "GET", "uri": "/ReDosLiteral/{str}/(a+)+"})},
+ _s759,
+ {_s729: MappingProxyType({"method": "GET", "uri": "/ReDosLiteral/{str}/(a+)+"})},
HTTP_REQUEST_WITH_REGEX_LITERAL_INPUT,
HTTP_REQUEST_WITH_REGEX_LITERAL_OUTPUT,
(),
@@ -1157,24 +1173,24 @@
HTTP_RESPONSE_CODE_OUTPUT: StaticSchema = (
18,
n1,
- _s216,
- {_s30: _s217, _s92: None},
- (_s218,),
+ _s219,
+ {_s30: _s220, _s92: None},
+ (_s221,),
((7, 128),),
)
HTTP_RESPONSE_CODE_INPUT: StaticSchema = (
18,
n1,
- _s489,
- {_s30: _s435, _s32: None},
+ _s497,
+ {_s30: _s444, _s32: None},
)
HTTP_RESPONSE_CODE: StaticOperationSchema = (
23,
n1,
- _s745,
- {_s714: MappingProxyType({"uri": "/HttpResponseCode", "method": "PUT"})},
+ _s760,
+ {_s729: MappingProxyType({"uri": "/HttpResponseCode", "method": "PUT"})},
HTTP_RESPONSE_CODE_INPUT,
HTTP_RESPONSE_CODE_OUTPUT,
(),
@@ -1183,8 +1199,8 @@
IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT: StaticSchema = (
18,
n1,
- _s219,
- {_s30: _s220, _s92: None},
+ _s222,
+ {_s30: _s223, _s92: None},
(_s83,),
((3, {_s34: _s83}),),
)
@@ -1192,15 +1208,15 @@
IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT: StaticSchema = (
18,
n1,
- _s493,
- {_s30: _s435, _s32: None},
+ _s501,
+ {_s30: _s444, _s32: None},
)
IGNORE_QUERY_PARAMS_IN_RESPONSE: StaticOperationSchema = (
23,
n1,
- _s747,
- {_s714: MappingProxyType({"uri": "/IgnoreQueryParamsInResponse", "method": "GET"})},
+ _s762,
+ {_s729: MappingProxyType({"uri": "/IgnoreQueryParamsInResponse", "method": "GET"})},
IGNORE_QUERY_PARAMS_IN_RESPONSE_INPUT,
IGNORE_QUERY_PARAMS_IN_RESPONSE_OUTPUT,
(),
@@ -1209,48 +1225,48 @@
INVALID_GREETING: StaticSchema = (
18,
n1,
- _s221,
+ _s224,
{_s73: _s74, _s75: 400},
- (_s222,),
+ (_s225,),
((3, 0),),
)
JSON_HEADER_STRING: StaticSchema = (
3,
n1,
- _s223,
- {_s224: _s225},
+ _s226,
+ {_s227: _s228},
)
JSON_VALUE: StaticSchema = (
3,
n1,
- _s226,
- {_s224: _s225},
+ _s229,
+ {_s227: _s228},
)
MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT: StaticSchema = (
18,
n1,
- _s227,
- {_s30: _s228, _s92: None},
- (_s229,),
+ _s230,
+ {_s30: _s231, _s92: None},
+ (_s232,),
((3, 16),),
)
MALFORMED_ACCEPT_WITH_GENERIC_STRING_INPUT: StaticSchema = (
18,
n1,
- _s592,
- {_s30: _s435, _s32: None},
+ _s600,
+ {_s30: _s444, _s32: None},
)
MALFORMED_ACCEPT_WITH_GENERIC_STRING: StaticOperationSchema = (
23,
n1,
- _s757,
+ _s772,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/MalformedAcceptWithGenericString"}
)
},
@@ -1258,3 +1274,36 @@
MALFORMED_ACCEPT_WITH_GENERIC_STRING_OUTPUT,
(),
)
+
+JPEG_BLOB: StaticSchema = (
+ 1,
+ n0,
+ _s233,
+ {_s227: _s234},
+)
+
+MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT: StaticSchema = (
+ 18,
+ n1,
+ _s235,
+ {_s30: _s236, _s92: None},
+ (_s232,),
+ ((JPEG_BLOB, 16),),
+)
+
+MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT: StaticSchema = (
+ 18,
+ n1,
+ _s601,
+ {_s30: _s444, _s32: None},
+)
+
+MALFORMED_ACCEPT_WITH_PAYLOAD: StaticOperationSchema = (
+ 23,
+ n1,
+ _s773,
+ {_s729: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithPayload"})},
+ MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT,
+ MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT,
+ (),
+)
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 4c85aeab5..02fa66115 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,14 +4,27 @@
from . import schemas
-n0 = "aws.protocoltests.shared"
+_s0 = "StringList"
_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"
@@ -19,263 +32,227 @@
_s127 = "emptyString"
_s141 = "GreetingStruct"
_s148 = "greeting"
-_s186 = "float"
-_s191 = "epoch-seconds"
-_s193 = "http-date"
-_s197 = "smithy.api#httpLabel"
-_s198 = "smithy.api#required"
-_s207 = "string"
-_s212 = "timestamp"
-_s224 = "smithy.api#mediaType"
-_s229 = "payload"
-_s230 = "JpegBlob"
-_s231 = "image/jpeg"
-_s232 = "MalformedAcceptWithPayloadOutput"
-_s233 = "aws.protocoltests.restjson#MalformedAcceptWithPayloadOutput"
-_s234 = "MalformedBlobInput"
-_s235 = "aws.protocoltests.restjson#MalformedBlobInput"
-_s236 = "blob"
-_s237 = "MalformedBooleanInput"
-_s238 = "aws.protocoltests.restjson#MalformedBooleanInput"
-_s239 = "booleanInBody"
-_s240 = "booleanInPath"
-_s241 = "booleanInQuery"
-_s242 = "booleanInHeader"
-_s243 = "MalformedByteInput"
-_s244 = "aws.protocoltests.restjson#MalformedByteInput"
-_s245 = "byteInBody"
-_s246 = "byteInPath"
-_s247 = "byteInQuery"
-_s248 = "byteInHeader"
-_s249 = "MalformedContentTypeWithGenericStringInput"
-_s250 = "aws.protocoltests.restjson#MalformedContentTypeWithGenericStringInput"
-_s251 = "MalformedContentTypeWithPayloadInput"
-_s252 = "aws.protocoltests.restjson#MalformedContentTypeWithPayloadInput"
-_s253 = "MalformedContentTypeWithoutBodyEmptyInputInput"
-_s254 = "aws.protocoltests.restjson#MalformedContentTypeWithoutBodyEmptyInputInput"
-_s255 = "header"
-_s256 = "MalformedDoubleInput"
-_s257 = "aws.protocoltests.restjson#MalformedDoubleInput"
-_s258 = "doubleInBody"
-_s259 = "doubleInPath"
-_s260 = "doubleInQuery"
-_s261 = "doubleInHeader"
-_s262 = "MalformedFloatInput"
-_s263 = "aws.protocoltests.restjson#MalformedFloatInput"
-_s264 = "floatInBody"
-_s265 = "floatInPath"
-_s266 = "floatInQuery"
-_s267 = "floatInHeader"
-_s268 = "MalformedIntegerInput"
-_s269 = "aws.protocoltests.restjson#MalformedIntegerInput"
-_s270 = "integerInBody"
-_s271 = "integerInPath"
-_s272 = "integerInQuery"
-_s273 = "integerInHeader"
-_s274 = "SimpleList"
-_s275 = "MalformedListInput"
-_s276 = "aws.protocoltests.restjson#MalformedListInput"
-_s277 = "bodyList"
-_s278 = "MalformedLongInput"
-_s279 = "aws.protocoltests.restjson#MalformedLongInput"
-_s280 = "longInBody"
-_s281 = "longInPath"
-_s282 = "longInQuery"
-_s283 = "longInHeader"
-_s284 = "SimpleMap"
-_s285 = "MalformedMapInput"
-_s286 = "aws.protocoltests.restjson#MalformedMapInput"
-_s287 = "bodyMap"
-_s288 = "MalformedRequestBodyInput"
-_s289 = "aws.protocoltests.restjson#MalformedRequestBodyInput"
-_s290 = "int"
-_s291 = "MalformedShortInput"
-_s292 = "aws.protocoltests.restjson#MalformedShortInput"
-_s293 = "shortInBody"
-_s294 = "shortInPath"
-_s295 = "shortInQuery"
-_s296 = "shortInHeader"
-_s297 = "MalformedStringInput"
-_s298 = "aws.protocoltests.restjson#MalformedStringInput"
-_s299 = "amz-media-typed-header"
-_s300 = "MalformedTimestampBodyDateTimeInput"
-_s301 = "aws.protocoltests.restjson#MalformedTimestampBodyDateTimeInput"
-_s302 = "MalformedTimestampBodyDefaultInput"
-_s303 = "aws.protocoltests.restjson#MalformedTimestampBodyDefaultInput"
-_s304 = "MalformedTimestampBodyHttpDateInput"
-_s305 = "aws.protocoltests.restjson#MalformedTimestampBodyHttpDateInput"
-_s306 = "MalformedTimestampHeaderDateTimeInput"
-_s307 = "aws.protocoltests.restjson#MalformedTimestampHeaderDateTimeInput"
-_s308 = "MalformedTimestampHeaderDefaultInput"
-_s309 = "aws.protocoltests.restjson#MalformedTimestampHeaderDefaultInput"
-_s310 = "MalformedTimestampHeaderEpochInput"
-_s311 = "aws.protocoltests.restjson#MalformedTimestampHeaderEpochInput"
-_s312 = "MalformedTimestampPathDefaultInput"
-_s313 = "aws.protocoltests.restjson#MalformedTimestampPathDefaultInput"
-_s314 = "MalformedTimestampPathEpochInput"
-_s315 = "aws.protocoltests.restjson#MalformedTimestampPathEpochInput"
-_s316 = "MalformedTimestampPathHttpDateInput"
-_s317 = "aws.protocoltests.restjson#MalformedTimestampPathHttpDateInput"
-_s318 = "MalformedTimestampQueryDefaultInput"
-_s319 = "aws.protocoltests.restjson#MalformedTimestampQueryDefaultInput"
-_s320 = "MalformedTimestampQueryEpochInput"
-_s321 = "aws.protocoltests.restjson#MalformedTimestampQueryEpochInput"
-_s322 = "MalformedTimestampQueryHttpDateInput"
-_s323 = "aws.protocoltests.restjson#MalformedTimestampQueryHttpDateInput"
-_s324 = "SimpleUnion"
-_s325 = "MalformedUnionInput"
-_s326 = "aws.protocoltests.restjson#MalformedUnionInput"
-_s327 = "union"
-_s328 = "MediaTypeHeaderInput"
-_s329 = "aws.protocoltests.restjson#MediaTypeHeaderInput"
-_s330 = "json"
-_s331 = "X-Json"
-_s332 = "MediaTypeHeaderOutput"
-_s333 = "aws.protocoltests.restjson#MediaTypeHeaderOutput"
+_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"
-_s334 = "salutation"
-_s335 = "NestedUnion"
-_s336 = "stringValue"
-_s337 = "MyUnion"
-_s338 = "booleanValue"
-_s339 = "numberValue"
-_s340 = "blobValue"
-_s341 = "timestampValue"
-_s342 = "enumValue"
-_s343 = "listValue"
-_s344 = "mapValue"
-_s345 = "structureValue"
-_s346 = "renamedStructureValue"
-_s347 = "unionValue"
-_s348 = "NestedPayload"
-_s349 = "name"
-_s350 = "NoInputAndOutputOutput"
-_s351 = "aws.protocoltests.restjson#NoInputAndOutputOutput"
-_s352 = "OmitsNullSerializesEmptyStringInput"
-_s353 = "aws.protocoltests.restjson#OmitsNullSerializesEmptyStringInput"
-_s354 = "nullValue"
-_s355 = "Null"
-_s356 = "Empty"
-_s435 = "smithy.api#Unit"
-_s593 = "MalformedAcceptWithPayloadInput"
-_s594 = "MalformedBlobOutput"
-_s595 = "MalformedBooleanOutput"
-_s596 = "MalformedByteOutput"
-_s599 = "MalformedContentTypeWithGenericStringOutput"
-_s600 = "MalformedContentTypeWithPayloadOutput"
-_s603 = "MalformedContentTypeWithoutBodyEmptyInputOutput"
-_s604 = "MalformedDoubleOutput"
-_s605 = "MalformedFloatOutput"
-_s606 = "MalformedIntegerOutput"
-_s607 = "MalformedListOutput"
-_s608 = "MalformedLongOutput"
-_s609 = "MalformedMapOutput"
-_s610 = "MalformedRequestBodyOutput"
-_s611 = "MalformedShortOutput"
-_s612 = "MalformedStringOutput"
-_s613 = "MalformedTimestampBodyDateTimeOutput"
-_s614 = "MalformedTimestampBodyDefaultOutput"
-_s615 = "MalformedTimestampBodyHttpDateOutput"
-_s616 = "MalformedTimestampHeaderDateTimeOutput"
-_s617 = "MalformedTimestampHeaderDefaultOutput"
-_s618 = "MalformedTimestampHeaderEpochOutput"
-_s619 = "MalformedTimestampPathDefaultOutput"
-_s620 = "MalformedTimestampPathEpochOutput"
-_s621 = "MalformedTimestampPathHttpDateOutput"
-_s622 = "MalformedTimestampQueryDefaultOutput"
-_s623 = "MalformedTimestampQueryEpochOutput"
-_s624 = "MalformedTimestampQueryHttpDateOutput"
-_s625 = "MalformedUnionOutput"
-_s628 = "NoInputAndOutputInput"
-_s638 = "OmitsNullSerializesEmptyStringOutput"
-_s714 = "smithy.api#http"
-_s758 = "MalformedAcceptWithPayload"
-_s759 = "MalformedBlob"
-_s760 = "MalformedBoolean"
-_s761 = "MalformedByte"
-_s763 = "MalformedContentTypeWithGenericString"
-_s764 = "MalformedContentTypeWithPayload"
-_s766 = "MalformedContentTypeWithoutBodyEmptyInput"
-_s767 = "MalformedDouble"
-_s768 = "MalformedFloat"
-_s769 = "MalformedInteger"
-_s770 = "MalformedList"
-_s771 = "MalformedLong"
-_s772 = "MalformedMap"
-_s773 = "MalformedRequestBody"
-_s774 = "MalformedShort"
-_s775 = "MalformedString"
-_s776 = "MalformedTimestampBodyDateTime"
-_s777 = "MalformedTimestampBodyDefault"
-_s778 = "MalformedTimestampBodyHttpDate"
-_s779 = "MalformedTimestampHeaderDateTime"
-_s780 = "MalformedTimestampHeaderDefault"
-_s781 = "MalformedTimestampHeaderEpoch"
-_s782 = "MalformedTimestampPathDefault"
-_s783 = "MalformedTimestampPathEpoch"
-_s784 = "MalformedTimestampPathHttpDate"
-_s785 = "MalformedTimestampQueryDefault"
-_s786 = "MalformedTimestampQueryEpoch"
-_s787 = "MalformedTimestampQueryHttpDate"
-_s788 = "MalformedUnion"
-_s789 = "MediaTypeHeader"
-_s791 = "NoInputAndOutput"
-_s794 = "OmitsNullSerializesEmptyString"
-
-JPEG_BLOB: StaticSchema = (
- 1,
- n0,
- _s230,
- {_s224: _s231},
-)
-
-MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT: StaticSchema = (
- 18,
- n1,
- _s232,
- {_s30: _s233, _s92: None},
- (_s229,),
- ((JPEG_BLOB, 16),),
-)
-
-MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT: StaticSchema = (
- 18,
- n1,
- _s593,
- {_s30: _s435, _s32: None},
-)
-
-MALFORMED_ACCEPT_WITH_PAYLOAD: StaticOperationSchema = (
- 23,
- n1,
- _s758,
- {_s714: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithPayload"})},
- MALFORMED_ACCEPT_WITH_PAYLOAD_INPUT,
- MALFORMED_ACCEPT_WITH_PAYLOAD_OUTPUT,
- (),
-)
+_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 = (
18,
n1,
- _s234,
- {_s30: _s235, _s32: None},
- (_s236,),
+ _s237,
+ {_s30: _s238, _s32: None},
+ (_s239,),
((1, 0),),
)
MALFORMED_BLOB_OUTPUT: StaticSchema = (
18,
n1,
- _s594,
- {_s30: _s435, _s92: None},
+ _s602,
+ {_s30: _s444, _s92: None},
)
MALFORMED_BLOB: StaticOperationSchema = (
23,
n1,
- _s759,
- {_s714: MappingProxyType({"uri": "/MalformedBlob", "method": "POST"})},
+ _s774,
+ {_s729: MappingProxyType({"uri": "/MalformedBlob", "method": "POST"})},
MALFORMED_BLOB_INPUT,
MALFORMED_BLOB_OUTPUT,
(),
@@ -284,25 +261,25 @@
MALFORMED_BOOLEAN_INPUT: StaticSchema = (
18,
n1,
- _s237,
- {_s30: _s238, _s32: None},
- (_s239, _s240, _s241, _s242),
- ((2, 0), (2, 9), (2, {_s34: _s241}), (2, {_s77: _s242})),
+ _s240,
+ {_s30: _s241, _s32: None},
+ (_s242, _s243, _s244, _s245),
+ ((2, 0), (2, 9), (2, {_s34: _s244}), (2, {_s77: _s245})),
)
MALFORMED_BOOLEAN_OUTPUT: StaticSchema = (
18,
n1,
- _s595,
- {_s30: _s435, _s92: None},
+ _s603,
+ {_s30: _s444, _s92: None},
)
MALFORMED_BOOLEAN: StaticOperationSchema = (
23,
n1,
- _s760,
+ _s775,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedBoolean/{booleanInPath}", "method": "POST"}
)
},
@@ -314,24 +291,24 @@
MALFORMED_BYTE_INPUT: StaticSchema = (
18,
n1,
- _s243,
- {_s30: _s244, _s32: None},
- (_s245, _s246, _s247, _s248),
- ((5, 0), (5, 9), (5, {_s34: _s247}), (5, {_s77: _s248})),
+ _s246,
+ {_s30: _s247, _s32: None},
+ (_s248, _s249, _s250, _s251),
+ ((5, 0), (5, 9), (5, {_s34: _s250}), (5, {_s77: _s251})),
)
MALFORMED_BYTE_OUTPUT: StaticSchema = (
18,
n1,
- _s596,
- {_s30: _s435, _s92: None},
+ _s604,
+ {_s30: _s444, _s92: None},
)
MALFORMED_BYTE: StaticOperationSchema = (
23,
n1,
- _s761,
- {_s714: MappingProxyType({"uri": "/MalformedByte/{byteInPath}", "method": "POST"})},
+ _s776,
+ {_s729: MappingProxyType({"uri": "/MalformedByte/{byteInPath}", "method": "POST"})},
MALFORMED_BYTE_INPUT,
MALFORMED_BYTE_OUTPUT,
(),
@@ -340,25 +317,25 @@
MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_INPUT: StaticSchema = (
18,
n1,
- _s249,
- {_s30: _s250, _s32: None},
- (_s229,),
+ _s252,
+ {_s30: _s253, _s32: None},
+ (_s232,),
((3, 16),),
)
MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING_OUTPUT: StaticSchema = (
18,
n1,
- _s599,
- {_s30: _s435, _s92: None},
+ _s607,
+ {_s30: _s444, _s92: None},
)
MALFORMED_CONTENT_TYPE_WITH_GENERIC_STRING: StaticOperationSchema = (
23,
n1,
- _s763,
+ _s778,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/MalformedContentTypeWithGenericString"}
)
},
@@ -370,25 +347,25 @@
MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s251,
- {_s30: _s252, _s32: None},
- (_s229,),
- ((JPEG_BLOB, 16),),
+ _s254,
+ {_s30: _s255, _s32: None},
+ (_s232,),
+ ((lambda: schemas.JPEG_BLOB, 16),),
)
MALFORMED_CONTENT_TYPE_WITH_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s600,
- {_s30: _s435, _s92: None},
+ _s608,
+ {_s30: _s444, _s92: None},
)
MALFORMED_CONTENT_TYPE_WITH_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s764,
+ _s779,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/MalformedContentTypeWithPayload"}
)
},
@@ -400,25 +377,25 @@
MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_INPUT: StaticSchema = (
18,
n1,
- _s253,
- {_s30: _s254, _s32: None},
- (_s255,),
- ((3, {_s77: _s255}),),
+ _s256,
+ {_s30: _s257, _s32: None},
+ (_s258,),
+ ((3, {_s77: _s258}),),
)
MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT_OUTPUT: StaticSchema = (
18,
n1,
- _s603,
- {_s30: _s435, _s92: None},
+ _s611,
+ {_s30: _s444, _s92: None},
)
MALFORMED_CONTENT_TYPE_WITHOUT_BODY_EMPTY_INPUT: StaticOperationSchema = (
23,
n1,
- _s766,
+ _s781,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/MalformedContentTypeWithoutBodyEmptyInput"}
)
},
@@ -430,25 +407,25 @@
MALFORMED_DOUBLE_INPUT: StaticSchema = (
18,
n1,
- _s256,
- {_s30: _s257, _s32: None},
- (_s258, _s259, _s260, _s261),
- ((10, 0), (10, 9), (10, {_s34: _s260}), (10, {_s77: _s261})),
+ _s259,
+ {_s30: _s260, _s32: None},
+ (_s261, _s262, _s263, _s264),
+ ((10, 0), (10, 9), (10, {_s34: _s263}), (10, {_s77: _s264})),
)
MALFORMED_DOUBLE_OUTPUT: StaticSchema = (
18,
n1,
- _s604,
- {_s30: _s435, _s92: None},
+ _s612,
+ {_s30: _s444, _s92: None},
)
MALFORMED_DOUBLE: StaticOperationSchema = (
23,
n1,
- _s767,
+ _s782,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedDouble/{doubleInPath}", "method": "POST"}
)
},
@@ -460,25 +437,25 @@
MALFORMED_FLOAT_INPUT: StaticSchema = (
18,
n1,
- _s262,
- {_s30: _s263, _s32: None},
- (_s264, _s265, _s266, _s267),
- ((9, 0), (9, 9), (9, {_s34: _s266}), (9, {_s77: _s267})),
+ _s265,
+ {_s30: _s266, _s32: None},
+ (_s267, _s268, _s269, _s270),
+ ((9, 0), (9, 9), (9, {_s34: _s269}), (9, {_s77: _s270})),
)
MALFORMED_FLOAT_OUTPUT: StaticSchema = (
18,
n1,
- _s605,
- {_s30: _s435, _s92: None},
+ _s613,
+ {_s30: _s444, _s92: None},
)
MALFORMED_FLOAT: StaticOperationSchema = (
23,
n1,
- _s768,
+ _s783,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedFloat/{floatInPath}", "method": "POST"}
)
},
@@ -490,25 +467,25 @@
MALFORMED_INTEGER_INPUT: StaticSchema = (
18,
n1,
- _s268,
- {_s30: _s269, _s32: None},
- (_s270, _s271, _s272, _s273),
- ((7, 0), (7, 9), (7, {_s34: _s272}), (7, {_s77: _s273})),
+ _s271,
+ {_s30: _s272, _s32: None},
+ (_s273, _s274, _s275, _s276),
+ ((7, 0), (7, 9), (7, {_s34: _s275}), (7, {_s77: _s276})),
)
MALFORMED_INTEGER_OUTPUT: StaticSchema = (
18,
n1,
- _s606,
- {_s30: _s435, _s92: None},
+ _s614,
+ {_s30: _s444, _s92: None},
)
MALFORMED_INTEGER: StaticOperationSchema = (
23,
n1,
- _s769,
+ _s784,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedInteger/{integerInPath}", "method": "POST"}
)
},
@@ -520,7 +497,7 @@
SIMPLE_LIST: StaticSchema = (
16,
n1,
- _s274,
+ _s277,
0,
(_s1,),
((3, 0),),
@@ -529,24 +506,24 @@
MALFORMED_LIST_INPUT: StaticSchema = (
18,
n1,
- _s275,
- {_s30: _s276, _s32: None},
- (_s277,),
+ _s278,
+ {_s30: _s279, _s32: None},
+ (_s280,),
((SIMPLE_LIST, 0),),
)
MALFORMED_LIST_OUTPUT: StaticSchema = (
18,
n1,
- _s607,
- {_s30: _s435, _s92: None},
+ _s615,
+ {_s30: _s444, _s92: None},
)
MALFORMED_LIST: StaticOperationSchema = (
23,
n1,
- _s770,
- {_s714: MappingProxyType({"uri": "/MalformedList", "method": "POST"})},
+ _s785,
+ {_s729: MappingProxyType({"uri": "/MalformedList", "method": "POST"})},
MALFORMED_LIST_INPUT,
MALFORMED_LIST_OUTPUT,
(),
@@ -555,24 +532,24 @@
MALFORMED_LONG_INPUT: StaticSchema = (
18,
n1,
- _s278,
- {_s30: _s279, _s32: None},
- (_s280, _s281, _s282, _s283),
- ((8, 0), (8, 9), (8, {_s34: _s282}), (8, {_s77: _s283})),
+ _s281,
+ {_s30: _s282, _s32: None},
+ (_s283, _s284, _s285, _s286),
+ ((8, 0), (8, 9), (8, {_s34: _s285}), (8, {_s77: _s286})),
)
MALFORMED_LONG_OUTPUT: StaticSchema = (
18,
n1,
- _s608,
- {_s30: _s435, _s92: None},
+ _s616,
+ {_s30: _s444, _s92: None},
)
MALFORMED_LONG: StaticOperationSchema = (
23,
n1,
- _s771,
- {_s714: MappingProxyType({"uri": "/MalformedLong/{longInPath}", "method": "POST"})},
+ _s786,
+ {_s729: MappingProxyType({"uri": "/MalformedLong/{longInPath}", "method": "POST"})},
MALFORMED_LONG_INPUT,
MALFORMED_LONG_OUTPUT,
(),
@@ -581,7 +558,7 @@
SIMPLE_MAP: StaticSchema = (
17,
n1,
- _s284,
+ _s287,
0,
(_s27, _s28),
((3, 0), (3, 0)),
@@ -590,24 +567,24 @@
MALFORMED_MAP_INPUT: StaticSchema = (
18,
n1,
- _s285,
- {_s30: _s286, _s32: None},
- (_s287,),
+ _s288,
+ {_s30: _s289, _s32: None},
+ (_s290,),
((SIMPLE_MAP, 0),),
)
MALFORMED_MAP_OUTPUT: StaticSchema = (
18,
n1,
- _s609,
- {_s30: _s435, _s92: None},
+ _s617,
+ {_s30: _s444, _s92: None},
)
MALFORMED_MAP: StaticOperationSchema = (
23,
n1,
- _s772,
- {_s714: MappingProxyType({"uri": "/MalformedMap", "method": "POST"})},
+ _s787,
+ {_s729: MappingProxyType({"uri": "/MalformedMap", "method": "POST"})},
MALFORMED_MAP_INPUT,
MALFORMED_MAP_OUTPUT,
(),
@@ -616,24 +593,24 @@
MALFORMED_REQUEST_BODY_INPUT: StaticSchema = (
18,
n1,
- _s288,
- {_s30: _s289, _s32: None},
- (_s290, _s186),
+ _s291,
+ {_s30: _s292, _s32: None},
+ (_s293, _s189),
((7, 0), (9, 0)),
)
MALFORMED_REQUEST_BODY_OUTPUT: StaticSchema = (
18,
n1,
- _s610,
- {_s30: _s435, _s92: None},
+ _s618,
+ {_s30: _s444, _s92: None},
)
MALFORMED_REQUEST_BODY: StaticOperationSchema = (
23,
n1,
- _s773,
- {_s714: MappingProxyType({"uri": "/MalformedRequestBody", "method": "POST"})},
+ _s788,
+ {_s729: MappingProxyType({"uri": "/MalformedRequestBody", "method": "POST"})},
MALFORMED_REQUEST_BODY_INPUT,
MALFORMED_REQUEST_BODY_OUTPUT,
(),
@@ -642,25 +619,25 @@
MALFORMED_SHORT_INPUT: StaticSchema = (
18,
n1,
- _s291,
- {_s30: _s292, _s32: None},
- (_s293, _s294, _s295, _s296),
- ((6, 0), (6, 9), (6, {_s34: _s295}), (6, {_s77: _s296})),
+ _s294,
+ {_s30: _s295, _s32: None},
+ (_s296, _s297, _s298, _s299),
+ ((6, 0), (6, 9), (6, {_s34: _s298}), (6, {_s77: _s299})),
)
MALFORMED_SHORT_OUTPUT: StaticSchema = (
18,
n1,
- _s611,
- {_s30: _s435, _s92: None},
+ _s619,
+ {_s30: _s444, _s92: None},
)
MALFORMED_SHORT: StaticOperationSchema = (
23,
n1,
- _s774,
+ _s789,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedShort/{shortInPath}", "method": "POST"}
)
},
@@ -672,24 +649,24 @@
MALFORMED_STRING_INPUT: StaticSchema = (
18,
n1,
- _s297,
- {_s30: _s298, _s32: None},
- (_s236,),
- ((lambda: schemas.JSON_HEADER_STRING, {_s77: _s299}),),
+ _s300,
+ {_s30: _s301, _s32: None},
+ (_s239,),
+ ((lambda: schemas.JSON_HEADER_STRING, {_s77: _s302}),),
)
MALFORMED_STRING_OUTPUT: StaticSchema = (
18,
n1,
- _s612,
- {_s30: _s435, _s92: None},
+ _s620,
+ {_s30: _s444, _s92: None},
)
MALFORMED_STRING: StaticOperationSchema = (
23,
n1,
- _s775,
- {_s714: MappingProxyType({"uri": "/MalformedString", "method": "POST"})},
+ _s790,
+ {_s729: MappingProxyType({"uri": "/MalformedString", "method": "POST"})},
MALFORMED_STRING_INPUT,
MALFORMED_STRING_OUTPUT,
(),
@@ -698,25 +675,25 @@
MALFORMED_TIMESTAMP_BODY_DATE_TIME_INPUT: StaticSchema = (
18,
n1,
- _s300,
- {_s30: _s301, _s32: None},
- (_s212,),
- ((4, {_s94: _s95, _s198: None}),),
+ _s303,
+ {_s30: _s304, _s32: None},
+ (_s215,),
+ ((4, {_s94: _s95, _s201: None}),),
)
MALFORMED_TIMESTAMP_BODY_DATE_TIME_OUTPUT: StaticSchema = (
18,
n1,
- _s613,
- {_s30: _s435, _s92: None},
+ _s621,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_BODY_DATE_TIME: StaticOperationSchema = (
23,
n1,
- _s776,
+ _s791,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampBodyDateTime", "method": "POST"}
)
},
@@ -728,25 +705,25 @@
MALFORMED_TIMESTAMP_BODY_DEFAULT_INPUT: StaticSchema = (
18,
n1,
- _s302,
- {_s30: _s303, _s32: None},
- (_s212,),
+ _s305,
+ {_s30: _s306, _s32: None},
+ (_s215,),
((4, 1),),
)
MALFORMED_TIMESTAMP_BODY_DEFAULT_OUTPUT: StaticSchema = (
18,
n1,
- _s614,
- {_s30: _s435, _s92: None},
+ _s622,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_BODY_DEFAULT: StaticOperationSchema = (
23,
n1,
- _s777,
+ _s792,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampBodyDefault", "method": "POST"}
)
},
@@ -758,25 +735,25 @@
MALFORMED_TIMESTAMP_BODY_HTTP_DATE_INPUT: StaticSchema = (
18,
n1,
- _s304,
- {_s30: _s305, _s32: None},
- (_s212,),
- ((4, {_s94: _s193, _s198: None}),),
+ _s307,
+ {_s30: _s308, _s32: None},
+ (_s215,),
+ ((4, {_s94: _s196, _s201: None}),),
)
MALFORMED_TIMESTAMP_BODY_HTTP_DATE_OUTPUT: StaticSchema = (
18,
n1,
- _s615,
- {_s30: _s435, _s92: None},
+ _s623,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_BODY_HTTP_DATE: StaticOperationSchema = (
23,
n1,
- _s778,
+ _s793,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampBodyHttpDate", "method": "POST"}
)
},
@@ -788,25 +765,25 @@
MALFORMED_TIMESTAMP_HEADER_DATE_TIME_INPUT: StaticSchema = (
18,
n1,
- _s306,
- {_s30: _s307, _s32: None},
- (_s212,),
- ((4, {_s77: _s212, _s94: _s95, _s198: None}),),
+ _s309,
+ {_s30: _s310, _s32: None},
+ (_s215,),
+ ((4, {_s77: _s215, _s94: _s95, _s201: None}),),
)
MALFORMED_TIMESTAMP_HEADER_DATE_TIME_OUTPUT: StaticSchema = (
18,
n1,
- _s616,
- {_s30: _s435, _s92: None},
+ _s624,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_HEADER_DATE_TIME: StaticOperationSchema = (
23,
n1,
- _s779,
+ _s794,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampHeaderDateTime", "method": "POST"}
)
},
@@ -818,25 +795,25 @@
MALFORMED_TIMESTAMP_HEADER_DEFAULT_INPUT: StaticSchema = (
18,
n1,
- _s308,
- {_s30: _s309, _s32: None},
- (_s212,),
- ((4, {_s77: _s212, _s198: None}),),
+ _s311,
+ {_s30: _s312, _s32: None},
+ (_s215,),
+ ((4, {_s77: _s215, _s201: None}),),
)
MALFORMED_TIMESTAMP_HEADER_DEFAULT_OUTPUT: StaticSchema = (
18,
n1,
- _s617,
- {_s30: _s435, _s92: None},
+ _s625,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_HEADER_DEFAULT: StaticOperationSchema = (
23,
n1,
- _s780,
+ _s795,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampHeaderDefault", "method": "POST"}
)
},
@@ -848,25 +825,25 @@
MALFORMED_TIMESTAMP_HEADER_EPOCH_INPUT: StaticSchema = (
18,
n1,
- _s310,
- {_s30: _s311, _s32: None},
- (_s212,),
- ((4, {_s77: _s212, _s94: _s191, _s198: None}),),
+ _s313,
+ {_s30: _s314, _s32: None},
+ (_s215,),
+ ((4, {_s77: _s215, _s94: _s194, _s201: None}),),
)
MALFORMED_TIMESTAMP_HEADER_EPOCH_OUTPUT: StaticSchema = (
18,
n1,
- _s618,
- {_s30: _s435, _s92: None},
+ _s626,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_HEADER_EPOCH: StaticOperationSchema = (
23,
n1,
- _s781,
+ _s796,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampHeaderEpoch", "method": "POST"}
)
},
@@ -878,25 +855,25 @@
MALFORMED_TIMESTAMP_PATH_DEFAULT_INPUT: StaticSchema = (
18,
n1,
- _s312,
- {_s30: _s313, _s32: None},
- (_s212,),
+ _s315,
+ {_s30: _s316, _s32: None},
+ (_s215,),
((4, 9),),
)
MALFORMED_TIMESTAMP_PATH_DEFAULT_OUTPUT: StaticSchema = (
18,
n1,
- _s619,
- {_s30: _s435, _s92: None},
+ _s627,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_PATH_DEFAULT: StaticOperationSchema = (
23,
n1,
- _s782,
+ _s797,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampPathDefault/{timestamp}", "method": "POST"}
)
},
@@ -908,25 +885,25 @@
MALFORMED_TIMESTAMP_PATH_EPOCH_INPUT: StaticSchema = (
18,
n1,
- _s314,
- {_s30: _s315, _s32: None},
- (_s212,),
- ((4, {_s94: _s191, _s197: None, _s198: None}),),
+ _s317,
+ {_s30: _s318, _s32: None},
+ (_s215,),
+ ((4, {_s94: _s194, _s200: None, _s201: None}),),
)
MALFORMED_TIMESTAMP_PATH_EPOCH_OUTPUT: StaticSchema = (
18,
n1,
- _s620,
- {_s30: _s435, _s92: None},
+ _s628,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_PATH_EPOCH: StaticOperationSchema = (
23,
n1,
- _s783,
+ _s798,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampPathEpoch/{timestamp}", "method": "POST"}
)
},
@@ -938,25 +915,25 @@
MALFORMED_TIMESTAMP_PATH_HTTP_DATE_INPUT: StaticSchema = (
18,
n1,
- _s316,
- {_s30: _s317, _s32: None},
- (_s212,),
- ((4, {_s94: _s193, _s197: None, _s198: None}),),
+ _s319,
+ {_s30: _s320, _s32: None},
+ (_s215,),
+ ((4, {_s94: _s196, _s200: None, _s201: None}),),
)
MALFORMED_TIMESTAMP_PATH_HTTP_DATE_OUTPUT: StaticSchema = (
18,
n1,
- _s621,
- {_s30: _s435, _s92: None},
+ _s629,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_PATH_HTTP_DATE: StaticOperationSchema = (
23,
n1,
- _s784,
+ _s799,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampPathHttpDate/{timestamp}", "method": "POST"}
)
},
@@ -968,25 +945,25 @@
MALFORMED_TIMESTAMP_QUERY_DEFAULT_INPUT: StaticSchema = (
18,
n1,
- _s318,
- {_s30: _s319, _s32: None},
- (_s212,),
- ((4, {_s34: _s212, _s198: None}),),
+ _s321,
+ {_s30: _s322, _s32: None},
+ (_s215,),
+ ((4, {_s34: _s215, _s201: None}),),
)
MALFORMED_TIMESTAMP_QUERY_DEFAULT_OUTPUT: StaticSchema = (
18,
n1,
- _s622,
- {_s30: _s435, _s92: None},
+ _s630,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_QUERY_DEFAULT: StaticOperationSchema = (
23,
n1,
- _s785,
+ _s800,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampQueryDefault", "method": "POST"}
)
},
@@ -998,25 +975,25 @@
MALFORMED_TIMESTAMP_QUERY_EPOCH_INPUT: StaticSchema = (
18,
n1,
- _s320,
- {_s30: _s321, _s32: None},
- (_s212,),
- ((4, {_s34: _s212, _s94: _s191, _s198: None}),),
+ _s323,
+ {_s30: _s324, _s32: None},
+ (_s215,),
+ ((4, {_s34: _s215, _s94: _s194, _s201: None}),),
)
MALFORMED_TIMESTAMP_QUERY_EPOCH_OUTPUT: StaticSchema = (
18,
n1,
- _s623,
- {_s30: _s435, _s92: None},
+ _s631,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_QUERY_EPOCH: StaticOperationSchema = (
23,
n1,
- _s786,
+ _s801,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampQueryEpoch", "method": "POST"}
)
},
@@ -1028,25 +1005,25 @@
MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_INPUT: StaticSchema = (
18,
n1,
- _s322,
- {_s30: _s323, _s32: None},
- (_s212,),
- ((4, {_s34: _s212, _s94: _s193, _s198: None}),),
+ _s325,
+ {_s30: _s326, _s32: None},
+ (_s215,),
+ ((4, {_s34: _s215, _s94: _s196, _s201: None}),),
)
MALFORMED_TIMESTAMP_QUERY_HTTP_DATE_OUTPUT: StaticSchema = (
18,
n1,
- _s624,
- {_s30: _s435, _s92: None},
+ _s632,
+ {_s30: _s444, _s92: None},
)
MALFORMED_TIMESTAMP_QUERY_HTTP_DATE: StaticOperationSchema = (
23,
n1,
- _s787,
+ _s802,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/MalformedTimestampQueryHttpDate", "method": "POST"}
)
},
@@ -1058,33 +1035,33 @@
SIMPLE_UNION: StaticSchema = (
19,
n1,
- _s324,
+ _s327,
0,
- (_s290, _s207),
+ (_s293, _s210),
((7, 0), (3, 0)),
)
MALFORMED_UNION_INPUT: StaticSchema = (
18,
n1,
- _s325,
- {_s30: _s326, _s32: None},
- (_s327,),
+ _s328,
+ {_s30: _s329, _s32: None},
+ (_s330,),
((SIMPLE_UNION, 0),),
)
MALFORMED_UNION_OUTPUT: StaticSchema = (
18,
n1,
- _s625,
- {_s30: _s435, _s92: None},
+ _s633,
+ {_s30: _s444, _s92: None},
)
MALFORMED_UNION: StaticOperationSchema = (
23,
n1,
- _s788,
- {_s714: MappingProxyType({"uri": "/MalformedUnion", "method": "POST"})},
+ _s803,
+ {_s729: MappingProxyType({"uri": "/MalformedUnion", "method": "POST"})},
MALFORMED_UNION_INPUT,
MALFORMED_UNION_OUTPUT,
(),
@@ -1093,26 +1070,26 @@
MEDIA_TYPE_HEADER_INPUT: StaticSchema = (
18,
n1,
- _s328,
- {_s30: _s329, _s32: None},
- (_s330,),
- ((lambda: schemas.JSON_VALUE, {_s77: _s331}),),
+ _s331,
+ {_s30: _s332, _s32: None},
+ (_s333,),
+ ((lambda: schemas.JSON_VALUE, {_s77: _s334}),),
)
MEDIA_TYPE_HEADER_OUTPUT: StaticSchema = (
18,
n1,
- _s332,
- {_s30: _s333, _s92: None},
- (_s330,),
- ((lambda: schemas.JSON_VALUE, {_s77: _s331}),),
+ _s335,
+ {_s30: _s336, _s92: None},
+ (_s333,),
+ ((lambda: schemas.JSON_VALUE, {_s77: _s334}),),
)
MEDIA_TYPE_HEADER: StaticOperationSchema = (
23,
n1,
- _s789,
- {_s714: MappingProxyType({"uri": "/MediaTypeHeader", "method": "GET"})},
+ _s804,
+ {_s729: MappingProxyType({"uri": "/MediaTypeHeader", "method": "GET"})},
MEDIA_TYPE_HEADER_INPUT,
MEDIA_TYPE_HEADER_OUTPUT,
(),
@@ -1123,25 +1100,25 @@
n2,
_s141,
0,
- (_s334,),
+ (_s337,),
((3, 0),),
)
NESTED_UNION: StaticSchema = (
19,
n1,
- _s335,
+ _s338,
0,
- (_s336,),
+ (_s339,),
((3, 0),),
)
MY_UNION: StaticSchema = (
19,
n1,
- _s337,
+ _s340,
0,
- (_s336, _s338, _s339, _s340, _s341, _s342, _s343, _s344, _s345, _s346, _s347),
+ (_s339, _s341, _s342, _s343, _s344, _s345, _s346, _s347, _s348, _s349, _s350),
(
(3, 0),
(2, 0),
@@ -1160,31 +1137,31 @@
NESTED_PAYLOAD: StaticSchema = (
18,
n1,
- _s348,
+ _s351,
0,
- (_s148, _s349),
+ (_s148, _s352),
((3, 0), (3, 0)),
)
NO_INPUT_AND_OUTPUT_OUTPUT: StaticSchema = (
18,
n1,
- _s350,
- {_s30: _s351, _s92: None},
+ _s353,
+ {_s30: _s354, _s92: None},
)
NO_INPUT_AND_OUTPUT_INPUT: StaticSchema = (
18,
n1,
- _s628,
- {_s30: _s435, _s32: None},
+ _s636,
+ {_s30: _s444, _s32: None},
)
NO_INPUT_AND_OUTPUT: StaticOperationSchema = (
23,
n1,
- _s791,
- {_s714: MappingProxyType({"uri": "/NoInputAndOutputOutput", "method": "POST"})},
+ _s806,
+ {_s729: MappingProxyType({"uri": "/NoInputAndOutputOutput", "method": "POST"})},
NO_INPUT_AND_OUTPUT_INPUT,
NO_INPUT_AND_OUTPUT_OUTPUT,
(),
@@ -1193,25 +1170,25 @@
OMITS_NULL_SERIALIZES_EMPTY_STRING_INPUT: StaticSchema = (
18,
n1,
- _s352,
- {_s30: _s353, _s32: None},
- (_s354, _s127),
- ((3, {_s34: _s355}), (3, {_s34: _s356})),
+ _s355,
+ {_s30: _s356, _s32: None},
+ (_s357, _s127),
+ ((3, {_s34: _s358}), (3, {_s34: _s359})),
)
OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT: StaticSchema = (
18,
n1,
- _s638,
- {_s30: _s435, _s92: None},
+ _s646,
+ {_s30: _s444, _s92: None},
)
OMITS_NULL_SERIALIZES_EMPTY_STRING: StaticOperationSchema = (
23,
n1,
- _s794,
+ _s809,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/OmitsNullSerializesEmptyString", "method": "GET"}
)
},
@@ -1219,3 +1196,37 @@
OMITS_NULL_SERIALIZES_EMPTY_STRING_OUTPUT,
(),
)
+
+OMITS_SERIALIZING_EMPTY_LISTS_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}),
+ ),
+)
+
+OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT: StaticSchema = (
+ 18,
+ n1,
+ _s647,
+ {_s30: _s444, _s92: None},
+)
+
+OMITS_SERIALIZING_EMPTY_LISTS: StaticOperationSchema = (
+ 23,
+ n1,
+ _s810,
+ {_s729: MappingProxyType({"uri": "/OmitsSerializingEmptyLists", "method": "POST"})},
+ OMITS_SERIALIZING_EMPTY_LISTS_INPUT,
+ OMITS_SERIALIZING_EMPTY_LISTS_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 766023e7a..ac9fd0ae0 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
@@ -5,29 +5,15 @@
from . import schemas
n0 = "aws.protocoltests.shared"
-_s0 = "StringList"
_s1 = "member"
-_s3 = "IntegerList"
-_s5 = "DoubleList"
-_s6 = "BooleanList"
-_s7 = "TimestampList"
_s9 = "FOO"
_s10 = "smithy.api#enumValue"
-_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"
_s68 = "smithy.api#default"
_s70 = "smithy.api#jsonName"
_s77 = "smithy.api#httpHeader"
@@ -67,209 +53,213 @@
_s135 = "zeroFloat"
_s136 = "zeroDouble"
_s148 = "greeting"
-_s178 = "foo"
-_s224 = "smithy.api#mediaType"
-_s229 = "payload"
-_s236 = "blob"
-_s336 = "stringValue"
-_s357 = "OmitsSerializingEmptyListsInput"
-_s358 = "aws.protocoltests.restjson#OmitsSerializingEmptyListsInput"
-_s359 = "OperationWithDefaultsInput"
-_s360 = "aws.protocoltests.restjson#OperationWithDefaultsInput"
-_s361 = "defaults"
-_s362 = "clientOptionalDefaults"
-_s363 = "topLevelDefault"
-_s364 = "otherTopLevelDefault"
-_s365 = "OperationWithDefaultsOutput"
-_s366 = "aws.protocoltests.restjson#OperationWithDefaultsOutput"
-_s367 = "dialog"
-_s368 = "dialogList"
-_s369 = "dialogMap"
-_s370 = "OperationWithNestedStructureInput"
-_s371 = "aws.protocoltests.restjson#OperationWithNestedStructureInput"
-_s372 = "topLevel"
-_s373 = "OperationWithNestedStructureOutput"
-_s374 = "aws.protocoltests.restjson#OperationWithNestedStructureOutput"
-_s375 = "PayloadConfig"
-_s376 = "data"
-_s377 = "PlayerAction"
-_s378 = "quit"
-_s379 = "PostPlayerActionInput"
-_s380 = "aws.protocoltests.restjson#PostPlayerActionInput"
-_s381 = "action"
-_s382 = "PostPlayerActionOutput"
-_s383 = "aws.protocoltests.restjson#PostPlayerActionOutput"
-_s384 = "UnionWithJsonName"
-_s385 = "bar"
-_s386 = "_baz"
-_s387 = "PostUnionWithJsonNameInput"
-_s388 = "aws.protocoltests.restjson#PostUnionWithJsonNameInput"
-_s389 = "PostUnionWithJsonNameOutput"
-_s390 = "aws.protocoltests.restjson#PostUnionWithJsonNameOutput"
-_s391 = "PutWithContentEncodingInput"
-_s392 = "aws.protocoltests.restjson#PutWithContentEncodingInput"
-_s393 = "encoding"
-_s394 = "Content-Encoding"
-_s395 = "QueryIdempotencyTokenAutoFillInput"
-_s396 = "aws.protocoltests.restjson#QueryIdempotencyTokenAutoFillInput"
-_s397 = "token"
-_s398 = "smithy.api#idempotencyToken"
-_s399 = "QueryMap"
-_s400 = "QueryParamsAsStringListMapInput"
-_s401 = "aws.protocoltests.restjson#QueryParamsAsStringListMapInput"
-_s402 = "qux"
-_s403 = "corge"
-_s404 = "QueryPrecedenceInput"
-_s405 = "aws.protocoltests.restjson#QueryPrecedenceInput"
-_s406 = "ResponseCodeRequiredOutput"
-_s407 = "aws.protocoltests.restjson#ResponseCodeRequiredOutput"
-_s408 = "responseCode"
-_s409 = "SparseBooleanMap"
-_s410 = "SparseNumberMap"
-_s411 = "SparseSetMap"
-_s412 = "SparseStructMap"
-_s413 = "StringEnum"
-_s414 = "V"
-_s415 = "enumvalue"
-_s416 = "StructureListMember"
-_s417 = "a"
-_s418 = "b"
-_s419 = "other"
-_s420 = "StructureList"
-_s421 = "TestConfig"
-_s422 = "timeout"
-_s423 = "UnionPayload"
-_s424 = "FooEnumMap"
-_s425 = "FooEnumSet"
-_s426 = "IntegerEnumMap"
-_s427 = "IntegerEnumSet"
-_s428 = "NestedStringList"
-_s429 = "SparseShortList"
-_s430 = "SparseStringList"
-_s431 = "SparseStringMap"
-_s432 = "TextPlainBlob"
-_s433 = "text/plain"
-_s435 = "smithy.api#Unit"
-_s439 = "DocumentTypeInput"
-_s440 = "aws.protocoltests.restjson#DocumentTypeInputOutput"
-_s441 = "documentValue"
-_s442 = "DocumentTypeOutput"
-_s443 = "DocumentTypeAsMapValueInput"
-_s444 = "aws.protocoltests.restjson#DocumentTypeAsMapValueInputOutput"
-_s445 = "docValuedMap"
-_s446 = "DocumentTypeAsMapValueOutput"
-_s447 = "DocumentTypeAsPayloadInput"
-_s448 = "aws.protocoltests.restjson#DocumentTypeAsPayloadInputOutput"
-_s449 = "DocumentTypeAsPayloadOutput"
-_s450 = "EndpointOperationInput"
-_s451 = "EndpointOperationOutput"
-_s452 = "EndpointWithHostLabelOperationInput"
-_s453 = "aws.protocoltests.restjson#HostLabelInput"
-_s454 = "label"
-_s455 = "EndpointWithHostLabelOperationOutput"
-_s458 = "HostWithPathOperationInput"
-_s459 = "HostWithPathOperationOutput"
-_s460 = "HttpChecksumRequiredInput"
-_s461 = "aws.protocoltests.restjson#HttpChecksumRequiredInputOutput"
-_s462 = "HttpChecksumRequiredOutput"
-_s463 = "HttpEnumPayloadInput"
-_s464 = "aws.protocoltests.restjson#EnumPayloadInput"
-_s465 = "HttpEnumPayloadOutput"
-_s466 = "HttpPayloadTraitsInput"
-_s467 = "aws.protocoltests.restjson#HttpPayloadTraitsInputOutput"
-_s468 = "X-Foo"
-_s469 = "HttpPayloadTraitsOutput"
-_s470 = "HttpPayloadTraitsWithMediaTypeInput"
-_s471 = "aws.protocoltests.restjson#HttpPayloadTraitsWithMediaTypeInputOutput"
-_s472 = "HttpPayloadTraitsWithMediaTypeOutput"
-_s473 = "HttpPayloadWithStructureInput"
-_s474 = "aws.protocoltests.restjson#HttpPayloadWithStructureInputOutput"
-_s475 = "nested"
-_s476 = "HttpPayloadWithStructureOutput"
-_s477 = "HttpPayloadWithUnionInput"
-_s478 = "aws.protocoltests.restjson#HttpPayloadWithUnionInputOutput"
-_s479 = "HttpPayloadWithUnionOutput"
-_s480 = "HttpQueryParamsOnlyOperationInput"
-_s481 = "aws.protocoltests.restjson#HttpQueryParamsOnlyInput"
-_s482 = "queryMap"
-_s483 = "HttpQueryParamsOnlyOperationOutput"
-_s490 = "HttpStringPayloadInput"
-_s491 = "aws.protocoltests.restjson#StringPayloadInput"
-_s492 = "HttpStringPayloadOutput"
-_s494 = "InputAndOutputWithHeadersInput"
-_s495 = "aws.protocoltests.restjson#InputAndOutputWithHeadersIO"
-_s496 = "headerString"
-_s497 = "X-String"
-_s498 = "headerByte"
-_s499 = "X-Byte"
-_s500 = "headerShort"
-_s501 = "X-Short"
-_s502 = "headerInteger"
-_s503 = "X-Integer"
-_s504 = "headerLong"
-_s505 = "X-Long"
-_s506 = "headerFloat"
-_s507 = "X-Float"
-_s508 = "headerDouble"
-_s509 = "X-Double"
-_s510 = "headerTrueBool"
-_s511 = "X-Boolean1"
-_s512 = "headerFalseBool"
-_s513 = "X-Boolean2"
-_s514 = "headerStringList"
-_s515 = "X-StringList"
-_s516 = "headerStringSet"
-_s517 = "X-StringSet"
-_s518 = "headerIntegerList"
-_s519 = "X-IntegerList"
-_s520 = "headerBooleanList"
-_s521 = "X-BooleanList"
-_s522 = "headerTimestampList"
-_s523 = "X-TimestampList"
-_s524 = "headerEnum"
-_s525 = "X-Enum"
-_s526 = "headerEnumList"
-_s527 = "X-EnumList"
-_s528 = "headerIntegerEnum"
-_s529 = "X-IntegerEnum"
-_s530 = "headerIntegerEnumList"
-_s531 = "X-IntegerEnumList"
-_s532 = "InputAndOutputWithHeadersOutput"
-_s639 = "OmitsSerializingEmptyListsOutput"
-_s640 = "PutWithContentEncodingOutput"
-_s641 = "QueryIdempotencyTokenAutoFillOutput"
-_s642 = "QueryParamsAsStringListMapOutput"
-_s643 = "QueryPrecedenceOutput"
-_s650 = "ResponseCodeRequiredInput"
-_s714 = "smithy.api#http"
-_s719 = "DocumentType"
-_s720 = "DocumentTypeAsMapValue"
-_s721 = "DocumentTypeAsPayload"
-_s723 = "EndpointOperation"
-_s724 = "smithy.api#endpoint"
-_s725 = "EndpointWithHostLabelOperation"
-_s728 = "HostWithPathOperation"
-_s729 = "HttpChecksumRequired"
-_s730 = "smithy.api#httpChecksumRequired"
-_s732 = "HttpEnumPayload"
-_s733 = "HttpPayloadTraits"
-_s734 = "HttpPayloadTraitsWithMediaType"
-_s735 = "HttpPayloadWithStructure"
-_s736 = "HttpPayloadWithUnion"
-_s739 = "HttpQueryParamsOnlyOperation"
-_s746 = "HttpStringPayload"
-_s748 = "InputAndOutputWithHeaders"
-_s795 = "OmitsSerializingEmptyLists"
-_s796 = "OperationWithDefaults"
-_s797 = "OperationWithNestedStructure"
-_s798 = "PostPlayerAction"
-_s799 = "PostUnionWithJsonName"
-_s800 = "PutWithContentEncoding"
-_s801 = "smithy.api#requestCompression"
-_s802 = "QueryIdempotencyTokenAutoFill"
-_s803 = "QueryParamsAsStringListMap"
-_s804 = "QueryPrecedence"
-_s807 = "ResponseCodeRequired"
+_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,
@@ -278,46 +268,12 @@
0,
)
-OMITS_SERIALIZING_EMPTY_LISTS_INPUT: StaticSchema = (
- 18,
- n1,
- _s357,
- {_s30: _s358, _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}),
- ),
-)
-
-OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT: StaticSchema = (
- 18,
- n1,
- _s639,
- {_s30: _s435, _s92: None},
-)
-
-OMITS_SERIALIZING_EMPTY_LISTS: StaticOperationSchema = (
- 23,
- n1,
- _s795,
- {_s714: MappingProxyType({"uri": "/OmitsSerializingEmptyLists", "method": "POST"})},
- OMITS_SERIALIZING_EMPTY_LISTS_INPUT,
- OMITS_SERIALIZING_EMPTY_LISTS_OUTPUT,
- (),
-)
-
OPERATION_WITH_DEFAULTS_INPUT: StaticSchema = (
18,
n1,
- _s359,
- {_s30: _s360, _s32: None},
- (_s361, _s362, _s363, _s364),
+ _s362,
+ {_s30: _s363, _s32: None},
+ (_s364, _s365, _s366, _s367),
(
(lambda: schemas.DEFAULTS, 0),
(lambda: schemas.CLIENT_OPTIONAL_DEFAULTS, 0),
@@ -329,8 +285,8 @@
OPERATION_WITH_DEFAULTS_OUTPUT: StaticSchema = (
18,
n1,
- _s365,
- {_s30: _s366, _s92: None},
+ _s368,
+ {_s30: _s369, _s92: None},
(
_s106,
_s108,
@@ -396,8 +352,8 @@
OPERATION_WITH_DEFAULTS: StaticOperationSchema = (
23,
n1,
- _s796,
- {_s714: MappingProxyType({"uri": "/OperationWithDefaults", "method": "POST"})},
+ _s811,
+ {_s729: MappingProxyType({"uri": "/OperationWithDefaults", "method": "POST"})},
OPERATION_WITH_DEFAULTS_INPUT,
OPERATION_WITH_DEFAULTS_OUTPUT,
(),
@@ -408,7 +364,7 @@
n1,
_s79,
0,
- (_s367, _s368, _s369),
+ (_s370, _s371, _s372),
(
(lambda: schemas.DIALOG, 1),
(lambda: schemas.DIALOG_LIST, {_s68: ()}),
@@ -419,18 +375,18 @@
OPERATION_WITH_NESTED_STRUCTURE_INPUT: StaticSchema = (
18,
n1,
- _s370,
- {_s30: _s371, _s32: None},
- (_s372,),
+ _s373,
+ {_s30: _s374, _s32: None},
+ (_s375,),
((TOP_LEVEL, 1),),
)
OPERATION_WITH_NESTED_STRUCTURE_OUTPUT: StaticSchema = (
18,
n1,
- _s373,
- {_s30: _s374, _s92: None},
- (_s367, _s368, _s369),
+ _s376,
+ {_s30: _s377, _s92: None},
+ (_s370, _s371, _s372),
(
(lambda: schemas.DIALOG, 1),
(lambda: schemas.DIALOG_LIST, {_s68: ()}),
@@ -441,9 +397,9 @@
OPERATION_WITH_NESTED_STRUCTURE: StaticOperationSchema = (
23,
n1,
- _s797,
+ _s812,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/OperationWithNestedStructure", "method": "POST"}
)
},
@@ -455,44 +411,44 @@
PAYLOAD_CONFIG: StaticSchema = (
18,
n1,
- _s375,
+ _s378,
0,
- (_s376,),
+ (_s379,),
((7, 0),),
)
PLAYER_ACTION: StaticSchema = (
19,
n1,
- _s377,
+ _s380,
0,
- (_s378,),
+ (_s381,),
((-1, 0),),
)
POST_PLAYER_ACTION_INPUT: StaticSchema = (
18,
n1,
- _s379,
- {_s30: _s380, _s32: None},
- (_s381,),
+ _s382,
+ {_s30: _s383, _s32: None},
+ (_s384,),
((PLAYER_ACTION, 0),),
)
POST_PLAYER_ACTION_OUTPUT: StaticSchema = (
18,
n1,
- _s382,
- {_s30: _s383, _s92: None},
- (_s381,),
+ _s385,
+ {_s30: _s386, _s92: None},
+ (_s384,),
((PLAYER_ACTION, 1),),
)
POST_PLAYER_ACTION: StaticOperationSchema = (
23,
n1,
- _s798,
- {_s714: MappingProxyType({"uri": "/PostPlayerAction", "method": "POST"})},
+ _s813,
+ {_s729: MappingProxyType({"uri": "/PostPlayerAction", "method": "POST"})},
POST_PLAYER_ACTION_INPUT,
POST_PLAYER_ACTION_OUTPUT,
(),
@@ -501,17 +457,17 @@
UNION_WITH_JSON_NAME: StaticSchema = (
19,
n1,
- _s384,
+ _s387,
0,
- (_s178, _s385, _s83),
- ((3, {_s70: _s9}), (3, 0), (3, {_s70: _s386})),
+ (_s181, _s388, _s83),
+ ((3, {_s70: _s9}), (3, 0), (3, {_s70: _s389})),
)
POST_UNION_WITH_JSON_NAME_INPUT: StaticSchema = (
18,
n1,
- _s387,
- {_s30: _s388, _s32: None},
+ _s390,
+ {_s30: _s391, _s32: None},
(_s28,),
((UNION_WITH_JSON_NAME, 0),),
)
@@ -519,8 +475,8 @@
POST_UNION_WITH_JSON_NAME_OUTPUT: StaticSchema = (
18,
n1,
- _s389,
- {_s30: _s390, _s92: None},
+ _s392,
+ {_s30: _s393, _s92: None},
(_s28,),
((UNION_WITH_JSON_NAME, 1),),
)
@@ -528,8 +484,8 @@
POST_UNION_WITH_JSON_NAME: StaticOperationSchema = (
23,
n1,
- _s799,
- {_s714: MappingProxyType({"uri": "/PostUnionWithJsonName", "method": "POST"})},
+ _s814,
+ {_s729: MappingProxyType({"uri": "/PostUnionWithJsonName", "method": "POST"})},
POST_UNION_WITH_JSON_NAME_INPUT,
POST_UNION_WITH_JSON_NAME_OUTPUT,
(),
@@ -538,28 +494,28 @@
PUT_WITH_CONTENT_ENCODING_INPUT: StaticSchema = (
18,
n1,
- _s391,
- {_s30: _s392, _s32: None},
- (_s393, _s376),
- ((3, {_s77: _s394}), (3, 0)),
+ _s394,
+ {_s30: _s395, _s32: None},
+ (_s396, _s379),
+ ((3, {_s77: _s397}), (3, 0)),
)
PUT_WITH_CONTENT_ENCODING_OUTPUT: StaticSchema = (
18,
n1,
- _s640,
- {_s30: _s435, _s92: None},
+ _s648,
+ {_s30: _s444, _s92: None},
)
PUT_WITH_CONTENT_ENCODING: StaticOperationSchema = (
23,
n1,
- _s800,
+ _s815,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/requestcompression/putcontentwithencoding"}
),
- _s801: MappingProxyType({"encodings": ("gzip",)}),
+ _s816: MappingProxyType({"encodings": ("gzip",)}),
},
PUT_WITH_CONTENT_ENCODING_INPUT,
PUT_WITH_CONTENT_ENCODING_OUTPUT,
@@ -569,25 +525,25 @@
QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_INPUT: StaticSchema = (
18,
n1,
- _s395,
- {_s30: _s396, _s32: None},
- (_s397,),
- ((3, {_s34: _s397, _s398: None}),),
+ _s398,
+ {_s30: _s399, _s32: None},
+ (_s400,),
+ ((3, {_s34: _s400, _s401: None}),),
)
QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL_OUTPUT: StaticSchema = (
18,
n1,
- _s641,
- {_s30: _s435, _s92: None},
+ _s649,
+ {_s30: _s444, _s92: None},
)
QUERY_IDEMPOTENCY_TOKEN_AUTO_FILL: StaticOperationSchema = (
23,
n1,
- _s802,
+ _s817,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/QueryIdempotencyTokenAutoFill", "method": "POST"}
)
},
@@ -599,7 +555,7 @@
QUERY_MAP: StaticSchema = (
17,
n1,
- _s399,
+ _s402,
0,
(_s27, _s28),
((3, 0), (3, 0)),
@@ -608,24 +564,24 @@
QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT: StaticSchema = (
18,
n1,
- _s400,
- {_s30: _s401, _s32: None},
- (_s402, _s178),
- ((3, {_s34: _s403}), (lambda: schemas.STRING_LIST_MAP, 1024)),
+ _s403,
+ {_s30: _s404, _s32: None},
+ (_s405, _s181),
+ ((3, {_s34: _s406}), (lambda: schemas.STRING_LIST_MAP, 1024)),
)
QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT: StaticSchema = (
18,
n1,
- _s642,
- {_s30: _s435, _s92: None},
+ _s650,
+ {_s30: _s444, _s92: None},
)
QUERY_PARAMS_AS_STRING_LIST_MAP: StaticOperationSchema = (
23,
n1,
- _s803,
- {_s714: MappingProxyType({"uri": "/StringListMap", "method": "POST"})},
+ _s818,
+ {_s729: MappingProxyType({"uri": "/StringListMap", "method": "POST"})},
QUERY_PARAMS_AS_STRING_LIST_MAP_INPUT,
QUERY_PARAMS_AS_STRING_LIST_MAP_OUTPUT,
(),
@@ -634,24 +590,24 @@
QUERY_PRECEDENCE_INPUT: StaticSchema = (
18,
n1,
- _s404,
- {_s30: _s405, _s32: None},
- (_s178, _s83),
- ((3, {_s34: _s385}), (lambda: schemas.STRING_MAP, 1024)),
+ _s407,
+ {_s30: _s408, _s32: None},
+ (_s181, _s83),
+ ((3, {_s34: _s388}), (lambda: schemas.STRING_MAP, 1024)),
)
QUERY_PRECEDENCE_OUTPUT: StaticSchema = (
18,
n1,
- _s643,
- {_s30: _s435, _s92: None},
+ _s651,
+ {_s30: _s444, _s92: None},
)
QUERY_PRECEDENCE: StaticOperationSchema = (
23,
n1,
- _s804,
- {_s714: MappingProxyType({"uri": "/Precedence", "method": "POST"})},
+ _s819,
+ {_s729: MappingProxyType({"uri": "/Precedence", "method": "POST"})},
QUERY_PRECEDENCE_INPUT,
QUERY_PRECEDENCE_OUTPUT,
(),
@@ -660,25 +616,25 @@
RESPONSE_CODE_REQUIRED_OUTPUT: StaticSchema = (
18,
n1,
- _s406,
- {_s30: _s407, _s92: None},
- (_s408,),
+ _s409,
+ {_s30: _s410, _s92: None},
+ (_s411,),
((7, 129),),
)
RESPONSE_CODE_REQUIRED_INPUT: StaticSchema = (
18,
n1,
- _s650,
- {_s30: _s435, _s32: None},
+ _s658,
+ {_s30: _s444, _s32: None},
)
RESPONSE_CODE_REQUIRED: StaticOperationSchema = (
23,
n1,
- _s807,
+ _s822,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "GET", "uri": "/responseCodeRequired", "code": 200}
)
},
@@ -690,7 +646,7 @@
SPARSE_BOOLEAN_MAP: StaticSchema = (
17,
n1,
- _s409,
+ _s412,
64,
(_s27, _s28),
((3, 0), (2, 0)),
@@ -699,7 +655,7 @@
SPARSE_NUMBER_MAP: StaticSchema = (
17,
n1,
- _s410,
+ _s413,
64,
(_s27, _s28),
((3, 0), (7, 0)),
@@ -708,7 +664,7 @@
SPARSE_SET_MAP: StaticSchema = (
17,
n1,
- _s411,
+ _s414,
64,
(_s27, _s28),
((3, 0), (lambda: schemas.STRING_SET, 0)),
@@ -717,34 +673,81 @@
SPARSE_STRUCT_MAP: StaticSchema = (
17,
n1,
- _s412,
+ _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 = (
+ 18,
+ n1,
+ _s419,
+ {_s30: _s420, _s32: None},
+ (_s181, _s239),
+ (
+ (3, {_s77: _s421}),
+ (lambda: schemas.FINITE_STREAMING_BLOB, {_s68: _s128, _s422: None}),
+ ),
+)
+
+STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT: StaticSchema = (
+ 18,
+ n1,
+ _s687,
+ {_s30: _s444, _s92: None},
+)
+
+STREAMING_TRAITS_REQUIRE_LENGTH: StaticOperationSchema = (
+ 23,
+ n1,
+ _s827,
+ {
+ _s729: MappingProxyType(
+ {"uri": "/StreamingTraitsRequireLength", "method": "POST"}
+ )
+ },
+ STREAMING_TRAITS_REQUIRE_LENGTH_INPUT,
+ STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT,
+ (),
+)
+
STRING_ENUM: StaticSchema = (
14,
n1,
- _s413,
+ _s423,
0,
- (_s414,),
- ((-1, {_s10: _s415}),),
+ (_s424,),
+ ((-1, {_s10: _s425}),),
)
STRUCTURE_LIST_MEMBER: StaticSchema = (
18,
n1,
- _s416,
+ _s426,
0,
- (_s417, _s418),
- ((3, {_s70: _s28}), (3, {_s70: _s419})),
+ (_s427, _s428),
+ ((3, {_s70: _s28}), (3, {_s70: _s429})),
)
STRUCTURE_LIST: StaticSchema = (
16,
n1,
- _s420,
+ _s430,
0,
(_s1,),
((STRUCTURE_LIST_MEMBER, 0),),
@@ -753,16 +756,16 @@
TEST_CONFIG: StaticSchema = (
18,
n1,
- _s421,
+ _s431,
0,
- (_s422,),
+ (_s432,),
((7, 0),),
)
UNION_PAYLOAD: StaticSchema = (
19,
n1,
- _s423,
+ _s433,
0,
(_s148,),
((3, 0),),
@@ -771,7 +774,7 @@
FOO_ENUM_MAP: StaticSchema = (
17,
n0,
- _s424,
+ _s434,
0,
(_s27, _s28),
((3, 0), (lambda: schemas.FOO_ENUM, 0)),
@@ -780,7 +783,7 @@
FOO_ENUM_SET: StaticSchema = (
16,
n0,
- _s425,
+ _s435,
0,
(_s1,),
((lambda: schemas.FOO_ENUM, 0),),
@@ -789,7 +792,7 @@
INTEGER_ENUM_MAP: StaticSchema = (
17,
n0,
- _s426,
+ _s436,
0,
(_s27, _s28),
((3, 0), (lambda: schemas.INTEGER_ENUM, 0)),
@@ -798,7 +801,7 @@
INTEGER_ENUM_SET: StaticSchema = (
16,
n0,
- _s427,
+ _s437,
0,
(_s1,),
((lambda: schemas.INTEGER_ENUM, 0),),
@@ -807,7 +810,7 @@
NESTED_STRING_LIST: StaticSchema = (
16,
n0,
- _s428,
+ _s438,
0,
(_s1,),
((lambda: schemas.STRING_LIST, 0),),
@@ -816,7 +819,7 @@
SPARSE_SHORT_LIST: StaticSchema = (
16,
n0,
- _s429,
+ _s439,
64,
(_s1,),
((6, 0),),
@@ -825,7 +828,7 @@
SPARSE_STRING_LIST: StaticSchema = (
16,
n0,
- _s430,
+ _s440,
64,
(_s1,),
((3, 0),),
@@ -834,7 +837,7 @@
SPARSE_STRING_MAP: StaticSchema = (
17,
n0,
- _s431,
+ _s441,
64,
(_s27, _s28),
((3, 0), (3, 0)),
@@ -843,33 +846,33 @@
TEXT_PLAIN_BLOB: StaticSchema = (
1,
n0,
- _s432,
- {_s224: _s433},
+ _s442,
+ {_s227: _s418},
)
DOCUMENT_TYPE_INPUT: StaticSchema = (
18,
n1,
- _s439,
- {_s30: _s440, _s32: None},
- (_s336, _s441),
+ _s448,
+ {_s30: _s449, _s32: None},
+ (_s339, _s450),
((3, 0), (DOCUMENT, 0)),
)
DOCUMENT_TYPE_OUTPUT: StaticSchema = (
18,
n1,
- _s442,
- {_s30: _s440, _s92: None},
- (_s336, _s441),
+ _s451,
+ {_s30: _s449, _s92: None},
+ (_s339, _s450),
((3, 0), (DOCUMENT, 0)),
)
DOCUMENT_TYPE: StaticOperationSchema = (
23,
n1,
- _s719,
- {_s714: MappingProxyType({"uri": "/DocumentType", "method": "PUT"})},
+ _s734,
+ {_s729: MappingProxyType({"uri": "/DocumentType", "method": "PUT"})},
DOCUMENT_TYPE_INPUT,
DOCUMENT_TYPE_OUTPUT,
(),
@@ -878,26 +881,26 @@
DOCUMENT_TYPE_AS_MAP_VALUE_INPUT: StaticSchema = (
18,
n1,
- _s443,
- {_s30: _s444, _s32: None},
- (_s445,),
+ _s452,
+ {_s30: _s453, _s32: None},
+ (_s454,),
((lambda: schemas.DOCUMENT_VALUED_MAP, 0),),
)
DOCUMENT_TYPE_AS_MAP_VALUE_OUTPUT: StaticSchema = (
18,
n1,
- _s446,
- {_s30: _s444, _s92: None},
- (_s445,),
+ _s455,
+ {_s30: _s453, _s92: None},
+ (_s454,),
((lambda: schemas.DOCUMENT_VALUED_MAP, 0),),
)
DOCUMENT_TYPE_AS_MAP_VALUE: StaticOperationSchema = (
23,
n1,
- _s720,
- {_s714: MappingProxyType({"uri": "/DocumentTypeAsMapValue", "method": "PUT"})},
+ _s735,
+ {_s729: MappingProxyType({"uri": "/DocumentTypeAsMapValue", "method": "PUT"})},
DOCUMENT_TYPE_AS_MAP_VALUE_INPUT,
DOCUMENT_TYPE_AS_MAP_VALUE_OUTPUT,
(),
@@ -906,26 +909,26 @@
DOCUMENT_TYPE_AS_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s447,
- {_s30: _s448, _s32: None},
- (_s441,),
+ _s456,
+ {_s30: _s457, _s32: None},
+ (_s450,),
((DOCUMENT, 16),),
)
DOCUMENT_TYPE_AS_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s449,
- {_s30: _s448, _s92: None},
- (_s441,),
+ _s458,
+ {_s30: _s457, _s92: None},
+ (_s450,),
((DOCUMENT, 16),),
)
DOCUMENT_TYPE_AS_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s721,
- {_s714: MappingProxyType({"uri": "/DocumentTypeAsPayload", "method": "PUT"})},
+ _s736,
+ {_s729: MappingProxyType({"uri": "/DocumentTypeAsPayload", "method": "PUT"})},
DOCUMENT_TYPE_AS_PAYLOAD_INPUT,
DOCUMENT_TYPE_AS_PAYLOAD_OUTPUT,
(),
@@ -934,24 +937,24 @@
ENDPOINT_OPERATION_INPUT: StaticSchema = (
18,
n1,
- _s450,
- {_s30: _s435, _s32: None},
+ _s459,
+ {_s30: _s444, _s32: None},
)
ENDPOINT_OPERATION_OUTPUT: StaticSchema = (
18,
n1,
- _s451,
- {_s30: _s435, _s92: None},
+ _s460,
+ {_s30: _s444, _s92: None},
)
ENDPOINT_OPERATION: StaticOperationSchema = (
23,
n1,
- _s723,
+ _s738,
{
- _s724: MappingProxyType({"hostPrefix": "foo."}),
- _s714: MappingProxyType({"uri": "/EndpointOperation", "method": "POST"}),
+ _s739: MappingProxyType({"hostPrefix": "foo."}),
+ _s729: MappingProxyType({"uri": "/EndpointOperation", "method": "POST"}),
},
ENDPOINT_OPERATION_INPUT,
ENDPOINT_OPERATION_OUTPUT,
@@ -961,26 +964,26 @@
ENDPOINT_WITH_HOST_LABEL_OPERATION_INPUT: StaticSchema = (
18,
n1,
- _s452,
- {_s30: _s453, _s32: None},
- (_s454,),
+ _s461,
+ {_s30: _s462, _s32: None},
+ (_s463,),
((3, 257),),
)
ENDPOINT_WITH_HOST_LABEL_OPERATION_OUTPUT: StaticSchema = (
18,
n1,
- _s455,
- {_s30: _s435, _s92: None},
+ _s464,
+ {_s30: _s444, _s92: None},
)
ENDPOINT_WITH_HOST_LABEL_OPERATION: StaticOperationSchema = (
23,
n1,
- _s725,
+ _s740,
{
- _s724: MappingProxyType({"hostPrefix": "foo.{label}."}),
- _s714: MappingProxyType(
+ _s739: MappingProxyType({"hostPrefix": "foo.{label}."}),
+ _s729: MappingProxyType(
{"uri": "/EndpointWithHostLabelOperation", "method": "POST"}
),
},
@@ -992,22 +995,22 @@
HOST_WITH_PATH_OPERATION_INPUT: StaticSchema = (
18,
n1,
- _s458,
- {_s30: _s435, _s32: None},
+ _s467,
+ {_s30: _s444, _s32: None},
)
HOST_WITH_PATH_OPERATION_OUTPUT: StaticSchema = (
18,
n1,
- _s459,
- {_s30: _s435, _s92: None},
+ _s468,
+ {_s30: _s444, _s92: None},
)
HOST_WITH_PATH_OPERATION: StaticOperationSchema = (
23,
n1,
- _s728,
- {_s714: MappingProxyType({"uri": "/HostWithPathOperation", "method": "GET"})},
+ _s743,
+ {_s729: MappingProxyType({"uri": "/HostWithPathOperation", "method": "GET"})},
HOST_WITH_PATH_OPERATION_INPUT,
HOST_WITH_PATH_OPERATION_OUTPUT,
(),
@@ -1016,28 +1019,28 @@
HTTP_CHECKSUM_REQUIRED_INPUT: StaticSchema = (
18,
n1,
- _s460,
- {_s30: _s461, _s32: None},
- (_s178,),
+ _s469,
+ {_s30: _s470, _s32: None},
+ (_s181,),
((3, 0),),
)
HTTP_CHECKSUM_REQUIRED_OUTPUT: StaticSchema = (
18,
n1,
- _s462,
- {_s30: _s461, _s92: None},
- (_s178,),
+ _s471,
+ {_s30: _s470, _s92: None},
+ (_s181,),
((3, 0),),
)
HTTP_CHECKSUM_REQUIRED: StaticOperationSchema = (
23,
n1,
- _s729,
+ _s744,
{
- _s714: MappingProxyType({"uri": "/HttpChecksumRequired", "method": "POST"}),
- _s730: None,
+ _s729: MappingProxyType({"uri": "/HttpChecksumRequired", "method": "POST"}),
+ _s745: None,
},
HTTP_CHECKSUM_REQUIRED_INPUT,
HTTP_CHECKSUM_REQUIRED_OUTPUT,
@@ -1047,26 +1050,26 @@
HTTP_ENUM_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s463,
- {_s30: _s464, _s32: None},
- (_s229,),
+ _s472,
+ {_s30: _s473, _s32: None},
+ (_s232,),
((STRING_ENUM, 16),),
)
HTTP_ENUM_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s465,
- {_s30: _s464, _s92: None},
- (_s229,),
+ _s474,
+ {_s30: _s473, _s92: None},
+ (_s232,),
((STRING_ENUM, 16),),
)
HTTP_ENUM_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s732,
- {_s714: MappingProxyType({"uri": "/EnumPayload", "method": "POST"})},
+ _s747,
+ {_s729: MappingProxyType({"uri": "/EnumPayload", "method": "POST"})},
HTTP_ENUM_PAYLOAD_INPUT,
HTTP_ENUM_PAYLOAD_OUTPUT,
(),
@@ -1075,26 +1078,26 @@
HTTP_PAYLOAD_TRAITS_INPUT: StaticSchema = (
18,
n1,
- _s466,
- {_s30: _s467, _s32: None},
- (_s178, _s236),
- ((3, {_s77: _s468}), (1, 16)),
+ _s475,
+ {_s30: _s476, _s32: None},
+ (_s181, _s239),
+ ((3, {_s77: _s421}), (1, 16)),
)
HTTP_PAYLOAD_TRAITS_OUTPUT: StaticSchema = (
18,
n1,
- _s469,
- {_s30: _s467, _s92: None},
- (_s178, _s236),
- ((3, {_s77: _s468}), (1, 16)),
+ _s477,
+ {_s30: _s476, _s92: None},
+ (_s181, _s239),
+ ((3, {_s77: _s421}), (1, 16)),
)
HTTP_PAYLOAD_TRAITS: StaticOperationSchema = (
23,
n1,
- _s733,
- {_s714: MappingProxyType({"uri": "/HttpPayloadTraits", "method": "POST"})},
+ _s748,
+ {_s729: MappingProxyType({"uri": "/HttpPayloadTraits", "method": "POST"})},
HTTP_PAYLOAD_TRAITS_INPUT,
HTTP_PAYLOAD_TRAITS_OUTPUT,
(),
@@ -1103,27 +1106,27 @@
HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_INPUT: StaticSchema = (
18,
n1,
- _s470,
- {_s30: _s471, _s32: None},
- (_s178, _s236),
- ((3, {_s77: _s468}), (TEXT_PLAIN_BLOB, 16)),
+ _s478,
+ {_s30: _s479, _s32: None},
+ (_s181, _s239),
+ ((3, {_s77: _s421}), (TEXT_PLAIN_BLOB, 16)),
)
HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE_OUTPUT: StaticSchema = (
18,
n1,
- _s472,
- {_s30: _s471, _s92: None},
- (_s178, _s236),
- ((3, {_s77: _s468}), (TEXT_PLAIN_BLOB, 16)),
+ _s480,
+ {_s30: _s479, _s92: None},
+ (_s181, _s239),
+ ((3, {_s77: _s421}), (TEXT_PLAIN_BLOB, 16)),
)
HTTP_PAYLOAD_TRAITS_WITH_MEDIA_TYPE: StaticOperationSchema = (
23,
n1,
- _s734,
+ _s749,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"uri": "/HttpPayloadTraitsWithMediaType", "method": "POST"}
)
},
@@ -1135,26 +1138,26 @@
HTTP_PAYLOAD_WITH_STRUCTURE_INPUT: StaticSchema = (
18,
n1,
- _s473,
- {_s30: _s474, _s32: None},
- (_s475,),
+ _s481,
+ {_s30: _s482, _s32: None},
+ (_s483,),
((lambda: schemas.NESTED_PAYLOAD, 16),),
)
HTTP_PAYLOAD_WITH_STRUCTURE_OUTPUT: StaticSchema = (
18,
n1,
- _s476,
- {_s30: _s474, _s92: None},
- (_s475,),
+ _s484,
+ {_s30: _s482, _s92: None},
+ (_s483,),
((lambda: schemas.NESTED_PAYLOAD, 16),),
)
HTTP_PAYLOAD_WITH_STRUCTURE: StaticOperationSchema = (
23,
n1,
- _s735,
- {_s714: MappingProxyType({"uri": "/HttpPayloadWithStructure", "method": "PUT"})},
+ _s750,
+ {_s729: MappingProxyType({"uri": "/HttpPayloadWithStructure", "method": "PUT"})},
HTTP_PAYLOAD_WITH_STRUCTURE_INPUT,
HTTP_PAYLOAD_WITH_STRUCTURE_OUTPUT,
(),
@@ -1163,26 +1166,26 @@
HTTP_PAYLOAD_WITH_UNION_INPUT: StaticSchema = (
18,
n1,
- _s477,
- {_s30: _s478, _s32: None},
- (_s475,),
+ _s485,
+ {_s30: _s486, _s32: None},
+ (_s483,),
((UNION_PAYLOAD, 16),),
)
HTTP_PAYLOAD_WITH_UNION_OUTPUT: StaticSchema = (
18,
n1,
- _s479,
- {_s30: _s478, _s92: None},
- (_s475,),
+ _s487,
+ {_s30: _s486, _s92: None},
+ (_s483,),
((UNION_PAYLOAD, 16),),
)
HTTP_PAYLOAD_WITH_UNION: StaticOperationSchema = (
23,
n1,
- _s736,
- {_s714: MappingProxyType({"uri": "/HttpPayloadWithUnion", "method": "PUT"})},
+ _s751,
+ {_s729: MappingProxyType({"uri": "/HttpPayloadWithUnion", "method": "PUT"})},
HTTP_PAYLOAD_WITH_UNION_INPUT,
HTTP_PAYLOAD_WITH_UNION_OUTPUT,
(),
@@ -1191,24 +1194,24 @@
HTTP_QUERY_PARAMS_ONLY_OPERATION_INPUT: StaticSchema = (
18,
n1,
- _s480,
- {_s30: _s481, _s32: None},
- (_s482,),
+ _s488,
+ {_s30: _s489, _s32: None},
+ (_s490,),
((QUERY_MAP, 1024),),
)
HTTP_QUERY_PARAMS_ONLY_OPERATION_OUTPUT: StaticSchema = (
18,
n1,
- _s483,
- {_s30: _s435, _s92: None},
+ _s491,
+ {_s30: _s444, _s92: None},
)
HTTP_QUERY_PARAMS_ONLY_OPERATION: StaticOperationSchema = (
23,
n1,
- _s739,
- {_s714: MappingProxyType({"uri": "/http-query-params-only", "method": "GET"})},
+ _s754,
+ {_s729: MappingProxyType({"uri": "/http-query-params-only", "method": "GET"})},
HTTP_QUERY_PARAMS_ONLY_OPERATION_INPUT,
HTTP_QUERY_PARAMS_ONLY_OPERATION_OUTPUT,
(),
@@ -1217,26 +1220,26 @@
HTTP_STRING_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s490,
- {_s30: _s491, _s32: None},
- (_s229,),
+ _s498,
+ {_s30: _s499, _s32: None},
+ (_s232,),
((3, 16),),
)
HTTP_STRING_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s492,
- {_s30: _s491, _s92: None},
- (_s229,),
+ _s500,
+ {_s30: _s499, _s92: None},
+ (_s232,),
((3, 16),),
)
HTTP_STRING_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s746,
- {_s714: MappingProxyType({"uri": "/StringPayload", "method": "POST"})},
+ _s761,
+ {_s729: MappingProxyType({"uri": "/StringPayload", "method": "POST"})},
HTTP_STRING_PAYLOAD_INPUT,
HTTP_STRING_PAYLOAD_OUTPUT,
(),
@@ -1245,13 +1248,9 @@
INPUT_AND_OUTPUT_WITH_HEADERS_INPUT: StaticSchema = (
18,
n1,
- _s494,
- {_s30: _s495, _s32: None},
+ _s502,
+ {_s30: _s503, _s32: None},
(
- _s496,
- _s498,
- _s500,
- _s502,
_s504,
_s506,
_s508,
@@ -1266,39 +1265,39 @@
_s526,
_s528,
_s530,
+ _s532,
+ _s534,
+ _s536,
+ _s538,
),
(
- (3, {_s77: _s497}),
- (5, {_s77: _s499}),
- (6, {_s77: _s501}),
- (7, {_s77: _s503}),
- (8, {_s77: _s505}),
- (9, {_s77: _s507}),
- (10, {_s77: _s509}),
- (2, {_s77: _s511}),
- (2, {_s77: _s513}),
- (lambda: schemas.STRING_LIST, {_s77: _s515}),
- (lambda: schemas.STRING_SET, {_s77: _s517}),
- (lambda: schemas.INTEGER_LIST, {_s77: _s519}),
- (lambda: schemas.BOOLEAN_LIST, {_s77: _s521}),
- (lambda: schemas.TIMESTAMP_LIST, {_s77: _s523}),
- (lambda: schemas.FOO_ENUM, {_s77: _s525}),
- (lambda: schemas.FOO_ENUM_LIST, {_s77: _s527}),
- (lambda: schemas.INTEGER_ENUM, {_s77: _s529}),
- (lambda: schemas.INTEGER_ENUM_LIST, {_s77: _s531}),
+ (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}),
),
)
INPUT_AND_OUTPUT_WITH_HEADERS_OUTPUT: StaticSchema = (
18,
n1,
- _s532,
- {_s30: _s495, _s92: None},
+ _s540,
+ {_s30: _s503, _s92: None},
(
- _s496,
- _s498,
- _s500,
- _s502,
_s504,
_s506,
_s508,
@@ -1313,34 +1312,38 @@
_s526,
_s528,
_s530,
+ _s532,
+ _s534,
+ _s536,
+ _s538,
),
(
- (3, {_s77: _s497}),
- (5, {_s77: _s499}),
- (6, {_s77: _s501}),
- (7, {_s77: _s503}),
- (8, {_s77: _s505}),
- (9, {_s77: _s507}),
- (10, {_s77: _s509}),
- (2, {_s77: _s511}),
- (2, {_s77: _s513}),
- (lambda: schemas.STRING_LIST, {_s77: _s515}),
- (lambda: schemas.STRING_SET, {_s77: _s517}),
- (lambda: schemas.INTEGER_LIST, {_s77: _s519}),
- (lambda: schemas.BOOLEAN_LIST, {_s77: _s521}),
- (lambda: schemas.TIMESTAMP_LIST, {_s77: _s523}),
- (lambda: schemas.FOO_ENUM, {_s77: _s525}),
- (lambda: schemas.FOO_ENUM_LIST, {_s77: _s527}),
- (lambda: schemas.INTEGER_ENUM, {_s77: _s529}),
- (lambda: schemas.INTEGER_ENUM_LIST, {_s77: _s531}),
+ (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}),
),
)
INPUT_AND_OUTPUT_WITH_HEADERS: StaticOperationSchema = (
23,
n1,
- _s748,
- {_s714: MappingProxyType({"uri": "/InputAndOutputWithHeaders", "method": "POST"})},
+ _s763,
+ {_s729: MappingProxyType({"uri": "/InputAndOutputWithHeaders", "method": "POST"})},
INPUT_AND_OUTPUT_WITH_HEADERS_INPUT,
INPUT_AND_OUTPUT_WITH_HEADERS_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 4cf08e848..22a43333f 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
@@ -7,231 +7,243 @@
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"
-_s178 = "foo"
-_s191 = "epoch-seconds"
-_s193 = "http-date"
-_s196 = "memberEpochSeconds"
-_s199 = "memberHttpDate"
-_s200 = "memberDateTime"
-_s201 = "defaultFormat"
-_s202 = "targetEpochSeconds"
-_s203 = "targetHttpDate"
-_s204 = "targetDateTime"
-_s336 = "stringValue"
-_s376 = "data"
-_s385 = "bar"
-_s417 = "a"
-_s418 = "b"
-_s435 = "smithy.api#Unit"
-_s468 = "X-Foo"
-_s475 = "nested"
-_s533 = "JsonBlobsInput"
-_s534 = "aws.protocoltests.restjson#JsonBlobsInputOutput"
-_s535 = "JsonBlobsOutput"
-_s536 = "JsonEnumsInput"
-_s537 = "aws.protocoltests.restjson#JsonEnumsInputOutput"
-_s538 = "fooEnum1"
-_s539 = "fooEnum2"
-_s540 = "fooEnum3"
-_s541 = "fooEnumList"
-_s542 = "fooEnumSet"
-_s543 = "fooEnumMap"
-_s544 = "JsonEnumsOutput"
-_s545 = "JsonIntEnumsInput"
-_s546 = "aws.protocoltests.restjson#JsonIntEnumsInputOutput"
-_s547 = "integerEnum1"
-_s548 = "integerEnum2"
-_s549 = "integerEnum3"
-_s550 = "integerEnumList"
-_s551 = "integerEnumSet"
-_s552 = "integerEnumMap"
-_s553 = "JsonIntEnumsOutput"
-_s554 = "JsonListsInput"
-_s555 = "aws.protocoltests.restjson#JsonListsInputOutput"
-_s556 = "stringList"
-_s557 = "stringSet"
-_s558 = "integerList"
-_s559 = "booleanList"
-_s560 = "timestampList"
-_s561 = "enumList"
-_s562 = "intEnumList"
-_s563 = "nestedStringList"
-_s564 = "structureList"
-_s565 = "myStructureList"
-_s566 = "JsonListsOutput"
-_s567 = "JsonMapsInput"
-_s568 = "aws.protocoltests.restjson#JsonMapsInputOutput"
-_s569 = "denseStructMap"
-_s570 = "denseNumberMap"
-_s571 = "denseBooleanMap"
-_s572 = "denseStringMap"
-_s573 = "denseSetMap"
-_s574 = "JsonMapsOutput"
-_s575 = "JsonTimestampsInput"
-_s576 = "aws.protocoltests.restjson#JsonTimestampsInputOutput"
-_s577 = "normal"
-_s578 = "dateTime"
-_s579 = "dateTimeOnTarget"
-_s580 = "epochSeconds"
-_s581 = "epochSecondsOnTarget"
-_s582 = "httpDate"
-_s583 = "httpDateOnTarget"
-_s584 = "JsonTimestampsOutput"
-_s585 = "JsonUnionsInput"
-_s586 = "aws.protocoltests.restjson#UnionInputOutput"
-_s587 = "contents"
-_s588 = "JsonUnionsOutput"
-_s589 = "MalformedAcceptWithBodyInput"
-_s590 = "MalformedAcceptWithBodyOutput"
-_s591 = "aws.protocoltests.shared#GreetingStruct"
-_s597 = "MalformedContentTypeWithBodyInput"
-_s598 = "MalformedContentTypeWithBodyOutput"
-_s601 = "MalformedContentTypeWithoutBodyInput"
-_s602 = "MalformedContentTypeWithoutBodyOutput"
-_s626 = "NoInputAndNoOutputInput"
-_s627 = "NoInputAndNoOutputOutput"
-_s629 = "NullAndEmptyHeadersClientInput"
-_s630 = "aws.protocoltests.restjson#NullAndEmptyHeadersIO"
-_s631 = "X-A"
-_s632 = "X-B"
-_s633 = "c"
-_s634 = "X-C"
-_s635 = "NullAndEmptyHeadersClientOutput"
-_s636 = "NullAndEmptyHeadersServerInput"
-_s637 = "NullAndEmptyHeadersServerOutput"
-_s644 = "RecursiveShapesInput"
-_s645 = "aws.protocoltests.restjson#RecursiveShapesInputOutput"
-_s646 = "RecursiveShapesOutput"
-_s647 = "ResponseCodeHttpFallbackInput"
-_s648 = "aws.protocoltests.restjson#ResponseCodeHttpFallbackInputOutput"
-_s649 = "ResponseCodeHttpFallbackOutput"
-_s651 = "SimpleScalarPropertiesInput"
-_s652 = "aws.protocoltests.restjson#SimpleScalarPropertiesInputOutput"
-_s653 = "trueBooleanValue"
-_s654 = "falseBooleanValue"
-_s655 = "byteValue"
-_s656 = "shortValue"
-_s657 = "integerValue"
-_s658 = "longValue"
-_s659 = "floatValue"
-_s660 = "doubleValue"
-_s661 = "DoubleDribble"
-_s662 = "SimpleScalarPropertiesOutput"
-_s663 = "SparseJsonListsInput"
-_s664 = "aws.protocoltests.restjson#SparseJsonListsInputOutput"
-_s665 = "sparseStringList"
-_s666 = "sparseShortList"
-_s667 = "SparseJsonListsOutput"
-_s668 = "SparseJsonMapsInput"
-_s669 = "aws.protocoltests.restjson#SparseJsonMapsInputOutput"
-_s670 = "sparseStructMap"
-_s671 = "sparseNumberMap"
-_s672 = "sparseBooleanMap"
-_s673 = "sparseStringMap"
-_s674 = "sparseSetMap"
-_s675 = "SparseJsonMapsOutput"
-_s676 = "TestBodyStructureInput"
-_s677 = "aws.protocoltests.restjson#TestBodyStructureInputOutput"
-_s678 = "testId"
-_s679 = "x-amz-test-id"
-_s680 = "testConfig"
-_s681 = "TestBodyStructureOutput"
-_s682 = "TestGetNoInputNoPayloadInput"
-_s683 = "TestGetNoInputNoPayloadOutput"
-_s684 = "aws.protocoltests.restjson#TestNoPayloadInputOutput"
-_s685 = "X-Amz-Test-Id"
-_s686 = "TestGetNoPayloadInput"
-_s687 = "TestGetNoPayloadOutput"
-_s688 = "TestPayloadBlobInput"
-_s689 = "aws.protocoltests.restjson#TestPayloadBlobInputOutput"
-_s690 = "contentType"
-_s691 = "Content-Type"
-_s692 = "TestPayloadBlobOutput"
-_s693 = "TestPayloadStructureInput"
-_s694 = "aws.protocoltests.restjson#TestPayloadStructureInputOutput"
-_s695 = "payloadConfig"
-_s696 = "TestPayloadStructureOutput"
-_s697 = "TestPostNoInputNoPayloadInput"
-_s698 = "TestPostNoInputNoPayloadOutput"
-_s699 = "TestPostNoPayloadInput"
-_s700 = "TestPostNoPayloadOutput"
-_s701 = "TimestampFormatHeadersInput"
-_s702 = "aws.protocoltests.restjson#TimestampFormatHeadersIO"
-_s703 = "X-memberEpochSeconds"
-_s704 = "X-memberHttpDate"
-_s705 = "X-memberDateTime"
-_s706 = "X-defaultFormat"
-_s707 = "X-targetEpochSeconds"
-_s708 = "X-targetHttpDate"
-_s709 = "X-targetDateTime"
-_s710 = "TimestampFormatHeadersOutput"
-_s711 = "UnitInputAndOutputInput"
-_s712 = "UnitInputAndOutputOutput"
-_s714 = "smithy.api#http"
-_s749 = "JsonBlobs"
-_s750 = "JsonEnums"
-_s751 = "JsonIntEnums"
-_s752 = "JsonLists"
-_s753 = "JsonMaps"
-_s754 = "JsonTimestamps"
-_s755 = "JsonUnions"
-_s756 = "MalformedAcceptWithBody"
-_s762 = "MalformedContentTypeWithBody"
-_s765 = "MalformedContentTypeWithoutBody"
-_s790 = "NoInputAndNoOutput"
-_s792 = "NullAndEmptyHeadersClient"
-_s793 = "NullAndEmptyHeadersServer"
-_s805 = "RecursiveShapes"
-_s806 = "ResponseCodeHttpFallback"
-_s808 = "SimpleScalarProperties"
-_s809 = "SparseJsonLists"
-_s810 = "SparseJsonMaps"
-_s811 = "TestBodyStructure"
-_s812 = "TestGetNoInputNoPayload"
-_s813 = "TestGetNoPayload"
-_s814 = "TestPayloadBlob"
-_s815 = "TestPayloadStructure"
-_s816 = "TestPostNoInputNoPayload"
-_s817 = "TestPostNoPayload"
-_s818 = "TimestampFormatHeaders"
-_s819 = "UnitInputAndOutput"
-_s820 = "RestJson"
-_s821 = "aws.api#service"
-_s822 = "aws.auth#sigv4"
-_s823 = "aws.protocols#restJson1"
-_s824 = "RecursiveShapesInputOutputNested1"
-_s825 = "RecursiveShapesInputOutputNested2"
-_s826 = "recursiveMember"
+_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"
JSON_BLOBS_INPUT: StaticSchema = (
18,
n1,
- _s533,
- {_s30: _s534, _s32: None},
- (_s376,),
+ _s541,
+ {_s30: _s542, _s32: None},
+ (_s379,),
((1, 0),),
)
JSON_BLOBS_OUTPUT: StaticSchema = (
18,
n1,
- _s535,
- {_s30: _s534, _s92: None},
- (_s376,),
+ _s543,
+ {_s30: _s542, _s92: None},
+ (_s379,),
((1, 0),),
)
JSON_BLOBS: StaticOperationSchema = (
23,
n1,
- _s749,
- {_s714: MappingProxyType({"uri": "/JsonBlobs", "method": "POST"})},
+ _s764,
+ {_s729: MappingProxyType({"uri": "/JsonBlobs", "method": "POST"})},
JSON_BLOBS_INPUT,
JSON_BLOBS_OUTPUT,
(),
@@ -240,9 +252,9 @@
JSON_ENUMS_INPUT: StaticSchema = (
18,
n1,
- _s536,
- {_s30: _s537, _s32: None},
- (_s538, _s539, _s540, _s541, _s542, _s543),
+ _s544,
+ {_s30: _s545, _s32: None},
+ (_s546, _s547, _s548, _s549, _s550, _s551),
(
(lambda: schemas.FOO_ENUM, 0),
(lambda: schemas.FOO_ENUM, 0),
@@ -256,9 +268,9 @@
JSON_ENUMS_OUTPUT: StaticSchema = (
18,
n1,
- _s544,
- {_s30: _s537, _s92: None},
- (_s538, _s539, _s540, _s541, _s542, _s543),
+ _s552,
+ {_s30: _s545, _s92: None},
+ (_s546, _s547, _s548, _s549, _s550, _s551),
(
(lambda: schemas.FOO_ENUM, 0),
(lambda: schemas.FOO_ENUM, 0),
@@ -272,8 +284,8 @@
JSON_ENUMS: StaticOperationSchema = (
23,
n1,
- _s750,
- {_s714: MappingProxyType({"uri": "/JsonEnums", "method": "PUT"})},
+ _s765,
+ {_s729: MappingProxyType({"uri": "/JsonEnums", "method": "PUT"})},
JSON_ENUMS_INPUT,
JSON_ENUMS_OUTPUT,
(),
@@ -282,9 +294,9 @@
JSON_INT_ENUMS_INPUT: StaticSchema = (
18,
n1,
- _s545,
- {_s30: _s546, _s32: None},
- (_s547, _s548, _s549, _s550, _s551, _s552),
+ _s553,
+ {_s30: _s554, _s32: None},
+ (_s555, _s556, _s557, _s558, _s559, _s560),
(
(lambda: schemas.INTEGER_ENUM, 0),
(lambda: schemas.INTEGER_ENUM, 0),
@@ -298,9 +310,9 @@
JSON_INT_ENUMS_OUTPUT: StaticSchema = (
18,
n1,
- _s553,
- {_s30: _s546, _s92: None},
- (_s547, _s548, _s549, _s550, _s551, _s552),
+ _s561,
+ {_s30: _s554, _s92: None},
+ (_s555, _s556, _s557, _s558, _s559, _s560),
(
(lambda: schemas.INTEGER_ENUM, 0),
(lambda: schemas.INTEGER_ENUM, 0),
@@ -314,8 +326,8 @@
JSON_INT_ENUMS: StaticOperationSchema = (
23,
n1,
- _s751,
- {_s714: MappingProxyType({"uri": "/JsonIntEnums", "method": "PUT"})},
+ _s766,
+ {_s729: MappingProxyType({"uri": "/JsonIntEnums", "method": "PUT"})},
JSON_INT_ENUMS_INPUT,
JSON_INT_ENUMS_OUTPUT,
(),
@@ -324,9 +336,9 @@
JSON_LISTS_INPUT: StaticSchema = (
18,
n1,
- _s554,
- {_s30: _s555, _s32: None},
- (_s556, _s557, _s558, _s559, _s560, _s561, _s562, _s563, _s564),
+ _s562,
+ {_s30: _s563, _s32: None},
+ (_s564, _s565, _s566, _s567, _s568, _s569, _s570, _s571, _s572),
(
(lambda: schemas.STRING_LIST, 0),
(lambda: schemas.STRING_SET, 0),
@@ -336,16 +348,16 @@
(lambda: schemas.FOO_ENUM_LIST, 0),
(lambda: schemas.INTEGER_ENUM_LIST, 0),
(lambda: schemas.NESTED_STRING_LIST, 0),
- (lambda: schemas.STRUCTURE_LIST, {_s70: _s565}),
+ (lambda: schemas.STRUCTURE_LIST, {_s70: _s573}),
),
)
JSON_LISTS_OUTPUT: StaticSchema = (
18,
n1,
- _s566,
- {_s30: _s555, _s92: None},
- (_s556, _s557, _s558, _s559, _s560, _s561, _s562, _s563, _s564),
+ _s574,
+ {_s30: _s563, _s92: None},
+ (_s564, _s565, _s566, _s567, _s568, _s569, _s570, _s571, _s572),
(
(lambda: schemas.STRING_LIST, 0),
(lambda: schemas.STRING_SET, 0),
@@ -355,15 +367,15 @@
(lambda: schemas.FOO_ENUM_LIST, 0),
(lambda: schemas.INTEGER_ENUM_LIST, 0),
(lambda: schemas.NESTED_STRING_LIST, 0),
- (lambda: schemas.STRUCTURE_LIST, {_s70: _s565}),
+ (lambda: schemas.STRUCTURE_LIST, {_s70: _s573}),
),
)
JSON_LISTS: StaticOperationSchema = (
23,
n1,
- _s752,
- {_s714: MappingProxyType({"uri": "/JsonLists", "method": "PUT"})},
+ _s767,
+ {_s729: MappingProxyType({"uri": "/JsonLists", "method": "PUT"})},
JSON_LISTS_INPUT,
JSON_LISTS_OUTPUT,
(),
@@ -372,9 +384,9 @@
JSON_MAPS_INPUT: StaticSchema = (
18,
n1,
- _s567,
- {_s30: _s568, _s32: None},
- (_s569, _s570, _s571, _s572, _s573),
+ _s575,
+ {_s30: _s576, _s32: None},
+ (_s577, _s578, _s579, _s580, _s581),
(
(lambda: schemas.DENSE_STRUCT_MAP, 0),
(lambda: schemas.DENSE_NUMBER_MAP, 0),
@@ -387,9 +399,9 @@
JSON_MAPS_OUTPUT: StaticSchema = (
18,
n1,
- _s574,
- {_s30: _s568, _s92: None},
- (_s569, _s570, _s571, _s572, _s573),
+ _s582,
+ {_s30: _s576, _s92: None},
+ (_s577, _s578, _s579, _s580, _s581),
(
(lambda: schemas.DENSE_STRUCT_MAP, 0),
(lambda: schemas.DENSE_NUMBER_MAP, 0),
@@ -402,8 +414,8 @@
JSON_MAPS: StaticOperationSchema = (
23,
n1,
- _s753,
- {_s714: MappingProxyType({"uri": "/JsonMaps", "method": "POST"})},
+ _s768,
+ {_s729: MappingProxyType({"uri": "/JsonMaps", "method": "POST"})},
JSON_MAPS_INPUT,
JSON_MAPS_OUTPUT,
(),
@@ -412,16 +424,16 @@
JSON_TIMESTAMPS_INPUT: StaticSchema = (
18,
n1,
- _s575,
- {_s30: _s576, _s32: None},
- (_s577, _s578, _s579, _s580, _s581, _s582, _s583),
+ _s583,
+ {_s30: _s584, _s32: None},
+ (_s585, _s586, _s587, _s588, _s589, _s590, _s591),
(
(4, 0),
(4, {_s94: _s95}),
(lambda: schemas.DATE_TIME, 0),
- (4, {_s94: _s191}),
+ (4, {_s94: _s194}),
(lambda: schemas.EPOCH_SECONDS, 0),
- (4, {_s94: _s193}),
+ (4, {_s94: _s196}),
(lambda: schemas.HTTP_DATE, 0),
),
)
@@ -429,16 +441,16 @@
JSON_TIMESTAMPS_OUTPUT: StaticSchema = (
18,
n1,
- _s584,
- {_s30: _s576, _s92: None},
- (_s577, _s578, _s579, _s580, _s581, _s582, _s583),
+ _s592,
+ {_s30: _s584, _s92: None},
+ (_s585, _s586, _s587, _s588, _s589, _s590, _s591),
(
(4, 0),
(4, {_s94: _s95}),
(lambda: schemas.DATE_TIME, 0),
- (4, {_s94: _s191}),
+ (4, {_s94: _s194}),
(lambda: schemas.EPOCH_SECONDS, 0),
- (4, {_s94: _s193}),
+ (4, {_s94: _s196}),
(lambda: schemas.HTTP_DATE, 0),
),
)
@@ -446,8 +458,8 @@
JSON_TIMESTAMPS: StaticOperationSchema = (
23,
n1,
- _s754,
- {_s714: MappingProxyType({"uri": "/JsonTimestamps", "method": "POST"})},
+ _s769,
+ {_s729: MappingProxyType({"uri": "/JsonTimestamps", "method": "POST"})},
JSON_TIMESTAMPS_INPUT,
JSON_TIMESTAMPS_OUTPUT,
(),
@@ -456,26 +468,26 @@
JSON_UNIONS_INPUT: StaticSchema = (
18,
n1,
- _s585,
- {_s30: _s586, _s32: None},
- (_s587,),
+ _s593,
+ {_s30: _s594, _s32: None},
+ (_s595,),
((lambda: schemas.MY_UNION, 0),),
)
JSON_UNIONS_OUTPUT: StaticSchema = (
18,
n1,
- _s588,
- {_s30: _s586, _s92: None},
- (_s587,),
+ _s596,
+ {_s30: _s594, _s92: None},
+ (_s595,),
((lambda: schemas.MY_UNION, 0),),
)
JSON_UNIONS: StaticOperationSchema = (
23,
n1,
- _s755,
- {_s714: MappingProxyType({"uri": "/JsonUnions", "method": "PUT"})},
+ _s770,
+ {_s729: MappingProxyType({"uri": "/JsonUnions", "method": "PUT"})},
JSON_UNIONS_INPUT,
JSON_UNIONS_OUTPUT,
(),
@@ -484,15 +496,15 @@
MALFORMED_ACCEPT_WITH_BODY_INPUT: StaticSchema = (
18,
n1,
- _s589,
- {_s30: _s435, _s32: None},
+ _s597,
+ {_s30: _s444, _s32: None},
)
MALFORMED_ACCEPT_WITH_BODY_OUTPUT: StaticSchema = (
18,
n1,
- _s590,
- {_s30: _s591, _s92: None},
+ _s598,
+ {_s30: _s599, _s92: None},
(_s107,),
((3, 0),),
)
@@ -500,8 +512,8 @@
MALFORMED_ACCEPT_WITH_BODY: StaticOperationSchema = (
23,
n1,
- _s756,
- {_s714: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithBody"})},
+ _s771,
+ {_s729: MappingProxyType({"method": "POST", "uri": "/MalformedAcceptWithBody"})},
MALFORMED_ACCEPT_WITH_BODY_INPUT,
MALFORMED_ACCEPT_WITH_BODY_OUTPUT,
(),
@@ -510,8 +522,8 @@
MALFORMED_CONTENT_TYPE_WITH_BODY_INPUT: StaticSchema = (
18,
n1,
- _s597,
- {_s30: _s591, _s32: None},
+ _s605,
+ {_s30: _s599, _s32: None},
(_s107,),
((3, 0),),
)
@@ -519,16 +531,16 @@
MALFORMED_CONTENT_TYPE_WITH_BODY_OUTPUT: StaticSchema = (
18,
n1,
- _s598,
- {_s30: _s435, _s92: None},
+ _s606,
+ {_s30: _s444, _s92: None},
)
MALFORMED_CONTENT_TYPE_WITH_BODY: StaticOperationSchema = (
23,
n1,
- _s762,
+ _s777,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/MalformedContentTypeWithBody"}
)
},
@@ -540,23 +552,23 @@
MALFORMED_CONTENT_TYPE_WITHOUT_BODY_INPUT: StaticSchema = (
18,
n1,
- _s601,
- {_s30: _s435, _s32: None},
+ _s609,
+ {_s30: _s444, _s32: None},
)
MALFORMED_CONTENT_TYPE_WITHOUT_BODY_OUTPUT: StaticSchema = (
18,
n1,
- _s602,
- {_s30: _s435, _s92: None},
+ _s610,
+ {_s30: _s444, _s92: None},
)
MALFORMED_CONTENT_TYPE_WITHOUT_BODY: StaticOperationSchema = (
23,
n1,
- _s765,
+ _s780,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "POST", "uri": "/MalformedContentTypeWithoutBody"}
)
},
@@ -568,22 +580,22 @@
NO_INPUT_AND_NO_OUTPUT_INPUT: StaticSchema = (
18,
n1,
- _s626,
- {_s30: _s435, _s32: None},
+ _s634,
+ {_s30: _s444, _s32: None},
)
NO_INPUT_AND_NO_OUTPUT_OUTPUT: StaticSchema = (
18,
n1,
- _s627,
- {_s30: _s435, _s92: None},
+ _s635,
+ {_s30: _s444, _s92: None},
)
NO_INPUT_AND_NO_OUTPUT: StaticOperationSchema = (
23,
n1,
- _s790,
- {_s714: MappingProxyType({"uri": "/NoInputAndNoOutput", "method": "POST"})},
+ _s805,
+ {_s729: MappingProxyType({"uri": "/NoInputAndNoOutput", "method": "POST"})},
NO_INPUT_AND_NO_OUTPUT_INPUT,
NO_INPUT_AND_NO_OUTPUT_OUTPUT,
(),
@@ -592,34 +604,34 @@
NULL_AND_EMPTY_HEADERS_CLIENT_INPUT: StaticSchema = (
18,
n1,
- _s629,
- {_s30: _s630, _s32: None},
- (_s417, _s418, _s633),
+ _s637,
+ {_s30: _s638, _s32: None},
+ (_s427, _s428, _s641),
(
- (3, {_s77: _s631}),
- (3, {_s77: _s632}),
- (lambda: schemas.STRING_LIST, {_s77: _s634}),
+ (3, {_s77: _s639}),
+ (3, {_s77: _s640}),
+ (lambda: schemas.STRING_LIST, {_s77: _s642}),
),
)
NULL_AND_EMPTY_HEADERS_CLIENT_OUTPUT: StaticSchema = (
18,
n1,
- _s635,
- {_s30: _s630, _s92: None},
- (_s417, _s418, _s633),
+ _s643,
+ {_s30: _s638, _s92: None},
+ (_s427, _s428, _s641),
(
- (3, {_s77: _s631}),
- (3, {_s77: _s632}),
- (lambda: schemas.STRING_LIST, {_s77: _s634}),
+ (3, {_s77: _s639}),
+ (3, {_s77: _s640}),
+ (lambda: schemas.STRING_LIST, {_s77: _s642}),
),
)
NULL_AND_EMPTY_HEADERS_CLIENT: StaticOperationSchema = (
23,
n1,
- _s792,
- {_s714: MappingProxyType({"uri": "/NullAndEmptyHeadersClient", "method": "GET"})},
+ _s807,
+ {_s729: MappingProxyType({"uri": "/NullAndEmptyHeadersClient", "method": "GET"})},
NULL_AND_EMPTY_HEADERS_CLIENT_INPUT,
NULL_AND_EMPTY_HEADERS_CLIENT_OUTPUT,
(),
@@ -628,34 +640,34 @@
NULL_AND_EMPTY_HEADERS_SERVER_INPUT: StaticSchema = (
18,
n1,
- _s636,
- {_s30: _s630, _s32: None},
- (_s417, _s418, _s633),
+ _s644,
+ {_s30: _s638, _s32: None},
+ (_s427, _s428, _s641),
(
- (3, {_s77: _s631}),
- (3, {_s77: _s632}),
- (lambda: schemas.STRING_LIST, {_s77: _s634}),
+ (3, {_s77: _s639}),
+ (3, {_s77: _s640}),
+ (lambda: schemas.STRING_LIST, {_s77: _s642}),
),
)
NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT: StaticSchema = (
18,
n1,
- _s637,
- {_s30: _s630, _s92: None},
- (_s417, _s418, _s633),
+ _s645,
+ {_s30: _s638, _s92: None},
+ (_s427, _s428, _s641),
(
- (3, {_s77: _s631}),
- (3, {_s77: _s632}),
- (lambda: schemas.STRING_LIST, {_s77: _s634}),
+ (3, {_s77: _s639}),
+ (3, {_s77: _s640}),
+ (lambda: schemas.STRING_LIST, {_s77: _s642}),
),
)
NULL_AND_EMPTY_HEADERS_SERVER: StaticOperationSchema = (
23,
n1,
- _s793,
- {_s714: MappingProxyType({"uri": "/NullAndEmptyHeadersServer", "method": "GET"})},
+ _s808,
+ {_s729: MappingProxyType({"uri": "/NullAndEmptyHeadersServer", "method": "GET"})},
NULL_AND_EMPTY_HEADERS_SERVER_INPUT,
NULL_AND_EMPTY_HEADERS_SERVER_OUTPUT,
(),
@@ -664,26 +676,26 @@
RECURSIVE_SHAPES_INPUT: StaticSchema = (
18,
n1,
- _s644,
- {_s30: _s645, _s32: None},
- (_s475,),
+ _s652,
+ {_s30: _s653, _s32: None},
+ (_s483,),
((lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0),),
)
RECURSIVE_SHAPES_OUTPUT: StaticSchema = (
18,
n1,
- _s646,
- {_s30: _s645, _s92: None},
- (_s475,),
+ _s654,
+ {_s30: _s653, _s92: None},
+ (_s483,),
((lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1, 0),),
)
RECURSIVE_SHAPES: StaticOperationSchema = (
23,
n1,
- _s805,
- {_s714: MappingProxyType({"uri": "/RecursiveShapes", "method": "PUT"})},
+ _s820,
+ {_s729: MappingProxyType({"uri": "/RecursiveShapes", "method": "PUT"})},
RECURSIVE_SHAPES_INPUT,
RECURSIVE_SHAPES_OUTPUT,
(),
@@ -692,23 +704,23 @@
RESPONSE_CODE_HTTP_FALLBACK_INPUT: StaticSchema = (
18,
n1,
- _s647,
- {_s30: _s648, _s32: None},
+ _s655,
+ {_s30: _s656, _s32: None},
)
RESPONSE_CODE_HTTP_FALLBACK_OUTPUT: StaticSchema = (
18,
n1,
- _s649,
- {_s30: _s648, _s92: None},
+ _s657,
+ {_s30: _s656, _s92: None},
)
RESPONSE_CODE_HTTP_FALLBACK: StaticOperationSchema = (
23,
n1,
- _s806,
+ _s821,
{
- _s714: MappingProxyType(
+ _s729: MappingProxyType(
{"method": "GET", "uri": "/responseCodeHttpFallback", "code": 201}
)
},
@@ -720,11 +732,11 @@
SIMPLE_SCALAR_PROPERTIES_INPUT: StaticSchema = (
18,
n1,
- _s651,
- {_s30: _s652, _s32: None},
- (_s178, _s336, _s653, _s654, _s655, _s656, _s657, _s658, _s659, _s660),
+ _s659,
+ {_s30: _s660, _s32: None},
+ (_s181, _s339, _s661, _s662, _s663, _s664, _s665, _s666, _s667, _s668),
(
- (3, {_s77: _s468}),
+ (3, {_s77: _s421}),
(3, 0),
(2, 0),
(2, 0),
@@ -733,18 +745,18 @@
(7, 0),
(8, 0),
(9, 0),
- (10, {_s70: _s661}),
+ (10, {_s70: _s669}),
),
)
SIMPLE_SCALAR_PROPERTIES_OUTPUT: StaticSchema = (
18,
n1,
- _s662,
- {_s30: _s652, _s92: None},
- (_s178, _s336, _s653, _s654, _s655, _s656, _s657, _s658, _s659, _s660),
+ _s670,
+ {_s30: _s660, _s92: None},
+ (_s181, _s339, _s661, _s662, _s663, _s664, _s665, _s666, _s667, _s668),
(
- (3, {_s77: _s468}),
+ (3, {_s77: _s421}),
(3, 0),
(2, 0),
(2, 0),
@@ -753,15 +765,15 @@
(7, 0),
(8, 0),
(9, 0),
- (10, {_s70: _s661}),
+ (10, {_s70: _s669}),
),
)
SIMPLE_SCALAR_PROPERTIES: StaticOperationSchema = (
23,
n1,
- _s808,
- {_s714: MappingProxyType({"uri": "/SimpleScalarProperties", "method": "PUT"})},
+ _s823,
+ {_s729: MappingProxyType({"uri": "/SimpleScalarProperties", "method": "PUT"})},
SIMPLE_SCALAR_PROPERTIES_INPUT,
SIMPLE_SCALAR_PROPERTIES_OUTPUT,
(),
@@ -770,26 +782,26 @@
SPARSE_JSON_LISTS_INPUT: StaticSchema = (
18,
n1,
- _s663,
- {_s30: _s664, _s32: None},
- (_s665, _s666),
+ _s671,
+ {_s30: _s672, _s32: None},
+ (_s673, _s674),
((lambda: schemas.SPARSE_STRING_LIST, 0), (lambda: schemas.SPARSE_SHORT_LIST, 0)),
)
SPARSE_JSON_LISTS_OUTPUT: StaticSchema = (
18,
n1,
- _s667,
- {_s30: _s664, _s92: None},
- (_s665, _s666),
+ _s675,
+ {_s30: _s672, _s92: None},
+ (_s673, _s674),
((lambda: schemas.SPARSE_STRING_LIST, 0), (lambda: schemas.SPARSE_SHORT_LIST, 0)),
)
SPARSE_JSON_LISTS: StaticOperationSchema = (
23,
n1,
- _s809,
- {_s714: MappingProxyType({"uri": "/SparseJsonLists", "method": "PUT"})},
+ _s824,
+ {_s729: MappingProxyType({"uri": "/SparseJsonLists", "method": "PUT"})},
SPARSE_JSON_LISTS_INPUT,
SPARSE_JSON_LISTS_OUTPUT,
(),
@@ -798,9 +810,9 @@
SPARSE_JSON_MAPS_INPUT: StaticSchema = (
18,
n1,
- _s668,
- {_s30: _s669, _s32: None},
- (_s670, _s671, _s672, _s673, _s674),
+ _s676,
+ {_s30: _s677, _s32: None},
+ (_s678, _s679, _s680, _s681, _s682),
(
(lambda: schemas.SPARSE_STRUCT_MAP, 0),
(lambda: schemas.SPARSE_NUMBER_MAP, 0),
@@ -813,9 +825,9 @@
SPARSE_JSON_MAPS_OUTPUT: StaticSchema = (
18,
n1,
- _s675,
- {_s30: _s669, _s92: None},
- (_s670, _s671, _s672, _s673, _s674),
+ _s683,
+ {_s30: _s677, _s92: None},
+ (_s678, _s679, _s680, _s681, _s682),
(
(lambda: schemas.SPARSE_STRUCT_MAP, 0),
(lambda: schemas.SPARSE_NUMBER_MAP, 0),
@@ -828,36 +840,102 @@
SPARSE_JSON_MAPS: StaticOperationSchema = (
23,
n1,
- _s810,
- {_s714: MappingProxyType({"uri": "/SparseJsonMaps", "method": "POST"})},
+ _s825,
+ {_s729: MappingProxyType({"uri": "/SparseJsonMaps", "method": "POST"})},
SPARSE_JSON_MAPS_INPUT,
SPARSE_JSON_MAPS_OUTPUT,
(),
)
+STREAMING_TRAITS_INPUT: StaticSchema = (
+ 18,
+ n1,
+ _s684,
+ {_s30: _s685, _s32: None},
+ (_s181, _s239),
+ ((3, {_s77: _s421}), (lambda: schemas.STREAMING_BLOB, {_s68: _s128, _s422: None})),
+)
+
+STREAMING_TRAITS_OUTPUT: StaticSchema = (
+ 18,
+ n1,
+ _s686,
+ {_s30: _s685, _s92: None},
+ (_s181, _s239),
+ ((3, {_s77: _s421}), (lambda: schemas.STREAMING_BLOB, {_s68: _s128, _s422: None})),
+)
+
+STREAMING_TRAITS: StaticOperationSchema = (
+ 23,
+ n1,
+ _s826,
+ {_s729: MappingProxyType({"uri": "/StreamingTraits", "method": "POST"})},
+ STREAMING_TRAITS_INPUT,
+ STREAMING_TRAITS_OUTPUT,
+ (),
+)
+
+STREAMING_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}),
+ ),
+)
+
+STREAMING_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}),
+ ),
+)
+
+STREAMING_TRAITS_WITH_MEDIA_TYPE: StaticOperationSchema = (
+ 23,
+ n1,
+ _s828,
+ {
+ _s729: MappingProxyType(
+ {"uri": "/StreamingTraitsWithMediaType", "method": "POST"}
+ )
+ },
+ STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT,
+ STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT,
+ (),
+)
+
TEST_BODY_STRUCTURE_INPUT: StaticSchema = (
18,
n1,
- _s676,
- {_s30: _s677, _s32: None},
- (_s678, _s680),
- ((3, {_s77: _s679}), (lambda: schemas.TEST_CONFIG, 0)),
+ _s691,
+ {_s30: _s692, _s32: None},
+ (_s693, _s695),
+ ((3, {_s77: _s694}), (lambda: schemas.TEST_CONFIG, 0)),
)
TEST_BODY_STRUCTURE_OUTPUT: StaticSchema = (
18,
n1,
- _s681,
- {_s30: _s677, _s92: None},
- (_s678, _s680),
- ((3, {_s77: _s679}), (lambda: schemas.TEST_CONFIG, 0)),
+ _s696,
+ {_s30: _s692, _s92: None},
+ (_s693, _s695),
+ ((3, {_s77: _s694}), (lambda: schemas.TEST_CONFIG, 0)),
)
TEST_BODY_STRUCTURE: StaticOperationSchema = (
23,
n1,
- _s811,
- {_s714: MappingProxyType({"uri": "/body", "method": "POST"})},
+ _s829,
+ {_s729: MappingProxyType({"uri": "/body", "method": "POST"})},
TEST_BODY_STRUCTURE_INPUT,
TEST_BODY_STRUCTURE_OUTPUT,
(),
@@ -866,24 +944,24 @@
TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s682,
- {_s30: _s435, _s32: None},
+ _s697,
+ {_s30: _s444, _s32: None},
)
TEST_GET_NO_INPUT_NO_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s683,
- {_s30: _s684, _s92: None},
- (_s678,),
- ((3, {_s77: _s685}),),
+ _s698,
+ {_s30: _s699, _s92: None},
+ (_s693,),
+ ((3, {_s77: _s700}),),
)
TEST_GET_NO_INPUT_NO_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s812,
- {_s714: MappingProxyType({"uri": "/no_input_no_payload", "method": "GET"})},
+ _s830,
+ {_s729: MappingProxyType({"uri": "/no_input_no_payload", "method": "GET"})},
TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT,
TEST_GET_NO_INPUT_NO_PAYLOAD_OUTPUT,
(),
@@ -892,26 +970,26 @@
TEST_GET_NO_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s686,
- {_s30: _s684, _s32: None},
- (_s678,),
- ((3, {_s77: _s685}),),
+ _s701,
+ {_s30: _s699, _s32: None},
+ (_s693,),
+ ((3, {_s77: _s700}),),
)
TEST_GET_NO_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s687,
- {_s30: _s684, _s92: None},
- (_s678,),
- ((3, {_s77: _s685}),),
+ _s702,
+ {_s30: _s699, _s92: None},
+ (_s693,),
+ ((3, {_s77: _s700}),),
)
TEST_GET_NO_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s813,
- {_s714: MappingProxyType({"uri": "/no_payload", "method": "GET"})},
+ _s831,
+ {_s729: MappingProxyType({"uri": "/no_payload", "method": "GET"})},
TEST_GET_NO_PAYLOAD_INPUT,
TEST_GET_NO_PAYLOAD_OUTPUT,
(),
@@ -920,26 +998,26 @@
TEST_PAYLOAD_BLOB_INPUT: StaticSchema = (
18,
n1,
- _s688,
- {_s30: _s689, _s32: None},
- (_s690, _s376),
- ((3, {_s77: _s691}), (1, 16)),
+ _s703,
+ {_s30: _s704, _s32: None},
+ (_s705, _s379),
+ ((3, {_s77: _s706}), (1, 16)),
)
TEST_PAYLOAD_BLOB_OUTPUT: StaticSchema = (
18,
n1,
- _s692,
- {_s30: _s689, _s92: None},
- (_s690, _s376),
- ((3, {_s77: _s691}), (1, 16)),
+ _s707,
+ {_s30: _s704, _s92: None},
+ (_s705, _s379),
+ ((3, {_s77: _s706}), (1, 16)),
)
TEST_PAYLOAD_BLOB: StaticOperationSchema = (
23,
n1,
- _s814,
- {_s714: MappingProxyType({"uri": "/blob_payload", "method": "POST"})},
+ _s832,
+ {_s729: MappingProxyType({"uri": "/blob_payload", "method": "POST"})},
TEST_PAYLOAD_BLOB_INPUT,
TEST_PAYLOAD_BLOB_OUTPUT,
(),
@@ -948,26 +1026,26 @@
TEST_PAYLOAD_STRUCTURE_INPUT: StaticSchema = (
18,
n1,
- _s693,
- {_s30: _s694, _s32: None},
- (_s678, _s695),
- ((3, {_s77: _s679}), (lambda: schemas.PAYLOAD_CONFIG, 16)),
+ _s708,
+ {_s30: _s709, _s32: None},
+ (_s693, _s710),
+ ((3, {_s77: _s694}), (lambda: schemas.PAYLOAD_CONFIG, 16)),
)
TEST_PAYLOAD_STRUCTURE_OUTPUT: StaticSchema = (
18,
n1,
- _s696,
- {_s30: _s694, _s92: None},
- (_s678, _s695),
- ((3, {_s77: _s679}), (lambda: schemas.PAYLOAD_CONFIG, 16)),
+ _s711,
+ {_s30: _s709, _s92: None},
+ (_s693, _s710),
+ ((3, {_s77: _s694}), (lambda: schemas.PAYLOAD_CONFIG, 16)),
)
TEST_PAYLOAD_STRUCTURE: StaticOperationSchema = (
23,
n1,
- _s815,
- {_s714: MappingProxyType({"uri": "/payload", "method": "POST"})},
+ _s833,
+ {_s729: MappingProxyType({"uri": "/payload", "method": "POST"})},
TEST_PAYLOAD_STRUCTURE_INPUT,
TEST_PAYLOAD_STRUCTURE_OUTPUT,
(),
@@ -976,24 +1054,24 @@
TEST_POST_NO_INPUT_NO_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s697,
- {_s30: _s435, _s32: None},
+ _s712,
+ {_s30: _s444, _s32: None},
)
TEST_POST_NO_INPUT_NO_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s698,
- {_s30: _s684, _s92: None},
- (_s678,),
- ((3, {_s77: _s685}),),
+ _s713,
+ {_s30: _s699, _s92: None},
+ (_s693,),
+ ((3, {_s77: _s700}),),
)
TEST_POST_NO_INPUT_NO_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s816,
- {_s714: MappingProxyType({"uri": "/no_input_no_payload", "method": "POST"})},
+ _s834,
+ {_s729: MappingProxyType({"uri": "/no_input_no_payload", "method": "POST"})},
TEST_POST_NO_INPUT_NO_PAYLOAD_INPUT,
TEST_POST_NO_INPUT_NO_PAYLOAD_OUTPUT,
(),
@@ -1002,26 +1080,26 @@
TEST_POST_NO_PAYLOAD_INPUT: StaticSchema = (
18,
n1,
- _s699,
- {_s30: _s684, _s32: None},
- (_s678,),
- ((3, {_s77: _s685}),),
+ _s714,
+ {_s30: _s699, _s32: None},
+ (_s693,),
+ ((3, {_s77: _s700}),),
)
TEST_POST_NO_PAYLOAD_OUTPUT: StaticSchema = (
18,
n1,
- _s700,
- {_s30: _s684, _s92: None},
- (_s678,),
- ((3, {_s77: _s685}),),
+ _s715,
+ {_s30: _s699, _s92: None},
+ (_s693,),
+ ((3, {_s77: _s700}),),
)
TEST_POST_NO_PAYLOAD: StaticOperationSchema = (
23,
n1,
- _s817,
- {_s714: MappingProxyType({"uri": "/no_payload", "method": "POST"})},
+ _s835,
+ {_s729: MappingProxyType({"uri": "/no_payload", "method": "POST"})},
TEST_POST_NO_PAYLOAD_INPUT,
TEST_POST_NO_PAYLOAD_OUTPUT,
(),
@@ -1030,42 +1108,42 @@
TIMESTAMP_FORMAT_HEADERS_INPUT: StaticSchema = (
18,
n1,
- _s701,
- {_s30: _s702, _s32: None},
- (_s196, _s199, _s200, _s201, _s202, _s203, _s204),
+ _s716,
+ {_s30: _s717, _s32: None},
+ (_s199, _s202, _s203, _s204, _s205, _s206, _s207),
(
- (4, {_s77: _s703, _s94: _s191}),
- (4, {_s77: _s704, _s94: _s193}),
- (4, {_s77: _s705, _s94: _s95}),
- (4, {_s77: _s706}),
- (lambda: schemas.EPOCH_SECONDS, {_s77: _s707}),
- (lambda: schemas.HTTP_DATE, {_s77: _s708}),
- (lambda: schemas.DATE_TIME, {_s77: _s709}),
+ (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}),
),
)
TIMESTAMP_FORMAT_HEADERS_OUTPUT: StaticSchema = (
18,
n1,
- _s710,
- {_s30: _s702, _s92: None},
- (_s196, _s199, _s200, _s201, _s202, _s203, _s204),
+ _s725,
+ {_s30: _s717, _s92: None},
+ (_s199, _s202, _s203, _s204, _s205, _s206, _s207),
(
- (4, {_s77: _s703, _s94: _s191}),
- (4, {_s77: _s704, _s94: _s193}),
- (4, {_s77: _s705, _s94: _s95}),
- (4, {_s77: _s706}),
- (lambda: schemas.EPOCH_SECONDS, {_s77: _s707}),
- (lambda: schemas.HTTP_DATE, {_s77: _s708}),
- (lambda: schemas.DATE_TIME, {_s77: _s709}),
+ (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}),
),
)
TIMESTAMP_FORMAT_HEADERS: StaticOperationSchema = (
23,
n1,
- _s818,
- {_s714: MappingProxyType({"uri": "/TimestampFormatHeaders", "method": "POST"})},
+ _s836,
+ {_s729: MappingProxyType({"uri": "/TimestampFormatHeaders", "method": "POST"})},
TIMESTAMP_FORMAT_HEADERS_INPUT,
TIMESTAMP_FORMAT_HEADERS_OUTPUT,
(),
@@ -1074,22 +1152,22 @@
UNIT_INPUT_AND_OUTPUT_INPUT: StaticSchema = (
18,
n1,
- _s711,
- {_s30: _s435, _s32: None},
+ _s726,
+ {_s30: _s444, _s32: None},
)
UNIT_INPUT_AND_OUTPUT_OUTPUT: StaticSchema = (
18,
n1,
- _s712,
- {_s30: _s435, _s92: None},
+ _s727,
+ {_s30: _s444, _s92: None},
)
UNIT_INPUT_AND_OUTPUT: StaticOperationSchema = (
23,
n1,
- _s819,
- {_s714: MappingProxyType({"uri": "/UnitInputAndOutput", "method": "POST"})},
+ _s837,
+ {_s729: MappingProxyType({"uri": "/UnitInputAndOutput", "method": "POST"})},
UNIT_INPUT_AND_OUTPUT_INPUT,
UNIT_INPUT_AND_OUTPUT_OUTPUT,
(),
@@ -1098,28 +1176,28 @@
REST_JSON: StaticSchema = (
21,
n1,
- _s820,
+ _s838,
{
- _s821: MappingProxyType({"sdkId": "Rest Json Protocol"}),
- _s822: MappingProxyType({"name": "restjson"}),
- _s823: None,
+ _s839: MappingProxyType({"sdkId": "Rest Json Protocol"}),
+ _s840: MappingProxyType({"name": "restjson"}),
+ _s841: None,
},
)
RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED1: StaticSchema = (
18,
n1,
- _s824,
+ _s842,
0,
- (_s178, _s475),
+ (_s181, _s483),
((3, 0), (lambda: RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2, 0)),
)
RECURSIVE_SHAPES_INPUT_OUTPUT_NESTED2: StaticSchema = (
18,
n1,
- _s825,
+ _s843,
0,
- (_s385, _s826),
+ (_s388, _s844),
((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 383348b48..229db14ef 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
@@ -3723,6 +3723,133 @@ async def sparse_json_maps(
plugins,
)
+ @overload
+ async def streaming_traits(
+ self,
+ request: models.StreamingTraitsInput | models.AsyncStreamingTraitsInputDict,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ ) -> models.StreamingTraitsOutput: ...
+
+ @overload
+ async def streaming_traits(
+ self,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ **kwargs: Unpack[models.AsyncStreamingTraitsInputDict],
+ ) -> models.StreamingTraitsOutput:
+ """
+ This examples serializes a streaming blob shape in the request body.
+
+ In this example, no JSON document is synthesized because the payload is
+ not a structure or a union type.
+
+ Args:
+ plugins:
+ Callables that change the configuration for this call only.
+
+ Returns:
+ An instance of `StreamingTraitsOutput`.
+ """
+
+ async def streaming_traits(
+ self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object
+ ) -> models.StreamingTraitsOutput:
+ return await self._invoke(
+ self._select_input(models.STREAMING_TRAITS, args, kwargs),
+ models.STREAMING_TRAITS,
+ [],
+ plugins,
+ )
+
+ @overload
+ async def streaming_traits_require_length(
+ self,
+ request: models.StreamingTraitsRequireLengthInput
+ | models.AsyncStreamingTraitsRequireLengthInputDict,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ ) -> models.StreamingTraitsRequireLengthOutput: ...
+
+ @overload
+ async def streaming_traits_require_length(
+ self,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ **kwargs: Unpack[models.AsyncStreamingTraitsRequireLengthInputDict],
+ ) -> models.StreamingTraitsRequireLengthOutput:
+ """
+ This examples serializes a streaming blob shape with a required content
+ length in the request body.
+
+ In this example, no JSON document is synthesized because the payload is
+ not a structure or a union type.
+
+ Args:
+ plugins:
+ Callables that change the configuration for this call only.
+
+ Returns:
+ An instance of `StreamingTraitsRequireLengthOutput`.
+ """
+
+ async def streaming_traits_require_length(
+ self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object
+ ) -> models.StreamingTraitsRequireLengthOutput:
+ return await self._invoke(
+ self._select_input(models.STREAMING_TRAITS_REQUIRE_LENGTH, args, kwargs),
+ models.STREAMING_TRAITS_REQUIRE_LENGTH,
+ [],
+ plugins,
+ )
+
+ @overload
+ async def streaming_traits_with_media_type(
+ self,
+ request: models.StreamingTraitsWithMediaTypeInput
+ | models.AsyncStreamingTraitsWithMediaTypeInputDict,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ ) -> models.StreamingTraitsWithMediaTypeOutput: ...
+
+ @overload
+ async def streaming_traits_with_media_type(
+ self,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ **kwargs: Unpack[models.AsyncStreamingTraitsWithMediaTypeInputDict],
+ ) -> models.StreamingTraitsWithMediaTypeOutput:
+ """
+ This examples serializes a streaming media-typed blob shape in the
+ request body.
+
+ This examples uses a `@mediaType` trait on the payload to force a custom
+ content-type to be serialized.
+
+ Args:
+ plugins:
+ Callables that change the configuration for this call only.
+
+ Returns:
+ An instance of `StreamingTraitsWithMediaTypeOutput`.
+ """
+
+ async def streaming_traits_with_media_type(
+ self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object
+ ) -> models.StreamingTraitsWithMediaTypeOutput:
+ return await self._invoke(
+ self._select_input(models.STREAMING_TRAITS_WITH_MEDIA_TYPE, args, kwargs),
+ models.STREAMING_TRAITS_WITH_MEDIA_TYPE,
+ [],
+ plugins,
+ )
+
@overload
async def test_body_structure(
self,
diff --git a/codegen-output-py/rest-json-1-client/src/restjson_client/client.py b/codegen-output-py/rest-json-1-client/src/restjson_client/client.py
index e553f565a..7de3b03a4 100644
--- a/codegen-output-py/rest-json-1-client/src/restjson_client/client.py
+++ b/codegen-output-py/rest-json-1-client/src/restjson_client/client.py
@@ -3723,6 +3723,133 @@ def sparse_json_maps(
plugins,
)
+ @overload
+ def streaming_traits(
+ self,
+ request: models.StreamingTraitsInput | models.StreamingTraitsInputDict,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ ) -> models.StreamingTraitsOutput: ...
+
+ @overload
+ def streaming_traits(
+ self,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ **kwargs: Unpack[models.StreamingTraitsInputDict],
+ ) -> models.StreamingTraitsOutput:
+ """
+ This examples serializes a streaming blob shape in the request body.
+
+ In this example, no JSON document is synthesized because the payload is
+ not a structure or a union type.
+
+ Args:
+ plugins:
+ Callables that change the configuration for this call only.
+
+ Returns:
+ An instance of `StreamingTraitsOutput`.
+ """
+
+ def streaming_traits(
+ self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object
+ ) -> models.StreamingTraitsOutput:
+ return self._invoke(
+ self._select_input(models.STREAMING_TRAITS, args, kwargs),
+ models.STREAMING_TRAITS,
+ [],
+ plugins,
+ )
+
+ @overload
+ def streaming_traits_require_length(
+ self,
+ request: models.StreamingTraitsRequireLengthInput
+ | models.StreamingTraitsRequireLengthInputDict,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ ) -> models.StreamingTraitsRequireLengthOutput: ...
+
+ @overload
+ def streaming_traits_require_length(
+ self,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ **kwargs: Unpack[models.StreamingTraitsRequireLengthInputDict],
+ ) -> models.StreamingTraitsRequireLengthOutput:
+ """
+ This examples serializes a streaming blob shape with a required content
+ length in the request body.
+
+ In this example, no JSON document is synthesized because the payload is
+ not a structure or a union type.
+
+ Args:
+ plugins:
+ Callables that change the configuration for this call only.
+
+ Returns:
+ An instance of `StreamingTraitsRequireLengthOutput`.
+ """
+
+ def streaming_traits_require_length(
+ self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object
+ ) -> models.StreamingTraitsRequireLengthOutput:
+ return self._invoke(
+ self._select_input(models.STREAMING_TRAITS_REQUIRE_LENGTH, args, kwargs),
+ models.STREAMING_TRAITS_REQUIRE_LENGTH,
+ [],
+ plugins,
+ )
+
+ @overload
+ def streaming_traits_with_media_type(
+ self,
+ request: models.StreamingTraitsWithMediaTypeInput
+ | models.StreamingTraitsWithMediaTypeInputDict,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ ) -> models.StreamingTraitsWithMediaTypeOutput: ...
+
+ @overload
+ def streaming_traits_with_media_type(
+ self,
+ /,
+ *,
+ plugins: list[Plugin] | None = None,
+ **kwargs: Unpack[models.StreamingTraitsWithMediaTypeInputDict],
+ ) -> models.StreamingTraitsWithMediaTypeOutput:
+ """
+ This examples serializes a streaming media-typed blob shape in the
+ request body.
+
+ This examples uses a `@mediaType` trait on the payload to force a custom
+ content-type to be serialized.
+
+ Args:
+ plugins:
+ Callables that change the configuration for this call only.
+
+ Returns:
+ An instance of `StreamingTraitsWithMediaTypeOutput`.
+ """
+
+ def streaming_traits_with_media_type(
+ self, /, *args: object, plugins: list[Plugin] | None = None, **kwargs: object
+ ) -> models.StreamingTraitsWithMediaTypeOutput:
+ return self._invoke(
+ self._select_input(models.STREAMING_TRAITS_WITH_MEDIA_TYPE, args, kwargs),
+ models.STREAMING_TRAITS_WITH_MEDIA_TYPE,
+ [],
+ plugins,
+ )
+
@overload
def test_body_structure(
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 982b6a5b7..d38cf2819 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
@@ -120,6 +120,7 @@ class ServiceError(ModeledError):
"SimpleUnionInt": "SIMPLE_UNION",
"SimpleUnionString": "SIMPLE_UNION",
"SimpleUnionUnknown": "SIMPLE_UNION",
+ "StreamingTraitsRequireLengthInput": "STREAMING_TRAITS_REQUIRE_LENGTH_INPUT",
"StringEnum": "STRING_ENUM",
"StructureListMember": "STRUCTURE_LIST_MEMBER",
"TestConfig": "TEST_CONFIG",
@@ -255,6 +256,11 @@ class ServiceError(ModeledError):
"SparseJsonListsOutput": "SPARSE_JSON_LISTS_OUTPUT",
"SparseJsonMapsInput": "SPARSE_JSON_MAPS_INPUT",
"SparseJsonMapsOutput": "SPARSE_JSON_MAPS_OUTPUT",
+ "StreamingTraitsInput": "STREAMING_TRAITS_INPUT",
+ "StreamingTraitsOutput": "STREAMING_TRAITS_OUTPUT",
+ "StreamingTraitsRequireLengthOutput": "STREAMING_TRAITS_REQUIRE_LENGTH_OUTPUT",
+ "StreamingTraitsWithMediaTypeInput": "STREAMING_TRAITS_WITH_MEDIA_TYPE_INPUT",
+ "StreamingTraitsWithMediaTypeOutput": "STREAMING_TRAITS_WITH_MEDIA_TYPE_OUTPUT",
"TestBodyStructureInput": "TEST_BODY_STRUCTURE_INPUT",
"TestBodyStructureOutput": "TEST_BODY_STRUCTURE_OUTPUT",
"TestGetNoInputNoPayloadInput": "TEST_GET_NO_INPUT_NO_PAYLOAD_INPUT",
@@ -664,6 +670,18 @@ class ServiceError(ModeledError):
(),
("aws.auth#sigv4",),
),
+ "STREAMING_TRAITS": (
+ (),
+ ("aws.auth#sigv4",),
+ ),
+ "STREAMING_TRAITS_REQUIRE_LENGTH": (
+ (),
+ ("aws.auth#sigv4",),
+ ),
+ "STREAMING_TRAITS_WITH_MEDIA_TYPE": (
+ (),
+ ("aws.auth#sigv4",),
+ ),
"TEST_BODY_STRUCTURE": (
(),
("aws.auth#sigv4",),
@@ -921,6 +939,12 @@ class ServiceError(ModeledError):
"SparseJsonListsOutput",
"SparseJsonMapsInput",
"SparseJsonMapsOutput",
+ "StreamingTraitsInput",
+ "StreamingTraitsOutput",
+ "StreamingTraitsRequireLengthInput",
+ "StreamingTraitsRequireLengthOutput",
+ "StreamingTraitsWithMediaTypeInput",
+ "StreamingTraitsWithMediaTypeOutput",
"StringEnum",
"StructureListMember",
"TestBodyStructureInput",
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 b09fd07d4..cee27c0d9 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
@@ -4,9 +4,15 @@ from datetime import datetime
from enum import IntEnum, StrEnum
from typing import Required, 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
@@ -107,6 +113,9 @@ __all__ = [
"SIMPLE_SCALAR_PROPERTIES",
"SPARSE_JSON_LISTS",
"SPARSE_JSON_MAPS",
+ "STREAMING_TRAITS",
+ "STREAMING_TRAITS_REQUIRE_LENGTH",
+ "STREAMING_TRAITS_WITH_MEDIA_TYPE",
"TEST_BODY_STRUCTURE",
"TEST_GET_NO_INPUT_NO_PAYLOAD",
"TEST_GET_NO_PAYLOAD",
@@ -344,6 +353,12 @@ __all__ = [
"SparseJsonListsOutput",
"SparseJsonMapsInput",
"SparseJsonMapsOutput",
+ "StreamingTraitsInput",
+ "StreamingTraitsOutput",
+ "StreamingTraitsRequireLengthInput",
+ "StreamingTraitsRequireLengthOutput",
+ "StreamingTraitsWithMediaTypeInput",
+ "StreamingTraitsWithMediaTypeOutput",
"StringEnum",
"StructureListMember",
"TestBodyStructureInput",
@@ -1836,6 +1851,32 @@ class SimpleUnionStringDict(TypedDict):
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"
@@ -3600,6 +3641,101 @@ class SparseJsonMapsOutput(_SerdeShape):
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."
@@ -4055,6 +4191,13 @@ SIMPLE_SCALAR_PROPERTIES: APIOperation[
]
SPARSE_JSON_LISTS: APIOperation[SparseJsonListsInput, SparseJsonListsOutput]
SPARSE_JSON_MAPS: APIOperation[SparseJsonMapsInput, SparseJsonMapsOutput]
+STREAMING_TRAITS: APIOperation[StreamingTraitsInput, StreamingTraitsOutput]
+STREAMING_TRAITS_REQUIRE_LENGTH: APIOperation[
+ StreamingTraitsRequireLengthInput, StreamingTraitsRequireLengthOutput
+]
+STREAMING_TRAITS_WITH_MEDIA_TYPE: APIOperation[
+ StreamingTraitsWithMediaTypeInput, StreamingTraitsWithMediaTypeOutput
+]
TEST_BODY_STRUCTURE: APIOperation[TestBodyStructureInput, TestBodyStructureOutput]
TEST_GET_NO_INPUT_NO_PAYLOAD: APIOperation[
TestGetNoInputNoPayloadInput, TestGetNoInputNoPayloadOutput
diff --git a/designs/codegen/client.md b/designs/codegen/client.md
index 56f8cb7a5..131ff8946 100644
--- a/designs/codegen/client.md
+++ b/designs/codegen/client.md
@@ -481,15 +481,22 @@ from line breaks, and the rest differ only in layout.
## Supported Features
-The generator supports non-streaming RPCv2 CBOR and RPCv2 JSON operations that
-are unsigned or use API key auth, bearer token auth, or SigV4, and whose
+Operations with a streaming blob input or output are supported. A streaming
+blob member is a `StreamingBlob`, which an async client may give as an async
+stream and returns as one. An input with a streaming blob has two dictionary
+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
endpoint rules use the standard library. Models that require other auth
-schemes or event or data streams fail generation with a diagnostic naming the
+schemes or event streams fail generation with a diagnostic naming the
operation and feature.
Authentication and endpoint extension points are provider-neutral. AWS config
resolution, the AWS user agent, SigV4, and AWS endpoint functions are AWS
-integrations. AWS protocols are not supported yet.
+integrations.
## Validation
diff --git a/designs/codegen/snapshots.md b/designs/codegen/snapshots.md
index 119f0f129..e8e7706ed 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` | 103 | 236 |
+| `rest-json-1-client` | `restjson_client` | 106 | 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 |
@@ -79,7 +79,7 @@ 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 10 streaming operations and their 8 vectors. Tests compare the RPCv2 CBOR client's operation methods with
+omits its 7 event stream operations, which have no vectors. 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-e6c71973cce047e69908398507850d4c.json b/packages/smithy-python/.changes/next-release/smithy-python-feature-e6c71973cce047e69908398507850d4c.json
new file mode 100644
index 000000000..6dcb04f6d
--- /dev/null
+++ b/packages/smithy-python/.changes/next-release/smithy-python-feature-e6c71973cce047e69908398507850d4c.json
@@ -0,0 +1,4 @@
+{
+ "type": "feature",
+ "description": "Generated clients support operations with streaming blob inputs and outputs. The async client takes an Async-prefixed dictionary form for inputs with a streaming body."
+}
\ 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 0a7da223b..208b5e103 100644
--- a/packages/smithy-python/src/smithy_python/_client_emitter.py
+++ b/packages/smithy-python/src/smithy_python/_client_emitter.py
@@ -46,9 +46,11 @@ 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():
- if plan.model.get_target(member).has_trait("streaming"):
+ 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"
@@ -303,6 +305,7 @@ 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 = (
@@ -669,7 +672,11 @@ def _write_operation(
) -> None:
name = operation.method_name
input_name = operation.input_name
- dict_name = plan.models.input_dict_names[operation.operation.input]
+ 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)
plugins: tuple[str | TypeReference, ...] = (
"plugins: list[",
@@ -746,7 +753,11 @@ def _write_paginator(
) -> None:
# A plain def in both modes: the async paginator is iterated, not awaited.
name = paginator.method_name
- dict_name = plan.models.input_dict_names[operation.operation.input]
+ 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]
page: tuple[str | TypeReference, ...] = (models, ".", operation.output_name)
if paginator.item_type is None:
runtime = _core(
@@ -875,7 +886,11 @@ def _write_waiter(
waiter: _waiters.WaiterPlan,
) -> None:
name = waiter.method_name
- dict_name = plan.models.input_dict_names[operation.operation.input]
+ 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]
define = "async def " if mode.is_async else "def "
runtime = (
_core("wait_async", "aio.waiters")
diff --git a/packages/smithy-python/src/smithy_python/clients.py b/packages/smithy-python/src/smithy_python/clients.py
index 804419bef..cc6e48579 100644
--- a/packages/smithy-python/src/smithy_python/clients.py
+++ b/packages/smithy-python/src/smithy_python/clients.py
@@ -184,7 +184,8 @@ def from_model(
symbols,
schemas.names,
operation_models,
- _input_dict_names(model, operations, symbols),
+ dict_names := _input_dict_names(model, operations, symbols),
+ _streaming_dict_names(model, operations, dict_names),
),
operations=tuple(
OperationPlan(
@@ -414,6 +415,35 @@ def allocate(shape_id: _model.ShapeId, name: str) -> None:
_DICT_TYPES = frozenset({_model.ShapeType.STRUCTURE, _model.ShapeType.UNION})
+_ASYNC_PREFIX = "Async"
+
+
+def _streaming_dict_names(
+ model: _model.Model,
+ operations: tuple[_model.OperationShape, ...],
+ names: Mapping[_model.ShapeId, str],
+) -> Mapping[_model.ShapeId, str]:
+ """Name the async forms of operation inputs that have a streaming blob.
+
+ CAUTION: smithy_core._dynamic_models.ModelRegistry._is_dict_name resolves
+ these names at runtime by taking the ``Async`` prefix back off.
+ """
+ return MappingProxyType(
+ {
+ operation.input: _ASYNC_PREFIX + names[operation.input]
+ for operation in operations
+ if _has_streaming_blob(model, model.get_shape(operation.input))
+ }
+ )
+
+
+def _has_streaming_blob(model: _model.Model, shape: _model.Shape) -> bool:
+ """Whether a structure has a streaming blob member."""
+ return any(
+ (target := model.get_target(member)).type is _model.ShapeType.BLOB
+ and target.has_trait("streaming")
+ for member in shape.members.values()
+ )
def _declaration_name(
diff --git a/packages/smithy-python/src/smithy_python/generation.py b/packages/smithy-python/src/smithy_python/generation.py
index 4d06d3068..6bf0aaf40 100644
--- a/packages/smithy-python/src/smithy_python/generation.py
+++ b/packages/smithy-python/src/smithy_python/generation.py
@@ -123,6 +123,13 @@ class ModelPlan:
"""``TypedDict`` names for structures, unions, and union members that callers
may pass as dictionaries. Only client plans have them."""
+ async_input_dict_names: Mapping[_model.ShapeId, str] = field(
+ default_factory=lambda: MappingProxyType({})
+ )
+ """The async client's ``TypedDict`` names for operation inputs with a streaming
+ blob, which may also be an async stream there. The plain form takes only a
+ stream a sync client can send."""
+
@classmethod
def from_shapes(
cls,
@@ -131,6 +138,7 @@ def from_shapes(
schema_names: Mapping[_model.ShapeId, str],
operations: tuple[OperationModel, ...] = (),
input_dict_names: Mapping[_model.ShapeId, str] | None = None,
+ async_input_dict_names: Mapping[_model.ShapeId, str] | None = None,
) -> ModelPlan:
"""Plan declaration and union names in stable shape order."""
model_shapes: list[_model.Shape] = []
@@ -182,6 +190,7 @@ def from_shapes(
includes_unit=includes_unit,
operations=operations,
input_dict_names=MappingProxyType(dict(input_dict_names or {})),
+ async_input_dict_names=MappingProxyType(dict(async_input_dict_names or {})),
)
diff --git a/packages/smithy-python/src/smithy_python/models.py b/packages/smithy-python/src/smithy_python/models.py
index b0f4f3e07..2e953cc32 100644
--- a/packages/smithy-python/src/smithy_python/models.py
+++ b/packages/smithy-python/src/smithy_python/models.py
@@ -79,6 +79,9 @@ def _core_reference(name: str, module: str) -> _symbols.TypeReference:
_SHAPE_DESERIALIZER: Final = _core_reference("ShapeDeserializer", "deserializers")
_UNKNOWN_ENUM_MIXIN: Final = _core_reference("UnknownEnumMixin", "types")
_RESPONSE_METADATA: Final = _core_reference("ResponseMetadata", "response")
+_STREAMING_BLOB: Final = _core_reference("StreamingBlob", "aio.interfaces")
+# The writer aliases it, since the async StreamingBlob has the same name.
+_SYNC_STREAMING_BLOB: Final = _core_reference("StreamingBlob", "interfaces")
_ERROR_RESPONSE_METADATA: Final = _core_reference("ErrorResponseMetadata", "response")
_DATACLASS: Final = _symbols.TypeReference("dataclass", "dataclasses")
_SELF: Final = _symbols.TypeReference("Self", "typing")
@@ -347,19 +350,55 @@ def _write_structure_dict(self, shape: _model.Shape) -> None:
name = self.plan.input_dict_names.get(shape.id)
if name is None:
return
- writer = self.writer
model_name = self.plan.declaration_names.get(shape.id, "Unit")
+ async_name = self.plan.async_input_dict_names.get(shape.id)
+ if async_name is None:
+ self._write_structure_dict_form(
+ shape, name, f"Dictionary form of `{model_name}`.", _STREAMING_BLOB
+ )
+ return
+ # A sync client can't send an async stream, so each client gets a form.
+ self._write_structure_dict_form(
+ shape,
+ name,
+ f"Dictionary form of `{model_name}` that either client accepts. Its "
+ "streaming body is one a sync client can send. Use "
+ f"`{async_name}` for an async stream.",
+ _SYNC_STREAMING_BLOB,
+ )
+ self._write_structure_dict_form(
+ shape,
+ async_name,
+ f"Dictionary form of `{model_name}` for the async client. Its "
+ "streaming body may also be an async stream.",
+ _STREAMING_BLOB,
+ )
+
+ def _write_structure_dict_form(
+ self,
+ shape: _model.Shape,
+ name: str,
+ summary: str,
+ streaming_blob: _symbols.TypeReference,
+ ) -> None:
+ writer = self.writer
writer.line()
writer.line("class ", name, "(", _TYPED_DICT, ", total=False):")
with writer.indent():
- writer.line(_quote(f"Dictionary form of `{model_name}`."))
+ _write_docstring(writer, summary)
for member in shape.members.values():
if _is_event_stream_member(self.model, member) or (
shape.has_trait("error")
and member.name.lower() in _ERROR_MESSAGE_NAMES
):
continue
- parts = self._dict_type(member.target)
+ target = self.model.get_shape(member.target)
+ parts: tuple[_SourcePart, ...] = (
+ (streaming_blob,)
+ if target.type is _model.ShapeType.BLOB
+ and target.has_trait("streaming")
+ else self._dict_type(member.target)
+ )
if self._must_be_set(shape, member):
parts = (_REQUIRED, "[", *parts, "]")
else:
@@ -619,7 +658,10 @@ def _stub_shape_names(plan: ModelPlan, shape: _model.Shape) -> tuple[str, ...]:
declaration = plan.declaration_names[shape.id]
dicts = plan.input_dict_names
if shape.type is not _model.ShapeType.UNION:
- return (declaration, *((dicts[shape.id],) if shape.id in dicts else ()))
+ forms = (dicts[shape.id],) if shape.id in dicts else ()
+ if shape.id in plan.async_input_dict_names:
+ forms = (*forms, plan.async_input_dict_names[shape.id])
+ return (declaration, *forms)
return (
*(plan.union_variant_names[member.id] for member in shape.members.values()),
plan.union_unknown_names[shape.id],
diff --git a/packages/smithy-python/tests/unit/test_client_generation.py b/packages/smithy-python/tests/unit/test_client_generation.py
index 2954e1d75..faf906795 100644
--- a/packages/smithy-python/tests/unit/test_client_generation.py
+++ b/packages/smithy-python/tests/unit/test_client_generation.py
@@ -319,7 +319,8 @@ def _add_rules(shapes: dict[str, Any]) -> None:
def _add_stream(shapes: dict[str, Any]) -> None:
shapes["example#GreetOutput"]["members"]["data"] = {"target": "example#Stream"}
shapes["example#Stream"] = {
- "type": "blob",
+ "type": "union",
+ "members": {"tick": {"target": "smithy.api#Unit"}},
"traits": {"smithy.api#streaming": {}},
}
@@ -411,6 +412,24 @@ def test_configs_can_turn_off_modeled_host_prefixes(
assert hosts == ["data.example.com", "example.com"]
+def test_streaming_blob_inputs_get_a_dictionary_form_per_client(
+ tmp_path: Path,
+) -> None:
+ shapes = _shapes()
+ shapes["example#GreetInput"]["members"]["data"] = {"target": "example#Stream"}
+ shapes["example#Stream"] = {"type": "blob", "traits": {"smithy.api#streaming": {}}}
+ _generate(tmp_path, "greeter_streaming", shapes)
+ source = tmp_path / "src/greeter_streaming"
+ stub = (source / "models.pyi").read_text()
+ assert "class GreetInputDict(TypedDict, total=False):" in stub
+ assert "class AsyncGreetInputDict(TypedDict, total=False):" in stub
+ assert "_smithy_core_interfaces_StreamingBlob | None" in stub
+ assert "models.AsyncGreetInputDict" in (source / "aio/client.py").read_text()
+ sync_client = (source / "client.py").read_text()
+ assert "models.GreetInputDict" in sync_client
+ assert "AsyncGreetInputDict" not in sync_client
+
+
def test_rpcv2_json_service_sends_json_and_requires_the_json_extra(
tmp_path: Path, monkeypatch: pytest.MonkeyPatch
) -> None:
diff --git a/scripts/codegen-output-py/client-projections.json b/scripts/codegen-output-py/client-projections.json
index 512708676..4ad0307fa 100644
--- a/scripts/codegen-output-py/client-projections.json
+++ b/scripts/codegen-output-py/client-projections.json
@@ -51,10 +51,7 @@
"aws.protocoltests.restjson#InputStream",
"aws.protocoltests.restjson#InputStreamWithInitialRequest",
"aws.protocoltests.restjson#OutputStream",
- "aws.protocoltests.restjson#OutputStreamWithInitialResponse",
- "aws.protocoltests.restjson#StreamingTraits",
- "aws.protocoltests.restjson#StreamingTraitsRequireLength",
- "aws.protocoltests.restjson#StreamingTraitsWithMediaType"
+ "aws.protocoltests.restjson#OutputStreamWithInitialResponse"
],
"package": "restjson_client",
"service": "aws.protocoltests.restjson#RestJson",
diff --git a/scripts/codegen-output-py/tests/test_client_protocol_vectors.py b/scripts/codegen-output-py/tests/test_client_protocol_vectors.py
index afdf1debd..0a4307fbf 100644
--- a/scripts/codegen-output-py/tests/test_client_protocol_vectors.py
+++ b/scripts/codegen-output-py/tests/test_client_protocol_vectors.py
@@ -15,10 +15,12 @@
import base64
import hashlib
import importlib
+import inspect
import json
import sys
from collections.abc import Iterator
-from dataclasses import dataclass
+from dataclasses import dataclass, is_dataclass
+from dataclasses import fields as dataclass_fields
from datetime import UTC, datetime
from decimal import Decimal
from pathlib import Path
@@ -305,7 +307,15 @@ async def run() -> Any:
config = new_config(**fields)
if client.aws:
config = await config
- return await getattr(service(config), client.methods[operation])(request)
+ output = await getattr(service(config), client.methods[operation])(request)
+ # An async client returns a streaming member as a stream, which is read
+ # inside the event loop so it compares with the vector's bytes.
+ if is_dataclass(output):
+ for member in dataclass_fields(output):
+ value = getattr(output, member.name)
+ if inspect.iscoroutinefunction(getattr(value, "read", None)):
+ object.__setattr__(output, member.name, await value.read())
+ return output
return asyncio.run(run())
@@ -581,9 +591,9 @@ def test_vectors_match_their_provenance() -> None:
def test_every_client_vector_is_collected() -> None:
# The Java clients run the same vectors: rpcv2Cbor has 29 request and 43
- # response vectors, and rpcv2Json has 34 and 39. restJson1 has 244, less the 8
- # of the streaming operations the client omits. awsJson1_0 has 67, awsJson1_1
+ # response vectors, and rpcv2Json has 34 and 39. restJson1 has 244, and its
+ # omitted event stream operations have none. awsJson1_0 has 67, awsJson1_1
# has 118, and the query-compatible awsJson1_0 service has 3. restXml has
# 178, and the restXml service with a namespace has 2. awsQuery has 77, and
# ec2Query has 59.
- assert len(list(_vectors())) == (72 + 73 + 236 + 67 + 118 + 3 + 178 + 2 + 77 + 59)
+ assert len(list(_vectors())) == (72 + 73 + 244 + 67 + 118 + 3 + 178 + 2 + 77 + 59)