Server Test Python

Server Test Python

rev. ee474c7509d7728618c23068f3741e8e5b339ef9

Files changed:

tmp-codegen-diff/codegen-server-test-python/Cargo.lock

@@ -25,25 +250,272 @@
   45     45   
]
   46     46   
   47     47   
[[package]]
   48     48   
name = "autocfg"
   49     49   
version = "1.5.0"
   50     50   
source = "registry+https://github.com/rust-lang/crates.io-index"
   51     51   
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
   52     52   
   53     53   
[[package]]
   54     54   
name = "aws-smithy-async"
   55         -
version = "1.2.7"
          55  +
version = "1.2.8"
   56     56   
dependencies = [
   57     57   
 "futures-util",
   58     58   
 "pin-project-lite",
   59     59   
 "tokio",
   60     60   
]
   61     61   
   62     62   
[[package]]
   63     63   
name = "aws-smithy-cbor"
   64     64   
version = "0.61.4"
   65     65   
dependencies = [
   66     66   
 "aws-smithy-types",
   67     67   
 "minicbor",
   68     68   
]
   69     69   
   70     70   
[[package]]
   71     71   
name = "aws-smithy-eventstream"
   72         -
version = "0.60.14"
          72  +
version = "0.60.15"
   73     73   
dependencies = [
   74     74   
 "aws-smithy-types",
   75     75   
 "bytes",
   76     76   
 "crc32fast",
   77     77   
]
   78     78   
   79     79   
[[package]]
   80     80   
name = "aws-smithy-http"
   81         -
version = "0.62.6"
          81  +
version = "0.63.0"
   82     82   
dependencies = [
   83         -
 "aws-smithy-eventstream",
   84     83   
 "aws-smithy-runtime-api",
   85     84   
 "aws-smithy-types",
   86     85   
 "bytes",
   87     86   
 "bytes-utils",
   88     87   
 "futures-core",
   89     88   
 "futures-util",
   90         -
 "http 0.2.12",
   91     89   
 "http 1.4.0",
   92         -
 "http-body",
          90  +
 "http-body 1.0.1",
          91  +
 "http-body-util",
   93     92   
 "percent-encoding",
   94     93   
 "pin-project-lite",
   95     94   
 "pin-utils",
   96     95   
 "tracing",
   97     96   
]
   98     97   
   99         -
[[package]]
  100         -
name = "aws-smithy-http-server"
  101         -
version = "0.65.10"
  102         -
dependencies = [
  103         -
 "aws-smithy-cbor",
  104         -
 "aws-smithy-http",
  105         -
 "aws-smithy-json",
  106         -
 "aws-smithy-runtime-api",
  107         -
 "aws-smithy-types",
  108         -
 "aws-smithy-xml",
  109         -
 "bytes",
  110         -
 "futures-util",
  111         -
 "http 0.2.12",
  112         -
 "http-body",
  113         -
 "hyper",
  114         -
 "lambda_http",
  115         -
 "mime",
  116         -
 "nom",
  117         -
 "pin-project-lite",
  118         -
 "regex",
  119         -
 "serde_urlencoded",
  120         -
 "thiserror 2.0.17",
  121         -
 "tokio",
  122         -
 "tower",
  123         -
 "tower-http",
  124         -
 "tracing",
  125         -
 "uuid",
  126         -
]
  127         -
  128     98   
[[package]]
  129     99   
name = "aws-smithy-http-server-python"
  130         -
version = "0.66.6"
         100  +
version = "0.66.7"
  131    101   
dependencies = [
  132    102   
 "aws-smithy-http",
  133         -
 "aws-smithy-http-server",
  134    103   
 "aws-smithy-json",
         104  +
 "aws-smithy-legacy-http-server",
  135    105   
 "aws-smithy-types",
  136    106   
 "aws-smithy-xml",
  137    107   
 "bytes",
  138    108   
 "futures",
  139    109   
 "http 0.2.12",
  140    110   
 "hyper",
  141    111   
 "lambda_http",
  142    112   
 "num_cpus",
  143    113   
 "parking_lot",
  144    114   
 "pin-project-lite",
  145    115   
 "pyo3",
  146    116   
 "pyo3-asyncio",
  147    117   
 "rustls-pemfile",
  148    118   
 "signal-hook",
  149    119   
 "socket2 0.5.10",
  150    120   
 "thiserror 2.0.17",
  151    121   
 "tls-listener",
  152    122   
 "tokio",
  153    123   
 "tokio-rustls",
  154    124   
 "tokio-stream",
  155    125   
 "tower",
  156    126   
 "tracing",
  157    127   
 "tracing-appender",
  158    128   
 "tracing-subscriber",
  159    129   
]
  160    130   
  161    131   
[[package]]
  162    132   
name = "aws-smithy-json"
  163         -
version = "0.61.9"
         133  +
version = "0.62.0"
         134  +
dependencies = [
         135  +
 "aws-smithy-types",
         136  +
]
         137  +
         138  +
[[package]]
         139  +
name = "aws-smithy-legacy-http"
         140  +
version = "0.62.7"
         141  +
dependencies = [
         142  +
 "aws-smithy-eventstream",
         143  +
 "aws-smithy-runtime-api",
         144  +
 "aws-smithy-types",
         145  +
 "bytes",
         146  +
 "bytes-utils",
         147  +
 "futures-core",
         148  +
 "futures-util",
         149  +
 "http 0.2.12",
         150  +
 "http 1.4.0",
         151  +
 "http-body 0.4.6",
         152  +
 "percent-encoding",
         153  +
 "pin-project-lite",
         154  +
 "pin-utils",
         155  +
 "tracing",
         156  +
]
         157  +
         158  +
[[package]]
         159  +
name = "aws-smithy-legacy-http-server"
         160  +
version = "0.65.11"
  164    161   
dependencies = [
         162  +
 "aws-smithy-cbor",
         163  +
 "aws-smithy-json",
         164  +
 "aws-smithy-legacy-http",
         165  +
 "aws-smithy-runtime-api",
  165    166   
 "aws-smithy-types",
         167  +
 "aws-smithy-xml",
         168  +
 "bytes",
         169  +
 "futures-util",
         170  +
 "http 0.2.12",
         171  +
 "http-body 0.4.6",
         172  +
 "hyper",
         173  +
 "lambda_http",
         174  +
 "mime",
         175  +
 "nom",
         176  +
 "pin-project-lite",
         177  +
 "regex",
         178  +
 "serde_urlencoded",
         179  +
 "thiserror 2.0.17",
         180  +
 "tokio",
         181  +
 "tower",
         182  +
 "tower-http",
         183  +
 "tracing",
         184  +
 "uuid",
  166    185   
]
  167    186   
  168    187   
[[package]]
  169    188   
name = "aws-smithy-runtime-api"
  170         -
version = "1.10.0"
         189  +
version = "1.11.0"
  171    190   
dependencies = [
  172    191   
 "aws-smithy-async",
  173    192   
 "aws-smithy-types",
  174    193   
 "bytes",
  175    194   
 "http 0.2.12",
  176    195   
 "http 1.4.0",
  177    196   
 "pin-project-lite",
  178    197   
 "tokio",
  179    198   
 "tracing",
  180    199   
]
  181    200   
  182    201   
[[package]]
  183    202   
name = "aws-smithy-types"
  184         -
version = "1.3.6"
         203  +
version = "1.4.0"
  185    204   
dependencies = [
  186    205   
 "base64-simd",
  187    206   
 "bytes",
  188    207   
 "bytes-utils",
  189    208   
 "futures-core",
  190    209   
 "http 0.2.12",
  191         -
 "http-body",
         210  +
 "http 1.4.0",
         211  +
 "http-body 0.4.6",
         212  +
 "http-body 1.0.1",
         213  +
 "http-body-util",
  192    214   
 "hyper",
  193    215   
 "itoa",
  194    216   
 "num-integer",
  195    217   
 "pin-project-lite",
  196    218   
 "pin-utils",
  197    219   
 "ryu",
  198    220   
 "serde",
  199    221   
 "time",
  200    222   
 "tokio",
  201    223   
 "tokio-util",
  202    224   
]
  203    225   
  204    226   
[[package]]
  205    227   
name = "aws-smithy-xml"
  206    228   
version = "0.60.13"
  207    229   
dependencies = [
  208    230   
 "xmlparser",
  209    231   
]
  210    232   
  211    233   
[[package]]
  212    234   
name = "aws_lambda_events"
  213    235   
version = "0.12.1"
  214    236   
source = "registry+https://github.com/rust-lang/crates.io-index"
  215    237   
checksum = "03611508dd1e514e311caec235b581c99a4cb66fa1771bd502819eed69894f12"
  216    238   
dependencies = [
  217    239   
 "base64 0.21.7",
  218    240   
 "bytes",
  219    241   
 "http 0.2.12",
  220         -
 "http-body",
         242  +
 "http-body 0.4.6",
  221    243   
 "http-serde",
  222    244   
 "query_map",
  223    245   
 "serde",
  224    246   
 "serde_json",
  225    247   
]
  226    248   
  227    249   
[[package]]
  228    250   
name = "base64"
  229    251   
version = "0.20.0"
  230    252   
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -286,308 +378,400 @@
  306    328   
checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
  307    329   
dependencies = [
  308    330   
 "crossbeam-utils",
  309    331   
]
  310    332   
  311    333   
[[package]]
  312    334   
name = "constraints"
  313    335   
version = "0.0.1"
  314    336   
dependencies = [
  315    337   
 "aws-smithy-eventstream",
  316         -
 "aws-smithy-http",
  317         -
 "aws-smithy-http-server",
  318    338   
 "aws-smithy-http-server-python",
  319    339   
 "aws-smithy-json",
         340  +
 "aws-smithy-legacy-http",
         341  +
 "aws-smithy-legacy-http-server",
  320    342   
 "aws-smithy-runtime-api",
  321    343   
 "aws-smithy-types",
  322    344   
 "form_urlencoded",
  323    345   
 "futures-util",
  324    346   
 "http 0.2.12",
  325    347   
 "hyper",
  326    348   
 "mime",
  327    349   
 "nom",
  328    350   
 "parking_lot",
  329    351   
 "percent-encoding",
  330    352   
 "pin-project-lite",
  331    353   
 "pyo3",
  332    354   
 "pyo3-asyncio",
  333    355   
 "regex",
  334    356   
 "tokio",
  335    357   
 "tokio-stream",
  336    358   
 "tower",
  337    359   
 "tracing",
  338    360   
]
  339    361   
  340    362   
[[package]]
  341    363   
name = "constraints_without_public_constrained_types"
  342    364   
version = "0.0.1"
  343    365   
