18046 18047 | Ok(())
|
18047 18048 | }
|
18048 18049 | }
|
18049 18050 |
|
18050 18051 | impl std::error::Error for MissingOperationsError {}
|
18051 18052 |
|
18052 18053 | mod request_specs {
|
18053 18054 | pub(super) fn all_query_string_types(
|
18054 18055 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18055 18056 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18056 - | ::http::Method::GET,
|
18057 + | ::http_1x::Method::GET,
|
18057 18058 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18058 18059 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18059 18060 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18060 18061 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("AllQueryStringTypesInput")),
|
18061 18062 | ]),
|
18062 18063 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18063 18064 | ])
|
18064 18065 | )
|
18065 18066 | ),
|
18066 18067 | )
|
18067 18068 | }
|
18068 18069 | pub(super) fn constant_and_variable_query_string(
|
18069 18070 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18070 18071 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18071 - | ::http::Method::GET,
|
18072 + | ::http_1x::Method::GET,
|
18072 18073 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18073 18074 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18074 18075 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18075 18076 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("ConstantAndVariableQueryString")),
|
18076 18077 | ]),
|
18077 18078 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18078 18079 | ::aws_smithy_http_server::routing::request_spec::QuerySegment::KeyValue(String::from("foo"), String::from("bar")),
|
18079 18080 | ])
|
18080 18081 | )
|
18081 18082 | ),
|
18082 18083 | )
|
18083 18084 | }
|
18084 18085 | pub(super) fn constant_query_string(
|
18085 18086 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18086 18087 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18087 - | ::http::Method::GET,
|
18088 + | ::http_1x::Method::GET,
|
18088 18089 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18089 18090 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18090 18091 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18091 18092 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("ConstantQueryString")),
|
18092 18093 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18093 18094 | ]),
|
18094 18095 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18095 18096 | ::aws_smithy_http_server::routing::request_spec::QuerySegment::KeyValue(String::from("foo"), String::from("bar")),
|
18096 18097 | ::aws_smithy_http_server::routing::request_spec::QuerySegment::Key(String::from("hello")),
|
18097 18098 | ])
|
18098 18099 | )
|
18099 18100 | ),
|
18100 18101 | )
|
18101 18102 | }
|
18102 18103 | pub(super) fn content_type_parameters(
|
18103 18104 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18104 18105 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18105 - | ::http::Method::POST,
|
18106 + | ::http_1x::Method::POST,
|
18106 18107 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18107 18108 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18108 18109 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18109 18110 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("ContentTypeParameters")),
|
18110 18111 | ]),
|
18111 18112 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18112 18113 | ])
|
18113 18114 | )
|
18114 18115 | ),
|
18115 18116 | )
|
18116 18117 | }
|
18117 18118 | pub(super) fn datetime_offsets() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18118 18119 | {
|
18119 18120 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18120 - | ::http::Method::POST,
|
18121 + | ::http_1x::Method::POST,
|
18121 18122 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18122 18123 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18123 18124 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18124 18125 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("DatetimeOffsets")),
|
18125 18126 | ]),
|
18126 18127 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18127 18128 | ])
|
18128 18129 | )
|
18129 18130 | ),
|
18130 18131 | )
|
18131 18132 | }
|
18132 18133 | pub(super) fn document_type() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18133 18134 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18134 - | ::http::Method::PUT,
|
18135 + | ::http_1x::Method::PUT,
|
18135 18136 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18136 18137 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18137 18138 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18138 18139 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("DocumentType")),
|
18139 18140 | ]),
|
18140 18141 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18141 18142 | ])
|
18142 18143 | )
|
18143 18144 | ),
|
18144 18145 | )
|
18145 18146 | }
|
18146 18147 | pub(super) fn document_type_as_map_value(
|
18147 18148 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18148 18149 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18149 - | ::http::Method::PUT,
|
18150 + | ::http_1x::Method::PUT,
|
18150 18151 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18151 18152 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18152 18153 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18153 18154 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("DocumentTypeAsMapValue")),
|
18154 18155 | ]),
|
18155 18156 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18156 18157 | ])
|
18157 18158 | )
|
18158 18159 | ),
|
18159 18160 | )
|
18160 18161 | }
|
18161 18162 | pub(super) fn document_type_as_payload(
|
18162 18163 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18163 18164 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18164 - | ::http::Method::PUT,
|
18165 + | ::http_1x::Method::PUT,
|
18165 18166 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18166 18167 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18167 18168 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18168 18169 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("DocumentTypeAsPayload")),
|
18169 18170 | ]),
|
18170 18171 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18171 18172 | ])
|
18172 18173 | )
|
18173 18174 | ),
|
18174 18175 | )
|
18175 18176 | }
|
18176 18177 | pub(super) fn empty_input_and_empty_output(
|
18177 18178 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18178 18179 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18179 - | ::http::Method::POST,
|
18180 + | ::http_1x::Method::POST,
|
18180 18181 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18181 18182 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18182 18183 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18183 18184 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("EmptyInputAndEmptyOutput")),
|
18184 18185 | ]),
|
18185 18186 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18186 18187 | ])
|
18187 18188 | )
|
18188 18189 | ),
|
18189 18190 | )
|
18190 18191 | }
|
18191 18192 | pub(super) fn endpoint_operation(
|
18192 18193 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18193 18194 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18194 - | ::http::Method::POST,
|
18195 + | ::http_1x::Method::POST,
|
18195 18196 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18196 18197 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18197 18198 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18198 18199 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("EndpointOperation")),
|
18199 18200 | ]),
|
18200 18201 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18201 18202 | ])
|
18202 18203 | )
|
18203 18204 | ),
|
18204 18205 | )
|
18205 18206 | }
|
18206 18207 | pub(super) fn endpoint_with_host_label_operation(
|
18207 18208 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18208 18209 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18209 - | ::http::Method::POST,
|
18210 + | ::http_1x::Method::POST,
|
18210 18211 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18211 18212 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18212 18213 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18213 18214 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("EndpointWithHostLabelOperation")),
|
18214 18215 | ]),
|
18215 18216 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18216 18217 | ])
|
18217 18218 | )
|
18218 18219 | ),
|
18219 18220 | )
|
18220 18221 | }
|
18221 18222 | pub(super) fn fractional_seconds(
|
18222 18223 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18223 18224 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18224 - | ::http::Method::POST,
|
18225 + | ::http_1x::Method::POST,
|
18225 18226 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18226 18227 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18227 18228 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18228 18229 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("FractionalSeconds")),
|
18229 18230 | ]),
|
18230 18231 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18231 18232 | ])
|
18232 18233 | )
|
18233 18234 | ),
|
18234 18235 | )
|
18235 18236 | }
|
18236 18237 | pub(super) fn greeting_with_errors(
|
18237 18238 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18238 18239 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18239 - | ::http::Method::PUT,
|
18240 + | ::http_1x::Method::PUT,
|
18240 18241 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18241 18242 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18242 18243 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18243 18244 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("GreetingWithErrors")),
|
18244 18245 | ]),
|
18245 18246 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18246 18247 | ])
|
18247 18248 | )
|
18248 18249 | ),
|
18249 18250 | )
|
18250 18251 | }
|
18251 18252 | pub(super) fn host_with_path_operation(
|
18252 18253 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18253 18254 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18254 - | ::http::Method::GET,
|
18255 + | ::http_1x::Method::GET,
|
18255 18256 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18256 18257 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18257 18258 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18258 18259 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HostWithPathOperation")),
|
18259 18260 | ]),
|
18260 18261 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18261 18262 | ])
|
18262 18263 | )
|
18263 18264 | ),
|
18264 18265 | )
|
18265 18266 | }
|
18266 18267 | pub(super) fn http_checksum_required(
|
18267 18268 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18268 18269 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18269 - | ::http::Method::POST,
|
18270 + | ::http_1x::Method::POST,
|
18270 18271 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18271 18272 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18272 18273 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18273 18274 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpChecksumRequired")),
|
18274 18275 | ]),
|
18275 18276 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18276 18277 | ])
|
18277 18278 | )
|
18278 18279 | ),
|
18279 18280 | )
|
18280 18281 | }
|
18281 18282 | pub(super) fn http_empty_prefix_headers(
|
18282 18283 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18283 18284 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18284 - | ::http::Method::GET,
|
18285 + | ::http_1x::Method::GET,
|
18285 18286 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18286 18287 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18287 18288 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18288 18289 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpEmptyPrefixHeaders")),
|
18289 18290 | ]),
|
18290 18291 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18291 18292 | ])
|
18292 18293 | )
|
18293 18294 | ),
|
18294 18295 | )
|
18295 18296 | }
|
18296 18297 | pub(super) fn http_enum_payload() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18297 18298 | {
|
18298 18299 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18299 - | ::http::Method::POST,
|
18300 + | ::http_1x::Method::POST,
|
18300 18301 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18301 18302 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18302 18303 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18303 18304 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("EnumPayload")),
|
18304 18305 | ]),
|
18305 18306 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18306 18307 | ])
|
18307 18308 | )
|
18308 18309 | ),
|
18309 18310 | )
|
18310 18311 | }
|
18311 18312 | pub(super) fn http_payload_traits(
|
18312 18313 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18313 18314 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18314 - | ::http::Method::POST,
|
18315 + | ::http_1x::Method::POST,
|
18315 18316 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18316 18317 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18317 18318 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18318 18319 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpPayloadTraits")),
|
18319 18320 | ]),
|
18320 18321 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18321 18322 | ])
|
18322 18323 | )
|
18323 18324 | ),
|
18324 18325 | )
|
18325 18326 | }
|
18326 18327 | pub(super) fn http_payload_traits_with_media_type(
|
18327 18328 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18328 18329 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18329 - | ::http::Method::POST,
|
18330 + | ::http_1x::Method::POST,
|
18330 18331 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18331 18332 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18332 18333 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18333 18334 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpPayloadTraitsWithMediaType")),
|
18334 18335 | ]),
|
18335 18336 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18336 18337 | ])
|
18337 18338 | )
|
18338 18339 | ),
|
18339 18340 | )
|
18340 18341 | }
|
18341 18342 | pub(super) fn http_payload_with_structure(
|
18342 18343 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18343 18344 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18344 - | ::http::Method::PUT,
|
18345 + | ::http_1x::Method::PUT,
|
18345 18346 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18346 18347 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18347 18348 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18348 18349 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpPayloadWithStructure")),
|
18349 18350 | ]),
|
18350 18351 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18351 18352 | ])
|
18352 18353 | )
|
18353 18354 | ),
|
18354 18355 | )
|
18355 18356 | }
|
18356 18357 | pub(super) fn http_payload_with_union(
|
18357 18358 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18358 18359 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18359 - | ::http::Method::PUT,
|
18360 + | ::http_1x::Method::PUT,
|
18360 18361 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18361 18362 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18362 18363 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18363 18364 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpPayloadWithUnion")),
|
18364 18365 | ]),
|
18365 18366 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18366 18367 | ])
|
18367 18368 | )
|
18368 18369 | ),
|
18369 18370 | )
|
18370 18371 | }
|
18371 18372 | pub(super) fn http_prefix_headers(
|
18372 18373 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18373 18374 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18374 - | ::http::Method::GET,
|
18375 + | ::http_1x::Method::GET,
|
18375 18376 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18376 18377 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18377 18378 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18378 18379 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpPrefixHeaders")),
|
18379 18380 | ]),
|
18380 18381 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18381 18382 | ])
|
18382 18383 | )
|
18383 18384 | ),
|
18384 18385 | )
|
18385 18386 | }
|
18386 18387 | pub(super) fn http_prefix_headers_in_response(
|
18387 18388 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18388 18389 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18389 - | ::http::Method::GET,
|
18390 + | ::http_1x::Method::GET,
|
18390 18391 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18391 18392 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18392 18393 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18393 18394 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpPrefixHeadersResponse")),
|
18394 18395 | ]),
|
18395 18396 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18396 18397 | ])
|
18397 18398 | )
|
18398 18399 | ),
|
18399 18400 | )
|
18400 18401 | }
|
18401 18402 | pub(super) fn http_request_with_float_labels(
|
18402 18403 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18403 18404 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18404 - | ::http::Method::GET,
|
18405 + | ::http_1x::Method::GET,
|
18405 18406 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18406 18407 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18407 18408 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18408 18409 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("FloatHttpLabels")),
|
18409 18410 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18410 18411 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18411 18412 | ]),
|
18412 18413 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18413 18414 | ])
|
18414 18415 | )
|
18415 18416 | ),
|
18416 18417 | )
|
18417 18418 | }
|
18418 18419 | pub(super) fn http_request_with_greedy_label_in_path(
|
18419 18420 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18420 18421 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18421 - | ::http::Method::GET,
|
18422 + | ::http_1x::Method::GET,
|
18422 18423 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18423 18424 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18424 18425 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18425 18426 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpRequestWithGreedyLabelInPath")),
|
18426 18427 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("foo")),
|
18427 18428 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18428 18429 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("baz")),
|
18429 18430 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Greedy,
|
18430 18431 | ]),
|
18431 18432 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18432 18433 | ])
|
18433 18434 | )
|
18434 18435 | ),
|
18435 18436 | )
|
18436 18437 | }
|
18437 18438 | pub(super) fn http_request_with_labels(
|
18438 18439 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18439 18440 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18440 - | ::http::Method::GET,
|
18441 + | ::http_1x::Method::GET,
|
18441 18442 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18442 18443 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18443 18444 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18444 18445 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpRequestWithLabels")),
|
18445 18446 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18446 18447 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18447 18448 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18448 18449 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18449 18450 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18450 18451 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18451 18452 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18452 18453 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18453 18454 | ]),
|
18454 18455 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18455 18456 | ])
|
18456 18457 | )
|
18457 18458 | ),
|
18458 18459 | )
|
18459 18460 | }
|
18460 18461 | pub(super) fn http_request_with_labels_and_timestamp_format(
|
18461 18462 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18462 18463 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18463 - | ::http::Method::GET,
|
18464 + | ::http_1x::Method::GET,
|
18464 18465 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18465 18466 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18466 18467 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18467 18468 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpRequestWithLabelsAndTimestampFormat")),
|
18468 18469 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18469 18470 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18470 18471 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18471 18472 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18472 18473 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18473 18474 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18474 18475 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18475 18476 | ]),
|
18476 18477 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18477 18478 | ])
|
18478 18479 | )
|
18479 18480 | ),
|
18480 18481 | )
|
18481 18482 | }
|
18482 18483 | pub(super) fn http_request_with_regex_literal(
|
18483 18484 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18484 18485 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18485 - | ::http::Method::GET,
|
18486 + | ::http_1x::Method::GET,
|
18486 18487 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18487 18488 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18488 18489 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18489 18490 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("ReDosLiteral")),
|
18490 18491 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18491 18492 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("(a+)+")),
|
18492 18493 | ]),
|
18493 18494 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18494 18495 | ])
|
18495 18496 | )
|
18496 18497 | ),
|
18497 18498 | )
|
18498 18499 | }
|
18499 18500 | pub(super) fn http_response_code(
|
18500 18501 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18501 18502 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18502 - | ::http::Method::PUT,
|
18503 + | ::http_1x::Method::PUT,
|
18503 18504 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18504 18505 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18505 18506 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18506 18507 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("HttpResponseCode")),
|
18507 18508 | ]),
|
18508 18509 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18509 18510 | ])
|
18510 18511 | )
|
18511 18512 | ),
|
18512 18513 | )
|
18513 18514 | }
|
18514 18515 | pub(super) fn http_string_payload(
|
18515 18516 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18516 18517 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18517 - | ::http::Method::POST,
|
18518 + | ::http_1x::Method::POST,
|
18518 18519 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18519 18520 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18520 18521 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18521 18522 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("StringPayload")),
|
18522 18523 | ]),
|
18523 18524 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18524 18525 | ])
|
18525 18526 | )
|
18526 18527 | ),
|
18527 18528 | )
|
18528 18529 | }
|
18529 18530 | pub(super) fn ignore_query_params_in_response(
|
18530 18531 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18531 18532 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18532 - | ::http::Method::GET,
|
18533 + | ::http_1x::Method::GET,
|
18533 18534 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18534 18535 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18535 18536 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18536 18537 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("IgnoreQueryParamsInResponse")),
|
18537 18538 | ]),
|
18538 18539 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18539 18540 | ])
|
18540 18541 | )
|
18541 18542 | ),
|
18542 18543 | )
|
18543 18544 | }
|
18544 18545 | pub(super) fn input_and_output_with_headers(
|
18545 18546 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18546 18547 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18547 - | ::http::Method::POST,
|
18548 + | ::http_1x::Method::POST,
|
18548 18549 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18549 18550 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18550 18551 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18551 18552 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("InputAndOutputWithHeaders")),
|
18552 18553 | ]),
|
18553 18554 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18554 18555 | ])
|
18555 18556 | )
|
18556 18557 | ),
|
18557 18558 | )
|
18558 18559 | }
|
18559 18560 | pub(super) fn json_blobs() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18560 18561 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18561 - | ::http::Method::POST,
|
18562 + | ::http_1x::Method::POST,
|
18562 18563 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18563 18564 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18564 18565 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18565 18566 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonBlobs")),
|
18566 18567 | ]),
|
18567 18568 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18568 18569 | ])
|
18569 18570 | )
|
18570 18571 | ),
|
18571 18572 | )
|
18572 18573 | }
|
18573 18574 | pub(super) fn json_enums() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18574 18575 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18575 - | ::http::Method::PUT,
|
18576 + | ::http_1x::Method::PUT,
|
18576 18577 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18577 18578 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18578 18579 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18579 18580 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonEnums")),
|
18580 18581 | ]),
|
18581 18582 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18582 18583 | ])
|
18583 18584 | )
|
18584 18585 | ),
|
18585 18586 | )
|
18586 18587 | }
|
18587 18588 | pub(super) fn json_int_enums() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18588 18589 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18589 - | ::http::Method::PUT,
|
18590 + | ::http_1x::Method::PUT,
|
18590 18591 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18591 18592 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18592 18593 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18593 18594 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonIntEnums")),
|
18594 18595 | ]),
|
18595 18596 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18596 18597 | ])
|
18597 18598 | )
|
18598 18599 | ),
|
18599 18600 | )
|
18600 18601 | }
|
18601 18602 | pub(super) fn json_lists() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18602 18603 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18603 - | ::http::Method::PUT,
|
18604 + | ::http_1x::Method::PUT,
|
18604 18605 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18605 18606 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18606 18607 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18607 18608 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonLists")),
|
18608 18609 | ]),
|
18609 18610 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18610 18611 | ])
|
18611 18612 | )
|
18612 18613 | ),
|
18613 18614 | )
|
18614 18615 | }
|
18615 18616 | pub(super) fn json_maps() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18616 18617 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18617 - | ::http::Method::POST,
|
18618 + | ::http_1x::Method::POST,
|
18618 18619 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18619 18620 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18620 18621 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18621 18622 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonMaps")),
|
18622 18623 | ]),
|
18623 18624 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18624 18625 | ])
|
18625 18626 | )
|
18626 18627 | ),
|
18627 18628 | )
|
18628 18629 | }
|
18629 18630 | pub(super) fn json_timestamps() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18630 18631 | {
|
18631 18632 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18632 - | ::http::Method::POST,
|
18633 + | ::http_1x::Method::POST,
|
18633 18634 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18634 18635 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18635 18636 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18636 18637 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonTimestamps")),
|
18637 18638 | ]),
|
18638 18639 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18639 18640 | ])
|
18640 18641 | )
|
18641 18642 | ),
|
18642 18643 | )
|
18643 18644 | }
|
18644 18645 | pub(super) fn json_unions() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18645 18646 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18646 - | ::http::Method::PUT,
|
18647 + | ::http_1x::Method::PUT,
|
18647 18648 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18648 18649 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18649 18650 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18650 18651 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("JsonUnions")),
|
18651 18652 | ]),
|
18652 18653 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18653 18654 | ])
|
18654 18655 | )
|
18655 18656 | ),
|
18656 18657 | )
|
18657 18658 | }
|
18658 18659 | pub(super) fn malformed_accept_with_body(
|
18659 18660 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18660 18661 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18661 - | ::http::Method::POST,
|
18662 + | ::http_1x::Method::POST,
|
18662 18663 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18663 18664 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18664 18665 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18665 18666 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedAcceptWithBody")),
|
18666 18667 | ]),
|
18667 18668 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18668 18669 | ])
|
18669 18670 | )
|
18670 18671 | ),
|
18671 18672 | )
|
18672 18673 | }
|
18673 18674 | pub(super) fn malformed_accept_with_generic_string(
|
18674 18675 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18675 18676 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18676 - | ::http::Method::POST,
|
18677 + | ::http_1x::Method::POST,
|
18677 18678 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18678 18679 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18679 18680 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18680 18681 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedAcceptWithGenericString")),
|
18681 18682 | ]),
|
18682 18683 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18683 18684 | ])
|
18684 18685 | )
|
18685 18686 | ),
|
18686 18687 | )
|
18687 18688 | }
|
18688 18689 | pub(super) fn malformed_accept_with_payload(
|
18689 18690 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18690 18691 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18691 - | ::http::Method::POST,
|
18692 + | ::http_1x::Method::POST,
|
18692 18693 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18693 18694 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18694 18695 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18695 18696 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedAcceptWithPayload")),
|
18696 18697 | ]),
|
18697 18698 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18698 18699 | ])
|
18699 18700 | )
|
18700 18701 | ),
|
18701 18702 | )
|
18702 18703 | }
|
18703 18704 | pub(super) fn malformed_blob() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18704 18705 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18705 - | ::http::Method::POST,
|
18706 + | ::http_1x::Method::POST,
|
18706 18707 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18707 18708 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18708 18709 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18709 18710 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedBlob")),
|
18710 18711 | ]),
|
18711 18712 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18712 18713 | ])
|
18713 18714 | )
|
18714 18715 | ),
|
18715 18716 | )
|
18716 18717 | }
|
18717 18718 | pub(super) fn malformed_boolean() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18718 18719 | {
|
18719 18720 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18720 - | ::http::Method::POST,
|
18721 + | ::http_1x::Method::POST,
|
18721 18722 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18722 18723 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18723 18724 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18724 18725 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedBoolean")),
|
18725 18726 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18726 18727 | ]),
|
18727 18728 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18728 18729 | ])
|
18729 18730 | )
|
18730 18731 | ),
|
18731 18732 | )
|
18732 18733 | }
|
18733 18734 | pub(super) fn malformed_byte() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18734 18735 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18735 - | ::http::Method::POST,
|
18736 + | ::http_1x::Method::POST,
|
18736 18737 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18737 18738 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18738 18739 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18739 18740 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedByte")),
|
18740 18741 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18741 18742 | ]),
|
18742 18743 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18743 18744 | ])
|
18744 18745 | )
|
18745 18746 | ),
|
18746 18747 | )
|
18747 18748 | }
|
18748 18749 | pub(super) fn malformed_content_type_with_body(
|
18749 18750 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18750 18751 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18751 - | ::http::Method::POST,
|
18752 + | ::http_1x::Method::POST,
|
18752 18753 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18753 18754 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18754 18755 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18755 18756 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedContentTypeWithBody")),
|
18756 18757 | ]),
|
18757 18758 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18758 18759 | ])
|
18759 18760 | )
|
18760 18761 | ),
|
18761 18762 | )
|
18762 18763 | }
|
18763 18764 | pub(super) fn malformed_content_type_with_generic_string(
|
18764 18765 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18765 18766 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18766 - | ::http::Method::POST,
|
18767 + | ::http_1x::Method::POST,
|
18767 18768 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18768 18769 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18769 18770 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18770 18771 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedContentTypeWithGenericString")),
|
18771 18772 | ]),
|
18772 18773 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18773 18774 | ])
|
18774 18775 | )
|
18775 18776 | ),
|
18776 18777 | )
|
18777 18778 | }
|
18778 18779 | pub(super) fn malformed_content_type_without_body(
|
18779 18780 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18780 18781 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18781 - | ::http::Method::POST,
|
18782 + | ::http_1x::Method::POST,
|
18782 18783 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18783 18784 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18784 18785 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18785 18786 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedContentTypeWithoutBody")),
|
18786 18787 | ]),
|
18787 18788 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18788 18789 | ])
|
18789 18790 | )
|
18790 18791 | ),
|
18791 18792 | )
|
18792 18793 | }
|
18793 18794 | pub(super) fn malformed_content_type_without_body_empty_input(
|
18794 18795 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18795 18796 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18796 - | ::http::Method::POST,
|
18797 + | ::http_1x::Method::POST,
|
18797 18798 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18798 18799 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18799 18800 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18800 18801 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedContentTypeWithoutBodyEmptyInput")),
|
18801 18802 | ]),
|
18802 18803 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18803 18804 | ])
|
18804 18805 | )
|
18805 18806 | ),
|
18806 18807 | )
|
18807 18808 | }
|
18808 18809 | pub(super) fn malformed_content_type_with_payload(
|
18809 18810 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18810 18811 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18811 - | ::http::Method::POST,
|
18812 + | ::http_1x::Method::POST,
|
18812 18813 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18813 18814 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18814 18815 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18815 18816 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedContentTypeWithPayload")),
|
18816 18817 | ]),
|
18817 18818 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18818 18819 | ])
|
18819 18820 | )
|
18820 18821 | ),
|
18821 18822 | )
|
18822 18823 | }
|
18823 18824 | pub(super) fn malformed_double() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18824 18825 | {
|
18825 18826 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18826 - | ::http::Method::POST,
|
18827 + | ::http_1x::Method::POST,
|
18827 18828 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18828 18829 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18829 18830 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18830 18831 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedDouble")),
|
18831 18832 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18832 18833 | ]),
|
18833 18834 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18834 18835 | ])
|
18835 18836 | )
|
18836 18837 | ),
|
18837 18838 | )
|
18838 18839 | }
|
18839 18840 | pub(super) fn malformed_float() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18840 18841 | {
|
18841 18842 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18842 - | ::http::Method::POST,
|
18843 + | ::http_1x::Method::POST,
|
18843 18844 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18844 18845 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18845 18846 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18846 18847 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedFloat")),
|
18847 18848 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18848 18849 | ]),
|
18849 18850 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18850 18851 | ])
|
18851 18852 | )
|
18852 18853 | ),
|
18853 18854 | )
|
18854 18855 | }
|
18855 18856 | pub(super) fn malformed_integer() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18856 18857 | {
|
18857 18858 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18858 - | ::http::Method::POST,
|
18859 + | ::http_1x::Method::POST,
|
18859 18860 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18860 18861 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18861 18862 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18862 18863 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedInteger")),
|
18863 18864 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18864 18865 | ]),
|
18865 18866 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18866 18867 | ])
|
18867 18868 | )
|
18868 18869 | ),
|
18869 18870 | )
|
18870 18871 | }
|
18871 18872 | pub(super) fn malformed_list() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18872 18873 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18873 - | ::http::Method::POST,
|
18874 + | ::http_1x::Method::POST,
|
18874 18875 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18875 18876 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18876 18877 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18877 18878 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedList")),
|
18878 18879 | ]),
|
18879 18880 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18880 18881 | ])
|
18881 18882 | )
|
18882 18883 | ),
|
18883 18884 | )
|
18884 18885 | }
|
18885 18886 | pub(super) fn malformed_long() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18886 18887 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18887 - | ::http::Method::POST,
|
18888 + | ::http_1x::Method::POST,
|
18888 18889 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18889 18890 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18890 18891 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18891 18892 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedLong")),
|
18892 18893 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18893 18894 | ]),
|
18894 18895 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18895 18896 | ])
|
18896 18897 | )
|
18897 18898 | ),
|
18898 18899 | )
|
18899 18900 | }
|
18900 18901 | pub(super) fn malformed_map() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18901 18902 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18902 - | ::http::Method::POST,
|
18903 + | ::http_1x::Method::POST,
|
18903 18904 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18904 18905 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18905 18906 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18906 18907 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedMap")),
|
18907 18908 | ]),
|
18908 18909 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18909 18910 | ])
|
18910 18911 | )
|
18911 18912 | ),
|
18912 18913 | )
|
18913 18914 | }
|
18914 18915 | pub(super) fn malformed_request_body(
|
18915 18916 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18916 18917 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18917 - | ::http::Method::POST,
|
18918 + | ::http_1x::Method::POST,
|
18918 18919 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18919 18920 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18920 18921 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18921 18922 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedRequestBody")),
|
18922 18923 | ]),
|
18923 18924 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18924 18925 | ])
|
18925 18926 | )
|
18926 18927 | ),
|
18927 18928 | )
|
18928 18929 | }
|
18929 18930 | pub(super) fn malformed_short() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18930 18931 | {
|
18931 18932 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18932 - | ::http::Method::POST,
|
18933 + | ::http_1x::Method::POST,
|
18933 18934 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18934 18935 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18935 18936 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18936 18937 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedShort")),
|
18937 18938 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
18938 18939 | ]),
|
18939 18940 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18940 18941 | ])
|
18941 18942 | )
|
18942 18943 | ),
|
18943 18944 | )
|
18944 18945 | }
|
18945 18946 | pub(super) fn malformed_string() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
18946 18947 | {
|
18947 18948 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18948 - | ::http::Method::POST,
|
18949 + | ::http_1x::Method::POST,
|
18949 18950 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18950 18951 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18951 18952 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18952 18953 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedString")),
|
18953 18954 | ]),
|
18954 18955 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18955 18956 | ])
|
18956 18957 | )
|
18957 18958 | ),
|
18958 18959 | )
|
18959 18960 | }
|
18960 18961 | pub(super) fn malformed_timestamp_body_date_time(
|
18961 18962 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18962 18963 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18963 - | ::http::Method::POST,
|
18964 + | ::http_1x::Method::POST,
|
18964 18965 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18965 18966 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18966 18967 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18967 18968 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampBodyDateTime")),
|
18968 18969 | ]),
|
18969 18970 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18970 18971 | ])
|
18971 18972 | )
|
18972 18973 | ),
|
18973 18974 | )
|
18974 18975 | }
|
18975 18976 | pub(super) fn malformed_timestamp_body_default(
|
18976 18977 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18977 18978 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18978 - | ::http::Method::POST,
|
18979 + | ::http_1x::Method::POST,
|
18979 18980 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18980 18981 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18981 18982 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18982 18983 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampBodyDefault")),
|
18983 18984 | ]),
|
18984 18985 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
18985 18986 | ])
|
18986 18987 | )
|
18987 18988 | ),
|
18988 18989 | )
|
18989 18990 | }
|
18990 18991 | pub(super) fn malformed_timestamp_body_http_date(
|
18991 18992 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
18992 18993 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
18993 - | ::http::Method::POST,
|
18994 + | ::http_1x::Method::POST,
|
18994 18995 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
18995 18996 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
18996 18997 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
18997 18998 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampBodyHttpDate")),
|
18998 18999 | ]),
|
18999 19000 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19000 19001 | ])
|
19001 19002 | )
|
19002 19003 | ),
|
19003 19004 | )
|
19004 19005 | }
|
19005 19006 | pub(super) fn malformed_timestamp_header_date_time(
|
19006 19007 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19007 19008 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19008 - | ::http::Method::POST,
|
19009 + | ::http_1x::Method::POST,
|
19009 19010 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19010 19011 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19011 19012 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19012 19013 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampHeaderDateTime")),
|
19013 19014 | ]),
|
19014 19015 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19015 19016 | ])
|
19016 19017 | )
|
19017 19018 | ),
|
19018 19019 | )
|
19019 19020 | }
|
19020 19021 | pub(super) fn malformed_timestamp_header_default(
|
19021 19022 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19022 19023 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19023 - | ::http::Method::POST,
|
19024 + | ::http_1x::Method::POST,
|
19024 19025 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19025 19026 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19026 19027 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19027 19028 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampHeaderDefault")),
|
19028 19029 | ]),
|
19029 19030 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19030 19031 | ])
|
19031 19032 | )
|
19032 19033 | ),
|
19033 19034 | )
|
19034 19035 | }
|
19035 19036 | pub(super) fn malformed_timestamp_header_epoch(
|
19036 19037 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19037 19038 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19038 - | ::http::Method::POST,
|
19039 + | ::http_1x::Method::POST,
|
19039 19040 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19040 19041 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19041 19042 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19042 19043 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampHeaderEpoch")),
|
19043 19044 | ]),
|
19044 19045 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19045 19046 | ])
|
19046 19047 | )
|
19047 19048 | ),
|
19048 19049 | )
|
19049 19050 | }
|
19050 19051 | pub(super) fn malformed_timestamp_path_default(
|
19051 19052 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19052 19053 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19053 - | ::http::Method::POST,
|
19054 + | ::http_1x::Method::POST,
|
19054 19055 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19055 19056 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19056 19057 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19057 19058 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampPathDefault")),
|
19058 19059 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
19059 19060 | ]),
|
19060 19061 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19061 19062 | ])
|
19062 19063 | )
|
19063 19064 | ),
|
19064 19065 | )
|
19065 19066 | }
|
19066 19067 | pub(super) fn malformed_timestamp_path_epoch(
|
19067 19068 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19068 19069 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19069 - | ::http::Method::POST,
|
19070 + | ::http_1x::Method::POST,
|
19070 19071 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19071 19072 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19072 19073 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19073 19074 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampPathEpoch")),
|
19074 19075 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
19075 19076 | ]),
|
19076 19077 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19077 19078 | ])
|
19078 19079 | )
|
19079 19080 | ),
|
19080 19081 | )
|
19081 19082 | }
|
19082 19083 | pub(super) fn malformed_timestamp_path_http_date(
|
19083 19084 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19084 19085 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19085 - | ::http::Method::POST,
|
19086 + | ::http_1x::Method::POST,
|
19086 19087 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19087 19088 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19088 19089 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19089 19090 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampPathHttpDate")),
|
19090 19091 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Label,
|
19091 19092 | ]),
|
19092 19093 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19093 19094 | ])
|
19094 19095 | )
|
19095 19096 | ),
|
19096 19097 | )
|
19097 19098 | }
|
19098 19099 | pub(super) fn malformed_timestamp_query_default(
|
19099 19100 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19100 19101 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19101 - | ::http::Method::POST,
|
19102 + | ::http_1x::Method::POST,
|
19102 19103 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19103 19104 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19104 19105 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19105 19106 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampQueryDefault")),
|
19106 19107 | ]),
|
19107 19108 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19108 19109 | ])
|
19109 19110 | )
|
19110 19111 | ),
|
19111 19112 | )
|
19112 19113 | }
|
19113 19114 | pub(super) fn malformed_timestamp_query_epoch(
|
19114 19115 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19115 19116 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19116 - | ::http::Method::POST,
|
19117 + | ::http_1x::Method::POST,
|
19117 19118 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19118 19119 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19119 19120 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19120 19121 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampQueryEpoch")),
|
19121 19122 | ]),
|
19122 19123 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19123 19124 | ])
|
19124 19125 | )
|
19125 19126 | ),
|
19126 19127 | )
|
19127 19128 | }
|
19128 19129 | pub(super) fn malformed_timestamp_query_http_date(
|
19129 19130 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19130 19131 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19131 - | ::http::Method::POST,
|
19132 + | ::http_1x::Method::POST,
|
19132 19133 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19133 19134 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19134 19135 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19135 19136 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedTimestampQueryHttpDate")),
|
19136 19137 | ]),
|
19137 19138 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19138 19139 | ])
|
19139 19140 | )
|
19140 19141 | ),
|
19141 19142 | )
|
19142 19143 | }
|
19143 19144 | pub(super) fn malformed_union() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19144 19145 | {
|
19145 19146 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19146 - | ::http::Method::POST,
|
19147 + | ::http_1x::Method::POST,
|
19147 19148 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19148 19149 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19149 19150 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19150 19151 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MalformedUnion")),
|
19151 19152 | ]),
|
19152 19153 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19153 19154 | ])
|
19154 19155 | )
|
19155 19156 | ),
|
19156 19157 | )
|
19157 19158 | }
|
19158 19159 | pub(super) fn media_type_header() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19159 19160 | {
|
19160 19161 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19161 - | ::http::Method::GET,
|
19162 + | ::http_1x::Method::GET,
|
19162 19163 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19163 19164 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19164 19165 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19165 19166 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("MediaTypeHeader")),
|
19166 19167 | ]),
|
19167 19168 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19168 19169 | ])
|
19169 19170 | )
|
19170 19171 | ),
|
19171 19172 | )
|
19172 19173 | }
|
19173 19174 | pub(super) fn no_input_and_no_output(
|
19174 19175 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19175 19176 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19176 - | ::http::Method::POST,
|
19177 + | ::http_1x::Method::POST,
|
19177 19178 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19178 19179 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19179 19180 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19180 19181 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("NoInputAndNoOutput")),
|
19181 19182 | ]),
|
19182 19183 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19183 19184 | ])
|
19184 19185 | )
|
19185 19186 | ),
|
19186 19187 | )
|
19187 19188 | }
|
19188 19189 | pub(super) fn no_input_and_output(
|
19189 19190 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19190 19191 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19191 - | ::http::Method::POST,
|
19192 + | ::http_1x::Method::POST,
|
19192 19193 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19193 19194 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19194 19195 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19195 19196 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("NoInputAndOutputOutput")),
|
19196 19197 | ]),
|
19197 19198 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19198 19199 | ])
|
19199 19200 | )
|
19200 19201 | ),
|
19201 19202 | )
|
19202 19203 | }
|
19203 19204 | pub(super) fn null_and_empty_headers_client(
|
19204 19205 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19205 19206 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19206 - | ::http::Method::GET,
|
19207 + | ::http_1x::Method::GET,
|
19207 19208 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19208 19209 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19209 19210 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19210 19211 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("NullAndEmptyHeadersClient")),
|
19211 19212 | ]),
|
19212 19213 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19213 19214 | ])
|
19214 19215 | )
|
19215 19216 | ),
|
19216 19217 | )
|
19217 19218 | }
|
19218 19219 | pub(super) fn null_and_empty_headers_server(
|
19219 19220 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19220 19221 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19221 - | ::http::Method::GET,
|
19222 + | ::http_1x::Method::GET,
|
19222 19223 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19223 19224 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19224 19225 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19225 19226 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("NullAndEmptyHeadersServer")),
|
19226 19227 | ]),
|
19227 19228 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19228 19229 | ])
|
19229 19230 | )
|
19230 19231 | ),
|
19231 19232 | )
|
19232 19233 | }
|
19233 19234 | pub(super) fn omits_null_serializes_empty_string(
|
19234 19235 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19235 19236 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19236 - | ::http::Method::GET,
|
19237 + | ::http_1x::Method::GET,
|
19237 19238 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19238 19239 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19239 19240 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19240 19241 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("OmitsNullSerializesEmptyString")),
|
19241 19242 | ]),
|
19242 19243 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19243 19244 | ])
|
19244 19245 | )
|
19245 19246 | ),
|
19246 19247 | )
|
19247 19248 | }
|
19248 19249 | pub(super) fn omits_serializing_empty_lists(
|
19249 19250 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19250 19251 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19251 - | ::http::Method::POST,
|
19252 + | ::http_1x::Method::POST,
|
19252 19253 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19253 19254 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19254 19255 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19255 19256 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("OmitsSerializingEmptyLists")),
|
19256 19257 | ]),
|
19257 19258 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19258 19259 | ])
|
19259 19260 | )
|
19260 19261 | ),
|
19261 19262 | )
|
19262 19263 | }
|
19263 19264 | pub(super) fn operation_with_defaults(
|
19264 19265 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19265 19266 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19266 - | ::http::Method::POST,
|
19267 + | ::http_1x::Method::POST,
|
19267 19268 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19268 19269 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19269 19270 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19270 19271 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("OperationWithDefaults")),
|
19271 19272 | ]),
|
19272 19273 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19273 19274 | ])
|
19274 19275 | )
|
19275 19276 | ),
|
19276 19277 | )
|
19277 19278 | }
|
19278 19279 | pub(super) fn operation_with_nested_structure(
|
19279 19280 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19280 19281 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19281 - | ::http::Method::POST,
|
19282 + | ::http_1x::Method::POST,
|
19282 19283 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19283 19284 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19284 19285 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19285 19286 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("OperationWithNestedStructure")),
|
19286 19287 | ]),
|
19287 19288 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19288 19289 | ])
|
19289 19290 | )
|
19290 19291 | ),
|
19291 19292 | )
|
19292 19293 | }
|
19293 19294 | pub(super) fn post_player_action(
|
19294 19295 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19295 19296 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19296 - | ::http::Method::POST,
|
19297 + | ::http_1x::Method::POST,
|
19297 19298 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19298 19299 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19299 19300 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19300 19301 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("PostPlayerAction")),
|
19301 19302 | ]),
|
19302 19303 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19303 19304 | ])
|
19304 19305 | )
|
19305 19306 | ),
|
19306 19307 | )
|
19307 19308 | }
|
19308 19309 | pub(super) fn post_union_with_json_name(
|
19309 19310 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19310 19311 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19311 - | ::http::Method::POST,
|
19312 + | ::http_1x::Method::POST,
|
19312 19313 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19313 19314 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19314 19315 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19315 19316 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("PostUnionWithJsonName")),
|
19316 19317 | ]),
|
19317 19318 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19318 19319 | ])
|
19319 19320 | )
|
19320 19321 | ),
|
19321 19322 | )
|
19322 19323 | }
|
19323 19324 | pub(super) fn put_with_content_encoding(
|
19324 19325 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19325 19326 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19326 - | ::http::Method::POST,
|
19327 + | ::http_1x::Method::POST,
|
19327 19328 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19328 19329 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19329 19330 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19330 19331 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("requestcompression")),
|
19331 19332 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("putcontentwithencoding")),
|
19332 19333 | ]),
|
19333 19334 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19334 19335 | ])
|
19335 19336 | )
|
19336 19337 | ),
|
19337 19338 | )
|
19338 19339 | }
|
19339 19340 | pub(super) fn query_idempotency_token_auto_fill(
|
19340 19341 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19341 19342 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19342 - | ::http::Method::POST,
|
19343 + | ::http_1x::Method::POST,
|
19343 19344 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19344 19345 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19345 19346 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19346 19347 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("QueryIdempotencyTokenAutoFill")),
|
19347 19348 | ]),
|
19348 19349 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19349 19350 | ])
|
19350 19351 | )
|
19351 19352 | ),
|
19352 19353 | )
|
19353 19354 | }
|
19354 19355 | pub(super) fn query_params_as_string_list_map(
|
19355 19356 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19356 19357 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19357 - | ::http::Method::POST,
|
19358 + | ::http_1x::Method::POST,
|
19358 19359 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19359 19360 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19360 19361 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19361 19362 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("StringListMap")),
|
19362 19363 | ]),
|
19363 19364 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19364 19365 | ])
|
19365 19366 | )
|
19366 19367 | ),
|
19367 19368 | )
|
19368 19369 | }
|
19369 19370 | pub(super) fn query_precedence() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19370 19371 | {
|
19371 19372 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19372 - | ::http::Method::POST,
|
19373 + | ::http_1x::Method::POST,
|
19373 19374 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19374 19375 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19375 19376 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19376 19377 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("Precedence")),
|
19377 19378 | ]),
|
19378 19379 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19379 19380 | ])
|
19380 19381 | )
|
19381 19382 | ),
|
19382 19383 | )
|
19383 19384 | }
|
19384 19385 | pub(super) fn recursive_shapes() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19385 19386 | {
|
19386 19387 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19387 - | ::http::Method::PUT,
|
19388 + | ::http_1x::Method::PUT,
|
19388 19389 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19389 19390 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19390 19391 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19391 19392 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("RecursiveShapes")),
|
19392 19393 | ]),
|
19393 19394 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19394 19395 | ])
|
19395 19396 | )
|
19396 19397 | ),
|
19397 19398 | )
|
19398 19399 | }
|
19399 19400 | pub(super) fn response_code_http_fallback(
|
19400 19401 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19401 19402 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19402 - | ::http::Method::GET,
|
19403 + | ::http_1x::Method::GET,
|
19403 19404 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19404 19405 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19405 19406 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19406 19407 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("responseCodeHttpFallback")),
|
19407 19408 | ]),
|
19408 19409 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19409 19410 | ])
|
19410 19411 | )
|
19411 19412 | ),
|
19412 19413 | )
|
19413 19414 | }
|
19414 19415 | pub(super) fn response_code_required(
|
19415 19416 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19416 19417 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19417 - | ::http::Method::GET,
|
19418 + | ::http_1x::Method::GET,
|
19418 19419 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19419 19420 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19420 19421 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19421 19422 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("responseCodeRequired")),
|
19422 19423 | ]),
|
19423 19424 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19424 19425 | ])
|
19425 19426 | )
|
19426 19427 | ),
|
19427 19428 | )
|
19428 19429 | }
|
19429 19430 | pub(super) fn simple_scalar_properties(
|
19430 19431 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19431 19432 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19432 - | ::http::Method::PUT,
|
19433 + | ::http_1x::Method::PUT,
|
19433 19434 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19434 19435 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19435 19436 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19436 19437 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("SimpleScalarProperties")),
|
19437 19438 | ]),
|
19438 19439 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19439 19440 | ])
|
19440 19441 | )
|
19441 19442 | ),
|
19442 19443 | )
|
19443 19444 | }
|
19444 19445 | pub(super) fn sparse_json_lists() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19445 19446 | {
|
19446 19447 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19447 - | ::http::Method::PUT,
|
19448 + | ::http_1x::Method::PUT,
|
19448 19449 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19449 19450 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19450 19451 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19451 19452 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("SparseJsonLists")),
|
19452 19453 | ]),
|
19453 19454 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19454 19455 | ])
|
19455 19456 | )
|
19456 19457 | ),
|
19457 19458 | )
|
19458 19459 | }
|
19459 19460 | pub(super) fn sparse_json_maps() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19460 19461 | {
|
19461 19462 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19462 - | ::http::Method::POST,
|
19463 + | ::http_1x::Method::POST,
|
19463 19464 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19464 19465 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19465 19466 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19466 19467 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("SparseJsonMaps")),
|
19467 19468 | ]),
|
19468 19469 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19469 19470 | ])
|
19470 19471 | )
|
19471 19472 | ),
|
19472 19473 | )
|
19473 19474 | }
|
19474 19475 | pub(super) fn streaming_traits() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19475 19476 | {
|
19476 19477 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19477 - | ::http::Method::POST,
|
19478 + | ::http_1x::Method::POST,
|
19478 19479 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19479 19480 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19480 19481 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19481 19482 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("StreamingTraits")),
|
19482 19483 | ]),
|
19483 19484 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19484 19485 | ])
|
19485 19486 | )
|
19486 19487 | ),
|
19487 19488 | )
|
19488 19489 | }
|
19489 19490 | pub(super) fn streaming_traits_require_length(
|
19490 19491 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19491 19492 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19492 - | ::http::Method::POST,
|
19493 + | ::http_1x::Method::POST,
|
19493 19494 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19494 19495 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19495 19496 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19496 19497 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("StreamingTraitsRequireLength")),
|
19497 19498 | ]),
|
19498 19499 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19499 19500 | ])
|
19500 19501 | )
|
19501 19502 | ),
|
19502 19503 | )
|
19503 19504 | }
|
19504 19505 | pub(super) fn streaming_traits_with_media_type(
|
19505 19506 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19506 19507 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19507 - | ::http::Method::POST,
|
19508 + | ::http_1x::Method::POST,
|
19508 19509 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19509 19510 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19510 19511 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19511 19512 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("StreamingTraitsWithMediaType")),
|
19512 19513 | ]),
|
19513 19514 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19514 19515 | ])
|
19515 19516 | )
|
19516 19517 | ),
|
19517 19518 | )
|
19518 19519 | }
|
19519 19520 | pub(super) fn test_body_structure(
|
19520 19521 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19521 19522 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19522 - | ::http::Method::POST,
|
19523 + | ::http_1x::Method::POST,
|
19523 19524 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19524 19525 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19525 19526 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19526 19527 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("body")),
|
19527 19528 | ]),
|
19528 19529 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19529 19530 | ])
|
19530 19531 | )
|
19531 19532 | ),
|
19532 19533 | )
|
19533 19534 | }
|
19534 19535 | pub(super) fn test_get_no_input_no_payload(
|
19535 19536 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19536 19537 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19537 - | ::http::Method::GET,
|
19538 + | ::http_1x::Method::GET,
|
19538 19539 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19539 19540 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19540 19541 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19541 19542 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("no_input_no_payload")),
|
19542 19543 | ]),
|
19543 19544 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19544 19545 | ])
|
19545 19546 | )
|
19546 19547 | ),
|
19547 19548 | )
|
19548 19549 | }
|
19549 19550 | pub(super) fn test_get_no_payload(
|
19550 19551 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19551 19552 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19552 - | ::http::Method::GET,
|
19553 + | ::http_1x::Method::GET,
|
19553 19554 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19554 19555 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19555 19556 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19556 19557 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("no_payload")),
|
19557 19558 | ]),
|
19558 19559 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19559 19560 | ])
|
19560 19561 | )
|
19561 19562 | ),
|
19562 19563 | )
|
19563 19564 | }
|
19564 19565 | pub(super) fn test_payload_blob() -> ::aws_smithy_http_server::routing::request_spec::RequestSpec
|
19565 19566 | {
|
19566 19567 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19567 - | ::http::Method::POST,
|
19568 + | ::http_1x::Method::POST,
|
19568 19569 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19569 19570 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19570 19571 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19571 19572 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("blob_payload")),
|
19572 19573 | ]),
|
19573 19574 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19574 19575 | ])
|
19575 19576 | )
|
19576 19577 | ),
|
19577 19578 | )
|
19578 19579 | }
|
19579 19580 | pub(super) fn test_payload_structure(
|
19580 19581 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19581 19582 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19582 - | ::http::Method::POST,
|
19583 + | ::http_1x::Method::POST,
|
19583 19584 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19584 19585 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19585 19586 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19586 19587 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("payload")),
|
19587 19588 | ]),
|
19588 19589 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19589 19590 | ])
|
19590 19591 | )
|
19591 19592 | ),
|
19592 19593 | )
|
19593 19594 | }
|
19594 19595 | pub(super) fn test_post_no_input_no_payload(
|
19595 19596 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19596 19597 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19597 - | ::http::Method::POST,
|
19598 + | ::http_1x::Method::POST,
|
19598 19599 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19599 19600 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19600 19601 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19601 19602 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("no_input_no_payload")),
|
19602 19603 | ]),
|
19603 19604 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19604 19605 | ])
|
19605 19606 | )
|
19606 19607 | ),
|
19607 19608 | )
|
19608 19609 | }
|
19609 19610 | pub(super) fn test_post_no_payload(
|
19610 19611 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19611 19612 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19612 - | ::http::Method::POST,
|
19613 + | ::http_1x::Method::POST,
|
19613 19614 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19614 19615 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19615 19616 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19616 19617 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("no_payload")),
|
19617 19618 | ]),
|
19618 19619 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19619 19620 | ])
|
19620 19621 | )
|
19621 19622 | ),
|
19622 19623 | )
|
19623 19624 | }
|
19624 19625 | pub(super) fn timestamp_format_headers(
|
19625 19626 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19626 19627 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19627 - | ::http::Method::POST,
|
19628 + | ::http_1x::Method::POST,
|
19628 19629 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19629 19630 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19630 19631 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19631 19632 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("TimestampFormatHeaders")),
|
19632 19633 | ]),
|
19633 19634 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19634 19635 | ])
|
19635 19636 | )
|
19636 19637 | ),
|
19637 19638 | )
|
19638 19639 | }
|
19639 19640 | pub(super) fn unit_input_and_output(
|
19640 19641 | ) -> ::aws_smithy_http_server::routing::request_spec::RequestSpec {
|
19641 19642 | ::aws_smithy_http_server::routing::request_spec::RequestSpec::new(
|
19642 - | ::http::Method::POST,
|
19643 + | ::http_1x::Method::POST,
|
19643 19644 | ::aws_smithy_http_server::routing::request_spec::UriSpec::new(
|
19644 19645 | ::aws_smithy_http_server::routing::request_spec::PathAndQuerySpec::new(
|
19645 19646 | ::aws_smithy_http_server::routing::request_spec::PathSpec::from_vector_unchecked(vec![
|
19646 19647 | ::aws_smithy_http_server::routing::request_spec::PathSegment::Literal(String::from("UnitInputAndOutput")),
|
19647 19648 | ]),
|
19648 19649 | ::aws_smithy_http_server::routing::request_spec::QuerySpec::from_vector_unchecked(vec![
|
19649 19650 | ])
|
19650 19651 | )
|
19651 19652 | ),
|
19652 19653 | )
|