dependencies = [
  344    366   
 "aws-smithy-eventstream",
  345         -
 "aws-smithy-http",
  346         -
 "aws-smithy-http-server",
  347    367   
 "aws-smithy-http-server-python",
  348    368   
 "aws-smithy-json",
         369  +
 "aws-smithy-legacy-http",
         370  +
 "aws-smithy-legacy-http-server",
  349    371   
 "aws-smithy-runtime-api",
  350    372   
 "aws-smithy-types",
  351    373   
 "form_urlencoded",
  352    374   
 "futures-util",
  353    375   
 "http 0.2.12",
  354    376   
 "hyper",
  355    377   
 "mime",
  356    378   
 "nom",
  357    379   
 "parking_lot",
  358    380   
 "percent-encoding",
@@ -393,415 +456,478 @@
  413    435   
dependencies = [
  414    436   
 "proc-macro2",
  415    437   
 "quote",
  416    438   
 "syn 2.0.114",
  417    439   
]
  418    440   
  419    441   
[[package]]
  420    442   
name = "ebs"
  421    443   
version = "0.0.1"
  422    444   
dependencies = [
  423         -
 "aws-smithy-http",
  424         -
 "aws-smithy-http-server",
  425    445   
 "aws-smithy-http-server-python",
  426    446   
 "aws-smithy-json",
         447  +
 "aws-smithy-legacy-http",
         448  +
 "aws-smithy-legacy-http-server",
  427    449   
 "aws-smithy-runtime-api",
  428    450   
 "aws-smithy-types",
  429    451   
 "form_urlencoded",
  430    452   
 "futures-util",
  431    453   
 "http 0.2.12",
  432    454   
 "hyper",
  433    455   
 "mime",
  434    456   
 "nom",
  435    457   
 "parking_lot",
  436    458   
 "percent-encoding",
@@ -666,688 +766,811 @@
  686    708   
name = "http-body"
  687    709   
version = "0.4.6"
  688    710   
source = "registry+https://github.com/rust-lang/crates.io-index"
  689    711   
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
  690    712   
dependencies = [
  691    713   
 "bytes",
  692    714   
 "http 0.2.12",
  693    715   
 "pin-project-lite",
  694    716   
]
  695    717   
         718  +
[[package]]
         719  +
name = "http-body"
         720  +
version = "1.0.1"
         721  +
source = "registry+https://github.com/rust-lang/crates.io-index"
         722  +
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
         723  +
dependencies = [
         724  +
 "bytes",
         725  +
 "http 1.4.0",
         726  +
]
         727  +
         728  +
[[package]]
         729  +
name = "http-body-util"
         730  +
version = "0.1.3"
         731  +
source = "registry+https://github.com/rust-lang/crates.io-index"
         732  +
checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
         733  +
dependencies = [
         734  +
 "bytes",
         735  +
 "futures-core",
         736  +
 "http 1.4.0",
         737  +
 "http-body 1.0.1",
         738  +
 "pin-project-lite",
         739  +
]
         740  +
  696    741   
[[package]]
  697    742   
name = "http-range-header"
  698    743   
version = "0.3.1"
  699    744   
source = "registry+https://github.com/rust-lang/crates.io-index"
  700    745   
checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f"
  701    746   
  702    747   
[[package]]
  703    748   
name = "http-serde"
  704    749   
version = "1.1.3"
  705    750   
source = "registry+https://github.com/rust-lang/crates.io-index"
  706    751   
checksum = "6f560b665ad9f1572cfcaf034f7fb84338a7ce945216d64a90fd81f046a3caee"
  707    752   
dependencies = [
  708    753   
 "http 0.2.12",
  709    754   
 "serde",
  710    755   
]
  711    756   
  712    757   
[[package]]
  713    758   
name = "httparse"
  714    759   
version = "1.10.1"
  715    760   
source = "registry+https://github.com/rust-lang/crates.io-index"
  716    761   
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
  717    762   
  718    763   
[[package]]
  719    764   
name = "httpdate"
  720    765   
version = "1.0.3"
  721    766   
source = "registry+https://github.com/rust-lang/crates.io-index"
  722    767   
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
  723    768   
  724    769   
[[package]]
  725    770   
name = "hyper"
  726    771   
version = "0.14.32"
  727    772   
source = "registry+https://github.com/rust-lang/crates.io-index"
  728    773   
checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7"
  729    774   
dependencies = [
  730    775   
 "bytes",
  731    776   
 "futures-channel",
  732    777   
 "futures-core",
  733    778   
 "futures-util",
  734    779   
 "h2",
  735    780   
 "http 0.2.12",
  736         -
 "http-body",
         781  +
 "http-body 0.4.6",
  737    782   
 "httparse",
  738    783   
 "httpdate",
  739    784   
 "itoa",
  740    785   
 "pin-project-lite",
  741    786   
 "socket2 0.5.10",
  742    787   
 "tokio",
  743    788   
 "tower-service",
  744    789   
 "tracing",
  745    790   
 "want",
  746    791   
]
@@ -859,904 +996,1041 @@
  879    924   
checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3"
  880    925   
dependencies = [
  881    926   
 "once_cell",
  882    927   
 "wasm-bindgen",
  883    928   
]
  884    929   
  885    930   
[[package]]
  886    931   
name = "json_rpc10"
  887    932   
version = "0.0.1"
  888    933   
dependencies = [
  889         -
 "aws-smithy-http",
  890         -
 "aws-smithy-http-server",
  891    934   
 "aws-smithy-http-server-python",
  892    935   
 "aws-smithy-json",
         936  +
 "aws-smithy-legacy-http",
         937  +
 "aws-smithy-legacy-http-server",
  893    938   
 "aws-smithy-runtime-api",
  894    939   
 "aws-smithy-types",
  895    940   
 "futures-util",
  896    941   
 "http 0.2.12",
  897    942   
 "hyper",
  898    943   
 "mime",
  899    944   
 "parking_lot",
  900    945   
 "pin-project-lite",
  901    946   
 "pyo3",
  902    947   
 "pyo3-asyncio",
  903    948   
 "tokio",
  904    949   
 "tower",
  905    950   
 "tracing",
  906    951   
]
  907    952   
  908    953   
[[package]]
  909    954   
name = "json_rpc11"
  910    955   
version = "0.0.1"
  911    956   
dependencies = [
  912         -
 "aws-smithy-http",
  913         -
 "aws-smithy-http-server",
  914    957   
 "aws-smithy-http-server-python",
  915    958   
 "aws-smithy-json",
         959  +
 "aws-smithy-legacy-http",
         960  +
 "aws-smithy-legacy-http-server",
  916    961   
 "aws-smithy-runtime-api",
  917    962   
 "aws-smithy-types",
  918    963   
 "futures-util",
  919    964   
 "http 0.2.12",
  920    965   
 "hyper",
  921    966   
 "mime",
  922    967   
 "parking_lot",
  923    968   
 "pin-project-lite",
  924    969   
 "pyo3",
  925    970   
 "pyo3-asyncio",
  926    971   
 "tokio",
  927    972   
 "tower",
  928    973   
 "tracing",
  929    974   
]
  930    975   
  931    976   
[[package]]
  932    977   
name = "lambda_http"
  933    978   
version = "0.8.4"
  934    979   
source = "registry+https://github.com/rust-lang/crates.io-index"
  935    980   
checksum = "cfba45269ac18740ba882b09d1617c1f05eb4bdc026a5149b593bf77dab12e6b"
  936    981   
dependencies = [
  937    982   
 "aws_lambda_events",
  938    983   
 "base64 0.21.7",
  939    984   
 "bytes",
  940    985   
 "encoding_rs",
  941    986   
 "futures",
  942    987   
 "http 0.2.12",
  943         -
 "http-body",
         988  +
 "http-body 0.4.6",
  944    989   
 "hyper",
  945    990   
 "lambda_runtime",
  946    991   
 "mime",
  947    992   
 "percent-encoding",
  948    993   
 "serde",
  949    994   
 "serde_json",
  950    995   
 "serde_urlencoded",
  951    996   
 "tokio-stream",
  952    997   
 "url",
  953    998   
]
  954    999   
  955   1000   
[[package]]
  956   1001   
name = "lambda_runtime"
  957   1002   
version = "0.8.3"
  958   1003   
source = "registry+https://github.com/rust-lang/crates.io-index"
  959   1004   
checksum = "deca8f65d7ce9a8bfddebb49d7d91b22e788a59ca0c5190f26794ab80ed7a702"
  960   1005   
dependencies = [
  961   1006   
 "async-stream",
  962   1007   
 "base64 0.20.0",
  963   1008   
 "bytes",
  964   1009   
 "futures",
  965   1010   
 "http 0.2.12",
  966         -
 "http-body",
        1011  +
 "http-body 0.4.6",
  967   1012   
 "http-serde",
  968   1013   
 "hyper",
  969   1014   
 "lambda_runtime_api_client",
  970   1015   
 "serde",
  971   1016   
 "serde_json",
  972   1017   
 "serde_path_to_error",
  973   1018   
 "tokio",
  974   1019   
 "tokio-stream",
  975   1020   
 "tower",
  976   1021   
 "tracing",
@@ -1066,1111 +1198,1243 @@
 1086   1131   
dependencies = [
 1087   1132   
 "libc",
 1088   1133   
 "wasi",
 1089   1134   
 "windows-sys 0.61.2",
 1090   1135   
]
 1091   1136   
 1092   1137   
[[package]]
 1093   1138   
name = "misc"
 1094   1139   
version = "0.0.1"
 1095   1140   
dependencies = [
 1096         -
 "aws-smithy-http",
 1097         -
 "aws-smithy-http-server",
 1098   1141   
 "aws-smithy-http-server-python",
 1099   1142   
 "aws-smithy-json",
        1143  +
 "aws-smithy-legacy-http",
        1144  +
 "aws-smithy-legacy-http-server",
 1100   1145   
 "aws-smithy-runtime-api",
 1101   1146   
 "aws-smithy-types",
 1102   1147   
 "futures-util",
 1103   1148   
 "http 0.2.12",
 1104   1149   
 "hyper",
 1105   1150   
 "mime",
 1106   1151   
 "parking_lot",
 1107   1152   
 "pin-project-lite",
 1108   1153   
 "pyo3",
 1109   1154   
 "pyo3-asyncio",
 1110   1155   
 "tokio",
 1111   1156   
 "tower",
 1112   1157   
 "tracing",
 1113   1158   
]
 1114   1159   
 1115   1160   
[[package]]
 1116   1161   
name = "naming_test_casing"
 1117   1162   
version = "0.0.1"
 1118   1163   
dependencies = [
 1119         -
 "aws-smithy-http",
 1120         -
 "aws-smithy-http-server",
 1121   1164   
 "aws-smithy-http-server-python",
 1122   1165   
 "aws-smithy-json",
        1166  +
 "aws-smithy-legacy-http",
        1167  +
 "aws-smithy-legacy-http-server",
 1123   1168   
 "aws-smithy-runtime-api",
 1124   1169   
 "aws-smithy-types",
 1125   1170   
 "futures-util",
 1126   1171   
 "http 0.2.12",
 1127   1172   
 "hyper",
 1128   1173   
 "mime",
 1129   1174   
 "parking_lot",
 1130   1175   
 "pin-project-lite",
 1131   1176   
 "pyo3",
 1132   1177   
 "pyo3-asyncio",
 1133   1178   
 "tokio",
 1134   1179   
 "tower",
 1135   1180   
 "tracing",
 1136   1181   
]
 1137   1182   
 1138   1183   
[[package]]
 1139   1184   
name = "naming_test_ops"
 1140   1185   
version = "0.0.1"
 1141   1186   
dependencies = [
 1142         -
 "aws-smithy-http",
 1143         -
 "aws-smithy-http-server",
 1144   1187   
 "aws-smithy-http-server-python",
 1145   1188   
 "aws-smithy-json",
        1189  +
 "aws-smithy-legacy-http",
        1190  +
 "aws-smithy-legacy-http-server",
 1146   1191   
 "aws-smithy-runtime-api",
 1147   1192   
 "aws-smithy-types",
 1148   1193   
 "futures-util",
 1149   1194   
 "http 0.2.12",
 1150   1195   
 "hyper",
 1151   1196   
 "mime",
 1152   1197   
 "parking_lot",
 1153   1198   
 "pin-project-lite",
 1154   1199   
 "pyo3",
 1155   1200   
 "pyo3-asyncio",
 1156   1201   
 "tokio",
 1157   1202   
 "tower",
 1158   1203   
 "tracing",
 1159   1204   
]
 1160   1205   
 1161   1206   
[[package]]
 1162   1207   
name = "naming_test_structs"
 1163   1208   
version = "0.0.1"
 1164   1209   
dependencies = [
 1165         -
 "aws-smithy-http",
 1166         -
 "aws-smithy-http-server",
 1167   1210   
 "aws-smithy-http-server-python",
 1168   1211   
 "aws-smithy-json",
        1212  +
 "aws-smithy-legacy-http",
        1213  +
 "aws-smithy-legacy-http-server",
 1169   1214   
 "aws-smithy-runtime-api",
 1170   1215   
 "aws-smithy-types",
 1171   1216   
 "futures-util",
 1172   1217   
 "http 0.2.12",
 1173   1218   
 "hyper",
 1174   1219   
 "mime",
 1175   1220   
 "parking_lot",
 1176   1221   
 "pin-project-lite",
 1177   1222   
 "pyo3",
 1178   1223   
 "pyo3-asyncio",
@@ -1285,1330 +1348,1393 @@
 1305   1350   
name = "pin-utils"
 1306   1351   
version = "0.1.0"
 1307   1352   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1308   1353   
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
 1309   1354   
 1310   1355   
[[package]]
 1311   1356   
name = "pokemon-service-server-sdk"
 1312   1357   
version = "0.0.1"
 1313   1358   
dependencies = [
 1314   1359   
 "aws-smithy-eventstream",
 1315         -
 "aws-smithy-http",
 1316         -
 "aws-smithy-http-server",
 1317   1360   
 "aws-smithy-http-server-python",
 1318   1361   
 "aws-smithy-json",
        1362  +
 "aws-smithy-legacy-http",
        1363  +
 "aws-smithy-legacy-http-server",
 1319   1364   
 "aws-smithy-runtime-api",
 1320   1365   
 "aws-smithy-types",
 1321   1366   
 "futures-util",
 1322   1367   
 "http 0.2.12",
 1323   1368   
 "hyper",
 1324   1369   
 "mime",
 1325   1370   
 "nom",
 1326   1371   
 "parking_lot",
 1327   1372   
 "percent-encoding",
 1328   1373   
 "pin-project-lite",
@@ -1532,1577 +1621,1666 @@
 1552   1597   
[[package]]
 1553   1598   
name = "regex-syntax"
 1554   1599   
version = "0.8.8"
 1555   1600   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1556   1601   
checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
 1557   1602   
 1558   1603   
[[package]]
 1559   1604   
name = "rest_json"
 1560   1605   
version = "0.0.1"
 1561   1606   
dependencies = [
 1562         -
 "aws-smithy-http",
 1563         -
 "aws-smithy-http-server",
 1564   1607   
 "aws-smithy-http-server-python",
 1565   1608   
 "aws-smithy-json",
        1609  +
 "aws-smithy-legacy-http",
        1610  +
 "aws-smithy-legacy-http-server",
 1566   1611   
 "aws-smithy-runtime-api",
 1567   1612   
 "aws-smithy-types",
 1568   1613   
 "form_urlencoded",
 1569   1614   
 "futures-util",
 1570   1615   
 "http 0.2.12",
 1571   1616   
 "hyper",
 1572   1617   
 "mime",
 1573   1618   
 "nom",
 1574   1619   
 "parking_lot",
 1575   1620   
 "percent-encoding",
 1576   1621   
 "pin-project-lite",
 1577   1622   
 "pyo3",
 1578   1623   
 "pyo3-asyncio",
 1579   1624   
 "tokio",
 1580   1625   
 "tower",
 1581   1626   
 "tracing",
 1582   1627   
]
 1583   1628   
 1584   1629   
[[package]]
 1585   1630   
name = "rest_json_extras"
 1586   1631   
version = "0.0.1"
 1587   1632   
dependencies = [
 1588         -
 "aws-smithy-http",
 1589         -
 "aws-smithy-http-server",
 1590   1633   
 "aws-smithy-http-server-python",
 1591   1634   
 "aws-smithy-json",
        1635  +
 "aws-smithy-legacy-http",
        1636  +
 "aws-smithy-legacy-http-server",
 1592   1637   
 "aws-smithy-runtime-api",
 1593   1638   
 "aws-smithy-types",
 1594   1639   
 "form_urlencoded",
 1595   1640   
 "futures-util",
 1596   1641   
 "http 0.2.12",
 1597   1642   
 "hyper",
 1598   1643   
 "mime",
 1599   1644   
 "nom",
 1600   1645   
 "parking_lot",
 1601   1646   
 "percent-encoding",
@@ -1759,1804 +1822,1867 @@
 1779   1824   
checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
 1780   1825   
dependencies = [
 1781   1826   
 "errno",
 1782   1827   
 "libc",
 1783   1828   
]
 1784   1829   
 1785   1830   
[[package]]
 1786   1831   
name = "simple"
 1787   1832   
version = "0.0.1"
 1788   1833   
dependencies = [
 1789         -
 "aws-smithy-http",
 1790         -
 "aws-smithy-http-server",
 1791   1834   
 "aws-smithy-http-server-python",
 1792   1835   
 "aws-smithy-json",
        1836  +
 "aws-smithy-legacy-http",
        1837  +
 "aws-smithy-legacy-http-server",
 1793   1838   
 "aws-smithy-runtime-api",
 1794   1839   
 "aws-smithy-types",
 1795   1840   
 "futures-util",
 1796   1841   
 "http 0.2.12",
 1797   1842   
 "hyper",
 1798   1843   
 "mime",
 1799   1844   
 "parking_lot",
 1800   1845   
 "pin-project-lite",
 1801   1846   
 "pyo3",
 1802   1847   
 "pyo3-asyncio",
@@ -2048,2093 +2108,2153 @@
 2068   2113   
name = "tower-http"
 2069   2114   
version = "0.3.5"
 2070   2115   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2071   2116   
checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858"
 2072   2117   
dependencies = [
 2073   2118   
 "bitflags 1.3.2",
 2074   2119   
 "bytes",
 2075   2120   
 "futures-core",
 2076   2121   
 "futures-util",
 2077   2122   
 "http 0.2.12",
 2078         -
 "http-body",
        2123  +
 "http-body 0.4.6",
 2079   2124   
 "http-range-header",
 2080   2125   
 "pin-project-lite",
 2081   2126   
 "tower-layer",
 2082   2127   
 "tower-service",
 2083   2128   
]
 2084   2129   
 2085   2130   
[[package]]
 2086   2131   
name = "tower-layer"
 2087   2132   
version = "0.3.3"
 2088   2133   
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2176,2221 +2239,2284 @@
 2196   2241   
[[package]]
 2197   2242   
name = "unindent"
 2198   2243   
version = "0.2.4"
 2199   2244   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2200   2245   
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
 2201   2246   
 2202   2247   
[[package]]
 2203   2248   
name = "unique_items"
 2204   2249   
version = "0.0.1"
 2205   2250   
dependencies = [
 2206         -
 "aws-smithy-http",
 2207         -
 "aws-smithy-http-server",
 2208   2251   
 "aws-smithy-http-server-python",
 2209   2252   
 "aws-smithy-json",
        2253  +
 "aws-smithy-legacy-http",
        2254  +
 "aws-smithy-legacy-http-server",
 2210   2255   
 "aws-smithy-runtime-api",
 2211   2256   
 "aws-smithy-types",
 2212   2257   
 "futures-util",
 2213   2258   
 "http 0.2.12",
 2214   2259   
 "hyper",
 2215   2260   
 "mime",
 2216   2261   
 "parking_lot",
 2217   2262   
 "pin-project-lite",
 2218   2263   
 "pyo3",
 2219   2264   
 "pyo3-asyncio",

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/Cargo.toml

@@ -1,1 +76,75 @@
    4      4   
version = "0.0.1"
    5      5   
authors = ["protocoltest@example.com"]
    6      6   
description = "test"
    7      7   
edition = "2021"
    8      8   
    9      9   
[package.metadata.smithy]
   10     10   
codegen-version = "ci"
   11     11   
protocol = "aws.protocols#restJson1"
   12     12   
[dependencies.aws-smithy-eventstream]
   13     13   
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-eventstream"
   14         -
[dependencies.aws-smithy-http]
   15         -
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-http"
   16         -
features = ["event-stream"]
   17         -
[dependencies.aws-smithy-http-server]
   18         -
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-http-server"
   19     14   
[dependencies.aws-smithy-http-server-python]
   20     15   
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-http-server-python"
   21     16   
[dependencies.aws-smithy-json]
   22     17   
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-json"
          18  +
[dependencies.aws-smithy-legacy-http]
          19  +
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-legacy-http"
          20  +
features = ["event-stream"]
          21  +
[dependencies.aws-smithy-legacy-http-server]
          22  +
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-legacy-http-server"
   23     23   
[dependencies.aws-smithy-runtime-api]
   24     24   
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-runtime-api"
   25         -
features = ["client", "http-02x"]
          25  +
features = ["http-02x", "client", "http-1x"]
   26     26   
[dependencies.aws-smithy-types]
   27     27   
path = "/home/build/workspace/smithy-rs/rust-runtime/aws-smithy-types"
          28  +
features = ["http-body-0-4-x"]
   28     29   
[dependencies.form_urlencoded]
   29     30   
version = "1"
   30     31   
[dependencies.futures-util]
   31     32   
version = "0.3"
   32     33   
[dependencies.http]
   33     34   
version = "0.2.9"
   34     35   
[dependencies.hyper]
   35     36   
version = "0.14.26"
   36     37   
[dependencies.mime]
   37     38   
version = "0.3"
   38     39   
[dependencies.nom]
   39     40   
version = "7"
   40     41   
[dependencies.parking_lot]
   41     42   
version = "0.12"
   42     43   
[dependencies.percent-encoding]
   43     44   
version = "2.0.0"
   44     45   
[dependencies.pin-project-lite]
   45     46   
version = "0.2"
   46     47   
[dependencies.pyo3]
   47     48   
version = "0.20"
   48     49   
[dependencies.pyo3-asyncio]
   49     50   
version = "0.20"
   50     51   
features = ["attributes", "tokio-runtime", "unstable-streams"]
   51     52   
[dependencies.regex]
   52     53   
version = "1.5.5"
   53     54   
[dependencies.tokio]
   54     55   
version = "1.20.1"
   55     56   
features = ["full"]
   56     57   
[dependencies.tokio-stream]
   57     58   
version = "0.1.12"
   58     59   
[dependencies.tower]
   59     60   
version = "0.4"
   60     61   
[dependencies.tracing]
   61     62   
version = "0.1"
   62         -
[dev-dependencies.hyper]
   63         -
version = "0.14.12"
   64     63   
[dev-dependencies.tokio]
   65     64   
version = "1.23.1"
   66     65   
[features]
   67         -
aws-lambda = ["aws-smithy-http-server/aws-lambda"]
   68         -
request-id = ["aws-smithy-http-server/request-id"]
   69         -
rt-tokio = ["aws-smithy-types/rt-tokio"]
          66  +
aws-lambda = ["aws-smithy-legacy-http-server/aws-lambda"]
          67  +
request-id = ["aws-smithy-legacy-http-server/request-id"]
          68  +
rt-tokio = ["aws-smithy-types/http-body-1-x", "aws-smithy-types/rt-tokio"]
   70     69   
extension-module = ["pyo3/extension-module"]
   71     70   
default = ["request-id", "rt-tokio", "extension-module"]
   72     71   
[lib]
   73     72   
name = "constraints"
   74     73   
crate-type = ["cdylib"]
   75     74   
   76     75   

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/python/constraints/middleware/__init__.pyi

@@ -1,1 +38,38 @@
    1      1   
import typing
    2      2   
    3      3   
class MiddlewareException(Exception):
    4      4   
    """
    5      5   
    Exception that can be thrown from a Python middleware.
    6      6   
    7      7   
    It allows to specify a message and HTTP status code and implementing protocol specific capabilities
    8         -
    to build a [aws_smithy_http_server::response::Response] from it.
           8  +
    to build a [aws_smithy_legacy_http_server::response::Response] from it.
    9      9   
    """
   10     10   
   11     11   
    message: str
   12     12   
   13     13   
    status_code: int
   14     14   
   15     15   
    def __init__(self, message: str, status_code: typing.Optional[int] = ...) -> None:
   16     16   
        ...
   17     17   
   18     18   

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/input.rs

@@ -1857,1857 +1917,1917 @@
 1877   1877   
        ) -> crate::model::ValidationExceptionField {
 1878   1878   
            match self {
 1879   1879   
            ConstraintViolation::MissingEvents => crate::model::ValidationExceptionField {
 1880   1880   
                                                message: format!("Value at '{}/events' failed to satisfy constraint: Member must not be null", path),
 1881   1881   
                                                path: path + "/events",
 1882   1882   
                                            },
 1883   1883   
        }
 1884   1884   
        }
 1885   1885   
    }
 1886   1886   
    impl ::std::convert::From<ConstraintViolation>
 1887         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        1887  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 1888   1888   
    {
 1889   1889   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 1890   1890   
            let first_validation_exception_field =
 1891   1891   
                constraint_violation.as_validation_exception_field("".to_owned());
 1892   1892   
            let validation_exception = crate::error::ValidationException {
 1893   1893   
                message: format!(
 1894   1894   
                    "1 validation error detected. {}",
 1895   1895   
                    &first_validation_exception_field.message
 1896   1896   
                ),
 1897   1897   
                field_list: Some(vec![first_validation_exception_field]),
@@ -2157,2157 +2217,2217 @@
 2177   2177   
            path: ::std::string::String,
 2178   2178   
        ) -> crate::model::ValidationExceptionField {
 2179   2179   
            match self {
 2180   2180   
                ConstraintViolation::MapOfEnumString(inner) => {
 2181   2181   
                    inner.as_validation_exception_field(path + "/mapOfEnumString")
 2182   2182   
                }
 2183   2183   
            }
 2184   2184   
        }
 2185   2185   
    }
 2186   2186   
    impl ::std::convert::From<ConstraintViolation>
 2187         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2187  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2188   2188   
    {
 2189   2189   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2190   2190   
            let first_validation_exception_field =
 2191   2191   
                constraint_violation.as_validation_exception_field("".to_owned());
 2192   2192   
            let validation_exception = crate::error::ValidationException {
 2193   2193   
                message: format!(
 2194   2194   
                    "1 validation error detected. {}",
 2195   2195   
                    &first_validation_exception_field.message
 2196   2196   
                ),
 2197   2197   
                field_list: Some(vec![first_validation_exception_field]),
@@ -2321,2321 +2381,2381 @@
 2341   2341   
            path: ::std::string::String,
 2342   2342   
        ) -> crate::model::ValidationExceptionField {
 2343   2343   
            match self {
 2344   2344   
                ConstraintViolation::LengthMap(inner) => {
 2345   2345   
                    inner.as_validation_exception_field(path + "/lengthMap")
 2346   2346   
                }
 2347   2347   
            }
 2348   2348   
        }
 2349   2349   
    }
 2350   2350   
    impl ::std::convert::From<ConstraintViolation>
 2351         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2351  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2352   2352   
    {
 2353   2353   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2354   2354   
            let first_validation_exception_field =
 2355   2355   
                constraint_violation.as_validation_exception_field("".to_owned());
 2356   2356   
            let validation_exception = crate::error::ValidationException {
 2357   2357   
                message: format!(
 2358   2358   
                    "1 validation error detected. {}",
 2359   2359   
                    &first_validation_exception_field.message
 2360   2360   
                ),
 2361   2361   
                field_list: Some(vec![first_validation_exception_field]),
@@ -2484,2484 +2544,2544 @@
 2504   2504   
            path: ::std::string::String,
 2505   2505   
        ) -> crate::model::ValidationExceptionField {
 2506   2506   
            match self {
 2507   2507   
                ConstraintViolation::MapOfLengthPatternString(inner) => {
 2508   2508   
                    inner.as_validation_exception_field(path + "/mapOfLengthPatternString")
 2509   2509   
                }
 2510   2510   
            }
 2511   2511   
        }
 2512   2512   
    }
 2513   2513   
    impl ::std::convert::From<ConstraintViolation>
 2514         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2514  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2515   2515   
    {
 2516   2516   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2517   2517   
            let first_validation_exception_field =
 2518   2518   
                constraint_violation.as_validation_exception_field("".to_owned());
 2519   2519   
            let validation_exception = crate::error::ValidationException {
 2520   2520   
                message: format!(
 2521   2521   
                    "1 validation error detected. {}",
 2522   2522   
                    &first_validation_exception_field.message
 2523   2523   
                ),
 2524   2524   
                field_list: Some(vec![first_validation_exception_field]),
@@ -2656,2656 +2716,2716 @@
 2676   2676   
            path: ::std::string::String,
 2677   2677   
        ) -> crate::model::ValidationExceptionField {
 2678   2678   
            match self {
 2679   2679   
                ConstraintViolation::MapOfLengthPatternString(inner) => {
 2680   2680   
                    inner.as_validation_exception_field(path + "/mapOfLengthPatternString")
 2681   2681   
                }
 2682   2682   
            }
 2683   2683   
        }
 2684   2684   
    }
 2685   2685   
    impl ::std::convert::From<ConstraintViolation>
 2686         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2686  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2687   2687   
    {
 2688   2688   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2689   2689   
            let first_validation_exception_field =
 2690   2690   
                constraint_violation.as_validation_exception_field("".to_owned());
 2691   2691   
            let validation_exception = crate::error::ValidationException {
 2692   2692   
                message: format!(
 2693   2693   
                    "1 validation error detected. {}",
 2694   2694   
                    &first_validation_exception_field.message
 2695   2695   
                ),
 2696   2696   
                field_list: Some(vec![first_validation_exception_field]),
@@ -2820,2820 +2880,2880 @@
 2840   2840   
            path: ::std::string::String,
 2841   2841   
        ) -> crate::model::ValidationExceptionField {
 2842   2842   
            match self {
 2843   2843   
                ConstraintViolation::MapOfListOfPatternString(inner) => {
 2844   2844   
                    inner.as_validation_exception_field(path + "/mapOfListOfPatternString")
 2845   2845   
                }
 2846   2846   
            }
 2847   2847   
        }
 2848   2848   
    }
 2849   2849   
    impl ::std::convert::From<ConstraintViolation>
 2850         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        2850  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 2851   2851   
    {
 2852   2852   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 2853   2853   
            let first_validation_exception_field =
 2854   2854   
                constraint_violation.as_validation_exception_field("".to_owned());
 2855   2855   
            let validation_exception = crate::error::ValidationException {
 2856   2856   
                message: format!(
 2857   2857   
                    "1 validation error detected. {}",
 2858   2858   
                    &first_validation_exception_field.message
 2859   2859   
                ),
 2860   2860   
                field_list: Some(vec![first_validation_exception_field]),
@@ -2988,2988 +3048,3048 @@
 3008   3008   
            path: ::std::string::String,
 3009   3009   
        ) -> crate::model::ValidationExceptionField {
 3010   3010   
            match self {
 3011   3011   
                ConstraintViolation::MapOfPatternString(inner) => {
 3012   3012   
                    inner.as_validation_exception_field(path + "/mapOfPatternString")
 3013   3013   
                }
 3014   3014   
            }
 3015   3015   
        }
 3016   3016   
    }
 3017   3017   
    impl ::std::convert::From<ConstraintViolation>
 3018         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3018  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3019   3019   
    {
 3020   3020   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3021   3021   
            let first_validation_exception_field =
 3022   3022   
                constraint_violation.as_validation_exception_field("".to_owned());
 3023   3023   
            let validation_exception = crate::error::ValidationException {
 3024   3024   
                message: format!(
 3025   3025   
                    "1 validation error detected. {}",
 3026   3026   
                    &first_validation_exception_field.message
 3027   3027   
                ),
 3028   3028   
                field_list: Some(vec![first_validation_exception_field]),
@@ -3150,3150 +3210,3210 @@
 3170   3170   
            path: ::std::string::String,
 3171   3171   
        ) -> crate::model::ValidationExceptionField {
 3172   3172   
            match self {
 3173   3173   
                ConstraintViolation::MapOfListOfEnumString(inner) => {
 3174   3174   
                    inner.as_validation_exception_field(path + "/mapOfListOfEnumString")
 3175   3175   
                }
 3176   3176   
            }
 3177   3177   
        }
 3178   3178   
    }
 3179   3179   
    impl ::std::convert::From<ConstraintViolation>
 3180         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3180  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3181   3181   
    {
 3182   3182   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3183   3183   
            let first_validation_exception_field =
 3184   3184   
                constraint_violation.as_validation_exception_field("".to_owned());
 3185   3185   
            let validation_exception = crate::error::ValidationException {
 3186   3186   
                message: format!(
 3187   3187   
                    "1 validation error detected. {}",
 3188   3188   
                    &first_validation_exception_field.message
 3189   3189   
                ),
 3190   3190   
                field_list: Some(vec![first_validation_exception_field]),
@@ -3320,3320 +3380,3380 @@
 3340   3340   
            path: ::std::string::String,
 3341   3341   
        ) -> crate::model::ValidationExceptionField {
 3342   3342   
            match self {
 3343   3343   
                ConstraintViolation::MapOfLengthListOfPatternString(inner) => {
 3344   3344   
                    inner.as_validation_exception_field(path + "/mapOfLengthListOfPatternString")
 3345   3345   
                }
 3346   3346   
            }
 3347   3347   
        }
 3348   3348   
    }
 3349   3349   
    impl ::std::convert::From<ConstraintViolation>
 3350         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3350  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3351   3351   
    {
 3352   3352   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3353   3353   
            let first_validation_exception_field =
 3354   3354   
                constraint_violation.as_validation_exception_field("".to_owned());
 3355   3355   
            let validation_exception = crate::error::ValidationException {
 3356   3356   
                message: format!(
 3357   3357   
                    "1 validation error detected. {}",
 3358   3358   
                    &first_validation_exception_field.message
 3359   3359   
                ),
 3360   3360   
                field_list: Some(vec![first_validation_exception_field]),
@@ -3492,3492 +3552,3552 @@
 3512   3512   
            path: ::std::string::String,
 3513   3513   
        ) -> crate::model::ValidationExceptionField {
 3514   3514   
            match self {
 3515   3515   
                ConstraintViolation::MapOfSetOfLengthString(inner) => {
 3516   3516   
                    inner.as_validation_exception_field(path + "/mapOfSetOfLengthString")
 3517   3517   
                }
 3518   3518   
            }
 3519   3519   
        }
 3520   3520   
    }
 3521   3521   
    impl ::std::convert::From<ConstraintViolation>
 3522         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3522  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3523   3523   
    {
 3524   3524   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3525   3525   
            let first_validation_exception_field =
 3526   3526   
                constraint_violation.as_validation_exception_field("".to_owned());
 3527   3527   
            let validation_exception = crate::error::ValidationException {
 3528   3528   
                message: format!(
 3529   3529   
                    "1 validation error detected. {}",
 3530   3530   
                    &first_validation_exception_field.message
 3531   3531   
                ),
 3532   3532   
                field_list: Some(vec![first_validation_exception_field]),
@@ -3662,3662 +3722,3722 @@
 3682   3682   
            path: ::std::string::String,
 3683   3683   
        ) -> crate::model::ValidationExceptionField {
 3684   3684   
            match self {
 3685   3685   
                ConstraintViolation::MapOfListOfLengthString(inner) => {
 3686   3686   
                    inner.as_validation_exception_field(path + "/mapOfListOfLengthString")
 3687   3687   
                }
 3688   3688   
            }
 3689   3689   
        }
 3690   3690   
    }
 3691   3691   
    impl ::std::convert::From<ConstraintViolation>
 3692         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3692  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3693   3693   
    {
 3694   3694   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3695   3695   
            let first_validation_exception_field =
 3696   3696   
                constraint_violation.as_validation_exception_field("".to_owned());
 3697   3697   
            let validation_exception = crate::error::ValidationException {
 3698   3698   
                message: format!(
 3699   3699   
                    "1 validation error detected. {}",
 3700   3700   
                    &first_validation_exception_field.message
 3701   3701   
                ),
 3702   3702   
                field_list: Some(vec![first_validation_exception_field]),
@@ -3830,3830 +3890,3890 @@
 3850   3850   
            path: ::std::string::String,
 3851   3851   
        ) -> crate::model::ValidationExceptionField {
 3852   3852   
            match self {
 3853   3853   
                ConstraintViolation::MapOfLengthString(inner) => {
 3854   3854   
                    inner.as_validation_exception_field(path + "/mapOfLengthString")
 3855   3855   
                }
 3856   3856   
            }
 3857   3857   
        }
 3858   3858   
    }
 3859   3859   
    impl ::std::convert::From<ConstraintViolation>
 3860         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        3860  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 3861   3861   
    {
 3862   3862   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 3863   3863   
            let first_validation_exception_field =
 3864   3864   
                constraint_violation.as_validation_exception_field("".to_owned());
 3865   3865   
            let validation_exception = crate::error::ValidationException {
 3866   3866   
                message: format!(
 3867   3867   
                    "1 validation error detected. {}",
 3868   3868   
                    &first_validation_exception_field.message
 3869   3869   
                ),
 3870   3870   
                field_list: Some(vec![first_validation_exception_field]),
@@ -3994,3994 +4054,4054 @@
 4014   4014   
            path: ::std::string::String,
 4015   4015   
        ) -> crate::model::ValidationExceptionField {
 4016   4016   
            match self {
 4017   4017   
                ConstraintViolation::LengthMap(inner) => {
 4018   4018   
                    inner.as_validation_exception_field(path + "/lengthMap")
 4019   4019   
                }
 4020   4020   
            }
 4021   4021   
        }
 4022   4022   
    }
 4023   4023   
    impl ::std::convert::From<ConstraintViolation>
 4024         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4024  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4025   4025   
    {
 4026   4026   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4027   4027   
            let first_validation_exception_field =
 4028   4028   
                constraint_violation.as_validation_exception_field("".to_owned());
 4029   4029   
            let validation_exception = crate::error::ValidationException {
 4030   4030   
                message: format!(
 4031   4031   
                    "1 validation error detected. {}",
 4032   4032   
                    &first_validation_exception_field.message
 4033   4033   
                ),
 4034   4034   
                field_list: Some(vec![first_validation_exception_field]),
@@ -4157,4157 +4217,4217 @@
 4177   4177   
            ConstraintViolation::Nested(inner) => inner.as_validation_exception_field(path + "/nested"),
 4178   4178   
            ConstraintViolation::MissingRecursiveList => crate::model::ValidationExceptionField {
 4179   4179   
                                                message: format!("Value at '{}/recursiveList' failed to satisfy constraint: Member must not be null", path),
 4180   4180   
                                                path: path + "/recursiveList",
 4181   4181   
                                            },
 4182   4182   
            ConstraintViolation::RecursiveList(inner) => inner.as_validation_exception_field(path + "/recursiveList"),
 4183   4183   
        }
 4184   4184   
        }
 4185   4185   
    }
 4186   4186   
    impl ::std::convert::From<ConstraintViolation>
 4187         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4187  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4188   4188   
    {
 4189   4189   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4190   4190   
            let first_validation_exception_field =
 4191   4191   
                constraint_violation.as_validation_exception_field("".to_owned());
 4192   4192   
            let validation_exception = crate::error::ValidationException {
 4193   4193   
                message: format!(
 4194   4194   
                    "1 validation error detected. {}",
 4195   4195   
                    &first_validation_exception_field.message
 4196   4196   
                ),
 4197   4197   
                field_list: Some(vec![first_validation_exception_field]),
@@ -4380,4380 +4440,4440 @@
 4400   4400   
            match self {
 4401   4401   
            ConstraintViolation::MissingHttpPayloadBoundConstrainedShape => crate::model::ValidationExceptionField {
 4402   4402   
                                                message: format!("Value at '{}/httpPayloadBoundConstrainedShape' failed to satisfy constraint: Member must not be null", path),
 4403   4403   
                                                path: path + "/httpPayloadBoundConstrainedShape",
 4404   4404   
                                            },
 4405   4405   
            ConstraintViolation::HttpPayloadBoundConstrainedShape(inner) => inner.as_validation_exception_field(path + "/httpPayloadBoundConstrainedShape"),
 4406   4406   
        }
 4407   4407   
        }
 4408   4408   
    }
 4409   4409   
    impl ::std::convert::From<ConstraintViolation>
 4410         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4410  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4411   4411   
    {
 4412   4412   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4413   4413   
            let first_validation_exception_field =
 4414   4414   
                constraint_violation.as_validation_exception_field("".to_owned());
 4415   4415   
            let validation_exception = crate::error::ValidationException {
 4416   4416   
                message: format!(
 4417   4417   
                    "1 validation error detected. {}",
 4418   4418   
                    &first_validation_exception_field.message
 4419   4419   
                ),
 4420   4420   
                field_list: Some(vec![first_validation_exception_field]),
@@ -4789,4789 +4849,4849 @@
 4809   4809   
            ConstraintViolation::RangeLongListQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongListQuery"),
 4810   4810   
            ConstraintViolation::RangeByteSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeByteSetQuery"),
 4811   4811   
            ConstraintViolation::RangeShortSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeShortSetQuery"),
 4812   4812   
            ConstraintViolation::RangeIntegerSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeIntegerSetQuery"),
 4813   4813   
            ConstraintViolation::RangeLongSetQuery(inner) => inner.as_validation_exception_field(path + "/rangeLongSetQuery"),
 4814   4814   
            ConstraintViolation::EnumStringListQuery(inner) => inner.as_validation_exception_field(path + "/enumStringListQuery"),
 4815   4815   
        }
 4816   4816   
        }
 4817   4817   
    }
 4818   4818   
    impl ::std::convert::From<ConstraintViolation>
 4819         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        4819  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 4820   4820   
    {
 4821   4821   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 4822   4822   
            let first_validation_exception_field =
 4823   4823   
                constraint_violation.as_validation_exception_field("".to_owned());
 4824   4824   
            let validation_exception = crate::error::ValidationException {
 4825   4825   
                message: format!(
 4826   4826   
                    "1 validation error detected. {}",
 4827   4827   
                    &first_validation_exception_field.message
 4828   4828   
                ),
 4829   4829   
                field_list: Some(vec![first_validation_exception_field]),
@@ -6271,6271 +6331,6331 @@
 6291   6291   
                    ),
 6292   6292   
                    path: path + "/conA",
 6293   6293   
                },
 6294   6294   
                ConstraintViolation::ConA(inner) => {
 6295   6295   
                    inner.as_validation_exception_field(path + "/conA")
 6296   6296   
                }
 6297   6297   
            }
 6298   6298   
        }
 6299   6299   
    }
 6300   6300   
    impl ::std::convert::From<ConstraintViolation>
 6301         -
        for ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection
        6301  +
        for ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection
 6302   6302   
    {
 6303   6303   
        fn from(constraint_violation: ConstraintViolation) -> Self {
 6304   6304   
            let first_validation_exception_field =
 6305   6305   
                constraint_violation.as_validation_exception_field("".to_owned());
 6306   6306   
            let validation_exception = crate::error::ValidationException {
 6307   6307   
                message: format!(
 6308   6308   
                    "1 validation error detected. {}",
 6309   6309   
                    &first_validation_exception_field.message
 6310   6310   
                ),
 6311   6311   
                field_list: Some(vec![first_validation_exception_field]),

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/lib.rs

@@ -29,29 +128,129 @@
   49     49   
//!
   50     50   
//! # let app = ConstraintsService::builder(
   51     51   
//! #     ConstraintsServiceConfig::builder()
   52     52   
//! #         .build()
   53     53   
//! # ).build_unchecked();
   54     54   
//! let server = app.into_make_service();
   55     55   
//! let bind: SocketAddr = "127.0.0.1:6969".parse()
   56     56   
//!     .expect("unable to parse the server bind address and port");
   57     57   
//! ::hyper::Server::bind(&bind).serve(server).await.unwrap();
   58     58   
//! # }
          59  +
//!
   59     60   
//! ```
   60     61   
//!
   61     62   
//! ### Running on Lambda
   62     63   
//!
   63     64   
//! ```rust,ignore
   64     65   
//! use constraints::server::routing::LambdaHandler;
   65     66   
//! use constraints::ConstraintsService;
   66     67   
//!
   67     68   
//! # async fn dummy() {
   68     69   
//! # let app = ConstraintsService::builder(
   69     70   
//! #     ConstraintsServiceConfig::builder()
   70     71   
//! #         .build()
   71     72   
//! # ).build_unchecked();
   72     73   
//! let handler = LambdaHandler::new(app);
   73     74   
//! lambda_http::run(handler).await.unwrap();
   74     75   
//! # }
   75     76   
//! ```
   76     77   
//!
   77     78   
//! # Building the ConstraintsService
   78     79   
//!
   79     80   
//! To construct [`ConstraintsService`] we use [`ConstraintsServiceBuilder`] returned by [`ConstraintsService::builder`].
   80     81   
//!
   81     82   
//! ## Plugins
   82     83   
//!
   83     84   
//! The [`ConstraintsService::builder`] method, returning [`ConstraintsServiceBuilder`],
   84     85   
//! accepts a config object on which plugins can be registered.
   85     86   
//! Plugins allow you to build middleware which is aware of the operation it is being applied to.
   86     87   
//!
   87     88   
//! ```rust,no_run
   88     89   
//! # use constraints::server::plugin::IdentityPlugin as LoggingPlugin;
   89     90   
//! # use constraints::server::plugin::IdentityPlugin as MetricsPlugin;
   90     91   
//! # use ::hyper::Body;
   91     92   
//! use constraints::server::plugin::HttpPlugins;
   92     93   
//! use constraints::{ConstraintsService, ConstraintsServiceConfig, ConstraintsServiceBuilder};
   93     94   
//!
   94     95   
//! let http_plugins = HttpPlugins::new()
   95     96   
//!         .push(LoggingPlugin)
   96     97   
//!         .push(MetricsPlugin);
   97     98   
//! let config = ConstraintsServiceConfig::builder().build();
   98         -
//! let builder: ConstraintsServiceBuilder<Body, _, _, _> = ConstraintsService::builder(config);
          99  +
//! let builder: ConstraintsServiceBuilder<::hyper::Body, _, _, _> = ConstraintsService::builder(config);
   99    100   
//! ```
  100    101   
//!
  101    102   
//! Check out [`crate::server::plugin`] to learn more about plugins.
  102    103   
//!
  103    104   
//! ## Handlers
  104    105   
//!
  105    106   
//! [`ConstraintsServiceBuilder`] provides a setter method for each operation in your Smithy model. The setter methods expect an async function as input, matching the signature for the corresponding operation in your Smithy model.
  106    107   
//! We call these async functions **handlers**. This is where your application business logic lives.
  107    108   
//!
  108    109   
//! Every handler must take an `Input`, and optional [`extractor arguments`](crate::server::request), while returning:
@@ -259,260 +358,359 @@
  279    280   
//!     todo!()
  280    281   
//! }
  281    282   
//!
  282    283   
//! async fn streaming_blob_operation(input: input::StreamingBlobOperationInput) -> Result<output::StreamingBlobOperationOutput, error::StreamingBlobOperationError> {
  283    284   
//!     todo!()
  284    285   
//! }
  285    286   
//!
  286    287   
//! ```
  287    288   
//!
  288    289   
//! [`serve`]: https://docs.rs/hyper/0.14.16/hyper/server/struct.Builder.html#method.serve
         290  +
//! [hyper server]: https://docs.rs/hyper/0.14.26/hyper/server/index.html
  289    291   
//! [`tower::make::MakeService`]: https://docs.rs/tower/latest/tower/make/trait.MakeService.html
  290    292   
//! [HTTP binding traits]: https://smithy.io/2.0/spec/http-bindings.html
  291    293   
//! [operations]: https://smithy.io/2.0/spec/service-types.html#operation
  292         -
//! [hyper server]: https://docs.rs/hyper/latest/hyper/server/index.html
  293    294   
//! [Service]: https://docs.rs/tower-service/latest/tower_service/trait.Service.html
  294    295   
pub use crate::service::{
  295    296   
    ConstraintsService, ConstraintsServiceBuilder, ConstraintsServiceConfig,
  296    297   
    ConstraintsServiceConfigBuilder, MissingOperationsError,
  297    298   
};
  298    299   
  299    300   
/// Contains the types that are re-exported from the `aws-smithy-http-server` crate.
  300    301   
pub mod server {
  301    302   
    // Re-export all types from the `aws-smithy-http-server` crate.
  302         -
    pub use ::aws_smithy_http_server::*;
         303  +
    pub use ::aws_smithy_legacy_http_server::*;
  303    304   
}
  304    305   
  305    306   
/// Crate version number.
  306    307   
pub static PKG_VERSION: &str = env!("CARGO_PKG_VERSION");
  307    308   
  308    309   
/// Constrained types for constrained shapes.
  309    310   
mod constrained;
  310    311   
  311    312   
/// All error types that operations can return. Documentation on these types is copied from the model.
  312    313   
pub mod error;
  313    314   
  314    315   
/// Input structures for operations. Documentation on these types is copied from the model.
  315    316   
pub mod input;
  316    317   
  317    318   
/// Data structures used by operation inputs/outputs. Documentation on these types is copied from the model.
  318    319   
pub mod model;
  319    320   
  320    321   
/// All operations that this crate can perform.
  321    322   
pub mod operation;
  322    323   
  323    324   
/// A collection of types representing each operation defined in the service closure.
  324    325   
///
  325         -
/// The [plugin system](::aws_smithy_http_server::plugin) makes use of these
         326  +
/// The [plugin system](::aws_smithy_legacy_http_server::plugin) makes use of these
  326    327   
/// [zero-sized types](https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-sized-types-zsts) (ZSTs) to
  327         -
/// parameterize [`Plugin`](::aws_smithy_http_server::plugin::Plugin) implementations. Their traits, such as
  328         -
/// [`OperationShape`](::aws_smithy_http_server::operation::OperationShape), can be used to provide
         328  +
/// parameterize [`Plugin`](::aws_smithy_legacy_http_server::plugin::Plugin) implementations. Their traits, such as
         329  +
/// [`OperationShape`](::aws_smithy_legacy_http_server::operation::OperationShape), can be used to provide
  329    330   
/// operation specific information to the [`Layer`](::tower::Layer) being applied.
  330    331   
pub mod operation_shape;
  331    332   
  332    333   
/// Output structures for operations. Documentation on these types is copied from the model.
  333    334   
pub mod output;
  334    335   
  335    336   
/// Python wrapper types for event streams.
  336    337   
pub mod python_event_stream;
  337    338   
  338    339   
/// Export PyO3 symbols in the shared library

tmp-codegen-diff/codegen-server-test-python/constraints/rust-server-codegen-python/src/operation.rs

@@ -1,1 +1960,1900 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
::pin_project_lite::pin_project! {
    3      3   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
    4      4   
    /// [`EventStreamsOperationInput`](crate::input::EventStreamsOperationInput) using modelled bindings.
    5      5   
    pub struct EventStreamsOperationInputFuture {
    6         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::EventStreamsOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
           6  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::EventStreamsOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
    7      7   
    }
    8      8   
}
    9      9   
   10     10   
impl std::future::Future for EventStreamsOperationInputFuture {
   11     11   
    type Output = Result<
   12     12   
        crate::input::EventStreamsOperationInput,
   13         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
          13  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
   14     14   
    >;
   15     15   
   16     16   
    fn poll(
   17     17   
        self: std::pin::Pin<&mut Self>,
   18     18   
        cx: &mut std::task::Context<'_>,
   19     19   
    ) -> std::task::Poll<Self::Output> {
   20     20   
        let this = self.project();
   21     21   
        this.inner.as_mut().poll(cx)
   22     22   
    }
   23     23   
}
   24     24   
   25     25   
impl<B>
   26         -
    ::aws_smithy_http_server::request::FromRequest<
   27         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
          26  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
          27  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
   28     28   
        B,
   29     29   
    > for crate::input::EventStreamsOperationInput
   30     30   
where
   31         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
          31  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
   32     32   
    B: 'static,
   33     33   
   34     34   
    B: Into<::aws_smithy_types::byte_stream::ByteStream>,
   35     35   
    B::Data: Send,
   36         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
   37         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
          36  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
          37  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
   38     38   
{
   39         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
          39  +
    type Rejection =
          40  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
   40     41   
    type Future = EventStreamsOperationInputFuture;
   41     42   
   42     43   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
   43     44   
        let fut = async move {
   44         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
          45  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
   45     46   
                request.headers(),
   46     47   
                &crate::mimes::CONTENT_TYPE_APPLICATION_VND_AMAZON_EVENTSTREAM,
   47     48   
            ) {
   48         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
          49  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
   49     50   
            }
   50     51   
            crate::protocol_serde::shape_event_streams_operation::de_event_streams_operation_http_request(request)
   51     52   
                            .await
   52     53   
        };
   53     54   
        use ::futures_util::future::TryFutureExt;
   54         -
        let fut = fut.map_err(
   55         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
   56         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
   57         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
   58         -
                    e,
   59         -
                )
   60         -
            },
   61         -
        );
          55  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
          56  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
          57  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
          58  +
                    });
   62     59   
        EventStreamsOperationInputFuture {
   63     60   
            inner: Box::pin(fut),
   64     61   
        }
   65     62   
    }
   66     63   
}
   67     64   
impl
   68         -
    ::aws_smithy_http_server::response::IntoResponse<
   69         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
          65  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
          66  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
   70     67   
    > for crate::output::EventStreamsOperationOutput
   71     68   
{
   72         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
          69  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
   73     70   
        match crate::protocol_serde::shape_event_streams_operation::ser_event_streams_operation_http_response(self) {
   74     71   
                        Ok(response) => response,
   75     72   
                        Err(e) => {
   76     73   
                            ::tracing::error!(error = %e, "failed to serialize response");
   77         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
          74  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
   78     75   
                        }
   79     76   
                    }
   80     77   
    }
   81     78   
}
   82     79   
impl
   83         -
    ::aws_smithy_http_server::response::IntoResponse<
   84         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
          80  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
          81  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
   85     82   
    > for crate::error::EventStreamsOperationError
   86     83   
{
   87         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
          84  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
   88     85   
        match crate::protocol_serde::shape_event_streams_operation::ser_event_streams_operation_http_error(&self) {
   89     86   
            Ok(mut response) => {
   90         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
          87  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
   91     88   
                response
   92     89   
            },
   93     90   
            Err(e) => {
   94     91   
                ::tracing::error!(error = %e, "failed to serialize response");
   95         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
          92  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
   96     93   
            }
   97     94   
        }
   98     95   
    }
   99     96   
}
  100     97   
  101     98   
::pin_project_lite::pin_project! {
  102     99   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  103    100   
    /// [`StreamingBlobOperationInput`](crate::input::StreamingBlobOperationInput) using modelled bindings.
  104    101   
    pub struct StreamingBlobOperationInputFuture {
  105         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::StreamingBlobOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         102  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::StreamingBlobOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  106    103   
    }
  107    104   
}
  108    105   
  109    106   
impl std::future::Future for StreamingBlobOperationInputFuture {
  110    107   
    type Output = Result<
  111    108   
        crate::input::StreamingBlobOperationInput,
  112         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         109  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  113    110   
    >;
  114    111   
  115    112   
    fn poll(
  116    113   
        self: std::pin::Pin<&mut Self>,
  117    114   
        cx: &mut std::task::Context<'_>,
  118    115   
    ) -> std::task::Poll<Self::Output> {
  119    116   
        let this = self.project();
  120    117   
        this.inner.as_mut().poll(cx)
  121    118   
    }
  122    119   
}
  123    120   
  124    121   
impl<B>
  125         -
    ::aws_smithy_http_server::request::FromRequest<
  126         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         122  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         123  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  127    124   
        B,
  128    125   
    > for crate::input::StreamingBlobOperationInput
  129    126   
where
  130         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         127  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  131    128   
    B: 'static,
  132    129   
  133    130   
    B: Into<::aws_smithy_types::byte_stream::ByteStream>,
  134    131   
    B::Data: Send,
  135         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  136         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         132  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         133  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  137    134   
{
  138         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         135  +
    type Rejection =
         136  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  139    137   
    type Future = StreamingBlobOperationInputFuture;
  140    138   
  141    139   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  142    140   
        let fut = async move {
  143         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         141  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  144    142   
                request.headers(),
  145    143   
                &crate::mimes::CONTENT_TYPE_APPLICATION_OCTET_STREAM,
  146    144   
            ) {
  147         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         145  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  148    146   
            }
  149    147   
            crate::protocol_serde::shape_streaming_blob_operation::de_streaming_blob_operation_http_request(request)
  150    148   
                            .await
  151    149   
        };
  152    150   
        use ::futures_util::future::TryFutureExt;
  153         -
        let fut = fut.map_err(
  154         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  155         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  156         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  157         -
                    e,
  158         -
                )
  159         -
            },
  160         -
        );
         151  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         152  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         153  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         154  +
                    });
  161    155   
        StreamingBlobOperationInputFuture {
  162    156   
            inner: Box::pin(fut),
  163    157   
        }
  164    158   
    }
  165    159   
}
  166    160   
impl
  167         -
    ::aws_smithy_http_server::response::IntoResponse<
  168         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         161  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         162  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  169    163   
    > for crate::output::StreamingBlobOperationOutput
  170    164   
{
  171         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         165  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  172    166   
        match crate::protocol_serde::shape_streaming_blob_operation::ser_streaming_blob_operation_http_response(self) {
  173    167   
                        Ok(response) => response,
  174    168   
                        Err(e) => {
  175    169   
                            ::tracing::error!(error = %e, "failed to serialize response");
  176         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         170  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  177    171   
                        }
  178    172   
                    }
  179    173   
    }
  180    174   
}
  181    175   
impl
  182         -
    ::aws_smithy_http_server::response::IntoResponse<
  183         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         176  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         177  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  184    178   
    > for crate::error::StreamingBlobOperationError
  185    179   
{
  186         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         180  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  187    181   
        match crate::protocol_serde::shape_streaming_blob_operation::ser_streaming_blob_operation_http_error(&self) {
  188    182   
            Ok(mut response) => {
  189         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         183  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  190    184   
                response
  191    185   
            },
  192    186   
            Err(e) => {
  193    187   
                ::tracing::error!(error = %e, "failed to serialize response");
  194         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         188  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  195    189   
            }
  196    190   
        }
  197    191   
    }
  198    192   
}
  199    193   
  200    194   
::pin_project_lite::pin_project! {
  201    195   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  202    196   
    /// [`NonStreamingBlobOperationInput`](crate::input::NonStreamingBlobOperationInput) using modelled bindings.
  203    197   
    pub struct NonStreamingBlobOperationInputFuture {
  204         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::NonStreamingBlobOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         198  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::NonStreamingBlobOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  205    199   
    }
  206    200   
}
  207    201   
  208    202   
impl std::future::Future for NonStreamingBlobOperationInputFuture {
  209    203   
    type Output = Result<
  210    204   
        crate::input::NonStreamingBlobOperationInput,
  211         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         205  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  212    206   
    >;
  213    207   
  214    208   
    fn poll(
  215    209   
        self: std::pin::Pin<&mut Self>,
  216    210   
        cx: &mut std::task::Context<'_>,
  217    211   
    ) -> std::task::Poll<Self::Output> {
  218    212   
        let this = self.project();
  219    213   
        this.inner.as_mut().poll(cx)
  220    214   
    }
  221    215   
}
  222    216   
  223    217   
impl<B>
  224         -
    ::aws_smithy_http_server::request::FromRequest<
  225         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         218  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         219  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  226    220   
        B,
  227    221   
    > for crate::input::NonStreamingBlobOperationInput
  228    222   
where
  229         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         223  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  230    224   
    B: 'static,
  231    225   
  232    226   
    B::Data: Send,
  233         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  234         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         227  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         228  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  235    229   
{
  236         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         230  +
    type Rejection =
         231  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  237    232   
    type Future = NonStreamingBlobOperationInputFuture;
  238    233   
  239    234   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  240    235   
        let fut = async move {
  241    236   
            crate::protocol_serde::shape_non_streaming_blob_operation::de_non_streaming_blob_operation_http_request(request)
  242    237   
                            .await
  243    238   
        };
  244    239   
        use ::futures_util::future::TryFutureExt;
  245         -
        let fut = fut.map_err(
  246         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  247         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  248         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  249         -
                    e,
  250         -
                )
  251         -
            },
  252         -
        );
         240  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         241  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         242  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         243  +
                    });
  253    244   
        NonStreamingBlobOperationInputFuture {
  254    245   
            inner: Box::pin(fut),
  255    246   
        }
  256    247   
    }
  257    248   
}
  258    249   
impl
  259         -
    ::aws_smithy_http_server::response::IntoResponse<
  260         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         250  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         251  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  261    252   
    > for crate::output::NonStreamingBlobOperationOutput
  262    253   
{
  263         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         254  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  264    255   
        match crate::protocol_serde::shape_non_streaming_blob_operation::ser_non_streaming_blob_operation_http_response(self) {
  265    256   
                        Ok(response) => response,
  266    257   
                        Err(e) => {
  267    258   
                            ::tracing::error!(error = %e, "failed to serialize response");
  268         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         259  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  269    260   
                        }
  270    261   
                    }
  271    262   
    }
  272    263   
}
  273    264   
impl
  274         -
    ::aws_smithy_http_server::response::IntoResponse<
  275         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         265  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         266  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  276    267   
    > for crate::error::NonStreamingBlobOperationError
  277    268   
{
  278         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         269  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  279    270   
        match crate::protocol_serde::shape_non_streaming_blob_operation::ser_non_streaming_blob_operation_http_error(&self) {
  280    271   
            Ok(mut response) => {
  281         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         272  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  282    273   
                response
  283    274   
            },
  284    275   
            Err(e) => {
  285    276   
                ::tracing::error!(error = %e, "failed to serialize response");
  286         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         277  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  287    278   
            }
  288    279   
        }
  289    280   
    }
  290    281   
}
  291    282   
  292    283   
::pin_project_lite::pin_project! {
  293    284   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  294    285   
    /// [`QueryParamsTargetingMapOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfEnumStringOperationInput) using modelled bindings.
  295    286   
    pub struct QueryParamsTargetingMapOfEnumStringOperationInputFuture {
  296         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfEnumStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         287  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfEnumStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  297    288   
    }
  298    289   
}
  299    290   
  300    291   
impl std::future::Future for QueryParamsTargetingMapOfEnumStringOperationInputFuture {
  301    292   
    type Output = Result<
  302    293   
        crate::input::QueryParamsTargetingMapOfEnumStringOperationInput,
  303         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         294  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  304    295   
    >;
  305    296   
  306    297   
    fn poll(
  307    298   
        self: std::pin::Pin<&mut Self>,
  308    299   
        cx: &mut std::task::Context<'_>,
  309    300   
    ) -> std::task::Poll<Self::Output> {
  310    301   
        let this = self.project();
  311    302   
        this.inner.as_mut().poll(cx)
  312    303   
    }
  313    304   
}
  314    305   
  315    306   
impl<B>
  316         -
    ::aws_smithy_http_server::request::FromRequest<
  317         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         307  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         308  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  318    309   
        B,
  319    310   
    > for crate::input::QueryParamsTargetingMapOfEnumStringOperationInput
  320    311   
where
  321         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         312  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  322    313   
    B: 'static,
  323    314   
  324    315   
    B::Data: Send,
  325         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  326         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         316  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         317  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  327    318   
{
  328         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         319  +
    type Rejection =
         320  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  329    321   
    type Future = QueryParamsTargetingMapOfEnumStringOperationInputFuture;
  330    322   
  331    323   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  332    324   
        let fut = async move {
  333         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         325  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  334    326   
                request.headers(),
  335    327   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  336    328   
            ) {
  337         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         329  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  338    330   
            }
  339    331   
            crate::protocol_serde::shape_query_params_targeting_map_of_enum_string_operation::de_query_params_targeting_map_of_enum_string_operation_http_request(request)
  340    332   
                            .await
  341    333   
        };
  342    334   
        use ::futures_util::future::TryFutureExt;
  343         -
        let fut = fut.map_err(
  344         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  345         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  346         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  347         -
                    e,
  348         -
                )
  349         -
            },
  350         -
        );
         335  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         336  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         337  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         338  +
                    });
  351    339   
        QueryParamsTargetingMapOfEnumStringOperationInputFuture {
  352    340   
            inner: Box::pin(fut),
  353    341   
        }
  354    342   
    }
  355    343   
}
  356    344   
impl
  357         -
    ::aws_smithy_http_server::response::IntoResponse<
  358         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         345  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         346  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  359    347   
    > for crate::output::QueryParamsTargetingMapOfEnumStringOperationOutput
  360    348   
{
  361         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         349  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  362    350   
        match crate::protocol_serde::shape_query_params_targeting_map_of_enum_string_operation::ser_query_params_targeting_map_of_enum_string_operation_http_response(self) {
  363    351   
                        Ok(response) => response,
  364    352   
                        Err(e) => {
  365    353   
                            ::tracing::error!(error = %e, "failed to serialize response");
  366         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         354  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  367    355   
                        }
  368    356   
                    }
  369    357   
    }
  370    358   
}
  371    359   
impl
  372         -
    ::aws_smithy_http_server::response::IntoResponse<
  373         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         360  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         361  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  374    362   
    > for crate::error::QueryParamsTargetingMapOfEnumStringOperationError
  375    363   
{
  376         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         364  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  377    365   
        match crate::protocol_serde::shape_query_params_targeting_map_of_enum_string_operation::ser_query_params_targeting_map_of_enum_string_operation_http_error(&self) {
  378    366   
            Ok(mut response) => {
  379         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         367  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  380    368   
                response
  381    369   
            },
  382    370   
            Err(e) => {
  383    371   
                ::tracing::error!(error = %e, "failed to serialize response");
  384         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         372  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  385    373   
            }
  386    374   
        }
  387    375   
    }
  388    376   
}
  389    377   
  390    378   
::pin_project_lite::pin_project! {
  391    379   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  392    380   
    /// [`HttpPrefixHeadersTargetingLengthMapOperationInput`](crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput) using modelled bindings.
  393    381   
    pub struct HttpPrefixHeadersTargetingLengthMapOperationInputFuture {
  394         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         382  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  395    383   
    }
  396    384   
}
  397    385   
  398    386   
impl std::future::Future for HttpPrefixHeadersTargetingLengthMapOperationInputFuture {
  399    387   
    type Output = Result<
  400    388   
        crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput,
  401         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         389  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  402    390   
    >;
  403    391   
  404    392   
    fn poll(
  405    393   
        self: std::pin::Pin<&mut Self>,
  406    394   
        cx: &mut std::task::Context<'_>,
  407    395   
    ) -> std::task::Poll<Self::Output> {
  408    396   
        let this = self.project();
  409    397   
        this.inner.as_mut().poll(cx)
  410    398   
    }
  411    399   
}
  412    400   
  413    401   
impl<B>
  414         -
    ::aws_smithy_http_server::request::FromRequest<
  415         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         402  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         403  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  416    404   
        B,
  417    405   
    > for crate::input::HttpPrefixHeadersTargetingLengthMapOperationInput
  418    406   
where
  419         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         407  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  420    408   
    B: 'static,
  421    409   
  422    410   
    B::Data: Send,
  423         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  424         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         411  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         412  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  425    413   
{
  426         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         414  +
    type Rejection =
         415  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  427    416   
    type Future = HttpPrefixHeadersTargetingLengthMapOperationInputFuture;
  428    417   
  429    418   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  430    419   
        let fut = async move {
  431         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         420  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  432    421   
                request.headers(),
  433    422   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  434    423   
            ) {
  435         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         424  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  436    425   
            }
  437    426   
            crate::protocol_serde::shape_http_prefix_headers_targeting_length_map_operation::de_http_prefix_headers_targeting_length_map_operation_http_request(request)
  438    427   
                            .await
  439    428   
        };
  440    429   
        use ::futures_util::future::TryFutureExt;
  441         -
        let fut = fut.map_err(
  442         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  443         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  444         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  445         -
                    e,
  446         -
                )
  447         -
            },
  448         -
        );
         430  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         431  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         432  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         433  +
                    });
  449    434   
        HttpPrefixHeadersTargetingLengthMapOperationInputFuture {
  450    435   
            inner: Box::pin(fut),
  451    436   
        }
  452    437   
    }
  453    438   
}
  454    439   
impl
  455         -
    ::aws_smithy_http_server::response::IntoResponse<
  456         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         440  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         441  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  457    442   
    > for crate::output::HttpPrefixHeadersTargetingLengthMapOperationOutput
  458    443   
{
  459         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         444  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  460    445   
        match crate::protocol_serde::shape_http_prefix_headers_targeting_length_map_operation::ser_http_prefix_headers_targeting_length_map_operation_http_response(self) {
  461    446   
                        Ok(response) => response,
  462    447   
                        Err(e) => {
  463    448   
                            ::tracing::error!(error = %e, "failed to serialize response");
  464         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         449  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  465    450   
                        }
  466    451   
                    }
  467    452   
    }
  468    453   
}
  469    454   
impl
  470         -
    ::aws_smithy_http_server::response::IntoResponse<
  471         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         455  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         456  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  472    457   
    > for crate::error::HttpPrefixHeadersTargetingLengthMapOperationError
  473    458   
{
  474         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         459  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  475    460   
        match crate::protocol_serde::shape_http_prefix_headers_targeting_length_map_operation::ser_http_prefix_headers_targeting_length_map_operation_http_error(&self) {
  476    461   
            Ok(mut response) => {
  477         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         462  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  478    463   
                response
  479    464   
            },
  480    465   
            Err(e) => {
  481    466   
                ::tracing::error!(error = %e, "failed to serialize response");
  482         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         467  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  483    468   
            }
  484    469   
        }
  485    470   
    }
  486    471   
}
  487    472   
  488    473   
::pin_project_lite::pin_project! {
  489    474   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  490    475   
    /// [`QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput) using modelled bindings.
  491    476   
    pub struct QueryParamsTargetingMapOfListOfLengthPatternStringOperationInputFuture {
  492         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         477  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  493    478   
    }
  494    479   
}
  495    480   
  496    481   
impl std::future::Future
  497    482   
    for QueryParamsTargetingMapOfListOfLengthPatternStringOperationInputFuture
  498    483   
{
  499    484   
    type Output = Result<
  500    485   
        crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput,
  501         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         486  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  502    487   
    >;
  503    488   
  504    489   
    fn poll(
  505    490   
        self: std::pin::Pin<&mut Self>,
  506    491   
        cx: &mut std::task::Context<'_>,
  507    492   
    ) -> std::task::Poll<Self::Output> {
  508    493   
        let this = self.project();
  509    494   
        this.inner.as_mut().poll(cx)
  510    495   
    }
  511    496   
}
  512    497   
  513    498   
impl<B>
  514         -
    ::aws_smithy_http_server::request::FromRequest<
  515         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         499  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         500  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  516    501   
        B,
  517    502   
    > for crate::input::QueryParamsTargetingMapOfListOfLengthPatternStringOperationInput
  518    503   
where
  519         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         504  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  520    505   
    B: 'static,
  521    506   
  522    507   
    B::Data: Send,
  523         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  524         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         508  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         509  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  525    510   
{
  526         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         511  +
    type Rejection =
         512  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  527    513   
    type Future = QueryParamsTargetingMapOfListOfLengthPatternStringOperationInputFuture;
  528    514   
  529    515   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  530    516   
        let fut = async move {
  531         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         517  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  532    518   
                request.headers(),
  533    519   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  534    520   
            ) {
  535         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         521  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  536    522   
            }
  537    523   
            crate::protocol_serde::shape_query_params_targeting_map_of_list_of_length_pattern_string_operation::de_query_params_targeting_map_of_list_of_length_pattern_string_operation_http_request(request)
  538    524   
                            .await
  539    525   
        };
  540    526   
        use ::futures_util::future::TryFutureExt;
  541         -
        let fut = fut.map_err(
  542         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  543         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  544         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  545         -
                    e,
  546         -
                )
  547         -
            },
  548         -
        );
         527  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         528  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         529  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         530  +
                    });
  549    531   
        QueryParamsTargetingMapOfListOfLengthPatternStringOperationInputFuture {
  550    532   
            inner: Box::pin(fut),
  551    533   
        }
  552    534   
    }
  553    535   
}
  554    536   
impl
  555         -
    ::aws_smithy_http_server::response::IntoResponse<
  556         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         537  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         538  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  557    539   
    > for crate::output::QueryParamsTargetingMapOfListOfLengthPatternStringOperationOutput
  558    540   
{
  559         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         541  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  560    542   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_length_pattern_string_operation::ser_query_params_targeting_map_of_list_of_length_pattern_string_operation_http_response(self) {
  561    543   
                        Ok(response) => response,
  562    544   
                        Err(e) => {
  563    545   
                            ::tracing::error!(error = %e, "failed to serialize response");
  564         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         546  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  565    547   
                        }
  566    548   
                    }
  567    549   
    }
  568    550   
}
  569    551   
impl
  570         -
    ::aws_smithy_http_server::response::IntoResponse<
  571         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         552  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         553  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  572    554   
    > for crate::error::QueryParamsTargetingMapOfListOfLengthPatternStringOperationError
  573    555   
{
  574         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         556  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  575    557   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_length_pattern_string_operation::ser_query_params_targeting_map_of_list_of_length_pattern_string_operation_http_error(&self) {
  576    558   
            Ok(mut response) => {
  577         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         559  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  578    560   
                response
  579    561   
            },
  580    562   
            Err(e) => {
  581    563   
                ::tracing::error!(error = %e, "failed to serialize response");
  582         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         564  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  583    565   
            }
  584    566   
        }
  585    567   
    }
  586    568   
}
  587    569   
  588    570   
::pin_project_lite::pin_project! {
  589    571   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  590    572   
    /// [`QueryParamsTargetingMapOfLengthPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput) using modelled bindings.
  591    573   
    pub struct QueryParamsTargetingMapOfLengthPatternStringOperationInputFuture {
  592         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         574  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  593    575   
    }
  594    576   
}
  595    577   
  596    578   
impl std::future::Future for QueryParamsTargetingMapOfLengthPatternStringOperationInputFuture {
  597    579   
    type Output = Result<
  598    580   
        crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput,
  599         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         581  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  600    582   
    >;
  601    583   
  602    584   
    fn poll(
  603    585   
        self: std::pin::Pin<&mut Self>,
  604    586   
        cx: &mut std::task::Context<'_>,
  605    587   
    ) -> std::task::Poll<Self::Output> {
  606    588   
        let this = self.project();
  607    589   
        this.inner.as_mut().poll(cx)
  608    590   
    }
  609    591   
}
  610    592   
  611    593   
impl<B>
  612         -
    ::aws_smithy_http_server::request::FromRequest<
  613         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         594  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         595  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  614    596   
        B,
  615    597   
    > for crate::input::QueryParamsTargetingMapOfLengthPatternStringOperationInput
  616    598   
where
  617         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         599  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  618    600   
    B: 'static,
  619    601   
  620    602   
    B::Data: Send,
  621         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  622         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         603  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         604  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  623    605   
{
  624         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         606  +
    type Rejection =
         607  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  625    608   
    type Future = QueryParamsTargetingMapOfLengthPatternStringOperationInputFuture;
  626    609   
  627    610   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  628    611   
        let fut = async move {
  629         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         612  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  630    613   
                request.headers(),
  631    614   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  632    615   
            ) {
  633         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         616  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  634    617   
            }
  635    618   
            crate::protocol_serde::shape_query_params_targeting_map_of_length_pattern_string_operation::de_query_params_targeting_map_of_length_pattern_string_operation_http_request(request)
  636    619   
                            .await
  637    620   
        };
  638    621   
        use ::futures_util::future::TryFutureExt;
  639         -
        let fut = fut.map_err(
  640         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  641         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  642         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  643         -
                    e,
  644         -
                )
  645         -
            },
  646         -
        );
         622  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         623  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         624  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         625  +
                    });
  647    626   
        QueryParamsTargetingMapOfLengthPatternStringOperationInputFuture {
  648    627   
            inner: Box::pin(fut),
  649    628   
        }
  650    629   
    }
  651    630   
}
  652    631   
impl
  653         -
    ::aws_smithy_http_server::response::IntoResponse<
  654         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         632  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         633  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  655    634   
    > for crate::output::QueryParamsTargetingMapOfLengthPatternStringOperationOutput
  656    635   
{
  657         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         636  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  658    637   
        match crate::protocol_serde::shape_query_params_targeting_map_of_length_pattern_string_operation::ser_query_params_targeting_map_of_length_pattern_string_operation_http_response(self) {
  659    638   
                        Ok(response) => response,
  660    639   
                        Err(e) => {
  661    640   
                            ::tracing::error!(error = %e, "failed to serialize response");
  662         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         641  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  663    642   
                        }
  664    643   
                    }
  665    644   
    }
  666    645   
}
  667    646   
impl
  668         -
    ::aws_smithy_http_server::response::IntoResponse<
  669         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         647  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         648  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  670    649   
    > for crate::error::QueryParamsTargetingMapOfLengthPatternStringOperationError
  671    650   
{
  672         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         651  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  673    652   
        match crate::protocol_serde::shape_query_params_targeting_map_of_length_pattern_string_operation::ser_query_params_targeting_map_of_length_pattern_string_operation_http_error(&self) {
  674    653   
            Ok(mut response) => {
  675         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         654  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  676    655   
                response
  677    656   
            },
  678    657   
            Err(e) => {
  679    658   
                ::tracing::error!(error = %e, "failed to serialize response");
  680         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         659  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  681    660   
            }
  682    661   
        }
  683    662   
    }
  684    663   
}
  685    664   
  686    665   
::pin_project_lite::pin_project! {
  687    666   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  688    667   
    /// [`QueryParamsTargetingMapOfListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput) using modelled bindings.
  689    668   
    pub struct QueryParamsTargetingMapOfListOfPatternStringOperationInputFuture {
  690         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         669  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  691    670   
    }
  692    671   
}
  693    672   
  694    673   
impl std::future::Future for QueryParamsTargetingMapOfListOfPatternStringOperationInputFuture {
  695    674   
    type Output = Result<
  696    675   
        crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput,
  697         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         676  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  698    677   
    >;
  699    678   
  700    679   
    fn poll(
  701    680   
        self: std::pin::Pin<&mut Self>,
  702    681   
        cx: &mut std::task::Context<'_>,
  703    682   
    ) -> std::task::Poll<Self::Output> {
  704    683   
        let this = self.project();
  705    684   
        this.inner.as_mut().poll(cx)
  706    685   
    }
  707    686   
}
  708    687   
  709    688   
impl<B>
  710         -
    ::aws_smithy_http_server::request::FromRequest<
  711         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         689  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         690  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  712    691   
        B,
  713    692   
    > for crate::input::QueryParamsTargetingMapOfListOfPatternStringOperationInput
  714    693   
where
  715         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         694  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  716    695   
    B: 'static,
  717    696   
  718    697   
    B::Data: Send,
  719         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  720         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         698  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         699  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  721    700   
{
  722         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         701  +
    type Rejection =
         702  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  723    703   
    type Future = QueryParamsTargetingMapOfListOfPatternStringOperationInputFuture;
  724    704   
  725    705   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  726    706   
        let fut = async move {
  727         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         707  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  728    708   
                request.headers(),
  729    709   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  730    710   
            ) {
  731         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         711  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  732    712   
            }
  733    713   
            crate::protocol_serde::shape_query_params_targeting_map_of_list_of_pattern_string_operation::de_query_params_targeting_map_of_list_of_pattern_string_operation_http_request(request)
  734    714   
                            .await
  735    715   
        };
  736    716   
        use ::futures_util::future::TryFutureExt;
  737         -
        let fut = fut.map_err(
  738         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  739         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  740         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  741         -
                    e,
  742         -
                )
  743         -
            },
  744         -
        );
         717  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         718  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         719  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         720  +
                    });
  745    721   
        QueryParamsTargetingMapOfListOfPatternStringOperationInputFuture {
  746    722   
            inner: Box::pin(fut),
  747    723   
        }
  748    724   
    }
  749    725   
}
  750    726   
impl
  751         -
    ::aws_smithy_http_server::response::IntoResponse<
  752         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         727  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         728  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  753    729   
    > for crate::output::QueryParamsTargetingMapOfListOfPatternStringOperationOutput
  754    730   
{
  755         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         731  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  756    732   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_pattern_string_operation::ser_query_params_targeting_map_of_list_of_pattern_string_operation_http_response(self) {
  757    733   
                        Ok(response) => response,
  758    734   
                        Err(e) => {
  759    735   
                            ::tracing::error!(error = %e, "failed to serialize response");
  760         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         736  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  761    737   
                        }
  762    738   
                    }
  763    739   
    }
  764    740   
}
  765    741   
impl
  766         -
    ::aws_smithy_http_server::response::IntoResponse<
  767         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         742  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         743  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  768    744   
    > for crate::error::QueryParamsTargetingMapOfListOfPatternStringOperationError
  769    745   
{
  770         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         746  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  771    747   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_pattern_string_operation::ser_query_params_targeting_map_of_list_of_pattern_string_operation_http_error(&self) {
  772    748   
            Ok(mut response) => {
  773         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         749  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  774    750   
                response
  775    751   
            },
  776    752   
            Err(e) => {
  777    753   
                ::tracing::error!(error = %e, "failed to serialize response");
  778         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         754  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  779    755   
            }
  780    756   
        }
  781    757   
    }
  782    758   
}
  783    759   
  784    760   
::pin_project_lite::pin_project! {
  785    761   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  786    762   
    /// [`QueryParamsTargetingMapOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfPatternStringOperationInput) using modelled bindings.
  787    763   
    pub struct QueryParamsTargetingMapOfPatternStringOperationInputFuture {
  788         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfPatternStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         764  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfPatternStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  789    765   
    }
  790    766   
}
  791    767   
  792    768   
impl std::future::Future for QueryParamsTargetingMapOfPatternStringOperationInputFuture {
  793    769   
    type Output = Result<
  794    770   
        crate::input::QueryParamsTargetingMapOfPatternStringOperationInput,
  795         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         771  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  796    772   
    >;
  797    773   
  798    774   
    fn poll(
  799    775   
        self: std::pin::Pin<&mut Self>,
  800    776   
        cx: &mut std::task::Context<'_>,
  801    777   
    ) -> std::task::Poll<Self::Output> {
  802    778   
        let this = self.project();
  803    779   
        this.inner.as_mut().poll(cx)
  804    780   
    }
  805    781   
}
  806    782   
  807    783   
impl<B>
  808         -
    ::aws_smithy_http_server::request::FromRequest<
  809         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         784  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         785  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  810    786   
        B,
  811    787   
    > for crate::input::QueryParamsTargetingMapOfPatternStringOperationInput
  812    788   
where
  813         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         789  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  814    790   
    B: 'static,
  815    791   
  816    792   
    B::Data: Send,
  817         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  818         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         793  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         794  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  819    795   
{
  820         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         796  +
    type Rejection =
         797  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  821    798   
    type Future = QueryParamsTargetingMapOfPatternStringOperationInputFuture;
  822    799   
  823    800   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  824    801   
        let fut = async move {
  825         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         802  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  826    803   
                request.headers(),
  827    804   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  828    805   
            ) {
  829         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         806  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  830    807   
            }
  831    808   
            crate::protocol_serde::shape_query_params_targeting_map_of_pattern_string_operation::de_query_params_targeting_map_of_pattern_string_operation_http_request(request)
  832    809   
                            .await
  833    810   
        };
  834    811   
        use ::futures_util::future::TryFutureExt;
  835         -
        let fut = fut.map_err(
  836         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  837         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  838         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  839         -
                    e,
  840         -
                )
  841         -
            },
  842         -
        );
         812  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         813  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         814  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         815  +
                    });
  843    816   
        QueryParamsTargetingMapOfPatternStringOperationInputFuture {
  844    817   
            inner: Box::pin(fut),
  845    818   
        }
  846    819   
    }
  847    820   
}
  848    821   
impl
  849         -
    ::aws_smithy_http_server::response::IntoResponse<
  850         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         822  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         823  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  851    824   
    > for crate::output::QueryParamsTargetingMapOfPatternStringOperationOutput
  852    825   
{
  853         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         826  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  854    827   
        match crate::protocol_serde::shape_query_params_targeting_map_of_pattern_string_operation::ser_query_params_targeting_map_of_pattern_string_operation_http_response(self) {
  855    828   
                        Ok(response) => response,
  856    829   
                        Err(e) => {
  857    830   
                            ::tracing::error!(error = %e, "failed to serialize response");
  858         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         831  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  859    832   
                        }
  860    833   
                    }
  861    834   
    }
  862    835   
}
  863    836   
impl
  864         -
    ::aws_smithy_http_server::response::IntoResponse<
  865         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         837  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         838  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  866    839   
    > for crate::error::QueryParamsTargetingMapOfPatternStringOperationError
  867    840   
{
  868         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         841  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  869    842   
        match crate::protocol_serde::shape_query_params_targeting_map_of_pattern_string_operation::ser_query_params_targeting_map_of_pattern_string_operation_http_error(&self) {
  870    843   
            Ok(mut response) => {
  871         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         844  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  872    845   
                response
  873    846   
            },
  874    847   
            Err(e) => {
  875    848   
                ::tracing::error!(error = %e, "failed to serialize response");
  876         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         849  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  877    850   
            }
  878    851   
        }
  879    852   
    }
  880    853   
}
  881    854   
  882    855   
::pin_project_lite::pin_project! {
  883    856   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  884    857   
    /// [`QueryParamsTargetingMapOfListOfEnumStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput) using modelled bindings.
  885    858   
    pub struct QueryParamsTargetingMapOfListOfEnumStringOperationInputFuture {
  886         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         859  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  887    860   
    }
  888    861   
}
  889    862   
  890    863   
impl std::future::Future for QueryParamsTargetingMapOfListOfEnumStringOperationInputFuture {
  891    864   
    type Output = Result<
  892    865   
        crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput,
  893         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         866  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  894    867   
    >;
  895    868   
  896    869   
    fn poll(
  897    870   
        self: std::pin::Pin<&mut Self>,
  898    871   
        cx: &mut std::task::Context<'_>,
  899    872   
    ) -> std::task::Poll<Self::Output> {
  900    873   
        let this = self.project();
  901    874   
        this.inner.as_mut().poll(cx)
  902    875   
    }
  903    876   
}
  904    877   
  905    878   
impl<B>
  906         -
    ::aws_smithy_http_server::request::FromRequest<
  907         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         879  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         880  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  908    881   
        B,
  909    882   
    > for crate::input::QueryParamsTargetingMapOfListOfEnumStringOperationInput
  910    883   
where
  911         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         884  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
  912    885   
    B: 'static,
  913    886   
  914    887   
    B::Data: Send,
  915         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
  916         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         888  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         889  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
  917    890   
{
  918         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         891  +
    type Rejection =
         892  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
  919    893   
    type Future = QueryParamsTargetingMapOfListOfEnumStringOperationInputFuture;
  920    894   
  921    895   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
  922    896   
        let fut = async move {
  923         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         897  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
  924    898   
                request.headers(),
  925    899   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
  926    900   
            ) {
  927         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         901  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
  928    902   
            }
  929    903   
            crate::protocol_serde::shape_query_params_targeting_map_of_list_of_enum_string_operation::de_query_params_targeting_map_of_list_of_enum_string_operation_http_request(request)
  930    904   
                            .await
  931    905   
        };
  932    906   
        use ::futures_util::future::TryFutureExt;
  933         -
        let fut = fut.map_err(
  934         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
  935         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
  936         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
  937         -
                    e,
  938         -
                )
  939         -
            },
  940         -
        );
         907  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
         908  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
         909  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
         910  +
                    });
  941    911   
        QueryParamsTargetingMapOfListOfEnumStringOperationInputFuture {
  942    912   
            inner: Box::pin(fut),
  943    913   
        }
  944    914   
    }
  945    915   
}
  946    916   
impl
  947         -
    ::aws_smithy_http_server::response::IntoResponse<
  948         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         917  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         918  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  949    919   
    > for crate::output::QueryParamsTargetingMapOfListOfEnumStringOperationOutput
  950    920   
{
  951         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         921  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  952    922   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_enum_string_operation::ser_query_params_targeting_map_of_list_of_enum_string_operation_http_response(self) {
  953    923   
                        Ok(response) => response,
  954    924   
                        Err(e) => {
  955    925   
                            ::tracing::error!(error = %e, "failed to serialize response");
  956         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         926  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  957    927   
                        }
  958    928   
                    }
  959    929   
    }
  960    930   
}
  961    931   
impl
  962         -
    ::aws_smithy_http_server::response::IntoResponse<
  963         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         932  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
         933  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
  964    934   
    > for crate::error::QueryParamsTargetingMapOfListOfEnumStringOperationError
  965    935   
{
  966         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
         936  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
  967    937   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_enum_string_operation::ser_query_params_targeting_map_of_list_of_enum_string_operation_http_error(&self) {
  968    938   
            Ok(mut response) => {
  969         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
         939  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
  970    940   
                response
  971    941   
            },
  972    942   
            Err(e) => {
  973    943   
                ::tracing::error!(error = %e, "failed to serialize response");
  974         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
         944  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
  975    945   
            }
  976    946   
        }
  977    947   
    }
  978    948   
}
  979    949   
  980    950   
::pin_project_lite::pin_project! {
  981    951   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
  982    952   
    /// [`QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput) using modelled bindings.
  983    953   
    pub struct QueryParamsTargetingMapOfLengthListOfPatternStringOperationInputFuture {
  984         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
         954  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
  985    955   
    }
  986    956   
}
  987    957   
  988    958   
impl std::future::Future
  989    959   
    for QueryParamsTargetingMapOfLengthListOfPatternStringOperationInputFuture
  990    960   
{
  991    961   
    type Output = Result<
  992    962   
        crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput,
  993         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
         963  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
  994    964   
    >;
  995    965   
  996    966   
    fn poll(
  997    967   
        self: std::pin::Pin<&mut Self>,
  998    968   
        cx: &mut std::task::Context<'_>,
  999    969   
    ) -> std::task::Poll<Self::Output> {
 1000    970   
        let this = self.project();
 1001    971   
        this.inner.as_mut().poll(cx)
 1002    972   
    }
 1003    973   
}
 1004    974   
 1005    975   
impl<B>
 1006         -
    ::aws_smithy_http_server::request::FromRequest<
 1007         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
         976  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
         977  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1008    978   
        B,
 1009    979   
    > for crate::input::QueryParamsTargetingMapOfLengthListOfPatternStringOperationInput
 1010    980   
where
 1011         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
         981  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1012    982   
    B: 'static,
 1013    983   
 1014    984   
    B::Data: Send,
 1015         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1016         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
         985  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
         986  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1017    987   
{
 1018         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
         988  +
    type Rejection =
         989  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1019    990   
    type Future = QueryParamsTargetingMapOfLengthListOfPatternStringOperationInputFuture;
 1020    991   
 1021    992   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1022    993   
        let fut = async move {
 1023         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
         994  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1024    995   
                request.headers(),
 1025    996   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1026    997   
            ) {
 1027         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
         998  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1028    999   
            }
 1029   1000   
            crate::protocol_serde::shape_query_params_targeting_map_of_length_list_of_pattern_string_operation::de_query_params_targeting_map_of_length_list_of_pattern_string_operation_http_request(request)
 1030   1001   
                            .await
 1031   1002   
        };
 1032   1003   
        use ::futures_util::future::TryFutureExt;
 1033         -
        let fut = fut.map_err(
 1034         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1035         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1036         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1037         -
                    e,
 1038         -
                )
 1039         -
            },
 1040         -
        );
        1004  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1005  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1006  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1007  +
                    });
 1041   1008   
        QueryParamsTargetingMapOfLengthListOfPatternStringOperationInputFuture {
 1042   1009   
            inner: Box::pin(fut),
 1043   1010   
        }
 1044   1011   
    }
 1045   1012   
}
 1046   1013   
impl
 1047         -
    ::aws_smithy_http_server::response::IntoResponse<
 1048         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1014  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1015  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1049   1016   
    > for crate::output::QueryParamsTargetingMapOfLengthListOfPatternStringOperationOutput
 1050   1017   
{
 1051         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1018  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1052   1019   
        match crate::protocol_serde::shape_query_params_targeting_map_of_length_list_of_pattern_string_operation::ser_query_params_targeting_map_of_length_list_of_pattern_string_operation_http_response(self) {
 1053   1020   
                        Ok(response) => response,
 1054   1021   
                        Err(e) => {
 1055   1022   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1056         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1023  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1057   1024   
                        }
 1058   1025   
                    }
 1059   1026   
    }
 1060   1027   
}
 1061   1028   
impl
 1062         -
    ::aws_smithy_http_server::response::IntoResponse<
 1063         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1029  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1030  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1064   1031   
    > for crate::error::QueryParamsTargetingMapOfLengthListOfPatternStringOperationError
 1065   1032   
{
 1066         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1033  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1067   1034   
        match crate::protocol_serde::shape_query_params_targeting_map_of_length_list_of_pattern_string_operation::ser_query_params_targeting_map_of_length_list_of_pattern_string_operation_http_error(&self) {
 1068   1035   
            Ok(mut response) => {
 1069         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1036  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1070   1037   
                response
 1071   1038   
            },
 1072   1039   
            Err(e) => {
 1073   1040   
                ::tracing::error!(error = %e, "failed to serialize response");
 1074         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1041  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1075   1042   
            }
 1076   1043   
        }
 1077   1044   
    }
 1078   1045   
}
 1079   1046   
 1080   1047   
::pin_project_lite::pin_project! {
 1081   1048   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1082   1049   
    /// [`QueryParamsTargetingMapOfSetOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput) using modelled bindings.
 1083   1050   
    pub struct QueryParamsTargetingMapOfSetOfLengthStringOperationInputFuture {
 1084         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1051  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1085   1052   
    }
 1086   1053   
}
 1087   1054   
 1088   1055   
impl std::future::Future for QueryParamsTargetingMapOfSetOfLengthStringOperationInputFuture {
 1089   1056   
    type Output = Result<
 1090   1057   
        crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput,
 1091         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1058  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1092   1059   
    >;
 1093   1060   
 1094   1061   
    fn poll(
 1095   1062   
        self: std::pin::Pin<&mut Self>,
 1096   1063   
        cx: &mut std::task::Context<'_>,
 1097   1064   
    ) -> std::task::Poll<Self::Output> {
 1098   1065   
        let this = self.project();
 1099   1066   
        this.inner.as_mut().poll(cx)
 1100   1067   
    }
 1101   1068   
}
 1102   1069   
 1103   1070   
impl<B>
 1104         -
    ::aws_smithy_http_server::request::FromRequest<
 1105         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1071  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1072  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1106   1073   
        B,
 1107   1074   
    > for crate::input::QueryParamsTargetingMapOfSetOfLengthStringOperationInput
 1108   1075   
where
 1109         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1076  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1110   1077   
    B: 'static,
 1111   1078   
 1112   1079   
    B::Data: Send,
 1113         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1114         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1080  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1081  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1115   1082   
{
 1116         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1083  +
    type Rejection =
        1084  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1117   1085   
    type Future = QueryParamsTargetingMapOfSetOfLengthStringOperationInputFuture;
 1118   1086   
 1119   1087   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1120   1088   
        let fut = async move {
 1121         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1089  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1122   1090   
                request.headers(),
 1123   1091   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1124   1092   
            ) {
 1125         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1093  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1126   1094   
            }
 1127   1095   
            crate::protocol_serde::shape_query_params_targeting_map_of_set_of_length_string_operation::de_query_params_targeting_map_of_set_of_length_string_operation_http_request(request)
 1128   1096   
                            .await
 1129   1097   
        };
 1130   1098   
        use ::futures_util::future::TryFutureExt;
 1131         -
        let fut = fut.map_err(
 1132         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1133         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1134         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1135         -
                    e,
 1136         -
                )
 1137         -
            },
 1138         -
        );
        1099  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1100  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1101  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1102  +
                    });
 1139   1103   
        QueryParamsTargetingMapOfSetOfLengthStringOperationInputFuture {
 1140   1104   
            inner: Box::pin(fut),
 1141   1105   
        }
 1142   1106   
    }
 1143   1107   
}
 1144   1108   
impl
 1145         -
    ::aws_smithy_http_server::response::IntoResponse<
 1146         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1109  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1110  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1147   1111   
    > for crate::output::QueryParamsTargetingMapOfSetOfLengthStringOperationOutput
 1148   1112   
{
 1149         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1113  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1150   1114   
        match crate::protocol_serde::shape_query_params_targeting_map_of_set_of_length_string_operation::ser_query_params_targeting_map_of_set_of_length_string_operation_http_response(self) {
 1151   1115   
                        Ok(response) => response,
 1152   1116   
                        Err(e) => {
 1153   1117   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1154         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1118  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1155   1119   
                        }
 1156   1120   
                    }
 1157   1121   
    }
 1158   1122   
}
 1159   1123   
impl
 1160         -
    ::aws_smithy_http_server::response::IntoResponse<
 1161         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1124  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1125  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1162   1126   
    > for crate::error::QueryParamsTargetingMapOfSetOfLengthStringOperationError
 1163   1127   
{
 1164         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1128  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1165   1129   
        match crate::protocol_serde::shape_query_params_targeting_map_of_set_of_length_string_operation::ser_query_params_targeting_map_of_set_of_length_string_operation_http_error(&self) {
 1166   1130   
            Ok(mut response) => {
 1167         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1131  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1168   1132   
                response
 1169   1133   
            },
 1170   1134   
            Err(e) => {
 1171   1135   
                ::tracing::error!(error = %e, "failed to serialize response");
 1172         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1136  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1173   1137   
            }
 1174   1138   
        }
 1175   1139   
    }
 1176   1140   
}
 1177   1141   
 1178   1142   
::pin_project_lite::pin_project! {
 1179   1143   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1180   1144   
    /// [`QueryParamsTargetingMapOfListOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput) using modelled bindings.
 1181   1145   
    pub struct QueryParamsTargetingMapOfListOfLengthStringOperationInputFuture {
 1182         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1146  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1183   1147   
    }
 1184   1148   
}
 1185   1149   
 1186   1150   
impl std::future::Future for QueryParamsTargetingMapOfListOfLengthStringOperationInputFuture {
 1187   1151   
    type Output = Result<
 1188   1152   
        crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput,
 1189         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1153  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1190   1154   
    >;
 1191   1155   
 1192   1156   
    fn poll(
 1193   1157   
        self: std::pin::Pin<&mut Self>,
 1194   1158   
        cx: &mut std::task::Context<'_>,
 1195   1159   
    ) -> std::task::Poll<Self::Output> {
 1196   1160   
        let this = self.project();
 1197   1161   
        this.inner.as_mut().poll(cx)
 1198   1162   
    }
 1199   1163   
}
 1200   1164   
 1201   1165   
impl<B>
 1202         -
    ::aws_smithy_http_server::request::FromRequest<
 1203         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1166  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1167  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1204   1168   
        B,
 1205   1169   
    > for crate::input::QueryParamsTargetingMapOfListOfLengthStringOperationInput
 1206   1170   
where
 1207         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1171  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1208   1172   
    B: 'static,
 1209   1173   
 1210   1174   
    B::Data: Send,
 1211         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1212         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1175  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1176  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1213   1177   
{
 1214         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1178  +
    type Rejection =
        1179  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1215   1180   
    type Future = QueryParamsTargetingMapOfListOfLengthStringOperationInputFuture;
 1216   1181   
 1217   1182   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1218   1183   
        let fut = async move {
 1219         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1184  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1220   1185   
                request.headers(),
 1221   1186   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1222   1187   
            ) {
 1223         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1188  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1224   1189   
            }
 1225   1190   
            crate::protocol_serde::shape_query_params_targeting_map_of_list_of_length_string_operation::de_query_params_targeting_map_of_list_of_length_string_operation_http_request(request)
 1226   1191   
                            .await
 1227   1192   
        };
 1228   1193   
        use ::futures_util::future::TryFutureExt;
 1229         -
        let fut = fut.map_err(
 1230         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1231         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1232         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1233         -
                    e,
 1234         -
                )
 1235         -
            },
 1236         -
        );
        1194  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1195  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1196  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1197  +
                    });
 1237   1198   
        QueryParamsTargetingMapOfListOfLengthStringOperationInputFuture {
 1238   1199   
            inner: Box::pin(fut),
 1239   1200   
        }
 1240   1201   
    }
 1241   1202   
}
 1242   1203   
impl
 1243         -
    ::aws_smithy_http_server::response::IntoResponse<
 1244         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1204  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1205  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1245   1206   
    > for crate::output::QueryParamsTargetingMapOfListOfLengthStringOperationOutput
 1246   1207   
{
 1247         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1208  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1248   1209   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_length_string_operation::ser_query_params_targeting_map_of_list_of_length_string_operation_http_response(self) {
 1249   1210   
                        Ok(response) => response,
 1250   1211   
                        Err(e) => {
 1251   1212   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1252         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1213  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1253   1214   
                        }
 1254   1215   
                    }
 1255   1216   
    }
 1256   1217   
}
 1257   1218   
impl
 1258         -
    ::aws_smithy_http_server::response::IntoResponse<
 1259         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1219  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1220  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1260   1221   
    > for crate::error::QueryParamsTargetingMapOfListOfLengthStringOperationError
 1261   1222   
{
 1262         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1223  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1263   1224   
        match crate::protocol_serde::shape_query_params_targeting_map_of_list_of_length_string_operation::ser_query_params_targeting_map_of_list_of_length_string_operation_http_error(&self) {
 1264   1225   
            Ok(mut response) => {
 1265         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1226  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1266   1227   
                response
 1267   1228   
            },
 1268   1229   
            Err(e) => {
 1269   1230   
                ::tracing::error!(error = %e, "failed to serialize response");
 1270         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1231  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1271   1232   
            }
 1272   1233   
        }
 1273   1234   
    }
 1274   1235   
}
 1275   1236   
 1276   1237   
::pin_project_lite::pin_project! {
 1277   1238   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1278   1239   
    /// [`QueryParamsTargetingMapOfLengthStringOperationInput`](crate::input::QueryParamsTargetingMapOfLengthStringOperationInput) using modelled bindings.
 1279   1240   
    pub struct QueryParamsTargetingMapOfLengthStringOperationInputFuture {
 1280         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfLengthStringOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1241  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingMapOfLengthStringOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1281   1242   
    }
 1282   1243   
}
 1283   1244   
 1284   1245   
impl std::future::Future for QueryParamsTargetingMapOfLengthStringOperationInputFuture {
 1285   1246   
    type Output = Result<
 1286   1247   
        crate::input::QueryParamsTargetingMapOfLengthStringOperationInput,
 1287         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1248  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1288   1249   
    >;
 1289   1250   
 1290   1251   
    fn poll(
 1291   1252   
        self: std::pin::Pin<&mut Self>,
 1292   1253   
        cx: &mut std::task::Context<'_>,
 1293   1254   
    ) -> std::task::Poll<Self::Output> {
 1294   1255   
        let this = self.project();
 1295   1256   
        this.inner.as_mut().poll(cx)
 1296   1257   
    }
 1297   1258   
}
 1298   1259   
 1299   1260   
impl<B>
 1300         -
    ::aws_smithy_http_server::request::FromRequest<
 1301         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1261  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1262  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1302   1263   
        B,
 1303   1264   
    > for crate::input::QueryParamsTargetingMapOfLengthStringOperationInput
 1304   1265   
where
 1305         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1266  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1306   1267   
    B: 'static,
 1307   1268   
 1308   1269   
    B::Data: Send,
 1309         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1310         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1270  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1271  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1311   1272   
{
 1312         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1273  +
    type Rejection =
        1274  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1313   1275   
    type Future = QueryParamsTargetingMapOfLengthStringOperationInputFuture;
 1314   1276   
 1315   1277   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1316   1278   
        let fut = async move {
 1317         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1279  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1318   1280   
                request.headers(),
 1319   1281   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1320   1282   
            ) {
 1321         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1283  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1322   1284   
            }
 1323   1285   
            crate::protocol_serde::shape_query_params_targeting_map_of_length_string_operation::de_query_params_targeting_map_of_length_string_operation_http_request(request)
 1324   1286   
                            .await
 1325   1287   
        };
 1326   1288   
        use ::futures_util::future::TryFutureExt;
 1327         -
        let fut = fut.map_err(
 1328         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1329         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1330         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1331         -
                    e,
 1332         -
                )
 1333         -
            },
 1334         -
        );
        1289  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1290  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1291  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1292  +
                    });
 1335   1293   
        QueryParamsTargetingMapOfLengthStringOperationInputFuture {
 1336   1294   
            inner: Box::pin(fut),
 1337   1295   
        }
 1338   1296   
    }
 1339   1297   
}
 1340   1298   
impl
 1341         -
    ::aws_smithy_http_server::response::IntoResponse<
 1342         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1299  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1300  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1343   1301   
    > for crate::output::QueryParamsTargetingMapOfLengthStringOperationOutput
 1344   1302   
{
 1345         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1303  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1346   1304   
        match crate::protocol_serde::shape_query_params_targeting_map_of_length_string_operation::ser_query_params_targeting_map_of_length_string_operation_http_response(self) {
 1347   1305   
                        Ok(response) => response,
 1348   1306   
                        Err(e) => {
 1349   1307   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1350         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1308  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1351   1309   
                        }
 1352   1310   
                    }
 1353   1311   
    }
 1354   1312   
}
 1355   1313   
impl
 1356         -
    ::aws_smithy_http_server::response::IntoResponse<
 1357         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1314  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1315  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1358   1316   
    > for crate::error::QueryParamsTargetingMapOfLengthStringOperationError
 1359   1317   
{
 1360         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1318  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1361   1319   
        match crate::protocol_serde::shape_query_params_targeting_map_of_length_string_operation::ser_query_params_targeting_map_of_length_string_operation_http_error(&self) {
 1362   1320   
            Ok(mut response) => {
 1363         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1321  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1364   1322   
                response
 1365   1323   
            },
 1366   1324   
            Err(e) => {
 1367   1325   
                ::tracing::error!(error = %e, "failed to serialize response");
 1368         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1326  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1369   1327   
            }
 1370   1328   
        }
 1371   1329   
    }
 1372   1330   
}
 1373   1331   
 1374   1332   
::pin_project_lite::pin_project! {
 1375   1333   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1376   1334   
    /// [`QueryParamsTargetingLengthMapOperationInput`](crate::input::QueryParamsTargetingLengthMapOperationInput) using modelled bindings.
 1377   1335   
    pub struct QueryParamsTargetingLengthMapOperationInputFuture {
 1378         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingLengthMapOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1336  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::QueryParamsTargetingLengthMapOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1379   1337   
    }
 1380   1338   
}
 1381   1339   
 1382   1340   
impl std::future::Future for QueryParamsTargetingLengthMapOperationInputFuture {
 1383   1341   
    type Output = Result<
 1384   1342   
        crate::input::QueryParamsTargetingLengthMapOperationInput,
 1385         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1343  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1386   1344   
    >;
 1387   1345   
 1388   1346   
    fn poll(
 1389   1347   
        self: std::pin::Pin<&mut Self>,
 1390   1348   
        cx: &mut std::task::Context<'_>,
 1391   1349   
    ) -> std::task::Poll<Self::Output> {
 1392   1350   
        let this = self.project();
 1393   1351   
        this.inner.as_mut().poll(cx)
 1394   1352   
    }
 1395   1353   
}
 1396   1354   
 1397   1355   
impl<B>
 1398         -
    ::aws_smithy_http_server::request::FromRequest<
 1399         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1356  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1357  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1400   1358   
        B,
 1401   1359   
    > for crate::input::QueryParamsTargetingLengthMapOperationInput
 1402   1360   
where
 1403         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1361  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1404   1362   
    B: 'static,
 1405   1363   
 1406   1364   
    B::Data: Send,
 1407         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1408         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1365  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1366  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1409   1367   
{
 1410         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1368  +
    type Rejection =
        1369  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1411   1370   
    type Future = QueryParamsTargetingLengthMapOperationInputFuture;
 1412   1371   
 1413   1372   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1414   1373   
        let fut = async move {
 1415         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1374  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1416   1375   
                request.headers(),
 1417   1376   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1418   1377   
            ) {
 1419         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1378  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1420   1379   
            }
 1421   1380   
            crate::protocol_serde::shape_query_params_targeting_length_map_operation::de_query_params_targeting_length_map_operation_http_request(request)
 1422   1381   
                            .await
 1423   1382   
        };
 1424   1383   
        use ::futures_util::future::TryFutureExt;
 1425         -
        let fut = fut.map_err(
 1426         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1427         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1428         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1429         -
                    e,
 1430         -
                )
 1431         -
            },
 1432         -
        );
        1384  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1385  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1386  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1387  +
                    });
 1433   1388   
        QueryParamsTargetingLengthMapOperationInputFuture {
 1434   1389   
            inner: Box::pin(fut),
 1435   1390   
        }
 1436   1391   
    }
 1437   1392   
}
 1438   1393   
impl
 1439         -
    ::aws_smithy_http_server::response::IntoResponse<
 1440         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1394  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1395  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1441   1396   
    > for crate::output::QueryParamsTargetingLengthMapOperationOutput
 1442   1397   
{
 1443         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1398  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1444   1399   
        match crate::protocol_serde::shape_query_params_targeting_length_map_operation::ser_query_params_targeting_length_map_operation_http_response(self) {
 1445   1400   
                        Ok(response) => response,
 1446   1401   
                        Err(e) => {
 1447   1402   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1448         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1403  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1449   1404   
                        }
 1450   1405   
                    }
 1451   1406   
    }
 1452   1407   
}
 1453   1408   
impl
 1454         -
    ::aws_smithy_http_server::response::IntoResponse<
 1455         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1409  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1410  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1456   1411   
    > for crate::error::QueryParamsTargetingLengthMapOperationError
 1457   1412   
{
 1458         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1413  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1459   1414   
        match crate::protocol_serde::shape_query_params_targeting_length_map_operation::ser_query_params_targeting_length_map_operation_http_error(&self) {
 1460   1415   
            Ok(mut response) => {
 1461         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1416  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1462   1417   
                response
 1463   1418   
            },
 1464   1419   
            Err(e) => {
 1465   1420   
                ::tracing::error!(error = %e, "failed to serialize response");
 1466         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1421  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1467   1422   
            }
 1468   1423   
        }
 1469   1424   
    }
 1470   1425   
}
 1471   1426   
 1472   1427   
::pin_project_lite::pin_project! {
 1473   1428   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1474   1429   
    /// [`ConstrainedRecursiveShapesOperationInput`](crate::input::ConstrainedRecursiveShapesOperationInput) using modelled bindings.
 1475   1430   
    pub struct ConstrainedRecursiveShapesOperationInputFuture {
 1476         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedRecursiveShapesOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1431  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedRecursiveShapesOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1477   1432   
    }
 1478   1433   
}
 1479   1434   
 1480   1435   
impl std::future::Future for ConstrainedRecursiveShapesOperationInputFuture {
 1481   1436   
    type Output = Result<
 1482   1437   
        crate::input::ConstrainedRecursiveShapesOperationInput,
 1483         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1438  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1484   1439   
    >;
 1485   1440   
 1486   1441   
    fn poll(
 1487   1442   
        self: std::pin::Pin<&mut Self>,
 1488   1443   
        cx: &mut std::task::Context<'_>,
 1489   1444   
    ) -> std::task::Poll<Self::Output> {
 1490   1445   
        let this = self.project();
 1491   1446   
        this.inner.as_mut().poll(cx)
 1492   1447   
    }
 1493   1448   
}
 1494   1449   
 1495   1450   
impl<B>
 1496         -
    ::aws_smithy_http_server::request::FromRequest<
 1497         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1451  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1452  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1498   1453   
        B,
 1499   1454   
    > for crate::input::ConstrainedRecursiveShapesOperationInput
 1500   1455   
where
 1501         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1456  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1502   1457   
    B: 'static,
 1503   1458   
 1504   1459   
    B::Data: Send,
 1505         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1506         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1460  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1461  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1507   1462   
{
 1508         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1463  +
    type Rejection =
        1464  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1509   1465   
    type Future = ConstrainedRecursiveShapesOperationInputFuture;
 1510   1466   
 1511   1467   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1512   1468   
        let fut = async move {
 1513         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1469  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1514   1470   
                request.headers(),
 1515   1471   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1516   1472   
            ) {
 1517         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1473  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1518   1474   
            }
 1519   1475   
            crate::protocol_serde::shape_constrained_recursive_shapes_operation::de_constrained_recursive_shapes_operation_http_request(request)
 1520   1476   
                            .await
 1521   1477   
        };
 1522   1478   
        use ::futures_util::future::TryFutureExt;
 1523         -
        let fut = fut.map_err(
 1524         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1525         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1526         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1527         -
                    e,
 1528         -
                )
 1529         -
            },
 1530         -
        );
        1479  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1480  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1481  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1482  +
                    });
 1531   1483   
        ConstrainedRecursiveShapesOperationInputFuture {
 1532   1484   
            inner: Box::pin(fut),
 1533   1485   
        }
 1534   1486   
    }
 1535   1487   
}
 1536   1488   
impl
 1537         -
    ::aws_smithy_http_server::response::IntoResponse<
 1538         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1489  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1490  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1539   1491   
    > for crate::output::ConstrainedRecursiveShapesOperationOutput
 1540   1492   
{
 1541         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1493  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1542   1494   
        match crate::protocol_serde::shape_constrained_recursive_shapes_operation::ser_constrained_recursive_shapes_operation_http_response(self) {
 1543   1495   
                        Ok(response) => response,
 1544   1496   
                        Err(e) => {
 1545   1497   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1546         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1498  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1547   1499   
                        }
 1548   1500   
                    }
 1549   1501   
    }
 1550   1502   
}
 1551   1503   
impl
 1552         -
    ::aws_smithy_http_server::response::IntoResponse<
 1553         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1504  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1505  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1554   1506   
    > for crate::error::ConstrainedRecursiveShapesOperationError
 1555   1507   
{
 1556         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1508  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1557   1509   
        match crate::protocol_serde::shape_constrained_recursive_shapes_operation::ser_constrained_recursive_shapes_operation_http_error(&self) {
 1558   1510   
            Ok(mut response) => {
 1559         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1511  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1560   1512   
                response
 1561   1513   
            },
 1562   1514   
            Err(e) => {
 1563   1515   
                ::tracing::error!(error = %e, "failed to serialize response");
 1564         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1516  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1565   1517   
            }
 1566   1518   
        }
 1567   1519   
    }
 1568   1520   
}
 1569   1521   
 1570   1522   
::pin_project_lite::pin_project! {
 1571   1523   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1572   1524   
    /// [`ConstrainedHttpPayloadBoundShapeOperationInput`](crate::input::ConstrainedHttpPayloadBoundShapeOperationInput) using modelled bindings.
 1573   1525   
    pub struct ConstrainedHttpPayloadBoundShapeOperationInputFuture {
 1574         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedHttpPayloadBoundShapeOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1526  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedHttpPayloadBoundShapeOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1575   1527   
    }
 1576   1528   
}
 1577   1529   
 1578   1530   
impl std::future::Future for ConstrainedHttpPayloadBoundShapeOperationInputFuture {
 1579   1531   
    type Output = Result<
 1580   1532   
        crate::input::ConstrainedHttpPayloadBoundShapeOperationInput,
 1581         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1533  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1582   1534   
    >;
 1583   1535   
 1584   1536   
    fn poll(
 1585   1537   
        self: std::pin::Pin<&mut Self>,
 1586   1538   
        cx: &mut std::task::Context<'_>,
 1587   1539   
    ) -> std::task::Poll<Self::Output> {
 1588   1540   
        let this = self.project();
 1589   1541   
        this.inner.as_mut().poll(cx)
 1590   1542   
    }
 1591   1543   
}
 1592   1544   
 1593   1545   
impl<B>
 1594         -
    ::aws_smithy_http_server::request::FromRequest<
 1595         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1546  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1547  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1596   1548   
        B,
 1597   1549   
    > for crate::input::ConstrainedHttpPayloadBoundShapeOperationInput
 1598   1550   
where
 1599         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1551  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1600   1552   
    B: 'static,
 1601   1553   
 1602   1554   
    B::Data: Send,
 1603         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1604         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1555  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1556  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1605   1557   
{
 1606         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1558  +
    type Rejection =
        1559  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1607   1560   
    type Future = ConstrainedHttpPayloadBoundShapeOperationInputFuture;
 1608   1561   
 1609   1562   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1610   1563   
        let fut = async move {
 1611         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1564  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1612   1565   
                request.headers(),
 1613   1566   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1614   1567   
            ) {
 1615         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1568  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1616   1569   
            }
 1617   1570   
            crate::protocol_serde::shape_constrained_http_payload_bound_shape_operation::de_constrained_http_payload_bound_shape_operation_http_request(request)
 1618   1571   
                            .await
 1619   1572   
        };
 1620   1573   
        use ::futures_util::future::TryFutureExt;
 1621         -
        let fut = fut.map_err(
 1622         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1623         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1624         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1625         -
                    e,
 1626         -
                )
 1627         -
            },
 1628         -
        );
        1574  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1575  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1576  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1577  +
                    });
 1629   1578   
        ConstrainedHttpPayloadBoundShapeOperationInputFuture {
 1630   1579   
            inner: Box::pin(fut),
 1631   1580   
        }
 1632   1581   
    }
 1633   1582   
}
 1634   1583   
impl
 1635         -
    ::aws_smithy_http_server::response::IntoResponse<
 1636         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1584  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1585  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1637   1586   
    > for crate::output::ConstrainedHttpPayloadBoundShapeOperationOutput
 1638   1587   
{
 1639         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1588  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1640   1589   
        match crate::protocol_serde::shape_constrained_http_payload_bound_shape_operation::ser_constrained_http_payload_bound_shape_operation_http_response(self) {
 1641   1590   
                        Ok(response) => response,
 1642   1591   
                        Err(e) => {
 1643   1592   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1644         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1593  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1645   1594   
                        }
 1646   1595   
                    }
 1647   1596   
    }
 1648   1597   
}
 1649   1598   
impl
 1650         -
    ::aws_smithy_http_server::response::IntoResponse<
 1651         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1599  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1600  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1652   1601   
    > for crate::error::ConstrainedHttpPayloadBoundShapeOperationError
 1653   1602   
{
 1654         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1603  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1655   1604   
        match crate::protocol_serde::shape_constrained_http_payload_bound_shape_operation::ser_constrained_http_payload_bound_shape_operation_http_error(&self) {
 1656   1605   
            Ok(mut response) => {
 1657         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1606  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1658   1607   
                response
 1659   1608   
            },
 1660   1609   
            Err(e) => {
 1661   1610   
                ::tracing::error!(error = %e, "failed to serialize response");
 1662         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1611  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1663   1612   
            }
 1664   1613   
        }
 1665   1614   
    }
 1666   1615   
}
 1667   1616   
 1668   1617   
::pin_project_lite::pin_project! {
 1669   1618   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1670   1619   
    /// [`ConstrainedHttpBoundShapesOperationInput`](crate::input::ConstrainedHttpBoundShapesOperationInput) using modelled bindings.
 1671   1620   
    pub struct ConstrainedHttpBoundShapesOperationInputFuture {
 1672         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedHttpBoundShapesOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1621  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedHttpBoundShapesOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1673   1622   
    }
 1674   1623   
}
 1675   1624   
 1676   1625   
impl std::future::Future for ConstrainedHttpBoundShapesOperationInputFuture {
 1677   1626   
    type Output = Result<
 1678   1627   
        crate::input::ConstrainedHttpBoundShapesOperationInput,
 1679         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1628  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1680   1629   
    >;
 1681   1630   
 1682   1631   
    fn poll(
 1683   1632   
        self: std::pin::Pin<&mut Self>,
 1684   1633   
        cx: &mut std::task::Context<'_>,
 1685   1634   
    ) -> std::task::Poll<Self::Output> {
 1686   1635   
        let this = self.project();
 1687   1636   
        this.inner.as_mut().poll(cx)
 1688   1637   
    }
 1689   1638   
}
 1690   1639   
 1691   1640   
impl<B>
 1692         -
    ::aws_smithy_http_server::request::FromRequest<
 1693         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1641  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1642  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1694   1643   
        B,
 1695   1644   
    > for crate::input::ConstrainedHttpBoundShapesOperationInput
 1696   1645   
where
 1697         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1646  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1698   1647   
    B: 'static,
 1699   1648   
 1700   1649   
    B::Data: Send,
 1701         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1702         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1650  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1651  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1703   1652   
{
 1704         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1653  +
    type Rejection =
        1654  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1705   1655   
    type Future = ConstrainedHttpBoundShapesOperationInputFuture;
 1706   1656   
 1707   1657   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1708   1658   
        let fut = async move {
 1709         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1659  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1710   1660   
                request.headers(),
 1711   1661   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1712   1662   
            ) {
 1713         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1663  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1714   1664   
            }
 1715   1665   
            crate::protocol_serde::shape_constrained_http_bound_shapes_operation::de_constrained_http_bound_shapes_operation_http_request(request)
 1716   1666   
                            .await
 1717   1667   
        };
 1718   1668   
        use ::futures_util::future::TryFutureExt;
 1719         -
        let fut = fut.map_err(
 1720         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1721         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1722         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1723         -
                    e,
 1724         -
                )
 1725         -
            },
 1726         -
        );
        1669  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1670  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1671  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1672  +
                    });
 1727   1673   
        ConstrainedHttpBoundShapesOperationInputFuture {
 1728   1674   
            inner: Box::pin(fut),
 1729   1675   
        }
 1730   1676   
    }
 1731   1677   
}
 1732   1678   
impl
 1733         -
    ::aws_smithy_http_server::response::IntoResponse<
 1734         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1679  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1680  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1735   1681   
    > for crate::output::ConstrainedHttpBoundShapesOperationOutput
 1736   1682   
{
 1737         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1683  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1738   1684   
        match crate::protocol_serde::shape_constrained_http_bound_shapes_operation::ser_constrained_http_bound_shapes_operation_http_response(self) {
 1739   1685   
                        Ok(response) => response,
 1740   1686   
                        Err(e) => {
 1741   1687   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1742         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1688  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1743   1689   
                        }
 1744   1690   
                    }
 1745   1691   
    }
 1746   1692   
}
 1747   1693   
impl
 1748         -
    ::aws_smithy_http_server::response::IntoResponse<
 1749         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1694  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1695  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1750   1696   
    > for crate::error::ConstrainedHttpBoundShapesOperationError
 1751   1697   
{
 1752         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1698  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1753   1699   
        match crate::protocol_serde::shape_constrained_http_bound_shapes_operation::ser_constrained_http_bound_shapes_operation_http_error(&self) {
 1754   1700   
            Ok(mut response) => {
 1755         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1701  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1756   1702   
                response
 1757   1703   
            },
 1758   1704   
            Err(e) => {
 1759   1705   
                ::tracing::error!(error = %e, "failed to serialize response");
 1760         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1706  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1761   1707   
            }
 1762   1708   
        }
 1763   1709   
    }
 1764   1710   
}
 1765   1711   
 1766   1712   
::pin_project_lite::pin_project! {
 1767   1713   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1768   1714   
    /// [`ConstrainedShapesOnlyInOutputOperationInput`](crate::input::ConstrainedShapesOnlyInOutputOperationInput) using modelled bindings.
 1769   1715   
    pub struct ConstrainedShapesOnlyInOutputOperationInputFuture {
 1770         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedShapesOnlyInOutputOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1716  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedShapesOnlyInOutputOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1771   1717   
    }
 1772   1718   
}
 1773   1719   
 1774   1720   
impl std::future::Future for ConstrainedShapesOnlyInOutputOperationInputFuture {
 1775   1721   
    type Output = Result<
 1776   1722   
        crate::input::ConstrainedShapesOnlyInOutputOperationInput,
 1777         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1723  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1778   1724   
    >;
 1779   1725   
 1780   1726   
    fn poll(
 1781   1727   
        self: std::pin::Pin<&mut Self>,
 1782   1728   
        cx: &mut std::task::Context<'_>,
 1783   1729   
    ) -> std::task::Poll<Self::Output> {
 1784   1730   
        let this = self.project();
 1785   1731   
        this.inner.as_mut().poll(cx)
 1786   1732   
    }
 1787   1733   
}
 1788   1734   
 1789   1735   
impl<B>
 1790         -
    ::aws_smithy_http_server::request::FromRequest<
 1791         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1736  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1737  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1792   1738   
        B,
 1793   1739   
    > for crate::input::ConstrainedShapesOnlyInOutputOperationInput
 1794   1740   
where
 1795         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1741  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1796   1742   
    B: 'static,
 1797   1743   
 1798   1744   
    B::Data: Send,
 1799         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1800         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1745  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1746  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1801   1747   
{
 1802         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1748  +
    type Rejection =
        1749  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1803   1750   
    type Future = ConstrainedShapesOnlyInOutputOperationInputFuture;
 1804   1751   
 1805   1752   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1806   1753   
        let fut = async move {
 1807         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1754  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1808   1755   
                request.headers(),
 1809   1756   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1810   1757   
            ) {
 1811         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1758  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1812   1759   
            }
 1813   1760   
            crate::protocol_serde::shape_constrained_shapes_only_in_output_operation::de_constrained_shapes_only_in_output_operation_http_request(request)
 1814   1761   
                            .await
 1815   1762   
        };
 1816   1763   
        use ::futures_util::future::TryFutureExt;
 1817         -
        let fut = fut.map_err(
 1818         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1819         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1820         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1821         -
                    e,
 1822         -
                )
 1823         -
            },
 1824         -
        );
        1764  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1765  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1766  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1767  +
                    });
 1825   1768   
        ConstrainedShapesOnlyInOutputOperationInputFuture {
 1826   1769   
            inner: Box::pin(fut),
 1827   1770   
        }
 1828   1771   
    }
 1829   1772   
}
 1830   1773   
impl
 1831         -
    ::aws_smithy_http_server::response::IntoResponse<
 1832         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1774  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1775  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1833   1776   
    > for crate::output::ConstrainedShapesOnlyInOutputOperationOutput
 1834   1777   
{
 1835         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1778  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1836   1779   
        match crate::protocol_serde::shape_constrained_shapes_only_in_output_operation::ser_constrained_shapes_only_in_output_operation_http_response(self) {
 1837   1780   
                        Ok(response) => response,
 1838   1781   
                        Err(e) => {
 1839   1782   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1840         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1783  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1841   1784   
                        }
 1842   1785   
                    }
 1843   1786   
    }
 1844   1787   
}
 1845   1788   
impl
 1846         -
    ::aws_smithy_http_server::response::IntoResponse<
 1847         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1789  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1790  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1848   1791   
    > for crate::error::ConstrainedShapesOnlyInOutputOperationError
 1849   1792   
{
 1850         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1793  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1851   1794   
        match crate::protocol_serde::shape_constrained_shapes_only_in_output_operation::ser_constrained_shapes_only_in_output_operation_http_error(&self) {
 1852   1795   
            Ok(mut response) => {
 1853         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1796  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1854   1797   
                response
 1855   1798   
            },
 1856   1799   
            Err(e) => {
 1857   1800   
                ::tracing::error!(error = %e, "failed to serialize response");
 1858         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1801  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1859   1802   
            }
 1860   1803   
        }
 1861   1804   
    }
 1862   1805   
}
 1863   1806   
 1864   1807   
::pin_project_lite::pin_project! {
 1865   1808   
    /// A [`Future`](std::future::Future) aggregating the body bytes of a [`Request`] and constructing the
 1866   1809   
    /// [`ConstrainedShapesOperationInput`](crate::input::ConstrainedShapesOperationInput) using modelled bindings.
 1867   1810   
    pub struct ConstrainedShapesOperationInputFuture {
 1868         -
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedShapesOperationInput, ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
        1811  +
        inner: std::pin::Pin<Box<dyn std::future::Future<Output = Result<crate::input::ConstrainedShapesOperationInput, ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError>> + Send>>
 1869   1812   
    }
 1870   1813   
}
 1871   1814   
 1872   1815   
impl std::future::Future for ConstrainedShapesOperationInputFuture {
 1873   1816   
    type Output = Result<
 1874   1817   
        crate::input::ConstrainedShapesOperationInput,
 1875         -
        ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
        1818  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError,
 1876   1819   
    >;
 1877   1820   
 1878   1821   
    fn poll(
 1879   1822   
        self: std::pin::Pin<&mut Self>,
 1880   1823   
        cx: &mut std::task::Context<'_>,
 1881   1824   
    ) -> std::task::Poll<Self::Output> {
 1882   1825   
        let this = self.project();
 1883   1826   
        this.inner.as_mut().poll(cx)
 1884   1827   
    }
 1885   1828   
}
 1886   1829   
 1887   1830   
impl<B>
 1888         -
    ::aws_smithy_http_server::request::FromRequest<
 1889         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1831  +
    ::aws_smithy_legacy_http_server::request::FromRequest<
        1832  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1890   1833   
        B,
 1891   1834   
    > for crate::input::ConstrainedShapesOperationInput
 1892   1835   
where
 1893         -
    B: ::aws_smithy_http_server::body::HttpBody + Send,
        1836  +
    B: ::aws_smithy_legacy_http_server::body::HttpBody + Send,
 1894   1837   
    B: 'static,
 1895   1838   
 1896   1839   
    B::Data: Send,
 1897         -
    ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
 1898         -
        From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
        1840  +
    ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection:
        1841  +
        From<<B as ::aws_smithy_legacy_http_server::body::HttpBody>::Error>,
 1899   1842   
{
 1900         -
    type Rejection = ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
        1843  +
    type Rejection =
        1844  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError;
 1901   1845   
    type Future = ConstrainedShapesOperationInputFuture;
 1902   1846   
 1903   1847   
    fn from_request(request: ::http::Request<B>) -> Self::Future {
 1904   1848   
        let fut = async move {
 1905         -
            if !::aws_smithy_http_server::protocol::accept_header_classifier(
        1849  +
            if !::aws_smithy_legacy_http_server::protocol::accept_header_classifier(
 1906   1850   
                request.headers(),
 1907   1851   
                &crate::mimes::CONTENT_TYPE_APPLICATION_JSON,
 1908   1852   
            ) {
 1909         -
                return Err(::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
        1853  +
                return Err(::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection::NotAcceptable);
 1910   1854   
            }
 1911   1855   
            crate::protocol_serde::shape_constrained_shapes_operation::de_constrained_shapes_operation_http_request(request)
 1912   1856   
                            .await
 1913   1857   
        };
 1914   1858   
        use ::futures_util::future::TryFutureExt;
 1915         -
        let fut = fut.map_err(
 1916         -
            |e: ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
 1917         -
                ::tracing::debug!(error = %e, "failed to deserialize request");
 1918         -
                ::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(
 1919         -
                    e,
 1920         -
                )
 1921         -
            },
 1922         -
        );
        1859  +
        let fut = fut.map_err(|e: ::aws_smithy_legacy_http_server::protocol::rest_json_1::rejection::RequestRejection| {
        1860  +
                        ::tracing::debug!(error = %e, "failed to deserialize request");
        1861  +
                        ::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e)
        1862  +
                    });
 1923   1863   
        ConstrainedShapesOperationInputFuture {
 1924   1864   
            inner: Box::pin(fut),
 1925   1865   
        }
 1926   1866   
    }
 1927   1867   
}
 1928   1868   
impl
 1929         -
    ::aws_smithy_http_server::response::IntoResponse<
 1930         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1869  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1870  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1931   1871   
    > for crate::output::ConstrainedShapesOperationOutput
 1932   1872   
{
 1933         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1873  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1934   1874   
        match crate::protocol_serde::shape_constrained_shapes_operation::ser_constrained_shapes_operation_http_response(self) {
 1935   1875   
                        Ok(response) => response,
 1936   1876   
                        Err(e) => {
 1937   1877   
                            ::tracing::error!(error = %e, "failed to serialize response");
 1938         -
                            ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1878  +
                            ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1939   1879   
                        }
 1940   1880   
                    }
 1941   1881   
    }
 1942   1882   
}
 1943   1883   
impl
 1944         -
    ::aws_smithy_http_server::response::IntoResponse<
 1945         -
        ::aws_smithy_http_server::protocol::rest_json_1::RestJson1,
        1884  +
    ::aws_smithy_legacy_http_server::response::IntoResponse<
        1885  +
        ::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1,
 1946   1886   
    > for crate::error::ConstrainedShapesOperationError
 1947   1887   
{
 1948         -
    fn into_response(self) -> ::aws_smithy_http_server::response::Response {
        1888  +
    fn into_response(self) -> ::aws_smithy_legacy_http_server::response::Response {
 1949   1889   
        match crate::protocol_serde::shape_constrained_shapes_operation::ser_constrained_shapes_operation_http_error(&self) {
 1950   1890   
            Ok(mut response) => {
 1951         -
                response.extensions_mut().insert(::aws_smithy_http_server::extension::ModeledErrorExtension::new(self.name()));
        1891  +
                response.extensions_mut().insert(::aws_smithy_legacy_http_server::extension::ModeledErrorExtension::new(self.name()));
 1952   1892   
                response
 1953   1893   
            },
 1954   1894   
            Err(e) => {
 1955   1895   
                ::tracing::error!(error = %e, "failed to serialize response");
 1956         -
                ::aws_smithy_http_server::response::IntoResponse::<::aws_smithy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
        1896  +
                ::aws_smithy_legacy_http_server::response::IntoResponse::<::aws_smithy_legacy_http_server::protocol::rest_json_1::RestJson1>::into_response(::aws_smithy_legacy_http_server::protocol::rest_json_1::runtime_error::RuntimeError::from(e))
 1957   1897   
            }
 1958   1898   
        }
 1959   1899   
    }
 1960   1900   
}