1 + | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* ServerOperationGenerator.kt:48 */
|
3 + | #[allow(missing_docs)] // documentation missing in model
|
4 + | /* ServerOperationGenerator.kt:55 */
|
5 + | pub struct OperationWithNestedStructure;
|
6 + |
|
7 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OperationWithNestedStructure {
|
8 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
9 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
10 + | "aws.protocoltests.restjson#OperationWithNestedStructure",
|
11 + | "aws.protocoltests.restjson",
|
12 + | "OperationWithNestedStructure",
|
13 + | );
|
14 + |
|
15 + | type Input = crate::input::OperationWithNestedStructureInput;
|
16 + | type Output = crate::output::OperationWithNestedStructureOutput;
|
17 + | type Error = crate::error::OperationWithNestedStructureError;
|
18 + | }
|
19 + |
|
20 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
21 + | for OperationWithNestedStructure
|
22 + | {
|
23 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
24 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
25 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
26 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
27 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
28 + | >,
|
29 + | >;
|
30 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
31 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
32 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
33 + | >;
|
34 + |
|
35 + | fn request_fmt() -> Self::RequestFmt {
|
36 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
37 + | }
|
38 + |
|
39 + | fn response_fmt() -> Self::ResponseFmt {
|
40 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
41 + | }
|
42 + | }
|
43 + | /* ServerOperationGenerator.kt:88 */
|
44 + |
|
45 + | /* ServerOperationGenerator.kt:48 */
|
46 + | #[allow(missing_docs)] // documentation missing in model
|
47 + | /* ServerOperationGenerator.kt:55 */
|
48 + | pub struct OperationWithDefaults;
|
49 + |
|
50 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OperationWithDefaults {
|
51 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
52 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
53 + | "aws.protocoltests.restjson#OperationWithDefaults",
|
54 + | "aws.protocoltests.restjson",
|
55 + | "OperationWithDefaults",
|
56 + | );
|
57 + |
|
58 + | type Input = crate::input::OperationWithDefaultsInput;
|
59 + | type Output = crate::output::OperationWithDefaultsOutput;
|
60 + | type Error = crate::error::OperationWithDefaultsError;
|
61 + | }
|
62 + |
|
63 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
64 + | for OperationWithDefaults
|
65 + | {
|
66 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
67 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
68 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
69 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
70 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
71 + | >,
|
72 + | >;
|
73 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
74 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
75 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
76 + | >;
|
77 + |
|
78 + | fn request_fmt() -> Self::RequestFmt {
|
79 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
80 + | }
|
81 + |
|
82 + | fn response_fmt() -> Self::ResponseFmt {
|
83 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
84 + | }
|
85 + | }
|
86 + | /* ServerOperationGenerator.kt:88 */
|
87 + |
|
88 + | /// /* ServerOperationGenerator.kt:48 */The example tests how servers must support requests containing a `Content-Type` header with parameters.
|
89 + | /* ServerOperationGenerator.kt:55 */
|
90 + | pub struct ContentTypeParameters;
|
91 + |
|
92 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for ContentTypeParameters {
|
93 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
94 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
95 + | "aws.protocoltests.restjson#ContentTypeParameters",
|
96 + | "aws.protocoltests.restjson",
|
97 + | "ContentTypeParameters",
|
98 + | );
|
99 + |
|
100 + | type Input = crate::input::ContentTypeParametersInput;
|
101 + | type Output = crate::output::ContentTypeParametersOutput;
|
102 + | type Error = std::convert::Infallible;
|
103 + | }
|
104 + |
|
105 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
106 + | for ContentTypeParameters
|
107 + | {
|
108 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
109 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
110 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
111 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
112 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
113 + | >,
|
114 + | >;
|
115 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
116 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
117 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
118 + | >;
|
119 + |
|
120 + | fn request_fmt() -> Self::RequestFmt {
|
121 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
122 + | }
|
123 + |
|
124 + | fn response_fmt() -> Self::ResponseFmt {
|
125 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
126 + | }
|
127 + | }
|
128 + | /* ServerOperationGenerator.kt:88 */
|
129 + |
|
130 + | /* ServerOperationGenerator.kt:48 */
|
131 + | #[allow(missing_docs)] // documentation missing in model
|
132 + | /* ServerOperationGenerator.kt:55 */
|
133 + | pub struct PutWithContentEncoding;
|
134 + |
|
135 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for PutWithContentEncoding {
|
136 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
137 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
138 + | "aws.protocoltests.restjson#PutWithContentEncoding",
|
139 + | "aws.protocoltests.restjson",
|
140 + | "PutWithContentEncoding",
|
141 + | );
|
142 + |
|
143 + | type Input = crate::input::PutWithContentEncodingInput;
|
144 + | type Output = crate::output::PutWithContentEncodingOutput;
|
145 + | type Error = std::convert::Infallible;
|
146 + | }
|
147 + |
|
148 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
149 + | for PutWithContentEncoding
|
150 + | {
|
151 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
152 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
153 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
154 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
155 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
156 + | >,
|
157 + | >;
|
158 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
159 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
160 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
161 + | >;
|
162 + |
|
163 + | fn request_fmt() -> Self::RequestFmt {
|
164 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
165 + | }
|
166 + |
|
167 + | fn response_fmt() -> Self::ResponseFmt {
|
168 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
169 + | }
|
170 + | }
|
171 + | /* ServerOperationGenerator.kt:88 */
|
172 + |
|
173 + | /* ServerOperationGenerator.kt:48 */
|
174 + | #[allow(missing_docs)] // documentation missing in model
|
175 + | /* ServerOperationGenerator.kt:55 */
|
176 + | pub struct FractionalSeconds;
|
177 + |
|
178 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for FractionalSeconds {
|
179 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
180 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
181 + | "aws.protocoltests.restjson#FractionalSeconds",
|
182 + | "aws.protocoltests.restjson",
|
183 + | "FractionalSeconds",
|
184 + | );
|
185 + |
|
186 + | type Input = crate::input::FractionalSecondsInput;
|
187 + | type Output = crate::output::FractionalSecondsOutput;
|
188 + | type Error = std::convert::Infallible;
|
189 + | }
|
190 + |
|
191 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
192 + | for FractionalSeconds
|
193 + | {
|
194 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
195 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
196 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
197 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
198 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
199 + | >,
|
200 + | >;
|
201 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
202 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
203 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
204 + | >;
|
205 + |
|
206 + | fn request_fmt() -> Self::RequestFmt {
|
207 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
208 + | }
|
209 + |
|
210 + | fn response_fmt() -> Self::ResponseFmt {
|
211 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
212 + | }
|
213 + | }
|
214 + | /* ServerOperationGenerator.kt:88 */
|
215 + |
|
216 + | /* ServerOperationGenerator.kt:48 */
|
217 + | #[allow(missing_docs)] // documentation missing in model
|
218 + | /* ServerOperationGenerator.kt:55 */
|
219 + | pub struct DatetimeOffsets;
|
220 + |
|
221 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for DatetimeOffsets {
|
222 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
223 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
224 + | "aws.protocoltests.restjson#DatetimeOffsets",
|
225 + | "aws.protocoltests.restjson",
|
226 + | "DatetimeOffsets",
|
227 + | );
|
228 + |
|
229 + | type Input = crate::input::DatetimeOffsetsInput;
|
230 + | type Output = crate::output::DatetimeOffsetsOutput;
|
231 + | type Error = std::convert::Infallible;
|
232 + | }
|
233 + |
|
234 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
235 + | for DatetimeOffsets
|
236 + | {
|
237 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
238 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
239 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
240 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
241 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
242 + | >,
|
243 + | >;
|
244 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
245 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
246 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
247 + | >;
|
248 + |
|
249 + | fn request_fmt() -> Self::RequestFmt {
|
250 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
251 + | }
|
252 + |
|
253 + | fn response_fmt() -> Self::ResponseFmt {
|
254 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
255 + | }
|
256 + | }
|
257 + | /* ServerOperationGenerator.kt:88 */
|
258 + |
|
259 + | /// /* ServerOperationGenerator.kt:48 */This example POST operation has no input and serializes a request without a HTTP body. These tests are to ensure we do not attach a body or related headers (Content-Type) to a POST operation with no modeled input.
|
260 + | /* ServerOperationGenerator.kt:55 */
|
261 + | pub struct TestPostNoInputNoPayload;
|
262 + |
|
263 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestPostNoInputNoPayload {
|
264 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
265 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
266 + | "aws.protocoltests.restjson#TestPostNoInputNoPayload",
|
267 + | "aws.protocoltests.restjson",
|
268 + | "TestPostNoInputNoPayload",
|
269 + | );
|
270 + |
|
271 + | type Input = crate::input::TestPostNoInputNoPayloadInput;
|
272 + | type Output = crate::output::TestPostNoInputNoPayloadOutput;
|
273 + | type Error = std::convert::Infallible;
|
274 + | }
|
275 + |
|
276 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
277 + | for TestPostNoInputNoPayload
|
278 + | {
|
279 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
280 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
281 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
282 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
283 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
284 + | >,
|
285 + | >;
|
286 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
287 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
288 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
289 + | >;
|
290 + |
|
291 + | fn request_fmt() -> Self::RequestFmt {
|
292 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
293 + | }
|
294 + |
|
295 + | fn response_fmt() -> Self::ResponseFmt {
|
296 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
297 + | }
|
298 + | }
|
299 + | /* ServerOperationGenerator.kt:88 */
|
300 + |
|
301 + | /// /* ServerOperationGenerator.kt:48 */This example GET operation has no input and serializes a request without a HTTP body. These tests are to ensure we do not attach a body or related headers (Content-Length, Content-Type) to operations that semantically cannot produce an HTTP body.
|
302 + | /* ServerOperationGenerator.kt:55 */
|
303 + | pub struct TestGetNoInputNoPayload;
|
304 + |
|
305 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestGetNoInputNoPayload {
|
306 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
307 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
308 + | "aws.protocoltests.restjson#TestGetNoInputNoPayload",
|
309 + | "aws.protocoltests.restjson",
|
310 + | "TestGetNoInputNoPayload",
|
311 + | );
|
312 + |
|
313 + | type Input = crate::input::TestGetNoInputNoPayloadInput;
|
314 + | type Output = crate::output::TestGetNoInputNoPayloadOutput;
|
315 + | type Error = std::convert::Infallible;
|
316 + | }
|
317 + |
|
318 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
319 + | for TestGetNoInputNoPayload
|
320 + | {
|
321 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
322 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
323 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
324 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
325 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
326 + | >,
|
327 + | >;
|
328 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
329 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
330 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
331 + | >;
|
332 + |
|
333 + | fn request_fmt() -> Self::RequestFmt {
|
334 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
335 + | }
|
336 + |
|
337 + | fn response_fmt() -> Self::ResponseFmt {
|
338 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
339 + | }
|
340 + | }
|
341 + | /* ServerOperationGenerator.kt:88 */
|
342 + |
|
343 + | /// /* ServerOperationGenerator.kt:48 */This example POST operation serializes a request without a modeled HTTP body. These tests are to ensure we do not attach a body or related headers (Content-Type) to a POST operation with no modeled payload.
|
344 + | /* ServerOperationGenerator.kt:55 */
|
345 + | pub struct TestPostNoPayload;
|
346 + |
|
347 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestPostNoPayload {
|
348 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
349 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
350 + | "aws.protocoltests.restjson#TestPostNoPayload",
|
351 + | "aws.protocoltests.restjson",
|
352 + | "TestPostNoPayload",
|
353 + | );
|
354 + |
|
355 + | type Input = crate::input::TestPostNoPayloadInput;
|
356 + | type Output = crate::output::TestPostNoPayloadOutput;
|
357 + | type Error = std::convert::Infallible;
|
358 + | }
|
359 + |
|
360 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
361 + | for TestPostNoPayload
|
362 + | {
|
363 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
364 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
365 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
366 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
367 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
368 + | >,
|
369 + | >;
|
370 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
371 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
372 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
373 + | >;
|
374 + |
|
375 + | fn request_fmt() -> Self::RequestFmt {
|
376 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
377 + | }
|
378 + |
|
379 + | fn response_fmt() -> Self::ResponseFmt {
|
380 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
381 + | }
|
382 + | }
|
383 + | /* ServerOperationGenerator.kt:88 */
|
384 + |
|
385 + | /// /* ServerOperationGenerator.kt:48 */This example GET operation serializes a request without a modeled HTTP body. These tests are to ensure we do not attach a body or related headers (Content-Length, Content-Type) to operations that semantically cannot produce an HTTP body.
|
386 + | /* ServerOperationGenerator.kt:55 */
|
387 + | pub struct TestGetNoPayload;
|
388 + |
|
389 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestGetNoPayload {
|
390 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
391 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
392 + | "aws.protocoltests.restjson#TestGetNoPayload",
|
393 + | "aws.protocoltests.restjson",
|
394 + | "TestGetNoPayload",
|
395 + | );
|
396 + |
|
397 + | type Input = crate::input::TestGetNoPayloadInput;
|
398 + | type Output = crate::output::TestGetNoPayloadOutput;
|
399 + | type Error = std::convert::Infallible;
|
400 + | }
|
401 + |
|
402 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
403 + | for TestGetNoPayload
|
404 + | {
|
405 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
406 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
407 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
408 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
409 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
410 + | >,
|
411 + | >;
|
412 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
413 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
414 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
415 + | >;
|
416 + |
|
417 + | fn request_fmt() -> Self::RequestFmt {
|
418 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
419 + | }
|
420 + |
|
421 + | fn response_fmt() -> Self::ResponseFmt {
|
422 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
423 + | }
|
424 + | }
|
425 + | /* ServerOperationGenerator.kt:88 */
|
426 + |
|
427 + | /// /* ServerOperationGenerator.kt:48 */This example operation serializes a payload targeting a blob. The Blob shape is not structured content and we cannot make assumptions about what data will be sent. This test ensures only a generic "Content-Type: application/octet-stream" header is used, and that we are not treating an empty body as an empty JSON document.
|
428 + | /* ServerOperationGenerator.kt:55 */
|
429 + | pub struct TestPayloadBlob;
|
430 + |
|
431 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestPayloadBlob {
|
432 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
433 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
434 + | "aws.protocoltests.restjson#TestPayloadBlob",
|
435 + | "aws.protocoltests.restjson",
|
436 + | "TestPayloadBlob",
|
437 + | );
|
438 + |
|
439 + | type Input = crate::input::TestPayloadBlobInput;
|
440 + | type Output = crate::output::TestPayloadBlobOutput;
|
441 + | type Error = std::convert::Infallible;
|
442 + | }
|
443 + |
|
444 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
445 + | for TestPayloadBlob
|
446 + | {
|
447 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
448 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
449 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
450 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
451 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
452 + | >,
|
453 + | >;
|
454 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
455 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
456 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
457 + | >;
|
458 + |
|
459 + | fn request_fmt() -> Self::RequestFmt {
|
460 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
461 + | }
|
462 + |
|
463 + | fn response_fmt() -> Self::ResponseFmt {
|
464 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
465 + | }
|
466 + | }
|
467 + | /* ServerOperationGenerator.kt:88 */
|
468 + |
|
469 + | /// /* ServerOperationGenerator.kt:48 */This example operation serializes a payload targeting a structure. This enforces the same requirements as TestBodyStructure but with the body specified by the @httpPayload trait.
|
470 + | /* ServerOperationGenerator.kt:55 */
|
471 + | pub struct TestPayloadStructure;
|
472 + |
|
473 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestPayloadStructure {
|
474 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
475 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
476 + | "aws.protocoltests.restjson#TestPayloadStructure",
|
477 + | "aws.protocoltests.restjson",
|
478 + | "TestPayloadStructure",
|
479 + | );
|
480 + |
|
481 + | type Input = crate::input::TestPayloadStructureInput;
|
482 + | type Output = crate::output::TestPayloadStructureOutput;
|
483 + | type Error = std::convert::Infallible;
|
484 + | }
|
485 + |
|
486 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
487 + | for TestPayloadStructure
|
488 + | {
|
489 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
490 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
491 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
492 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
493 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
494 + | >,
|
495 + | >;
|
496 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
497 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
498 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
499 + | >;
|
500 + |
|
501 + | fn request_fmt() -> Self::RequestFmt {
|
502 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
503 + | }
|
504 + |
|
505 + | fn response_fmt() -> Self::ResponseFmt {
|
506 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
507 + | }
|
508 + | }
|
509 + | /* ServerOperationGenerator.kt:88 */
|
510 + |
|
511 + | /// /* ServerOperationGenerator.kt:48 */This example operation serializes a structure in the HTTP body. It should ensure Content-Type: application/json is used in all requests and that an "empty" body is an empty JSON document ({}).
|
512 + | /* ServerOperationGenerator.kt:55 */
|
513 + | pub struct TestBodyStructure;
|
514 + |
|
515 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TestBodyStructure {
|
516 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
517 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
518 + | "aws.protocoltests.restjson#TestBodyStructure",
|
519 + | "aws.protocoltests.restjson",
|
520 + | "TestBodyStructure",
|
521 + | );
|
522 + |
|
523 + | type Input = crate::input::TestBodyStructureInput;
|
524 + | type Output = crate::output::TestBodyStructureOutput;
|
525 + | type Error = std::convert::Infallible;
|
526 + | }
|
527 + |
|
528 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
529 + | for TestBodyStructure
|
530 + | {
|
531 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
532 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
533 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
534 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
535 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
536 + | >,
|
537 + | >;
|
538 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
539 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
540 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
541 + | >;
|
542 + |
|
543 + | fn request_fmt() -> Self::RequestFmt {
|
544 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
545 + | }
|
546 + |
|
547 + | fn response_fmt() -> Self::ResponseFmt {
|
548 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
549 + | }
|
550 + | }
|
551 + | /* ServerOperationGenerator.kt:88 */
|
552 + |
|
553 + | /* ServerOperationGenerator.kt:48 */
|
554 + | #[allow(missing_docs)] // documentation missing in model
|
555 + | /* ServerOperationGenerator.kt:55 */
|
556 + | pub struct MalformedAcceptWithGenericString;
|
557 + |
|
558 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
559 + | for MalformedAcceptWithGenericString
|
560 + | {
|
561 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
562 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
563 + | "aws.protocoltests.restjson#MalformedAcceptWithGenericString",
|
564 + | "aws.protocoltests.restjson",
|
565 + | "MalformedAcceptWithGenericString",
|
566 + | );
|
567 + |
|
568 + | type Input = crate::input::MalformedAcceptWithGenericStringInput;
|
569 + | type Output = crate::output::MalformedAcceptWithGenericStringOutput;
|
570 + | type Error = std::convert::Infallible;
|
571 + | }
|
572 + |
|
573 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
574 + | for MalformedAcceptWithGenericString
|
575 + | {
|
576 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
577 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
578 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
579 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
580 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
581 + | >,
|
582 + | >;
|
583 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
584 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
585 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
586 + | >;
|
587 + |
|
588 + | fn request_fmt() -> Self::RequestFmt {
|
589 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
590 + | }
|
591 + |
|
592 + | fn response_fmt() -> Self::ResponseFmt {
|
593 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
594 + | }
|
595 + | }
|
596 + | /* ServerOperationGenerator.kt:88 */
|
597 + |
|
598 + | /* ServerOperationGenerator.kt:48 */
|
599 + | #[allow(missing_docs)] // documentation missing in model
|
600 + | /* ServerOperationGenerator.kt:55 */
|
601 + | pub struct MalformedAcceptWithPayload;
|
602 + |
|
603 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedAcceptWithPayload {
|
604 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
605 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
606 + | "aws.protocoltests.restjson#MalformedAcceptWithPayload",
|
607 + | "aws.protocoltests.restjson",
|
608 + | "MalformedAcceptWithPayload",
|
609 + | );
|
610 + |
|
611 + | type Input = crate::input::MalformedAcceptWithPayloadInput;
|
612 + | type Output = crate::output::MalformedAcceptWithPayloadOutput;
|
613 + | type Error = std::convert::Infallible;
|
614 + | }
|
615 + |
|
616 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
617 + | for MalformedAcceptWithPayload
|
618 + | {
|
619 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
620 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
621 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
622 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
623 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
624 + | >,
|
625 + | >;
|
626 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
627 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
628 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
629 + | >;
|
630 + |
|
631 + | fn request_fmt() -> Self::RequestFmt {
|
632 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
633 + | }
|
634 + |
|
635 + | fn response_fmt() -> Self::ResponseFmt {
|
636 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
637 + | }
|
638 + | }
|
639 + | /* ServerOperationGenerator.kt:88 */
|
640 + |
|
641 + | /* ServerOperationGenerator.kt:48 */
|
642 + | #[allow(missing_docs)] // documentation missing in model
|
643 + | /* ServerOperationGenerator.kt:55 */
|
644 + | pub struct MalformedAcceptWithBody;
|
645 + |
|
646 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedAcceptWithBody {
|
647 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
648 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
649 + | "aws.protocoltests.restjson#MalformedAcceptWithBody",
|
650 + | "aws.protocoltests.restjson",
|
651 + | "MalformedAcceptWithBody",
|
652 + | );
|
653 + |
|
654 + | type Input = crate::input::MalformedAcceptWithBodyInput;
|
655 + | type Output = crate::output::MalformedAcceptWithBodyOutput;
|
656 + | type Error = std::convert::Infallible;
|
657 + | }
|
658 + |
|
659 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
660 + | for MalformedAcceptWithBody
|
661 + | {
|
662 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
663 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
664 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
665 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
666 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
667 + | >,
|
668 + | >;
|
669 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
670 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
671 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
672 + | >;
|
673 + |
|
674 + | fn request_fmt() -> Self::RequestFmt {
|
675 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
676 + | }
|
677 + |
|
678 + | fn response_fmt() -> Self::ResponseFmt {
|
679 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
680 + | }
|
681 + | }
|
682 + | /* ServerOperationGenerator.kt:88 */
|
683 + |
|
684 + | /* ServerOperationGenerator.kt:48 */
|
685 + | #[allow(missing_docs)] // documentation missing in model
|
686 + | /* ServerOperationGenerator.kt:55 */
|
687 + | pub struct MalformedContentTypeWithGenericString;
|
688 + |
|
689 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
690 + | for MalformedContentTypeWithGenericString
|
691 + | {
|
692 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
693 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
694 + | "aws.protocoltests.restjson#MalformedContentTypeWithGenericString",
|
695 + | "aws.protocoltests.restjson",
|
696 + | "MalformedContentTypeWithGenericString",
|
697 + | );
|
698 + |
|
699 + | type Input = crate::input::MalformedContentTypeWithGenericStringInput;
|
700 + | type Output = crate::output::MalformedContentTypeWithGenericStringOutput;
|
701 + | type Error = std::convert::Infallible;
|
702 + | }
|
703 + |
|
704 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
705 + | for MalformedContentTypeWithGenericString
|
706 + | {
|
707 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
708 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
709 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
710 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
711 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
712 + | >,
|
713 + | >;
|
714 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
715 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
716 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
717 + | >;
|
718 + |
|
719 + | fn request_fmt() -> Self::RequestFmt {
|
720 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
721 + | }
|
722 + |
|
723 + | fn response_fmt() -> Self::ResponseFmt {
|
724 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
725 + | }
|
726 + | }
|
727 + | /* ServerOperationGenerator.kt:88 */
|
728 + |
|
729 + | /* ServerOperationGenerator.kt:48 */
|
730 + | #[allow(missing_docs)] // documentation missing in model
|
731 + | /* ServerOperationGenerator.kt:55 */
|
732 + | pub struct MalformedContentTypeWithPayload;
|
733 + |
|
734 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
735 + | for MalformedContentTypeWithPayload
|
736 + | {
|
737 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
738 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
739 + | "aws.protocoltests.restjson#MalformedContentTypeWithPayload",
|
740 + | "aws.protocoltests.restjson",
|
741 + | "MalformedContentTypeWithPayload",
|
742 + | );
|
743 + |
|
744 + | type Input = crate::input::MalformedContentTypeWithPayloadInput;
|
745 + | type Output = crate::output::MalformedContentTypeWithPayloadOutput;
|
746 + | type Error = std::convert::Infallible;
|
747 + | }
|
748 + |
|
749 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
750 + | for MalformedContentTypeWithPayload
|
751 + | {
|
752 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
753 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
754 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
755 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
756 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
757 + | >,
|
758 + | >;
|
759 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
760 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
761 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
762 + | >;
|
763 + |
|
764 + | fn request_fmt() -> Self::RequestFmt {
|
765 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
766 + | }
|
767 + |
|
768 + | fn response_fmt() -> Self::ResponseFmt {
|
769 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
770 + | }
|
771 + | }
|
772 + | /* ServerOperationGenerator.kt:88 */
|
773 + |
|
774 + | /* ServerOperationGenerator.kt:48 */
|
775 + | #[allow(missing_docs)] // documentation missing in model
|
776 + | /* ServerOperationGenerator.kt:55 */
|
777 + | pub struct MalformedContentTypeWithBody;
|
778 + |
|
779 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedContentTypeWithBody {
|
780 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
781 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
782 + | "aws.protocoltests.restjson#MalformedContentTypeWithBody",
|
783 + | "aws.protocoltests.restjson",
|
784 + | "MalformedContentTypeWithBody",
|
785 + | );
|
786 + |
|
787 + | type Input = crate::input::MalformedContentTypeWithBodyInput;
|
788 + | type Output = crate::output::MalformedContentTypeWithBodyOutput;
|
789 + | type Error = std::convert::Infallible;
|
790 + | }
|
791 + |
|
792 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
793 + | for MalformedContentTypeWithBody
|
794 + | {
|
795 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
796 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
797 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
798 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
799 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
800 + | >,
|
801 + | >;
|
802 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
803 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
804 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
805 + | >;
|
806 + |
|
807 + | fn request_fmt() -> Self::RequestFmt {
|
808 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
809 + | }
|
810 + |
|
811 + | fn response_fmt() -> Self::ResponseFmt {
|
812 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
813 + | }
|
814 + | }
|
815 + | /* ServerOperationGenerator.kt:88 */
|
816 + |
|
817 + | /* ServerOperationGenerator.kt:48 */
|
818 + | #[allow(missing_docs)] // documentation missing in model
|
819 + | /* ServerOperationGenerator.kt:55 */
|
820 + | pub struct MalformedContentTypeWithoutBodyEmptyInput;
|
821 + |
|
822 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
823 + | for MalformedContentTypeWithoutBodyEmptyInput
|
824 + | {
|
825 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
826 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
827 + | "aws.protocoltests.restjson#MalformedContentTypeWithoutBodyEmptyInput",
|
828 + | "aws.protocoltests.restjson",
|
829 + | "MalformedContentTypeWithoutBodyEmptyInput",
|
830 + | );
|
831 + |
|
832 + | type Input = crate::input::MalformedContentTypeWithoutBodyEmptyInputInput;
|
833 + | type Output = crate::output::MalformedContentTypeWithoutBodyEmptyInputOutput;
|
834 + | type Error = std::convert::Infallible;
|
835 + | }
|
836 + |
|
837 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
838 + | for MalformedContentTypeWithoutBodyEmptyInput
|
839 + | {
|
840 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
841 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
842 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
843 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
844 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
845 + | >,
|
846 + | >;
|
847 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
848 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
849 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
850 + | >;
|
851 + |
|
852 + | fn request_fmt() -> Self::RequestFmt {
|
853 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
854 + | }
|
855 + |
|
856 + | fn response_fmt() -> Self::ResponseFmt {
|
857 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
858 + | }
|
859 + | }
|
860 + | /* ServerOperationGenerator.kt:88 */
|
861 + |
|
862 + | /* ServerOperationGenerator.kt:48 */
|
863 + | #[allow(missing_docs)] // documentation missing in model
|
864 + | /* ServerOperationGenerator.kt:55 */
|
865 + | pub struct MalformedContentTypeWithoutBody;
|
866 + |
|
867 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
868 + | for MalformedContentTypeWithoutBody
|
869 + | {
|
870 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
871 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
872 + | "aws.protocoltests.restjson#MalformedContentTypeWithoutBody",
|
873 + | "aws.protocoltests.restjson",
|
874 + | "MalformedContentTypeWithoutBody",
|
875 + | );
|
876 + |
|
877 + | type Input = crate::input::MalformedContentTypeWithoutBodyInput;
|
878 + | type Output = crate::output::MalformedContentTypeWithoutBodyOutput;
|
879 + | type Error = std::convert::Infallible;
|
880 + | }
|
881 + |
|
882 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
883 + | for MalformedContentTypeWithoutBody
|
884 + | {
|
885 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
886 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
887 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
888 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
889 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
890 + | >,
|
891 + | >;
|
892 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
893 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
894 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
895 + | >;
|
896 + |
|
897 + | fn request_fmt() -> Self::RequestFmt {
|
898 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
899 + | }
|
900 + |
|
901 + | fn response_fmt() -> Self::ResponseFmt {
|
902 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
903 + | }
|
904 + | }
|
905 + | /* ServerOperationGenerator.kt:88 */
|
906 + |
|
907 + | /* ServerOperationGenerator.kt:48 */
|
908 + | #[allow(missing_docs)] // documentation missing in model
|
909 + | /* ServerOperationGenerator.kt:55 */
|
910 + | pub struct MalformedTimestampBodyHttpDate;
|
911 + |
|
912 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampBodyHttpDate {
|
913 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
914 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
915 + | "aws.protocoltests.restjson#MalformedTimestampBodyHttpDate",
|
916 + | "aws.protocoltests.restjson",
|
917 + | "MalformedTimestampBodyHttpDate",
|
918 + | );
|
919 + |
|
920 + | type Input = crate::input::MalformedTimestampBodyHttpDateInput;
|
921 + | type Output = crate::output::MalformedTimestampBodyHttpDateOutput;
|
922 + | type Error = crate::error::MalformedTimestampBodyHttpDateError;
|
923 + | }
|
924 + |
|
925 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
926 + | for MalformedTimestampBodyHttpDate
|
927 + | {
|
928 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
929 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
930 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
931 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
932 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
933 + | >,
|
934 + | >;
|
935 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
936 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
937 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
938 + | >;
|
939 + |
|
940 + | fn request_fmt() -> Self::RequestFmt {
|
941 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
942 + | }
|
943 + |
|
944 + | fn response_fmt() -> Self::ResponseFmt {
|
945 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
946 + | }
|
947 + | }
|
948 + | /* ServerOperationGenerator.kt:88 */
|
949 + |
|
950 + | /* ServerOperationGenerator.kt:48 */
|
951 + | #[allow(missing_docs)] // documentation missing in model
|
952 + | /* ServerOperationGenerator.kt:55 */
|
953 + | pub struct MalformedTimestampBodyDateTime;
|
954 + |
|
955 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampBodyDateTime {
|
956 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
957 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
958 + | "aws.protocoltests.restjson#MalformedTimestampBodyDateTime",
|
959 + | "aws.protocoltests.restjson",
|
960 + | "MalformedTimestampBodyDateTime",
|
961 + | );
|
962 + |
|
963 + | type Input = crate::input::MalformedTimestampBodyDateTimeInput;
|
964 + | type Output = crate::output::MalformedTimestampBodyDateTimeOutput;
|
965 + | type Error = crate::error::MalformedTimestampBodyDateTimeError;
|
966 + | }
|
967 + |
|
968 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
969 + | for MalformedTimestampBodyDateTime
|
970 + | {
|
971 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
972 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
973 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
974 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
975 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
976 + | >,
|
977 + | >;
|
978 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
979 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
980 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
981 + | >;
|
982 + |
|
983 + | fn request_fmt() -> Self::RequestFmt {
|
984 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
985 + | }
|
986 + |
|
987 + | fn response_fmt() -> Self::ResponseFmt {
|
988 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
989 + | }
|
990 + | }
|
991 + | /* ServerOperationGenerator.kt:88 */
|
992 + |
|
993 + | /* ServerOperationGenerator.kt:48 */
|
994 + | #[allow(missing_docs)] // documentation missing in model
|
995 + | /* ServerOperationGenerator.kt:55 */
|
996 + | pub struct MalformedTimestampBodyDefault;
|
997 + |
|
998 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampBodyDefault {
|
999 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1000 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1001 + | "aws.protocoltests.restjson#MalformedTimestampBodyDefault",
|
1002 + | "aws.protocoltests.restjson",
|
1003 + | "MalformedTimestampBodyDefault",
|
1004 + | );
|
1005 + |
|
1006 + | type Input = crate::input::MalformedTimestampBodyDefaultInput;
|
1007 + | type Output = crate::output::MalformedTimestampBodyDefaultOutput;
|
1008 + | type Error = crate::error::MalformedTimestampBodyDefaultError;
|
1009 + | }
|
1010 + |
|
1011 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1012 + | for MalformedTimestampBodyDefault
|
1013 + | {
|
1014 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1015 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1016 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1017 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1018 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1019 + | >,
|
1020 + | >;
|
1021 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1022 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1023 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1024 + | >;
|
1025 + |
|
1026 + | fn request_fmt() -> Self::RequestFmt {
|
1027 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1028 + | }
|
1029 + |
|
1030 + | fn response_fmt() -> Self::ResponseFmt {
|
1031 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1032 + | }
|
1033 + | }
|
1034 + | /* ServerOperationGenerator.kt:88 */
|
1035 + |
|
1036 + | /* ServerOperationGenerator.kt:48 */
|
1037 + | #[allow(missing_docs)] // documentation missing in model
|
1038 + | /* ServerOperationGenerator.kt:55 */
|
1039 + | pub struct MalformedTimestampHeaderEpoch;
|
1040 + |
|
1041 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampHeaderEpoch {
|
1042 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1043 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1044 + | "aws.protocoltests.restjson#MalformedTimestampHeaderEpoch",
|
1045 + | "aws.protocoltests.restjson",
|
1046 + | "MalformedTimestampHeaderEpoch",
|
1047 + | );
|
1048 + |
|
1049 + | type Input = crate::input::MalformedTimestampHeaderEpochInput;
|
1050 + | type Output = crate::output::MalformedTimestampHeaderEpochOutput;
|
1051 + | type Error = crate::error::MalformedTimestampHeaderEpochError;
|
1052 + | }
|
1053 + |
|
1054 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1055 + | for MalformedTimestampHeaderEpoch
|
1056 + | {
|
1057 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1058 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1059 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1060 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1061 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1062 + | >,
|
1063 + | >;
|
1064 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1065 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1066 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1067 + | >;
|
1068 + |
|
1069 + | fn request_fmt() -> Self::RequestFmt {
|
1070 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1071 + | }
|
1072 + |
|
1073 + | fn response_fmt() -> Self::ResponseFmt {
|
1074 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1075 + | }
|
1076 + | }
|
1077 + | /* ServerOperationGenerator.kt:88 */
|
1078 + |
|
1079 + | /* ServerOperationGenerator.kt:48 */
|
1080 + | #[allow(missing_docs)] // documentation missing in model
|
1081 + | /* ServerOperationGenerator.kt:55 */
|
1082 + | pub struct MalformedTimestampHeaderDateTime;
|
1083 + |
|
1084 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
1085 + | for MalformedTimestampHeaderDateTime
|
1086 + | {
|
1087 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1088 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1089 + | "aws.protocoltests.restjson#MalformedTimestampHeaderDateTime",
|
1090 + | "aws.protocoltests.restjson",
|
1091 + | "MalformedTimestampHeaderDateTime",
|
1092 + | );
|
1093 + |
|
1094 + | type Input = crate::input::MalformedTimestampHeaderDateTimeInput;
|
1095 + | type Output = crate::output::MalformedTimestampHeaderDateTimeOutput;
|
1096 + | type Error = crate::error::MalformedTimestampHeaderDateTimeError;
|
1097 + | }
|
1098 + |
|
1099 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1100 + | for MalformedTimestampHeaderDateTime
|
1101 + | {
|
1102 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1103 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1104 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1105 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1106 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1107 + | >,
|
1108 + | >;
|
1109 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1110 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1111 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1112 + | >;
|
1113 + |
|
1114 + | fn request_fmt() -> Self::RequestFmt {
|
1115 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1116 + | }
|
1117 + |
|
1118 + | fn response_fmt() -> Self::ResponseFmt {
|
1119 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1120 + | }
|
1121 + | }
|
1122 + | /* ServerOperationGenerator.kt:88 */
|
1123 + |
|
1124 + | /* ServerOperationGenerator.kt:48 */
|
1125 + | #[allow(missing_docs)] // documentation missing in model
|
1126 + | /* ServerOperationGenerator.kt:55 */
|
1127 + | pub struct MalformedTimestampHeaderDefault;
|
1128 + |
|
1129 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
1130 + | for MalformedTimestampHeaderDefault
|
1131 + | {
|
1132 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1133 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1134 + | "aws.protocoltests.restjson#MalformedTimestampHeaderDefault",
|
1135 + | "aws.protocoltests.restjson",
|
1136 + | "MalformedTimestampHeaderDefault",
|
1137 + | );
|
1138 + |
|
1139 + | type Input = crate::input::MalformedTimestampHeaderDefaultInput;
|
1140 + | type Output = crate::output::MalformedTimestampHeaderDefaultOutput;
|
1141 + | type Error = crate::error::MalformedTimestampHeaderDefaultError;
|
1142 + | }
|
1143 + |
|
1144 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1145 + | for MalformedTimestampHeaderDefault
|
1146 + | {
|
1147 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1148 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1149 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1150 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1151 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1152 + | >,
|
1153 + | >;
|
1154 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1155 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1156 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1157 + | >;
|
1158 + |
|
1159 + | fn request_fmt() -> Self::RequestFmt {
|
1160 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1161 + | }
|
1162 + |
|
1163 + | fn response_fmt() -> Self::ResponseFmt {
|
1164 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1165 + | }
|
1166 + | }
|
1167 + | /* ServerOperationGenerator.kt:88 */
|
1168 + |
|
1169 + | /* ServerOperationGenerator.kt:48 */
|
1170 + | #[allow(missing_docs)] // documentation missing in model
|
1171 + | /* ServerOperationGenerator.kt:55 */
|
1172 + | pub struct MalformedTimestampQueryEpoch;
|
1173 + |
|
1174 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampQueryEpoch {
|
1175 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1176 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1177 + | "aws.protocoltests.restjson#MalformedTimestampQueryEpoch",
|
1178 + | "aws.protocoltests.restjson",
|
1179 + | "MalformedTimestampQueryEpoch",
|
1180 + | );
|
1181 + |
|
1182 + | type Input = crate::input::MalformedTimestampQueryEpochInput;
|
1183 + | type Output = crate::output::MalformedTimestampQueryEpochOutput;
|
1184 + | type Error = crate::error::MalformedTimestampQueryEpochError;
|
1185 + | }
|
1186 + |
|
1187 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1188 + | for MalformedTimestampQueryEpoch
|
1189 + | {
|
1190 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1191 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1192 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1193 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1194 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1195 + | >,
|
1196 + | >;
|
1197 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1198 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1199 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1200 + | >;
|
1201 + |
|
1202 + | fn request_fmt() -> Self::RequestFmt {
|
1203 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1204 + | }
|
1205 + |
|
1206 + | fn response_fmt() -> Self::ResponseFmt {
|
1207 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1208 + | }
|
1209 + | }
|
1210 + | /* ServerOperationGenerator.kt:88 */
|
1211 + |
|
1212 + | /* ServerOperationGenerator.kt:48 */
|
1213 + | #[allow(missing_docs)] // documentation missing in model
|
1214 + | /* ServerOperationGenerator.kt:55 */
|
1215 + | pub struct MalformedTimestampQueryHttpDate;
|
1216 + |
|
1217 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
1218 + | for MalformedTimestampQueryHttpDate
|
1219 + | {
|
1220 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1221 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1222 + | "aws.protocoltests.restjson#MalformedTimestampQueryHttpDate",
|
1223 + | "aws.protocoltests.restjson",
|
1224 + | "MalformedTimestampQueryHttpDate",
|
1225 + | );
|
1226 + |
|
1227 + | type Input = crate::input::MalformedTimestampQueryHttpDateInput;
|
1228 + | type Output = crate::output::MalformedTimestampQueryHttpDateOutput;
|
1229 + | type Error = crate::error::MalformedTimestampQueryHttpDateError;
|
1230 + | }
|
1231 + |
|
1232 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1233 + | for MalformedTimestampQueryHttpDate
|
1234 + | {
|
1235 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1236 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1237 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1238 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1239 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1240 + | >,
|
1241 + | >;
|
1242 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1243 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1244 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1245 + | >;
|
1246 + |
|
1247 + | fn request_fmt() -> Self::RequestFmt {
|
1248 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1249 + | }
|
1250 + |
|
1251 + | fn response_fmt() -> Self::ResponseFmt {
|
1252 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1253 + | }
|
1254 + | }
|
1255 + | /* ServerOperationGenerator.kt:88 */
|
1256 + |
|
1257 + | /* ServerOperationGenerator.kt:48 */
|
1258 + | #[allow(missing_docs)] // documentation missing in model
|
1259 + | /* ServerOperationGenerator.kt:55 */
|
1260 + | pub struct MalformedTimestampQueryDefault;
|
1261 + |
|
1262 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampQueryDefault {
|
1263 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1264 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1265 + | "aws.protocoltests.restjson#MalformedTimestampQueryDefault",
|
1266 + | "aws.protocoltests.restjson",
|
1267 + | "MalformedTimestampQueryDefault",
|
1268 + | );
|
1269 + |
|
1270 + | type Input = crate::input::MalformedTimestampQueryDefaultInput;
|
1271 + | type Output = crate::output::MalformedTimestampQueryDefaultOutput;
|
1272 + | type Error = crate::error::MalformedTimestampQueryDefaultError;
|
1273 + | }
|
1274 + |
|
1275 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1276 + | for MalformedTimestampQueryDefault
|
1277 + | {
|
1278 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1279 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1280 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1281 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1282 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1283 + | >,
|
1284 + | >;
|
1285 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1286 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1287 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1288 + | >;
|
1289 + |
|
1290 + | fn request_fmt() -> Self::RequestFmt {
|
1291 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1292 + | }
|
1293 + |
|
1294 + | fn response_fmt() -> Self::ResponseFmt {
|
1295 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1296 + | }
|
1297 + | }
|
1298 + | /* ServerOperationGenerator.kt:88 */
|
1299 + |
|
1300 + | /* ServerOperationGenerator.kt:48 */
|
1301 + | #[allow(missing_docs)] // documentation missing in model
|
1302 + | /* ServerOperationGenerator.kt:55 */
|
1303 + | pub struct MalformedTimestampPathEpoch;
|
1304 + |
|
1305 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampPathEpoch {
|
1306 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1307 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1308 + | "aws.protocoltests.restjson#MalformedTimestampPathEpoch",
|
1309 + | "aws.protocoltests.restjson",
|
1310 + | "MalformedTimestampPathEpoch",
|
1311 + | );
|
1312 + |
|
1313 + | type Input = crate::input::MalformedTimestampPathEpochInput;
|
1314 + | type Output = crate::output::MalformedTimestampPathEpochOutput;
|
1315 + | type Error = crate::error::MalformedTimestampPathEpochError;
|
1316 + | }
|
1317 + |
|
1318 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1319 + | for MalformedTimestampPathEpoch
|
1320 + | {
|
1321 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1322 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1323 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1324 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1325 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1326 + | >,
|
1327 + | >;
|
1328 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1329 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1330 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1331 + | >;
|
1332 + |
|
1333 + | fn request_fmt() -> Self::RequestFmt {
|
1334 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1335 + | }
|
1336 + |
|
1337 + | fn response_fmt() -> Self::ResponseFmt {
|
1338 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1339 + | }
|
1340 + | }
|
1341 + | /* ServerOperationGenerator.kt:88 */
|
1342 + |
|
1343 + | /* ServerOperationGenerator.kt:48 */
|
1344 + | #[allow(missing_docs)] // documentation missing in model
|
1345 + | /* ServerOperationGenerator.kt:55 */
|
1346 + | pub struct MalformedTimestampPathHttpDate;
|
1347 + |
|
1348 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampPathHttpDate {
|
1349 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1350 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1351 + | "aws.protocoltests.restjson#MalformedTimestampPathHttpDate",
|
1352 + | "aws.protocoltests.restjson",
|
1353 + | "MalformedTimestampPathHttpDate",
|
1354 + | );
|
1355 + |
|
1356 + | type Input = crate::input::MalformedTimestampPathHttpDateInput;
|
1357 + | type Output = crate::output::MalformedTimestampPathHttpDateOutput;
|
1358 + | type Error = crate::error::MalformedTimestampPathHttpDateError;
|
1359 + | }
|
1360 + |
|
1361 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1362 + | for MalformedTimestampPathHttpDate
|
1363 + | {
|
1364 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1365 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1366 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1367 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1368 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1369 + | >,
|
1370 + | >;
|
1371 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1372 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1373 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1374 + | >;
|
1375 + |
|
1376 + | fn request_fmt() -> Self::RequestFmt {
|
1377 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1378 + | }
|
1379 + |
|
1380 + | fn response_fmt() -> Self::ResponseFmt {
|
1381 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1382 + | }
|
1383 + | }
|
1384 + | /* ServerOperationGenerator.kt:88 */
|
1385 + |
|
1386 + | /* ServerOperationGenerator.kt:48 */
|
1387 + | #[allow(missing_docs)] // documentation missing in model
|
1388 + | /* ServerOperationGenerator.kt:55 */
|
1389 + | pub struct MalformedTimestampPathDefault;
|
1390 + |
|
1391 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedTimestampPathDefault {
|
1392 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1393 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1394 + | "aws.protocoltests.restjson#MalformedTimestampPathDefault",
|
1395 + | "aws.protocoltests.restjson",
|
1396 + | "MalformedTimestampPathDefault",
|
1397 + | );
|
1398 + |
|
1399 + | type Input = crate::input::MalformedTimestampPathDefaultInput;
|
1400 + | type Output = crate::output::MalformedTimestampPathDefaultOutput;
|
1401 + | type Error = crate::error::MalformedTimestampPathDefaultError;
|
1402 + | }
|
1403 + |
|
1404 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1405 + | for MalformedTimestampPathDefault
|
1406 + | {
|
1407 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1408 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1409 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1410 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1411 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1412 + | >,
|
1413 + | >;
|
1414 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1415 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1416 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1417 + | >;
|
1418 + |
|
1419 + | fn request_fmt() -> Self::RequestFmt {
|
1420 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1421 + | }
|
1422 + |
|
1423 + | fn response_fmt() -> Self::ResponseFmt {
|
1424 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1425 + | }
|
1426 + | }
|
1427 + | /* ServerOperationGenerator.kt:88 */
|
1428 + |
|
1429 + | /* ServerOperationGenerator.kt:48 */
|
1430 + | #[allow(missing_docs)] // documentation missing in model
|
1431 + | /* ServerOperationGenerator.kt:55 */
|
1432 + | pub struct MalformedString;
|
1433 + |
|
1434 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedString {
|
1435 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1436 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1437 + | "aws.protocoltests.restjson#MalformedString",
|
1438 + | "aws.protocoltests.restjson",
|
1439 + | "MalformedString",
|
1440 + | );
|
1441 + |
|
1442 + | type Input = crate::input::MalformedStringInput;
|
1443 + | type Output = crate::output::MalformedStringOutput;
|
1444 + | type Error = std::convert::Infallible;
|
1445 + | }
|
1446 + |
|
1447 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1448 + | for MalformedString
|
1449 + | {
|
1450 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1451 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1452 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1453 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1454 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1455 + | >,
|
1456 + | >;
|
1457 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1458 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1459 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1460 + | >;
|
1461 + |
|
1462 + | fn request_fmt() -> Self::RequestFmt {
|
1463 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1464 + | }
|
1465 + |
|
1466 + | fn response_fmt() -> Self::ResponseFmt {
|
1467 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1468 + | }
|
1469 + | }
|
1470 + | /* ServerOperationGenerator.kt:88 */
|
1471 + |
|
1472 + | /* ServerOperationGenerator.kt:48 */
|
1473 + | #[allow(missing_docs)] // documentation missing in model
|
1474 + | /* ServerOperationGenerator.kt:55 */
|
1475 + | pub struct MalformedDouble;
|
1476 + |
|
1477 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedDouble {
|
1478 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1479 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1480 + | "aws.protocoltests.restjson#MalformedDouble",
|
1481 + | "aws.protocoltests.restjson",
|
1482 + | "MalformedDouble",
|
1483 + | );
|
1484 + |
|
1485 + | type Input = crate::input::MalformedDoubleInput;
|
1486 + | type Output = crate::output::MalformedDoubleOutput;
|
1487 + | type Error = crate::error::MalformedDoubleError;
|
1488 + | }
|
1489 + |
|
1490 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1491 + | for MalformedDouble
|
1492 + | {
|
1493 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1494 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1495 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1496 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1497 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1498 + | >,
|
1499 + | >;
|
1500 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1501 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1502 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1503 + | >;
|
1504 + |
|
1505 + | fn request_fmt() -> Self::RequestFmt {
|
1506 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1507 + | }
|
1508 + |
|
1509 + | fn response_fmt() -> Self::ResponseFmt {
|
1510 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1511 + | }
|
1512 + | }
|
1513 + | /* ServerOperationGenerator.kt:88 */
|
1514 + |
|
1515 + | /* ServerOperationGenerator.kt:48 */
|
1516 + | #[allow(missing_docs)] // documentation missing in model
|
1517 + | /* ServerOperationGenerator.kt:55 */
|
1518 + | pub struct MalformedFloat;
|
1519 + |
|
1520 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedFloat {
|
1521 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1522 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1523 + | "aws.protocoltests.restjson#MalformedFloat",
|
1524 + | "aws.protocoltests.restjson",
|
1525 + | "MalformedFloat",
|
1526 + | );
|
1527 + |
|
1528 + | type Input = crate::input::MalformedFloatInput;
|
1529 + | type Output = crate::output::MalformedFloatOutput;
|
1530 + | type Error = crate::error::MalformedFloatError;
|
1531 + | }
|
1532 + |
|
1533 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedFloat {
|
1534 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1535 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1536 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1537 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1538 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1539 + | >,
|
1540 + | >;
|
1541 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1542 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1543 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1544 + | >;
|
1545 + |
|
1546 + | fn request_fmt() -> Self::RequestFmt {
|
1547 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1548 + | }
|
1549 + |
|
1550 + | fn response_fmt() -> Self::ResponseFmt {
|
1551 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1552 + | }
|
1553 + | }
|
1554 + | /* ServerOperationGenerator.kt:88 */
|
1555 + |
|
1556 + | /* ServerOperationGenerator.kt:48 */
|
1557 + | #[allow(missing_docs)] // documentation missing in model
|
1558 + | /* ServerOperationGenerator.kt:55 */
|
1559 + | pub struct MalformedLong;
|
1560 + |
|
1561 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedLong {
|
1562 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1563 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1564 + | "aws.protocoltests.restjson#MalformedLong",
|
1565 + | "aws.protocoltests.restjson",
|
1566 + | "MalformedLong",
|
1567 + | );
|
1568 + |
|
1569 + | type Input = crate::input::MalformedLongInput;
|
1570 + | type Output = crate::output::MalformedLongOutput;
|
1571 + | type Error = crate::error::MalformedLongError;
|
1572 + | }
|
1573 + |
|
1574 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedLong {
|
1575 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1576 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1577 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1578 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1579 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1580 + | >,
|
1581 + | >;
|
1582 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1583 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1584 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1585 + | >;
|
1586 + |
|
1587 + | fn request_fmt() -> Self::RequestFmt {
|
1588 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1589 + | }
|
1590 + |
|
1591 + | fn response_fmt() -> Self::ResponseFmt {
|
1592 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1593 + | }
|
1594 + | }
|
1595 + | /* ServerOperationGenerator.kt:88 */
|
1596 + |
|
1597 + | /* ServerOperationGenerator.kt:48 */
|
1598 + | #[allow(missing_docs)] // documentation missing in model
|
1599 + | /* ServerOperationGenerator.kt:55 */
|
1600 + | pub struct MalformedShort;
|
1601 + |
|
1602 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedShort {
|
1603 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1604 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1605 + | "aws.protocoltests.restjson#MalformedShort",
|
1606 + | "aws.protocoltests.restjson",
|
1607 + | "MalformedShort",
|
1608 + | );
|
1609 + |
|
1610 + | type Input = crate::input::MalformedShortInput;
|
1611 + | type Output = crate::output::MalformedShortOutput;
|
1612 + | type Error = crate::error::MalformedShortError;
|
1613 + | }
|
1614 + |
|
1615 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedShort {
|
1616 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1617 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1618 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1619 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1620 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1621 + | >,
|
1622 + | >;
|
1623 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1624 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1625 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1626 + | >;
|
1627 + |
|
1628 + | fn request_fmt() -> Self::RequestFmt {
|
1629 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1630 + | }
|
1631 + |
|
1632 + | fn response_fmt() -> Self::ResponseFmt {
|
1633 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1634 + | }
|
1635 + | }
|
1636 + | /* ServerOperationGenerator.kt:88 */
|
1637 + |
|
1638 + | /* ServerOperationGenerator.kt:48 */
|
1639 + | #[allow(missing_docs)] // documentation missing in model
|
1640 + | /* ServerOperationGenerator.kt:55 */
|
1641 + | pub struct MalformedByte;
|
1642 + |
|
1643 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedByte {
|
1644 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1645 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1646 + | "aws.protocoltests.restjson#MalformedByte",
|
1647 + | "aws.protocoltests.restjson",
|
1648 + | "MalformedByte",
|
1649 + | );
|
1650 + |
|
1651 + | type Input = crate::input::MalformedByteInput;
|
1652 + | type Output = crate::output::MalformedByteOutput;
|
1653 + | type Error = crate::error::MalformedByteError;
|
1654 + | }
|
1655 + |
|
1656 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedByte {
|
1657 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1658 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1659 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1660 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1661 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1662 + | >,
|
1663 + | >;
|
1664 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1665 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1666 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1667 + | >;
|
1668 + |
|
1669 + | fn request_fmt() -> Self::RequestFmt {
|
1670 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1671 + | }
|
1672 + |
|
1673 + | fn response_fmt() -> Self::ResponseFmt {
|
1674 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1675 + | }
|
1676 + | }
|
1677 + | /* ServerOperationGenerator.kt:88 */
|
1678 + |
|
1679 + | /* ServerOperationGenerator.kt:48 */
|
1680 + | #[allow(missing_docs)] // documentation missing in model
|
1681 + | /* ServerOperationGenerator.kt:55 */
|
1682 + | pub struct MalformedBlob;
|
1683 + |
|
1684 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedBlob {
|
1685 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1686 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1687 + | "aws.protocoltests.restjson#MalformedBlob",
|
1688 + | "aws.protocoltests.restjson",
|
1689 + | "MalformedBlob",
|
1690 + | );
|
1691 + |
|
1692 + | type Input = crate::input::MalformedBlobInput;
|
1693 + | type Output = crate::output::MalformedBlobOutput;
|
1694 + | type Error = std::convert::Infallible;
|
1695 + | }
|
1696 + |
|
1697 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedBlob {
|
1698 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1699 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1700 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1701 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1702 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1703 + | >,
|
1704 + | >;
|
1705 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1706 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1707 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1708 + | >;
|
1709 + |
|
1710 + | fn request_fmt() -> Self::RequestFmt {
|
1711 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1712 + | }
|
1713 + |
|
1714 + | fn response_fmt() -> Self::ResponseFmt {
|
1715 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1716 + | }
|
1717 + | }
|
1718 + | /* ServerOperationGenerator.kt:88 */
|
1719 + |
|
1720 + | /* ServerOperationGenerator.kt:48 */
|
1721 + | #[allow(missing_docs)] // documentation missing in model
|
1722 + | /* ServerOperationGenerator.kt:55 */
|
1723 + | pub struct MalformedMap;
|
1724 + |
|
1725 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedMap {
|
1726 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1727 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1728 + | "aws.protocoltests.restjson#MalformedMap",
|
1729 + | "aws.protocoltests.restjson",
|
1730 + | "MalformedMap",
|
1731 + | );
|
1732 + |
|
1733 + | type Input = crate::input::MalformedMapInput;
|
1734 + | type Output = crate::output::MalformedMapOutput;
|
1735 + | type Error = std::convert::Infallible;
|
1736 + | }
|
1737 + |
|
1738 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedMap {
|
1739 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1740 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1741 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1742 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1743 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1744 + | >,
|
1745 + | >;
|
1746 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1747 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1748 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1749 + | >;
|
1750 + |
|
1751 + | fn request_fmt() -> Self::RequestFmt {
|
1752 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1753 + | }
|
1754 + |
|
1755 + | fn response_fmt() -> Self::ResponseFmt {
|
1756 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1757 + | }
|
1758 + | }
|
1759 + | /* ServerOperationGenerator.kt:88 */
|
1760 + |
|
1761 + | /* ServerOperationGenerator.kt:48 */
|
1762 + | #[allow(missing_docs)] // documentation missing in model
|
1763 + | /* ServerOperationGenerator.kt:55 */
|
1764 + | pub struct MalformedList;
|
1765 + |
|
1766 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedList {
|
1767 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1768 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1769 + | "aws.protocoltests.restjson#MalformedList",
|
1770 + | "aws.protocoltests.restjson",
|
1771 + | "MalformedList",
|
1772 + | );
|
1773 + |
|
1774 + | type Input = crate::input::MalformedListInput;
|
1775 + | type Output = crate::output::MalformedListOutput;
|
1776 + | type Error = std::convert::Infallible;
|
1777 + | }
|
1778 + |
|
1779 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedList {
|
1780 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1781 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1782 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1783 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1784 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1785 + | >,
|
1786 + | >;
|
1787 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1788 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1789 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1790 + | >;
|
1791 + |
|
1792 + | fn request_fmt() -> Self::RequestFmt {
|
1793 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1794 + | }
|
1795 + |
|
1796 + | fn response_fmt() -> Self::ResponseFmt {
|
1797 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1798 + | }
|
1799 + | }
|
1800 + | /* ServerOperationGenerator.kt:88 */
|
1801 + |
|
1802 + | /* ServerOperationGenerator.kt:48 */
|
1803 + | #[allow(missing_docs)] // documentation missing in model
|
1804 + | /* ServerOperationGenerator.kt:55 */
|
1805 + | pub struct MalformedBoolean;
|
1806 + |
|
1807 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedBoolean {
|
1808 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1809 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1810 + | "aws.protocoltests.restjson#MalformedBoolean",
|
1811 + | "aws.protocoltests.restjson",
|
1812 + | "MalformedBoolean",
|
1813 + | );
|
1814 + |
|
1815 + | type Input = crate::input::MalformedBooleanInput;
|
1816 + | type Output = crate::output::MalformedBooleanOutput;
|
1817 + | type Error = crate::error::MalformedBooleanError;
|
1818 + | }
|
1819 + |
|
1820 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1821 + | for MalformedBoolean
|
1822 + | {
|
1823 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1824 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1825 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1826 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1827 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1828 + | >,
|
1829 + | >;
|
1830 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1831 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1832 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1833 + | >;
|
1834 + |
|
1835 + | fn request_fmt() -> Self::RequestFmt {
|
1836 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1837 + | }
|
1838 + |
|
1839 + | fn response_fmt() -> Self::ResponseFmt {
|
1840 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1841 + | }
|
1842 + | }
|
1843 + | /* ServerOperationGenerator.kt:88 */
|
1844 + |
|
1845 + | /* ServerOperationGenerator.kt:48 */
|
1846 + | #[allow(missing_docs)] // documentation missing in model
|
1847 + | /* ServerOperationGenerator.kt:55 */
|
1848 + | pub struct MalformedUnion;
|
1849 + |
|
1850 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedUnion {
|
1851 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1852 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1853 + | "aws.protocoltests.restjson#MalformedUnion",
|
1854 + | "aws.protocoltests.restjson",
|
1855 + | "MalformedUnion",
|
1856 + | );
|
1857 + |
|
1858 + | type Input = crate::input::MalformedUnionInput;
|
1859 + | type Output = crate::output::MalformedUnionOutput;
|
1860 + | type Error = std::convert::Infallible;
|
1861 + | }
|
1862 + |
|
1863 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for MalformedUnion {
|
1864 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1865 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1866 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1867 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1868 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1869 + | >,
|
1870 + | >;
|
1871 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1872 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1873 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1874 + | >;
|
1875 + |
|
1876 + | fn request_fmt() -> Self::RequestFmt {
|
1877 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1878 + | }
|
1879 + |
|
1880 + | fn response_fmt() -> Self::ResponseFmt {
|
1881 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1882 + | }
|
1883 + | }
|
1884 + | /* ServerOperationGenerator.kt:88 */
|
1885 + |
|
1886 + | /* ServerOperationGenerator.kt:48 */
|
1887 + | #[allow(missing_docs)] // documentation missing in model
|
1888 + | /* ServerOperationGenerator.kt:55 */
|
1889 + | pub struct MalformedInteger;
|
1890 + |
|
1891 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedInteger {
|
1892 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1893 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1894 + | "aws.protocoltests.restjson#MalformedInteger",
|
1895 + | "aws.protocoltests.restjson",
|
1896 + | "MalformedInteger",
|
1897 + | );
|
1898 + |
|
1899 + | type Input = crate::input::MalformedIntegerInput;
|
1900 + | type Output = crate::output::MalformedIntegerOutput;
|
1901 + | type Error = crate::error::MalformedIntegerError;
|
1902 + | }
|
1903 + |
|
1904 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1905 + | for MalformedInteger
|
1906 + | {
|
1907 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1908 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1909 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1910 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1911 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1912 + | >,
|
1913 + | >;
|
1914 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1915 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1916 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1917 + | >;
|
1918 + |
|
1919 + | fn request_fmt() -> Self::RequestFmt {
|
1920 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1921 + | }
|
1922 + |
|
1923 + | fn response_fmt() -> Self::ResponseFmt {
|
1924 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1925 + | }
|
1926 + | }
|
1927 + | /* ServerOperationGenerator.kt:88 */
|
1928 + |
|
1929 + | /* ServerOperationGenerator.kt:48 */
|
1930 + | #[allow(missing_docs)] // documentation missing in model
|
1931 + | /* ServerOperationGenerator.kt:55 */
|
1932 + | pub struct MalformedRequestBody;
|
1933 + |
|
1934 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MalformedRequestBody {
|
1935 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1936 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1937 + | "aws.protocoltests.restjson#MalformedRequestBody",
|
1938 + | "aws.protocoltests.restjson",
|
1939 + | "MalformedRequestBody",
|
1940 + | );
|
1941 + |
|
1942 + | type Input = crate::input::MalformedRequestBodyInput;
|
1943 + | type Output = crate::output::MalformedRequestBodyOutput;
|
1944 + | type Error = std::convert::Infallible;
|
1945 + | }
|
1946 + |
|
1947 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1948 + | for MalformedRequestBody
|
1949 + | {
|
1950 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1951 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1952 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1953 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1954 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1955 + | >,
|
1956 + | >;
|
1957 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
1958 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1959 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1960 + | >;
|
1961 + |
|
1962 + | fn request_fmt() -> Self::RequestFmt {
|
1963 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
1964 + | }
|
1965 + |
|
1966 + | fn response_fmt() -> Self::ResponseFmt {
|
1967 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
1968 + | }
|
1969 + | }
|
1970 + | /* ServerOperationGenerator.kt:88 */
|
1971 + |
|
1972 + | /// /* ServerOperationGenerator.kt:48 */This example tests httpChecksumRequired trait
|
1973 + | /* ServerOperationGenerator.kt:55 */
|
1974 + | pub struct HttpChecksumRequired;
|
1975 + |
|
1976 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpChecksumRequired {
|
1977 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
1978 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
1979 + | "aws.protocoltests.restjson#HttpChecksumRequired",
|
1980 + | "aws.protocoltests.restjson",
|
1981 + | "HttpChecksumRequired",
|
1982 + | );
|
1983 + |
|
1984 + | type Input = crate::input::HttpChecksumRequiredInput;
|
1985 + | type Output = crate::output::HttpChecksumRequiredOutput;
|
1986 + | type Error = std::convert::Infallible;
|
1987 + | }
|
1988 + |
|
1989 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
1990 + | for HttpChecksumRequired
|
1991 + | {
|
1992 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
1993 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1994 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
1995 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1996 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
1997 + | >,
|
1998 + | >;
|
1999 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2000 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2001 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2002 + | >;
|
2003 + |
|
2004 + | fn request_fmt() -> Self::RequestFmt {
|
2005 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2006 + | }
|
2007 + |
|
2008 + | fn response_fmt() -> Self::ResponseFmt {
|
2009 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2010 + | }
|
2011 + | }
|
2012 + | /* ServerOperationGenerator.kt:88 */
|
2013 + |
|
2014 + | /* ServerOperationGenerator.kt:48 */
|
2015 + | #[allow(missing_docs)] // documentation missing in model
|
2016 + | /* ServerOperationGenerator.kt:55 */
|
2017 + | pub struct HostWithPathOperation;
|
2018 + |
|
2019 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HostWithPathOperation {
|
2020 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2021 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2022 + | "aws.protocoltests.restjson#HostWithPathOperation",
|
2023 + | "aws.protocoltests.restjson",
|
2024 + | "HostWithPathOperation",
|
2025 + | );
|
2026 + |
|
2027 + | type Input = crate::input::HostWithPathOperationInput;
|
2028 + | type Output = crate::output::HostWithPathOperationOutput;
|
2029 + | type Error = std::convert::Infallible;
|
2030 + | }
|
2031 + |
|
2032 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2033 + | for HostWithPathOperation
|
2034 + | {
|
2035 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2036 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2037 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2038 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2039 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2040 + | >,
|
2041 + | >;
|
2042 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2043 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2044 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2045 + | >;
|
2046 + |
|
2047 + | fn request_fmt() -> Self::RequestFmt {
|
2048 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2049 + | }
|
2050 + |
|
2051 + | fn response_fmt() -> Self::ResponseFmt {
|
2052 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2053 + | }
|
2054 + | }
|
2055 + | /* ServerOperationGenerator.kt:88 */
|
2056 + |
|
2057 + | /* ServerOperationGenerator.kt:48 */
|
2058 + | #[allow(missing_docs)] // documentation missing in model
|
2059 + | /* ServerOperationGenerator.kt:55 */
|
2060 + | pub struct EndpointWithHostLabelOperation;
|
2061 + |
|
2062 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for EndpointWithHostLabelOperation {
|
2063 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2064 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2065 + | "aws.protocoltests.restjson#EndpointWithHostLabelOperation",
|
2066 + | "aws.protocoltests.restjson",
|
2067 + | "EndpointWithHostLabelOperation",
|
2068 + | );
|
2069 + |
|
2070 + | type Input = crate::input::EndpointWithHostLabelOperationInput;
|
2071 + | type Output = crate::output::EndpointWithHostLabelOperationOutput;
|
2072 + | type Error = crate::error::EndpointWithHostLabelOperationError;
|
2073 + | }
|
2074 + |
|
2075 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2076 + | for EndpointWithHostLabelOperation
|
2077 + | {
|
2078 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2079 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2080 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2081 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2082 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2083 + | >,
|
2084 + | >;
|
2085 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2086 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2087 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2088 + | >;
|
2089 + |
|
2090 + | fn request_fmt() -> Self::RequestFmt {
|
2091 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2092 + | }
|
2093 + |
|
2094 + | fn response_fmt() -> Self::ResponseFmt {
|
2095 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2096 + | }
|
2097 + | }
|
2098 + | /* ServerOperationGenerator.kt:88 */
|
2099 + |
|
2100 + | /* ServerOperationGenerator.kt:48 */
|
2101 + | #[allow(missing_docs)] // documentation missing in model
|
2102 + | /* ServerOperationGenerator.kt:55 */
|
2103 + | pub struct EndpointOperation;
|
2104 + |
|
2105 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for EndpointOperation {
|
2106 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2107 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2108 + | "aws.protocoltests.restjson#EndpointOperation",
|
2109 + | "aws.protocoltests.restjson",
|
2110 + | "EndpointOperation",
|
2111 + | );
|
2112 + |
|
2113 + | type Input = crate::input::EndpointOperationInput;
|
2114 + | type Output = crate::output::EndpointOperationOutput;
|
2115 + | type Error = std::convert::Infallible;
|
2116 + | }
|
2117 + |
|
2118 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2119 + | for EndpointOperation
|
2120 + | {
|
2121 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2122 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2123 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2124 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2125 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2126 + | >,
|
2127 + | >;
|
2128 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2129 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2130 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2131 + | >;
|
2132 + |
|
2133 + | fn request_fmt() -> Self::RequestFmt {
|
2134 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2135 + | }
|
2136 + |
|
2137 + | fn response_fmt() -> Self::ResponseFmt {
|
2138 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2139 + | }
|
2140 + | }
|
2141 + | /* ServerOperationGenerator.kt:88 */
|
2142 + |
|
2143 + | /// /* ServerOperationGenerator.kt:48 */This operation defines a union that uses jsonName on some members.
|
2144 + | /* ServerOperationGenerator.kt:55 */
|
2145 + | pub struct PostUnionWithJsonName;
|
2146 + |
|
2147 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for PostUnionWithJsonName {
|
2148 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2149 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2150 + | "aws.protocoltests.restjson#PostUnionWithJsonName",
|
2151 + | "aws.protocoltests.restjson",
|
2152 + | "PostUnionWithJsonName",
|
2153 + | );
|
2154 + |
|
2155 + | type Input = crate::input::PostUnionWithJsonNameInput;
|
2156 + | type Output = crate::output::PostUnionWithJsonNameOutput;
|
2157 + | type Error = std::convert::Infallible;
|
2158 + | }
|
2159 + |
|
2160 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2161 + | for PostUnionWithJsonName
|
2162 + | {
|
2163 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2164 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2165 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2166 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2167 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2168 + | >,
|
2169 + | >;
|
2170 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2171 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2172 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2173 + | >;
|
2174 + |
|
2175 + | fn request_fmt() -> Self::RequestFmt {
|
2176 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2177 + | }
|
2178 + |
|
2179 + | fn response_fmt() -> Self::ResponseFmt {
|
2180 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2181 + | }
|
2182 + | }
|
2183 + | /* ServerOperationGenerator.kt:88 */
|
2184 + |
|
2185 + | /// /* ServerOperationGenerator.kt:48 */This operation defines a union with a Unit member.
|
2186 + | /* ServerOperationGenerator.kt:55 */
|
2187 + | pub struct PostPlayerAction;
|
2188 + |
|
2189 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for PostPlayerAction {
|
2190 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2191 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2192 + | "aws.protocoltests.restjson#PostPlayerAction",
|
2193 + | "aws.protocoltests.restjson",
|
2194 + | "PostPlayerAction",
|
2195 + | );
|
2196 + |
|
2197 + | type Input = crate::input::PostPlayerActionInput;
|
2198 + | type Output = crate::output::PostPlayerActionOutput;
|
2199 + | type Error = std::convert::Infallible;
|
2200 + | }
|
2201 + |
|
2202 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2203 + | for PostPlayerAction
|
2204 + | {
|
2205 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2206 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2207 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2208 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2209 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2210 + | >,
|
2211 + | >;
|
2212 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2213 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2214 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2215 + | >;
|
2216 + |
|
2217 + | fn request_fmt() -> Self::RequestFmt {
|
2218 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2219 + | }
|
2220 + |
|
2221 + | fn response_fmt() -> Self::ResponseFmt {
|
2222 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2223 + | }
|
2224 + | }
|
2225 + | /* ServerOperationGenerator.kt:88 */
|
2226 + |
|
2227 + | /// /* ServerOperationGenerator.kt:48 */This operation uses unions for inputs and outputs.
|
2228 + | /* ServerOperationGenerator.kt:55 */
|
2229 + | pub struct JsonUnions;
|
2230 + |
|
2231 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonUnions {
|
2232 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2233 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2234 + | "aws.protocoltests.restjson#JsonUnions",
|
2235 + | "aws.protocoltests.restjson",
|
2236 + | "JsonUnions",
|
2237 + | );
|
2238 + |
|
2239 + | type Input = crate::input::JsonUnionsInput;
|
2240 + | type Output = crate::output::JsonUnionsOutput;
|
2241 + | type Error = crate::error::JsonUnionsError;
|
2242 + | }
|
2243 + |
|
2244 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonUnions {
|
2245 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2246 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2247 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2248 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2249 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2250 + | >,
|
2251 + | >;
|
2252 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2253 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2254 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2255 + | >;
|
2256 + |
|
2257 + | fn request_fmt() -> Self::RequestFmt {
|
2258 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2259 + | }
|
2260 + |
|
2261 + | fn response_fmt() -> Self::ResponseFmt {
|
2262 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2263 + | }
|
2264 + | }
|
2265 + | /* ServerOperationGenerator.kt:88 */
|
2266 + |
|
2267 + | /// /* ServerOperationGenerator.kt:48 */This example serializes documents as the value of maps.
|
2268 + | /* ServerOperationGenerator.kt:55 */
|
2269 + | pub struct DocumentTypeAsMapValue;
|
2270 + |
|
2271 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for DocumentTypeAsMapValue {
|
2272 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2273 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2274 + | "aws.protocoltests.restjson#DocumentTypeAsMapValue",
|
2275 + | "aws.protocoltests.restjson",
|
2276 + | "DocumentTypeAsMapValue",
|
2277 + | );
|
2278 + |
|
2279 + | type Input = crate::input::DocumentTypeAsMapValueInput;
|
2280 + | type Output = crate::output::DocumentTypeAsMapValueOutput;
|
2281 + | type Error = std::convert::Infallible;
|
2282 + | }
|
2283 + |
|
2284 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2285 + | for DocumentTypeAsMapValue
|
2286 + | {
|
2287 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2288 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2289 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2290 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2291 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2292 + | >,
|
2293 + | >;
|
2294 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2295 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2296 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2297 + | >;
|
2298 + |
|
2299 + | fn request_fmt() -> Self::RequestFmt {
|
2300 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2301 + | }
|
2302 + |
|
2303 + | fn response_fmt() -> Self::ResponseFmt {
|
2304 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2305 + | }
|
2306 + | }
|
2307 + | /* ServerOperationGenerator.kt:88 */
|
2308 + |
|
2309 + | /// /* ServerOperationGenerator.kt:48 */This example serializes a document as the entire HTTP payload.
|
2310 + | /* ServerOperationGenerator.kt:55 */
|
2311 + | pub struct DocumentTypeAsPayload;
|
2312 + |
|
2313 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for DocumentTypeAsPayload {
|
2314 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2315 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2316 + | "aws.protocoltests.restjson#DocumentTypeAsPayload",
|
2317 + | "aws.protocoltests.restjson",
|
2318 + | "DocumentTypeAsPayload",
|
2319 + | );
|
2320 + |
|
2321 + | type Input = crate::input::DocumentTypeAsPayloadInput;
|
2322 + | type Output = crate::output::DocumentTypeAsPayloadOutput;
|
2323 + | type Error = std::convert::Infallible;
|
2324 + | }
|
2325 + |
|
2326 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2327 + | for DocumentTypeAsPayload
|
2328 + | {
|
2329 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2330 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2331 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2332 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2333 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2334 + | >,
|
2335 + | >;
|
2336 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2337 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2338 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2339 + | >;
|
2340 + |
|
2341 + | fn request_fmt() -> Self::RequestFmt {
|
2342 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2343 + | }
|
2344 + |
|
2345 + | fn response_fmt() -> Self::ResponseFmt {
|
2346 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2347 + | }
|
2348 + | }
|
2349 + | /* ServerOperationGenerator.kt:88 */
|
2350 + |
|
2351 + | /// /* ServerOperationGenerator.kt:48 */This example serializes a document as part of the payload.
|
2352 + | /* ServerOperationGenerator.kt:55 */
|
2353 + | pub struct DocumentType;
|
2354 + |
|
2355 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for DocumentType {
|
2356 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2357 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2358 + | "aws.protocoltests.restjson#DocumentType",
|
2359 + | "aws.protocoltests.restjson",
|
2360 + | "DocumentType",
|
2361 + | );
|
2362 + |
|
2363 + | type Input = crate::input::DocumentTypeInput;
|
2364 + | type Output = crate::output::DocumentTypeOutput;
|
2365 + | type Error = std::convert::Infallible;
|
2366 + | }
|
2367 + |
|
2368 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for DocumentType {
|
2369 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2370 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2371 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2372 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2373 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2374 + | >,
|
2375 + | >;
|
2376 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2377 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2378 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2379 + | >;
|
2380 + |
|
2381 + | fn request_fmt() -> Self::RequestFmt {
|
2382 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2383 + | }
|
2384 + |
|
2385 + | fn response_fmt() -> Self::ResponseFmt {
|
2386 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2387 + | }
|
2388 + | }
|
2389 + | /* ServerOperationGenerator.kt:88 */
|
2390 + |
|
2391 + | /// /* ServerOperationGenerator.kt:48 */Blobs are base64 encoded
|
2392 + | /* ServerOperationGenerator.kt:55 */
|
2393 + | pub struct JsonBlobs;
|
2394 + |
|
2395 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonBlobs {
|
2396 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2397 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2398 + | "aws.protocoltests.restjson#JsonBlobs",
|
2399 + | "aws.protocoltests.restjson",
|
2400 + | "JsonBlobs",
|
2401 + | );
|
2402 + |
|
2403 + | type Input = crate::input::JsonBlobsInput;
|
2404 + | type Output = crate::output::JsonBlobsOutput;
|
2405 + | type Error = std::convert::Infallible;
|
2406 + | }
|
2407 + |
|
2408 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonBlobs {
|
2409 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2410 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2411 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2412 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2413 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2414 + | >,
|
2415 + | >;
|
2416 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2417 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2418 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2419 + | >;
|
2420 + |
|
2421 + | fn request_fmt() -> Self::RequestFmt {
|
2422 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2423 + | }
|
2424 + |
|
2425 + | fn response_fmt() -> Self::ResponseFmt {
|
2426 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2427 + | }
|
2428 + | }
|
2429 + | /* ServerOperationGenerator.kt:88 */
|
2430 + |
|
2431 + | /// /* ServerOperationGenerator.kt:48 */This example tests sparse map serialization.
|
2432 + | /* ServerOperationGenerator.kt:55 */
|
2433 + | pub struct SparseJsonMaps;
|
2434 + |
|
2435 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for SparseJsonMaps {
|
2436 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2437 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2438 + | "aws.protocoltests.restjson#SparseJsonMaps",
|
2439 + | "aws.protocoltests.restjson",
|
2440 + | "SparseJsonMaps",
|
2441 + | );
|
2442 + |
|
2443 + | type Input = crate::input::SparseJsonMapsInput;
|
2444 + | type Output = crate::output::SparseJsonMapsOutput;
|
2445 + | type Error = crate::error::SparseJsonMapsError;
|
2446 + | }
|
2447 + |
|
2448 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for SparseJsonMaps {
|
2449 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2450 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2451 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2452 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2453 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2454 + | >,
|
2455 + | >;
|
2456 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2457 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2458 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2459 + | >;
|
2460 + |
|
2461 + | fn request_fmt() -> Self::RequestFmt {
|
2462 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2463 + | }
|
2464 + |
|
2465 + | fn response_fmt() -> Self::ResponseFmt {
|
2466 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2467 + | }
|
2468 + | }
|
2469 + | /* ServerOperationGenerator.kt:88 */
|
2470 + |
|
2471 + | /// /* ServerOperationGenerator.kt:48 */The example tests basic map serialization.
|
2472 + | /* ServerOperationGenerator.kt:55 */
|
2473 + | pub struct JsonMaps;
|
2474 + |
|
2475 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonMaps {
|
2476 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2477 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2478 + | "aws.protocoltests.restjson#JsonMaps",
|
2479 + | "aws.protocoltests.restjson",
|
2480 + | "JsonMaps",
|
2481 + | );
|
2482 + |
|
2483 + | type Input = crate::input::JsonMapsInput;
|
2484 + | type Output = crate::output::JsonMapsOutput;
|
2485 + | type Error = crate::error::JsonMapsError;
|
2486 + | }
|
2487 + |
|
2488 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonMaps {
|
2489 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2490 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2491 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2492 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2493 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2494 + | >,
|
2495 + | >;
|
2496 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2497 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2498 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2499 + | >;
|
2500 + |
|
2501 + | fn request_fmt() -> Self::RequestFmt {
|
2502 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2503 + | }
|
2504 + |
|
2505 + | fn response_fmt() -> Self::ResponseFmt {
|
2506 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2507 + | }
|
2508 + | }
|
2509 + | /* ServerOperationGenerator.kt:88 */
|
2510 + |
|
2511 + | /* ServerOperationGenerator.kt:48 */
|
2512 + | #[allow(missing_docs)] // documentation missing in model
|
2513 + | /* ServerOperationGenerator.kt:55 */
|
2514 + | pub struct SparseJsonLists;
|
2515 + |
|
2516 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for SparseJsonLists {
|
2517 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2518 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2519 + | "aws.protocoltests.restjson#SparseJsonLists",
|
2520 + | "aws.protocoltests.restjson",
|
2521 + | "SparseJsonLists",
|
2522 + | );
|
2523 + |
|
2524 + | type Input = crate::input::SparseJsonListsInput;
|
2525 + | type Output = crate::output::SparseJsonListsOutput;
|
2526 + | type Error = std::convert::Infallible;
|
2527 + | }
|
2528 + |
|
2529 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2530 + | for SparseJsonLists
|
2531 + | {
|
2532 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2533 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2534 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2535 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2536 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2537 + | >,
|
2538 + | >;
|
2539 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2540 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2541 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2542 + | >;
|
2543 + |
|
2544 + | fn request_fmt() -> Self::RequestFmt {
|
2545 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2546 + | }
|
2547 + |
|
2548 + | fn response_fmt() -> Self::ResponseFmt {
|
2549 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2550 + | }
|
2551 + | }
|
2552 + | /* ServerOperationGenerator.kt:88 */
|
2553 + |
|
2554 + | /// /* ServerOperationGenerator.kt:48 */This test case serializes JSON lists for the following cases for both input and output: 1. Normal JSON lists. 2. Normal JSON sets. 3. JSON lists of lists. 4. Lists of structures.
|
2555 + | /* ServerOperationGenerator.kt:55 */
|
2556 + | pub struct JsonLists;
|
2557 + |
|
2558 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonLists {
|
2559 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2560 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2561 + | "aws.protocoltests.restjson#JsonLists",
|
2562 + | "aws.protocoltests.restjson",
|
2563 + | "JsonLists",
|
2564 + | );
|
2565 + |
|
2566 + | type Input = crate::input::JsonListsInput;
|
2567 + | type Output = crate::output::JsonListsOutput;
|
2568 + | type Error = crate::error::JsonListsError;
|
2569 + | }
|
2570 + |
|
2571 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonLists {
|
2572 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2573 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2574 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2575 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2576 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2577 + | >,
|
2578 + | >;
|
2579 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2580 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2581 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2582 + | >;
|
2583 + |
|
2584 + | fn request_fmt() -> Self::RequestFmt {
|
2585 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2586 + | }
|
2587 + |
|
2588 + | fn response_fmt() -> Self::ResponseFmt {
|
2589 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2590 + | }
|
2591 + | }
|
2592 + | /* ServerOperationGenerator.kt:88 */
|
2593 + |
|
2594 + | /// /* ServerOperationGenerator.kt:48 */Recursive shapes
|
2595 + | /* ServerOperationGenerator.kt:55 */
|
2596 + | pub struct RecursiveShapes;
|
2597 + |
|
2598 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for RecursiveShapes {
|
2599 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2600 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2601 + | "aws.protocoltests.restjson#RecursiveShapes",
|
2602 + | "aws.protocoltests.restjson",
|
2603 + | "RecursiveShapes",
|
2604 + | );
|
2605 + |
|
2606 + | type Input = crate::input::RecursiveShapesInput;
|
2607 + | type Output = crate::output::RecursiveShapesOutput;
|
2608 + | type Error = std::convert::Infallible;
|
2609 + | }
|
2610 + |
|
2611 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2612 + | for RecursiveShapes
|
2613 + | {
|
2614 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2615 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2616 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2617 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2618 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2619 + | >,
|
2620 + | >;
|
2621 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2622 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2623 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2624 + | >;
|
2625 + |
|
2626 + | fn request_fmt() -> Self::RequestFmt {
|
2627 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2628 + | }
|
2629 + |
|
2630 + | fn response_fmt() -> Self::ResponseFmt {
|
2631 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2632 + | }
|
2633 + | }
|
2634 + | /* ServerOperationGenerator.kt:88 */
|
2635 + |
|
2636 + | /// /* ServerOperationGenerator.kt:48 */This example serializes intEnums as top level properties, in lists, sets, and maps.
|
2637 + | /* ServerOperationGenerator.kt:55 */
|
2638 + | pub struct JsonIntEnums;
|
2639 + |
|
2640 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonIntEnums {
|
2641 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2642 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2643 + | "aws.protocoltests.restjson#JsonIntEnums",
|
2644 + | "aws.protocoltests.restjson",
|
2645 + | "JsonIntEnums",
|
2646 + | );
|
2647 + |
|
2648 + | type Input = crate::input::JsonIntEnumsInput;
|
2649 + | type Output = crate::output::JsonIntEnumsOutput;
|
2650 + | type Error = crate::error::JsonIntEnumsError;
|
2651 + | }
|
2652 + |
|
2653 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonIntEnums {
|
2654 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2655 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2656 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2657 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2658 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2659 + | >,
|
2660 + | >;
|
2661 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2662 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2663 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2664 + | >;
|
2665 + |
|
2666 + | fn request_fmt() -> Self::RequestFmt {
|
2667 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2668 + | }
|
2669 + |
|
2670 + | fn response_fmt() -> Self::ResponseFmt {
|
2671 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2672 + | }
|
2673 + | }
|
2674 + | /* ServerOperationGenerator.kt:88 */
|
2675 + |
|
2676 + | /// /* ServerOperationGenerator.kt:48 */This example serializes enums as top level properties, in lists, sets, and maps.
|
2677 + | /* ServerOperationGenerator.kt:55 */
|
2678 + | pub struct JsonEnums;
|
2679 + |
|
2680 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonEnums {
|
2681 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2682 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2683 + | "aws.protocoltests.restjson#JsonEnums",
|
2684 + | "aws.protocoltests.restjson",
|
2685 + | "JsonEnums",
|
2686 + | );
|
2687 + |
|
2688 + | type Input = crate::input::JsonEnumsInput;
|
2689 + | type Output = crate::output::JsonEnumsOutput;
|
2690 + | type Error = crate::error::JsonEnumsError;
|
2691 + | }
|
2692 + |
|
2693 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonEnums {
|
2694 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2695 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2696 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2697 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2698 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2699 + | >,
|
2700 + | >;
|
2701 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2702 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2703 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2704 + | >;
|
2705 + |
|
2706 + | fn request_fmt() -> Self::RequestFmt {
|
2707 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2708 + | }
|
2709 + |
|
2710 + | fn response_fmt() -> Self::ResponseFmt {
|
2711 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2712 + | }
|
2713 + | }
|
2714 + | /* ServerOperationGenerator.kt:88 */
|
2715 + |
|
2716 + | /// /* ServerOperationGenerator.kt:48 */This tests how timestamps are serialized, including using the default format of date-time and various @timestampFormat trait values.
|
2717 + | /* ServerOperationGenerator.kt:55 */
|
2718 + | pub struct JsonTimestamps;
|
2719 + |
|
2720 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonTimestamps {
|
2721 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2722 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2723 + | "aws.protocoltests.restjson#JsonTimestamps",
|
2724 + | "aws.protocoltests.restjson",
|
2725 + | "JsonTimestamps",
|
2726 + | );
|
2727 + |
|
2728 + | type Input = crate::input::JsonTimestampsInput;
|
2729 + | type Output = crate::output::JsonTimestampsOutput;
|
2730 + | type Error = std::convert::Infallible;
|
2731 + | }
|
2732 + |
|
2733 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonTimestamps {
|
2734 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2735 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2736 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2737 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2738 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2739 + | >,
|
2740 + | >;
|
2741 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2742 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2743 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2744 + | >;
|
2745 + |
|
2746 + | fn request_fmt() -> Self::RequestFmt {
|
2747 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2748 + | }
|
2749 + |
|
2750 + | fn response_fmt() -> Self::ResponseFmt {
|
2751 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2752 + | }
|
2753 + | }
|
2754 + | /* ServerOperationGenerator.kt:88 */
|
2755 + |
|
2756 + | /* ServerOperationGenerator.kt:48 */
|
2757 + | #[allow(missing_docs)] // documentation missing in model
|
2758 + | /* ServerOperationGenerator.kt:55 */
|
2759 + | pub struct SimpleScalarProperties;
|
2760 + |
|
2761 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for SimpleScalarProperties {
|
2762 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2763 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2764 + | "aws.protocoltests.restjson#SimpleScalarProperties",
|
2765 + | "aws.protocoltests.restjson",
|
2766 + | "SimpleScalarProperties",
|
2767 + | );
|
2768 + |
|
2769 + | type Input = crate::input::SimpleScalarPropertiesInput;
|
2770 + | type Output = crate::output::SimpleScalarPropertiesOutput;
|
2771 + | type Error = std::convert::Infallible;
|
2772 + | }
|
2773 + |
|
2774 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2775 + | for SimpleScalarProperties
|
2776 + | {
|
2777 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2778 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2779 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2780 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2781 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2782 + | >,
|
2783 + | >;
|
2784 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2785 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2786 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2787 + | >;
|
2788 + |
|
2789 + | fn request_fmt() -> Self::RequestFmt {
|
2790 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2791 + | }
|
2792 + |
|
2793 + | fn response_fmt() -> Self::ResponseFmt {
|
2794 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2795 + | }
|
2796 + | }
|
2797 + | /* ServerOperationGenerator.kt:88 */
|
2798 + |
|
2799 + | /// /* ServerOperationGenerator.kt:48 */This operation has four possible return values: 1. A successful response in the form of GreetingWithErrorsOutput 2. An InvalidGreeting error. 3. A BadRequest error. 4. A FooError. Implementations must be able to successfully take a response and properly (de)serialize successful and error responses based on the the presence of the
|
2800 + | /* ServerOperationGenerator.kt:55 */
|
2801 + | pub struct GreetingWithErrors;
|
2802 + |
|
2803 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for GreetingWithErrors {
|
2804 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2805 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2806 + | "aws.protocoltests.restjson#GreetingWithErrors",
|
2807 + | "aws.protocoltests.restjson",
|
2808 + | "GreetingWithErrors",
|
2809 + | );
|
2810 + |
|
2811 + | type Input = crate::input::GreetingWithErrorsInput;
|
2812 + | type Output = crate::output::GreetingWithErrorsOutput;
|
2813 + | type Error = crate::error::GreetingWithErrorsError;
|
2814 + | }
|
2815 + |
|
2816 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2817 + | for GreetingWithErrors
|
2818 + | {
|
2819 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2820 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2821 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2822 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2823 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2824 + | >,
|
2825 + | >;
|
2826 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2827 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2828 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2829 + | >;
|
2830 + |
|
2831 + | fn request_fmt() -> Self::RequestFmt {
|
2832 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2833 + | }
|
2834 + |
|
2835 + | fn response_fmt() -> Self::ResponseFmt {
|
2836 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2837 + | }
|
2838 + | }
|
2839 + | /* ServerOperationGenerator.kt:88 */
|
2840 + |
|
2841 + | /// /* ServerOperationGenerator.kt:48 */This examples serializes a streaming media-typed blob shape in the request body. This examples uses a `@mediaType` trait on the payload to force a custom content-type to be serialized.
|
2842 + | /* ServerOperationGenerator.kt:55 */
|
2843 + | pub struct StreamingTraitsWithMediaType;
|
2844 + |
|
2845 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for StreamingTraitsWithMediaType {
|
2846 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2847 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2848 + | "aws.protocoltests.restjson#StreamingTraitsWithMediaType",
|
2849 + | "aws.protocoltests.restjson",
|
2850 + | "StreamingTraitsWithMediaType",
|
2851 + | );
|
2852 + |
|
2853 + | type Input = crate::input::StreamingTraitsWithMediaTypeInput;
|
2854 + | type Output = crate::output::StreamingTraitsWithMediaTypeOutput;
|
2855 + | type Error = std::convert::Infallible;
|
2856 + | }
|
2857 + |
|
2858 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2859 + | for StreamingTraitsWithMediaType
|
2860 + | {
|
2861 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2862 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2863 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2864 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2865 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2866 + | >,
|
2867 + | >;
|
2868 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2869 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2870 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2871 + | >;
|
2872 + |
|
2873 + | fn request_fmt() -> Self::RequestFmt {
|
2874 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2875 + | }
|
2876 + |
|
2877 + | fn response_fmt() -> Self::ResponseFmt {
|
2878 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2879 + | }
|
2880 + | }
|
2881 + | /* ServerOperationGenerator.kt:88 */
|
2882 + |
|
2883 + | /// /* ServerOperationGenerator.kt:48 */This examples serializes a streaming blob shape with a required content length in the request body. In this example, no JSON document is synthesized because the payload is not a structure or a union type.
|
2884 + | /* ServerOperationGenerator.kt:55 */
|
2885 + | pub struct StreamingTraitsRequireLength;
|
2886 + |
|
2887 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for StreamingTraitsRequireLength {
|
2888 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2889 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2890 + | "aws.protocoltests.restjson#StreamingTraitsRequireLength",
|
2891 + | "aws.protocoltests.restjson",
|
2892 + | "StreamingTraitsRequireLength",
|
2893 + | );
|
2894 + |
|
2895 + | type Input = crate::input::StreamingTraitsRequireLengthInput;
|
2896 + | type Output = crate::output::StreamingTraitsRequireLengthOutput;
|
2897 + | type Error = std::convert::Infallible;
|
2898 + | }
|
2899 + |
|
2900 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2901 + | for StreamingTraitsRequireLength
|
2902 + | {
|
2903 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2904 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2905 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2906 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2907 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2908 + | >,
|
2909 + | >;
|
2910 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2911 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2912 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2913 + | >;
|
2914 + |
|
2915 + | fn request_fmt() -> Self::RequestFmt {
|
2916 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2917 + | }
|
2918 + |
|
2919 + | fn response_fmt() -> Self::ResponseFmt {
|
2920 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2921 + | }
|
2922 + | }
|
2923 + | /* ServerOperationGenerator.kt:88 */
|
2924 + |
|
2925 + | /// /* ServerOperationGenerator.kt:48 */This examples serializes a streaming blob shape in the request body. In this example, no JSON document is synthesized because the payload is not a structure or a union type.
|
2926 + | /* ServerOperationGenerator.kt:55 */
|
2927 + | pub struct StreamingTraits;
|
2928 + |
|
2929 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for StreamingTraits {
|
2930 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2931 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2932 + | "aws.protocoltests.restjson#StreamingTraits",
|
2933 + | "aws.protocoltests.restjson",
|
2934 + | "StreamingTraits",
|
2935 + | );
|
2936 + |
|
2937 + | type Input = crate::input::StreamingTraitsInput;
|
2938 + | type Output = crate::output::StreamingTraitsOutput;
|
2939 + | type Error = std::convert::Infallible;
|
2940 + | }
|
2941 + |
|
2942 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2943 + | for StreamingTraits
|
2944 + | {
|
2945 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2946 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2947 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2948 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2949 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2950 + | >,
|
2951 + | >;
|
2952 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2953 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2954 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2955 + | >;
|
2956 + |
|
2957 + | fn request_fmt() -> Self::RequestFmt {
|
2958 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
2959 + | }
|
2960 + |
|
2961 + | fn response_fmt() -> Self::ResponseFmt {
|
2962 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
2963 + | }
|
2964 + | }
|
2965 + | /* ServerOperationGenerator.kt:88 */
|
2966 + |
|
2967 + | /* ServerOperationGenerator.kt:48 */
|
2968 + | #[allow(missing_docs)] // documentation missing in model
|
2969 + | /* ServerOperationGenerator.kt:55 */
|
2970 + | pub struct ResponseCodeHttpFallback;
|
2971 + |
|
2972 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for ResponseCodeHttpFallback {
|
2973 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
2974 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
2975 + | "aws.protocoltests.restjson#ResponseCodeHttpFallback",
|
2976 + | "aws.protocoltests.restjson",
|
2977 + | "ResponseCodeHttpFallback",
|
2978 + | );
|
2979 + |
|
2980 + | type Input = crate::input::ResponseCodeHttpFallbackInput;
|
2981 + | type Output = crate::output::ResponseCodeHttpFallbackOutput;
|
2982 + | type Error = std::convert::Infallible;
|
2983 + | }
|
2984 + |
|
2985 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
2986 + | for ResponseCodeHttpFallback
|
2987 + | {
|
2988 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
2989 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2990 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
2991 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2992 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2993 + | >,
|
2994 + | >;
|
2995 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
2996 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2997 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
2998 + | >;
|
2999 + |
|
3000 + | fn request_fmt() -> Self::RequestFmt {
|
3001 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3002 + | }
|
3003 + |
|
3004 + | fn response_fmt() -> Self::ResponseFmt {
|
3005 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3006 + | }
|
3007 + | }
|
3008 + | /* ServerOperationGenerator.kt:88 */
|
3009 + |
|
3010 + | /* ServerOperationGenerator.kt:48 */
|
3011 + | #[allow(missing_docs)] // documentation missing in model
|
3012 + | /* ServerOperationGenerator.kt:55 */
|
3013 + | pub struct ResponseCodeRequired;
|
3014 + |
|
3015 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for ResponseCodeRequired {
|
3016 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3017 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3018 + | "aws.protocoltests.restjson#ResponseCodeRequired",
|
3019 + | "aws.protocoltests.restjson",
|
3020 + | "ResponseCodeRequired",
|
3021 + | );
|
3022 + |
|
3023 + | type Input = crate::input::ResponseCodeRequiredInput;
|
3024 + | type Output = crate::output::ResponseCodeRequiredOutput;
|
3025 + | type Error = std::convert::Infallible;
|
3026 + | }
|
3027 + |
|
3028 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3029 + | for ResponseCodeRequired
|
3030 + | {
|
3031 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3032 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3033 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3034 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3035 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3036 + | >,
|
3037 + | >;
|
3038 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3039 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3040 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3041 + | >;
|
3042 + |
|
3043 + | fn request_fmt() -> Self::RequestFmt {
|
3044 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3045 + | }
|
3046 + |
|
3047 + | fn response_fmt() -> Self::ResponseFmt {
|
3048 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3049 + | }
|
3050 + | }
|
3051 + | /* ServerOperationGenerator.kt:88 */
|
3052 + |
|
3053 + | /* ServerOperationGenerator.kt:48 */
|
3054 + | #[allow(missing_docs)] // documentation missing in model
|
3055 + | /* ServerOperationGenerator.kt:55 */
|
3056 + | pub struct HttpResponseCode;
|
3057 + |
|
3058 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpResponseCode {
|
3059 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3060 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3061 + | "aws.protocoltests.restjson#HttpResponseCode",
|
3062 + | "aws.protocoltests.restjson",
|
3063 + | "HttpResponseCode",
|
3064 + | );
|
3065 + |
|
3066 + | type Input = crate::input::HttpResponseCodeInput;
|
3067 + | type Output = crate::output::HttpResponseCodeOutput;
|
3068 + | type Error = std::convert::Infallible;
|
3069 + | }
|
3070 + |
|
3071 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3072 + | for HttpResponseCode
|
3073 + | {
|
3074 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3075 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3076 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3077 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3078 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3079 + | >,
|
3080 + | >;
|
3081 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3082 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3083 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3084 + | >;
|
3085 + |
|
3086 + | fn request_fmt() -> Self::RequestFmt {
|
3087 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3088 + | }
|
3089 + |
|
3090 + | fn response_fmt() -> Self::ResponseFmt {
|
3091 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3092 + | }
|
3093 + | }
|
3094 + | /* ServerOperationGenerator.kt:88 */
|
3095 + |
|
3096 + | /// /* ServerOperationGenerator.kt:48 */This example serializes a union in the payload.
|
3097 + | /* ServerOperationGenerator.kt:55 */
|
3098 + | pub struct HttpPayloadWithUnion;
|
3099 + |
|
3100 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpPayloadWithUnion {
|
3101 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3102 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3103 + | "aws.protocoltests.restjson#HttpPayloadWithUnion",
|
3104 + | "aws.protocoltests.restjson",
|
3105 + | "HttpPayloadWithUnion",
|
3106 + | );
|
3107 + |
|
3108 + | type Input = crate::input::HttpPayloadWithUnionInput;
|
3109 + | type Output = crate::output::HttpPayloadWithUnionOutput;
|
3110 + | type Error = std::convert::Infallible;
|
3111 + | }
|
3112 + |
|
3113 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3114 + | for HttpPayloadWithUnion
|
3115 + | {
|
3116 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3117 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3118 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3119 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3120 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3121 + | >,
|
3122 + | >;
|
3123 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3124 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3125 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3126 + | >;
|
3127 + |
|
3128 + | fn request_fmt() -> Self::RequestFmt {
|
3129 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3130 + | }
|
3131 + |
|
3132 + | fn response_fmt() -> Self::ResponseFmt {
|
3133 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3134 + | }
|
3135 + | }
|
3136 + | /* ServerOperationGenerator.kt:88 */
|
3137 + |
|
3138 + | /* ServerOperationGenerator.kt:48 */
|
3139 + | #[allow(missing_docs)] // documentation missing in model
|
3140 + | /* ServerOperationGenerator.kt:55 */
|
3141 + | pub struct HttpStringPayload;
|
3142 + |
|
3143 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpStringPayload {
|
3144 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3145 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3146 + | "aws.protocoltests.restjson#HttpStringPayload",
|
3147 + | "aws.protocoltests.restjson",
|
3148 + | "HttpStringPayload",
|
3149 + | );
|
3150 + |
|
3151 + | type Input = crate::input::HttpStringPayloadInput;
|
3152 + | type Output = crate::output::HttpStringPayloadOutput;
|
3153 + | type Error = std::convert::Infallible;
|
3154 + | }
|
3155 + |
|
3156 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3157 + | for HttpStringPayload
|
3158 + | {
|
3159 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3160 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3161 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3162 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3163 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3164 + | >,
|
3165 + | >;
|
3166 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3167 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3168 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3169 + | >;
|
3170 + |
|
3171 + | fn request_fmt() -> Self::RequestFmt {
|
3172 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3173 + | }
|
3174 + |
|
3175 + | fn response_fmt() -> Self::ResponseFmt {
|
3176 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3177 + | }
|
3178 + | }
|
3179 + | /* ServerOperationGenerator.kt:88 */
|
3180 + |
|
3181 + | /* ServerOperationGenerator.kt:48 */
|
3182 + | #[allow(missing_docs)] // documentation missing in model
|
3183 + | /* ServerOperationGenerator.kt:55 */
|
3184 + | pub struct HttpEnumPayload;
|
3185 + |
|
3186 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpEnumPayload {
|
3187 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3188 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3189 + | "aws.protocoltests.restjson#HttpEnumPayload",
|
3190 + | "aws.protocoltests.restjson",
|
3191 + | "HttpEnumPayload",
|
3192 + | );
|
3193 + |
|
3194 + | type Input = crate::input::HttpEnumPayloadInput;
|
3195 + | type Output = crate::output::HttpEnumPayloadOutput;
|
3196 + | type Error = crate::error::HttpEnumPayloadError;
|
3197 + | }
|
3198 + |
|
3199 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3200 + | for HttpEnumPayload
|
3201 + | {
|
3202 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3203 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3204 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3205 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3206 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3207 + | >,
|
3208 + | >;
|
3209 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3210 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3211 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3212 + | >;
|
3213 + |
|
3214 + | fn request_fmt() -> Self::RequestFmt {
|
3215 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3216 + | }
|
3217 + |
|
3218 + | fn response_fmt() -> Self::ResponseFmt {
|
3219 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3220 + | }
|
3221 + | }
|
3222 + | /* ServerOperationGenerator.kt:88 */
|
3223 + |
|
3224 + | /// /* ServerOperationGenerator.kt:48 */This example serializes a structure in the payload. Note that serializing a structure changes the wrapper element name to match the targeted structure.
|
3225 + | /* ServerOperationGenerator.kt:55 */
|
3226 + | pub struct HttpPayloadWithStructure;
|
3227 + |
|
3228 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpPayloadWithStructure {
|
3229 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3230 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3231 + | "aws.protocoltests.restjson#HttpPayloadWithStructure",
|
3232 + | "aws.protocoltests.restjson",
|
3233 + | "HttpPayloadWithStructure",
|
3234 + | );
|
3235 + |
|
3236 + | type Input = crate::input::HttpPayloadWithStructureInput;
|
3237 + | type Output = crate::output::HttpPayloadWithStructureOutput;
|
3238 + | type Error = std::convert::Infallible;
|
3239 + | }
|
3240 + |
|
3241 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3242 + | for HttpPayloadWithStructure
|
3243 + | {
|
3244 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3245 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3246 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3247 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3248 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3249 + | >,
|
3250 + | >;
|
3251 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3252 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3253 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3254 + | >;
|
3255 + |
|
3256 + | fn request_fmt() -> Self::RequestFmt {
|
3257 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3258 + | }
|
3259 + |
|
3260 + | fn response_fmt() -> Self::ResponseFmt {
|
3261 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3262 + | }
|
3263 + | }
|
3264 + | /* ServerOperationGenerator.kt:88 */
|
3265 + |
|
3266 + | /// /* ServerOperationGenerator.kt:48 */This example uses a `@mediaType` trait on the payload to force a custom content-type to be serialized.
|
3267 + | /* ServerOperationGenerator.kt:55 */
|
3268 + | pub struct HttpPayloadTraitsWithMediaType;
|
3269 + |
|
3270 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpPayloadTraitsWithMediaType {
|
3271 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3272 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3273 + | "aws.protocoltests.restjson#HttpPayloadTraitsWithMediaType",
|
3274 + | "aws.protocoltests.restjson",
|
3275 + | "HttpPayloadTraitsWithMediaType",
|
3276 + | );
|
3277 + |
|
3278 + | type Input = crate::input::HttpPayloadTraitsWithMediaTypeInput;
|
3279 + | type Output = crate::output::HttpPayloadTraitsWithMediaTypeOutput;
|
3280 + | type Error = std::convert::Infallible;
|
3281 + | }
|
3282 + |
|
3283 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3284 + | for HttpPayloadTraitsWithMediaType
|
3285 + | {
|
3286 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3287 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3288 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3289 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3290 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3291 + | >,
|
3292 + | >;
|
3293 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3294 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3295 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3296 + | >;
|
3297 + |
|
3298 + | fn request_fmt() -> Self::RequestFmt {
|
3299 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3300 + | }
|
3301 + |
|
3302 + | fn response_fmt() -> Self::ResponseFmt {
|
3303 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3304 + | }
|
3305 + | }
|
3306 + | /* ServerOperationGenerator.kt:88 */
|
3307 + |
|
3308 + | /// /* ServerOperationGenerator.kt:48 */This example serializes a blob shape in the payload. In this example, no JSON document is synthesized because the payload is not a structure or a union type.
|
3309 + | /* ServerOperationGenerator.kt:55 */
|
3310 + | pub struct HttpPayloadTraits;
|
3311 + |
|
3312 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpPayloadTraits {
|
3313 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3314 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3315 + | "aws.protocoltests.restjson#HttpPayloadTraits",
|
3316 + | "aws.protocoltests.restjson",
|
3317 + | "HttpPayloadTraits",
|
3318 + | );
|
3319 + |
|
3320 + | type Input = crate::input::HttpPayloadTraitsInput;
|
3321 + | type Output = crate::output::HttpPayloadTraitsOutput;
|
3322 + | type Error = std::convert::Infallible;
|
3323 + | }
|
3324 + |
|
3325 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3326 + | for HttpPayloadTraits
|
3327 + | {
|
3328 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3329 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3330 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3331 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3332 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3333 + | >,
|
3334 + | >;
|
3335 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3336 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3337 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3338 + | >;
|
3339 + |
|
3340 + | fn request_fmt() -> Self::RequestFmt {
|
3341 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3342 + | }
|
3343 + |
|
3344 + | fn response_fmt() -> Self::ResponseFmt {
|
3345 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3346 + | }
|
3347 + | }
|
3348 + | /* ServerOperationGenerator.kt:88 */
|
3349 + |
|
3350 + | /// /* ServerOperationGenerator.kt:48 */Clients that perform this test extract all headers from the response.
|
3351 + | /* ServerOperationGenerator.kt:55 */
|
3352 + | pub struct HttpEmptyPrefixHeaders;
|
3353 + |
|
3354 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpEmptyPrefixHeaders {
|
3355 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3356 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3357 + | "aws.protocoltests.restjson#HttpEmptyPrefixHeaders",
|
3358 + | "aws.protocoltests.restjson",
|
3359 + | "HttpEmptyPrefixHeaders",
|
3360 + | );
|
3361 + |
|
3362 + | type Input = crate::input::HttpEmptyPrefixHeadersInput;
|
3363 + | type Output = crate::output::HttpEmptyPrefixHeadersOutput;
|
3364 + | type Error = std::convert::Infallible;
|
3365 + | }
|
3366 + |
|
3367 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3368 + | for HttpEmptyPrefixHeaders
|
3369 + | {
|
3370 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3371 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3372 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3373 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3374 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3375 + | >,
|
3376 + | >;
|
3377 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3378 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3379 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3380 + | >;
|
3381 + |
|
3382 + | fn request_fmt() -> Self::RequestFmt {
|
3383 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3384 + | }
|
3385 + |
|
3386 + | fn response_fmt() -> Self::ResponseFmt {
|
3387 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3388 + | }
|
3389 + | }
|
3390 + | /* ServerOperationGenerator.kt:88 */
|
3391 + |
|
3392 + | /// /* ServerOperationGenerator.kt:48 */Clients that perform this test extract all headers from the response.
|
3393 + | /* ServerOperationGenerator.kt:55 */
|
3394 + | pub struct HttpPrefixHeadersInResponse;
|
3395 + |
|
3396 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpPrefixHeadersInResponse {
|
3397 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3398 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3399 + | "aws.protocoltests.restjson#HttpPrefixHeadersInResponse",
|
3400 + | "aws.protocoltests.restjson",
|
3401 + | "HttpPrefixHeadersInResponse",
|
3402 + | );
|
3403 + |
|
3404 + | type Input = crate::input::HttpPrefixHeadersInResponseInput;
|
3405 + | type Output = crate::output::HttpPrefixHeadersInResponseOutput;
|
3406 + | type Error = std::convert::Infallible;
|
3407 + | }
|
3408 + |
|
3409 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3410 + | for HttpPrefixHeadersInResponse
|
3411 + | {
|
3412 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3413 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3414 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3415 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3416 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3417 + | >,
|
3418 + | >;
|
3419 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3420 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3421 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3422 + | >;
|
3423 + |
|
3424 + | fn request_fmt() -> Self::RequestFmt {
|
3425 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3426 + | }
|
3427 + |
|
3428 + | fn response_fmt() -> Self::ResponseFmt {
|
3429 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3430 + | }
|
3431 + | }
|
3432 + | /* ServerOperationGenerator.kt:88 */
|
3433 + |
|
3434 + | /// /* ServerOperationGenerator.kt:48 */This examples adds headers to the input of a request and response by prefix.
|
3435 + | /* ServerOperationGenerator.kt:55 */
|
3436 + | pub struct HttpPrefixHeaders;
|
3437 + |
|
3438 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpPrefixHeaders {
|
3439 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3440 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3441 + | "aws.protocoltests.restjson#HttpPrefixHeaders",
|
3442 + | "aws.protocoltests.restjson",
|
3443 + | "HttpPrefixHeaders",
|
3444 + | );
|
3445 + |
|
3446 + | type Input = crate::input::HttpPrefixHeadersInput;
|
3447 + | type Output = crate::output::HttpPrefixHeadersOutput;
|
3448 + | type Error = std::convert::Infallible;
|
3449 + | }
|
3450 + |
|
3451 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3452 + | for HttpPrefixHeaders
|
3453 + | {
|
3454 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3455 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3456 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3457 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3458 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3459 + | >,
|
3460 + | >;
|
3461 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3462 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3463 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3464 + | >;
|
3465 + |
|
3466 + | fn request_fmt() -> Self::RequestFmt {
|
3467 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3468 + | }
|
3469 + |
|
3470 + | fn response_fmt() -> Self::ResponseFmt {
|
3471 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3472 + | }
|
3473 + | }
|
3474 + | /* ServerOperationGenerator.kt:88 */
|
3475 + |
|
3476 + | /* ServerOperationGenerator.kt:48 */
|
3477 + | #[allow(missing_docs)] // documentation missing in model
|
3478 + | /* ServerOperationGenerator.kt:55 */
|
3479 + | pub struct QueryParamsAsStringListMap;
|
3480 + |
|
3481 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for QueryParamsAsStringListMap {
|
3482 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3483 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3484 + | "aws.protocoltests.restjson#QueryParamsAsStringListMap",
|
3485 + | "aws.protocoltests.restjson",
|
3486 + | "QueryParamsAsStringListMap",
|
3487 + | );
|
3488 + |
|
3489 + | type Input = crate::input::QueryParamsAsStringListMapInput;
|
3490 + | type Output = crate::output::QueryParamsAsStringListMapOutput;
|
3491 + | type Error = std::convert::Infallible;
|
3492 + | }
|
3493 + |
|
3494 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3495 + | for QueryParamsAsStringListMap
|
3496 + | {
|
3497 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3498 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3499 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3500 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3501 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3502 + | >,
|
3503 + | >;
|
3504 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3505 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3506 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3507 + | >;
|
3508 + |
|
3509 + | fn request_fmt() -> Self::RequestFmt {
|
3510 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3511 + | }
|
3512 + |
|
3513 + | fn response_fmt() -> Self::ResponseFmt {
|
3514 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3515 + | }
|
3516 + | }
|
3517 + | /* ServerOperationGenerator.kt:88 */
|
3518 + |
|
3519 + | /* ServerOperationGenerator.kt:48 */
|
3520 + | #[allow(missing_docs)] // documentation missing in model
|
3521 + | /* ServerOperationGenerator.kt:55 */
|
3522 + | pub struct QueryPrecedence;
|
3523 + |
|
3524 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for QueryPrecedence {
|
3525 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3526 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3527 + | "aws.protocoltests.restjson#QueryPrecedence",
|
3528 + | "aws.protocoltests.restjson",
|
3529 + | "QueryPrecedence",
|
3530 + | );
|
3531 + |
|
3532 + | type Input = crate::input::QueryPrecedenceInput;
|
3533 + | type Output = crate::output::QueryPrecedenceOutput;
|
3534 + | type Error = std::convert::Infallible;
|
3535 + | }
|
3536 + |
|
3537 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3538 + | for QueryPrecedence
|
3539 + | {
|
3540 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3541 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3542 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3543 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3544 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3545 + | >,
|
3546 + | >;
|
3547 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3548 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3549 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3550 + | >;
|
3551 + |
|
3552 + | fn request_fmt() -> Self::RequestFmt {
|
3553 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3554 + | }
|
3555 + |
|
3556 + | fn response_fmt() -> Self::ResponseFmt {
|
3557 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3558 + | }
|
3559 + | }
|
3560 + | /* ServerOperationGenerator.kt:88 */
|
3561 + |
|
3562 + | /// /* ServerOperationGenerator.kt:48 */Automatically adds idempotency tokens.
|
3563 + | /* ServerOperationGenerator.kt:55 */
|
3564 + | pub struct QueryIdempotencyTokenAutoFill;
|
3565 + |
|
3566 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for QueryIdempotencyTokenAutoFill {
|
3567 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3568 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3569 + | "aws.protocoltests.restjson#QueryIdempotencyTokenAutoFill",
|
3570 + | "aws.protocoltests.restjson",
|
3571 + | "QueryIdempotencyTokenAutoFill",
|
3572 + | );
|
3573 + |
|
3574 + | type Input = crate::input::QueryIdempotencyTokenAutoFillInput;
|
3575 + | type Output = crate::output::QueryIdempotencyTokenAutoFillOutput;
|
3576 + | type Error = std::convert::Infallible;
|
3577 + | }
|
3578 + |
|
3579 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3580 + | for QueryIdempotencyTokenAutoFill
|
3581 + | {
|
3582 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3583 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3584 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3585 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3586 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3587 + | >,
|
3588 + | >;
|
3589 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3590 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3591 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3592 + | >;
|
3593 + |
|
3594 + | fn request_fmt() -> Self::RequestFmt {
|
3595 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3596 + | }
|
3597 + |
|
3598 + | fn response_fmt() -> Self::ResponseFmt {
|
3599 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3600 + | }
|
3601 + | }
|
3602 + | /* ServerOperationGenerator.kt:88 */
|
3603 + |
|
3604 + | /// /* ServerOperationGenerator.kt:48 */Omits serializing empty lists. Because empty strings are serilized as `Foo=`, empty lists cannot also be serialized as `Foo=` and instead must be omitted.
|
3605 + | /* ServerOperationGenerator.kt:55 */
|
3606 + | pub struct OmitsSerializingEmptyLists;
|
3607 + |
|
3608 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OmitsSerializingEmptyLists {
|
3609 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3610 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3611 + | "aws.protocoltests.restjson#OmitsSerializingEmptyLists",
|
3612 + | "aws.protocoltests.restjson",
|
3613 + | "OmitsSerializingEmptyLists",
|
3614 + | );
|
3615 + |
|
3616 + | type Input = crate::input::OmitsSerializingEmptyListsInput;
|
3617 + | type Output = crate::output::OmitsSerializingEmptyListsOutput;
|
3618 + | type Error = crate::error::OmitsSerializingEmptyListsError;
|
3619 + | }
|
3620 + |
|
3621 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3622 + | for OmitsSerializingEmptyLists
|
3623 + | {
|
3624 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3625 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3626 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3627 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3628 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3629 + | >,
|
3630 + | >;
|
3631 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3632 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3633 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3634 + | >;
|
3635 + |
|
3636 + | fn request_fmt() -> Self::RequestFmt {
|
3637 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3638 + | }
|
3639 + |
|
3640 + | fn response_fmt() -> Self::ResponseFmt {
|
3641 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3642 + | }
|
3643 + | }
|
3644 + | /* ServerOperationGenerator.kt:88 */
|
3645 + |
|
3646 + | /// /* ServerOperationGenerator.kt:48 */Omits null, but serializes empty string value.
|
3647 + | /* ServerOperationGenerator.kt:55 */
|
3648 + | pub struct OmitsNullSerializesEmptyString;
|
3649 + |
|
3650 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OmitsNullSerializesEmptyString {
|
3651 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3652 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3653 + | "aws.protocoltests.restjson#OmitsNullSerializesEmptyString",
|
3654 + | "aws.protocoltests.restjson",
|
3655 + | "OmitsNullSerializesEmptyString",
|
3656 + | );
|
3657 + |
|
3658 + | type Input = crate::input::OmitsNullSerializesEmptyStringInput;
|
3659 + | type Output = crate::output::OmitsNullSerializesEmptyStringOutput;
|
3660 + | type Error = std::convert::Infallible;
|
3661 + | }
|
3662 + |
|
3663 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3664 + | for OmitsNullSerializesEmptyString
|
3665 + | {
|
3666 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3667 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3668 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3669 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3670 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3671 + | >,
|
3672 + | >;
|
3673 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3674 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3675 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3676 + | >;
|
3677 + |
|
3678 + | fn request_fmt() -> Self::RequestFmt {
|
3679 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3680 + | }
|
3681 + |
|
3682 + | fn response_fmt() -> Self::ResponseFmt {
|
3683 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3684 + | }
|
3685 + | }
|
3686 + | /* ServerOperationGenerator.kt:88 */
|
3687 + |
|
3688 + | /// /* ServerOperationGenerator.kt:48 */This example ensures that query string bound request parameters are serialized in the body of responses if the structure is used in both the request and response.
|
3689 + | /* ServerOperationGenerator.kt:55 */
|
3690 + | pub struct IgnoreQueryParamsInResponse;
|
3691 + |
|
3692 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for IgnoreQueryParamsInResponse {
|
3693 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3694 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3695 + | "aws.protocoltests.restjson#IgnoreQueryParamsInResponse",
|
3696 + | "aws.protocoltests.restjson",
|
3697 + | "IgnoreQueryParamsInResponse",
|
3698 + | );
|
3699 + |
|
3700 + | type Input = crate::input::IgnoreQueryParamsInResponseInput;
|
3701 + | type Output = crate::output::IgnoreQueryParamsInResponseOutput;
|
3702 + | type Error = std::convert::Infallible;
|
3703 + | }
|
3704 + |
|
3705 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3706 + | for IgnoreQueryParamsInResponse
|
3707 + | {
|
3708 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3709 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3710 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3711 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3712 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3713 + | >,
|
3714 + | >;
|
3715 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3716 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3717 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3718 + | >;
|
3719 + |
|
3720 + | fn request_fmt() -> Self::RequestFmt {
|
3721 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3722 + | }
|
3723 + |
|
3724 + | fn response_fmt() -> Self::ResponseFmt {
|
3725 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3726 + | }
|
3727 + | }
|
3728 + | /* ServerOperationGenerator.kt:88 */
|
3729 + |
|
3730 + | /// /* ServerOperationGenerator.kt:48 */This example uses fixed query string params and variable query string params. The fixed query string parameters and variable parameters must both be serialized (implementations may need to merge them together).
|
3731 + | /* ServerOperationGenerator.kt:55 */
|
3732 + | pub struct ConstantAndVariableQueryString;
|
3733 + |
|
3734 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for ConstantAndVariableQueryString {
|
3735 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3736 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3737 + | "aws.protocoltests.restjson#ConstantAndVariableQueryString",
|
3738 + | "aws.protocoltests.restjson",
|
3739 + | "ConstantAndVariableQueryString",
|
3740 + | );
|
3741 + |
|
3742 + | type Input = crate::input::ConstantAndVariableQueryStringInput;
|
3743 + | type Output = crate::output::ConstantAndVariableQueryStringOutput;
|
3744 + | type Error = std::convert::Infallible;
|
3745 + | }
|
3746 + |
|
3747 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3748 + | for ConstantAndVariableQueryString
|
3749 + | {
|
3750 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3751 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3752 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3753 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3754 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3755 + | >,
|
3756 + | >;
|
3757 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3758 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3759 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3760 + | >;
|
3761 + |
|
3762 + | fn request_fmt() -> Self::RequestFmt {
|
3763 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3764 + | }
|
3765 + |
|
3766 + | fn response_fmt() -> Self::ResponseFmt {
|
3767 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3768 + | }
|
3769 + | }
|
3770 + | /* ServerOperationGenerator.kt:88 */
|
3771 + |
|
3772 + | /// /* ServerOperationGenerator.kt:48 */This example uses a constant query string parameters and a label. This simply tests that labels and query string parameters are compatible. The fixed query string parameter named "hello" should in no way conflict with the label, `{hello}`.
|
3773 + | /* ServerOperationGenerator.kt:55 */
|
3774 + | pub struct ConstantQueryString;
|
3775 + |
|
3776 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for ConstantQueryString {
|
3777 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3778 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3779 + | "aws.protocoltests.restjson#ConstantQueryString",
|
3780 + | "aws.protocoltests.restjson",
|
3781 + | "ConstantQueryString",
|
3782 + | );
|
3783 + |
|
3784 + | type Input = crate::input::ConstantQueryStringInput;
|
3785 + | type Output = crate::output::ConstantQueryStringOutput;
|
3786 + | type Error = crate::error::ConstantQueryStringError;
|
3787 + | }
|
3788 + |
|
3789 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3790 + | for ConstantQueryString
|
3791 + | {
|
3792 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3793 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3794 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3795 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3796 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3797 + | >,
|
3798 + | >;
|
3799 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3800 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3801 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3802 + | >;
|
3803 + |
|
3804 + | fn request_fmt() -> Self::RequestFmt {
|
3805 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3806 + | }
|
3807 + |
|
3808 + | fn response_fmt() -> Self::ResponseFmt {
|
3809 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3810 + | }
|
3811 + | }
|
3812 + | /* ServerOperationGenerator.kt:88 */
|
3813 + |
|
3814 + | /// /* ServerOperationGenerator.kt:48 */This example uses all query string types.
|
3815 + | /* ServerOperationGenerator.kt:55 */
|
3816 + | pub struct AllQueryStringTypes;
|
3817 + |
|
3818 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for AllQueryStringTypes {
|
3819 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3820 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3821 + | "aws.protocoltests.restjson#AllQueryStringTypes",
|
3822 + | "aws.protocoltests.restjson",
|
3823 + | "AllQueryStringTypes",
|
3824 + | );
|
3825 + |
|
3826 + | type Input = crate::input::AllQueryStringTypesInput;
|
3827 + | type Output = crate::output::AllQueryStringTypesOutput;
|
3828 + | type Error = crate::error::AllQueryStringTypesError;
|
3829 + | }
|
3830 + |
|
3831 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3832 + | for AllQueryStringTypes
|
3833 + | {
|
3834 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3835 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3836 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3837 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3838 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3839 + | >,
|
3840 + | >;
|
3841 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3842 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3843 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3844 + | >;
|
3845 + |
|
3846 + | fn request_fmt() -> Self::RequestFmt {
|
3847 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3848 + | }
|
3849 + |
|
3850 + | fn response_fmt() -> Self::ResponseFmt {
|
3851 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3852 + | }
|
3853 + | }
|
3854 + | /* ServerOperationGenerator.kt:88 */
|
3855 + |
|
3856 + | /* ServerOperationGenerator.kt:48 */
|
3857 + | #[allow(missing_docs)] // documentation missing in model
|
3858 + | /* ServerOperationGenerator.kt:55 */
|
3859 + | pub struct HttpRequestWithRegexLiteral;
|
3860 + |
|
3861 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpRequestWithRegexLiteral {
|
3862 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3863 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3864 + | "aws.protocoltests.restjson#HttpRequestWithRegexLiteral",
|
3865 + | "aws.protocoltests.restjson",
|
3866 + | "HttpRequestWithRegexLiteral",
|
3867 + | );
|
3868 + |
|
3869 + | type Input = crate::input::HttpRequestWithRegexLiteralInput;
|
3870 + | type Output = crate::output::HttpRequestWithRegexLiteralOutput;
|
3871 + | type Error = crate::error::HttpRequestWithRegexLiteralError;
|
3872 + | }
|
3873 + |
|
3874 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3875 + | for HttpRequestWithRegexLiteral
|
3876 + | {
|
3877 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3878 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3879 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3880 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3881 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3882 + | >,
|
3883 + | >;
|
3884 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3885 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3886 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3887 + | >;
|
3888 + |
|
3889 + | fn request_fmt() -> Self::RequestFmt {
|
3890 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3891 + | }
|
3892 + |
|
3893 + | fn response_fmt() -> Self::ResponseFmt {
|
3894 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3895 + | }
|
3896 + | }
|
3897 + | /* ServerOperationGenerator.kt:88 */
|
3898 + |
|
3899 + | /* ServerOperationGenerator.kt:48 */
|
3900 + | #[allow(missing_docs)] // documentation missing in model
|
3901 + | /* ServerOperationGenerator.kt:55 */
|
3902 + | pub struct HttpRequestWithFloatLabels;
|
3903 + |
|
3904 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpRequestWithFloatLabels {
|
3905 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3906 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3907 + | "aws.protocoltests.restjson#HttpRequestWithFloatLabels",
|
3908 + | "aws.protocoltests.restjson",
|
3909 + | "HttpRequestWithFloatLabels",
|
3910 + | );
|
3911 + |
|
3912 + | type Input = crate::input::HttpRequestWithFloatLabelsInput;
|
3913 + | type Output = crate::output::HttpRequestWithFloatLabelsOutput;
|
3914 + | type Error = crate::error::HttpRequestWithFloatLabelsError;
|
3915 + | }
|
3916 + |
|
3917 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3918 + | for HttpRequestWithFloatLabels
|
3919 + | {
|
3920 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3921 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3922 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3923 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3924 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3925 + | >,
|
3926 + | >;
|
3927 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3928 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3929 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3930 + | >;
|
3931 + |
|
3932 + | fn request_fmt() -> Self::RequestFmt {
|
3933 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3934 + | }
|
3935 + |
|
3936 + | fn response_fmt() -> Self::ResponseFmt {
|
3937 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3938 + | }
|
3939 + | }
|
3940 + | /* ServerOperationGenerator.kt:88 */
|
3941 + |
|
3942 + | /* ServerOperationGenerator.kt:48 */
|
3943 + | #[allow(missing_docs)] // documentation missing in model
|
3944 + | /* ServerOperationGenerator.kt:55 */
|
3945 + | pub struct HttpRequestWithGreedyLabelInPath;
|
3946 + |
|
3947 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
3948 + | for HttpRequestWithGreedyLabelInPath
|
3949 + | {
|
3950 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3951 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3952 + | "aws.protocoltests.restjson#HttpRequestWithGreedyLabelInPath",
|
3953 + | "aws.protocoltests.restjson",
|
3954 + | "HttpRequestWithGreedyLabelInPath",
|
3955 + | );
|
3956 + |
|
3957 + | type Input = crate::input::HttpRequestWithGreedyLabelInPathInput;
|
3958 + | type Output = crate::output::HttpRequestWithGreedyLabelInPathOutput;
|
3959 + | type Error = crate::error::HttpRequestWithGreedyLabelInPathError;
|
3960 + | }
|
3961 + |
|
3962 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
3963 + | for HttpRequestWithGreedyLabelInPath
|
3964 + | {
|
3965 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
3966 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3967 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
3968 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3969 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3970 + | >,
|
3971 + | >;
|
3972 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
3973 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3974 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
3975 + | >;
|
3976 + |
|
3977 + | fn request_fmt() -> Self::RequestFmt {
|
3978 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
3979 + | }
|
3980 + |
|
3981 + | fn response_fmt() -> Self::ResponseFmt {
|
3982 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
3983 + | }
|
3984 + | }
|
3985 + | /* ServerOperationGenerator.kt:88 */
|
3986 + |
|
3987 + | /// /* ServerOperationGenerator.kt:48 */The example tests how requests serialize different timestamp formats in the URI path.
|
3988 + | /* ServerOperationGenerator.kt:55 */
|
3989 + | pub struct HttpRequestWithLabelsAndTimestampFormat;
|
3990 + |
|
3991 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
3992 + | for HttpRequestWithLabelsAndTimestampFormat
|
3993 + | {
|
3994 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
3995 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
3996 + | "aws.protocoltests.restjson#HttpRequestWithLabelsAndTimestampFormat",
|
3997 + | "aws.protocoltests.restjson",
|
3998 + | "HttpRequestWithLabelsAndTimestampFormat",
|
3999 + | );
|
4000 + |
|
4001 + | type Input = crate::input::HttpRequestWithLabelsAndTimestampFormatInput;
|
4002 + | type Output = crate::output::HttpRequestWithLabelsAndTimestampFormatOutput;
|
4003 + | type Error = crate::error::HttpRequestWithLabelsAndTimestampFormatError;
|
4004 + | }
|
4005 + |
|
4006 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4007 + | for HttpRequestWithLabelsAndTimestampFormat
|
4008 + | {
|
4009 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4010 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4011 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4012 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4013 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4014 + | >,
|
4015 + | >;
|
4016 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4017 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4018 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4019 + | >;
|
4020 + |
|
4021 + | fn request_fmt() -> Self::RequestFmt {
|
4022 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4023 + | }
|
4024 + |
|
4025 + | fn response_fmt() -> Self::ResponseFmt {
|
4026 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4027 + | }
|
4028 + | }
|
4029 + | /* ServerOperationGenerator.kt:88 */
|
4030 + |
|
4031 + | /// /* ServerOperationGenerator.kt:48 */The example tests how requests are serialized when there's no input payload but there are HTTP labels.
|
4032 + | /* ServerOperationGenerator.kt:55 */
|
4033 + | pub struct HttpRequestWithLabels;
|
4034 + |
|
4035 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HttpRequestWithLabels {
|
4036 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4037 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4038 + | "aws.protocoltests.restjson#HttpRequestWithLabels",
|
4039 + | "aws.protocoltests.restjson",
|
4040 + | "HttpRequestWithLabels",
|
4041 + | );
|
4042 + |
|
4043 + | type Input = crate::input::HttpRequestWithLabelsInput;
|
4044 + | type Output = crate::output::HttpRequestWithLabelsOutput;
|
4045 + | type Error = crate::error::HttpRequestWithLabelsError;
|
4046 + | }
|
4047 + |
|
4048 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4049 + | for HttpRequestWithLabels
|
4050 + | {
|
4051 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4052 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4053 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4054 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4055 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4056 + | >,
|
4057 + | >;
|
4058 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4059 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4060 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4061 + | >;
|
4062 + |
|
4063 + | fn request_fmt() -> Self::RequestFmt {
|
4064 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4065 + | }
|
4066 + |
|
4067 + | fn response_fmt() -> Self::ResponseFmt {
|
4068 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4069 + | }
|
4070 + | }
|
4071 + | /* ServerOperationGenerator.kt:88 */
|
4072 + |
|
4073 + | /// /* ServerOperationGenerator.kt:48 */This example ensures that mediaType strings are base64 encoded in headers.
|
4074 + | /* ServerOperationGenerator.kt:55 */
|
4075 + | pub struct MediaTypeHeader;
|
4076 + |
|
4077 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for MediaTypeHeader {
|
4078 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4079 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4080 + | "aws.protocoltests.restjson#MediaTypeHeader",
|
4081 + | "aws.protocoltests.restjson",
|
4082 + | "MediaTypeHeader",
|
4083 + | );
|
4084 + |
|
4085 + | type Input = crate::input::MediaTypeHeaderInput;
|
4086 + | type Output = crate::output::MediaTypeHeaderOutput;
|
4087 + | type Error = std::convert::Infallible;
|
4088 + | }
|
4089 + |
|
4090 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4091 + | for MediaTypeHeader
|
4092 + | {
|
4093 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4094 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4095 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4096 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4097 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4098 + | >,
|
4099 + | >;
|
4100 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4101 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4102 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4103 + | >;
|
4104 + |
|
4105 + | fn request_fmt() -> Self::RequestFmt {
|
4106 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4107 + | }
|
4108 + |
|
4109 + | fn response_fmt() -> Self::ResponseFmt {
|
4110 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4111 + | }
|
4112 + | }
|
4113 + | /* ServerOperationGenerator.kt:88 */
|
4114 + |
|
4115 + | /// /* ServerOperationGenerator.kt:48 */This example tests how timestamp request and response headers are serialized.
|
4116 + | /* ServerOperationGenerator.kt:55 */
|
4117 + | pub struct TimestampFormatHeaders;
|
4118 + |
|
4119 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for TimestampFormatHeaders {
|
4120 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4121 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4122 + | "aws.protocoltests.restjson#TimestampFormatHeaders",
|
4123 + | "aws.protocoltests.restjson",
|
4124 + | "TimestampFormatHeaders",
|
4125 + | );
|
4126 + |
|
4127 + | type Input = crate::input::TimestampFormatHeadersInput;
|
4128 + | type Output = crate::output::TimestampFormatHeadersOutput;
|
4129 + | type Error = std::convert::Infallible;
|
4130 + | }
|
4131 + |
|
4132 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4133 + | for TimestampFormatHeaders
|
4134 + | {
|
4135 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4136 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4137 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4138 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4139 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4140 + | >,
|
4141 + | >;
|
4142 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4143 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4144 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4145 + | >;
|
4146 + |
|
4147 + | fn request_fmt() -> Self::RequestFmt {
|
4148 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4149 + | }
|
4150 + |
|
4151 + | fn response_fmt() -> Self::ResponseFmt {
|
4152 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4153 + | }
|
4154 + | }
|
4155 + | /* ServerOperationGenerator.kt:88 */
|
4156 + |
|
4157 + | /// /* ServerOperationGenerator.kt:48 */Null headers are not sent over the wire, empty headers are serialized to ""
|
4158 + | /* ServerOperationGenerator.kt:55 */
|
4159 + | pub struct NullAndEmptyHeadersServer;
|
4160 + |
|
4161 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for NullAndEmptyHeadersServer {
|
4162 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4163 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4164 + | "aws.protocoltests.restjson#NullAndEmptyHeadersServer",
|
4165 + | "aws.protocoltests.restjson",
|
4166 + | "NullAndEmptyHeadersServer",
|
4167 + | );
|
4168 + |
|
4169 + | type Input = crate::input::NullAndEmptyHeadersServerInput;
|
4170 + | type Output = crate::output::NullAndEmptyHeadersServerOutput;
|
4171 + | type Error = std::convert::Infallible;
|
4172 + | }
|
4173 + |
|
4174 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4175 + | for NullAndEmptyHeadersServer
|
4176 + | {
|
4177 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4178 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4179 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4180 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4181 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4182 + | >,
|
4183 + | >;
|
4184 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4185 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4186 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4187 + | >;
|
4188 + |
|
4189 + | fn request_fmt() -> Self::RequestFmt {
|
4190 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4191 + | }
|
4192 + |
|
4193 + | fn response_fmt() -> Self::ResponseFmt {
|
4194 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4195 + | }
|
4196 + | }
|
4197 + | /* ServerOperationGenerator.kt:88 */
|
4198 + |
|
4199 + | /// /* ServerOperationGenerator.kt:48 */Null headers are not sent over the wire, empty headers are serialized to ""
|
4200 + | /* ServerOperationGenerator.kt:55 */
|
4201 + | pub struct NullAndEmptyHeadersClient;
|
4202 + |
|
4203 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for NullAndEmptyHeadersClient {
|
4204 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4205 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4206 + | "aws.protocoltests.restjson#NullAndEmptyHeadersClient",
|
4207 + | "aws.protocoltests.restjson",
|
4208 + | "NullAndEmptyHeadersClient",
|
4209 + | );
|
4210 + |
|
4211 + | type Input = crate::input::NullAndEmptyHeadersClientInput;
|
4212 + | type Output = crate::output::NullAndEmptyHeadersClientOutput;
|
4213 + | type Error = std::convert::Infallible;
|
4214 + | }
|
4215 + |
|
4216 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4217 + | for NullAndEmptyHeadersClient
|
4218 + | {
|
4219 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4220 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4221 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4222 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4223 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4224 + | >,
|
4225 + | >;
|
4226 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4227 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4228 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4229 + | >;
|
4230 + |
|
4231 + | fn request_fmt() -> Self::RequestFmt {
|
4232 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4233 + | }
|
4234 + |
|
4235 + | fn response_fmt() -> Self::ResponseFmt {
|
4236 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4237 + | }
|
4238 + | }
|
4239 + | /* ServerOperationGenerator.kt:88 */
|
4240 + |
|
4241 + | /// /* ServerOperationGenerator.kt:48 */The example tests how requests and responses are serialized when there is no input or output payload but there are HTTP header bindings.
|
4242 + | /* ServerOperationGenerator.kt:55 */
|
4243 + | pub struct InputAndOutputWithHeaders;
|
4244 + |
|
4245 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for InputAndOutputWithHeaders {
|
4246 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4247 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4248 + | "aws.protocoltests.restjson#InputAndOutputWithHeaders",
|
4249 + | "aws.protocoltests.restjson",
|
4250 + | "InputAndOutputWithHeaders",
|
4251 + | );
|
4252 + |
|
4253 + | type Input = crate::input::InputAndOutputWithHeadersInput;
|
4254 + | type Output = crate::output::InputAndOutputWithHeadersOutput;
|
4255 + | type Error = crate::error::InputAndOutputWithHeadersError;
|
4256 + | }
|
4257 + |
|
4258 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4259 + | for InputAndOutputWithHeaders
|
4260 + | {
|
4261 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4262 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4263 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4264 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4265 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4266 + | >,
|
4267 + | >;
|
4268 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4269 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4270 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4271 + | >;
|
4272 + |
|
4273 + | fn request_fmt() -> Self::RequestFmt {
|
4274 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4275 + | }
|
4276 + |
|
4277 + | fn response_fmt() -> Self::ResponseFmt {
|
4278 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4279 + | }
|
4280 + | }
|
4281 + | /* ServerOperationGenerator.kt:88 */
|
4282 + |
|
4283 + | /// /* ServerOperationGenerator.kt:48 */This test is similar to NoInputAndNoOutput, but uses explicit Unit types.
|
4284 + | /* ServerOperationGenerator.kt:55 */
|
4285 + | pub struct UnitInputAndOutput;
|
4286 + |
|
4287 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for UnitInputAndOutput {
|
4288 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4289 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4290 + | "aws.protocoltests.restjson#UnitInputAndOutput",
|
4291 + | "aws.protocoltests.restjson",
|
4292 + | "UnitInputAndOutput",
|
4293 + | );
|
4294 + |
|
4295 + | type Input = crate::input::UnitInputAndOutputInput;
|
4296 + | type Output = crate::output::UnitInputAndOutputOutput;
|
4297 + | type Error = std::convert::Infallible;
|
4298 + | }
|
4299 + |
|
4300 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4301 + | for UnitInputAndOutput
|
4302 + | {
|
4303 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4304 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4305 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4306 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4307 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4308 + | >,
|
4309 + | >;
|
4310 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4311 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4312 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4313 + | >;
|
4314 + |
|
4315 + | fn request_fmt() -> Self::RequestFmt {
|
4316 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4317 + | }
|
4318 + |
|
4319 + | fn response_fmt() -> Self::ResponseFmt {
|
4320 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4321 + | }
|
4322 + | }
|
4323 + | /* ServerOperationGenerator.kt:88 */
|
4324 + |
|
4325 + | /// /* ServerOperationGenerator.kt:48 */The example tests how requests and responses are serialized when there's no request or response payload because the operation has an empty input and empty output structure that reuses the same shape. While this should be rare, code generators must support this.
|
4326 + | /* ServerOperationGenerator.kt:55 */
|
4327 + | pub struct EmptyInputAndEmptyOutput;
|
4328 + |
|
4329 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for EmptyInputAndEmptyOutput {
|
4330 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4331 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4332 + | "aws.protocoltests.restjson#EmptyInputAndEmptyOutput",
|
4333 + | "aws.protocoltests.restjson",
|
4334 + | "EmptyInputAndEmptyOutput",
|
4335 + | );
|
4336 + |
|
4337 + | type Input = crate::input::EmptyInputAndEmptyOutputInput;
|
4338 + | type Output = crate::output::EmptyInputAndEmptyOutputOutput;
|
4339 + | type Error = std::convert::Infallible;
|
4340 + | }
|
4341 + |
|
4342 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4343 + | for EmptyInputAndEmptyOutput
|
4344 + | {
|
4345 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4346 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4347 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4348 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4349 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4350 + | >,
|
4351 + | >;
|
4352 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4353 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4354 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4355 + | >;
|
4356 + |
|
4357 + | fn request_fmt() -> Self::RequestFmt {
|
4358 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4359 + | }
|
4360 + |
|
4361 + | fn response_fmt() -> Self::ResponseFmt {
|
4362 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4363 + | }
|
4364 + | }
|
4365 + | /* ServerOperationGenerator.kt:88 */
|
4366 + |
|
4367 + | /// /* ServerOperationGenerator.kt:48 */The example tests how requests and responses are serialized when there's no request or response payload because the operation has no input and the output is empty. While this should be rare, code generators must support this.
|
4368 + | /* ServerOperationGenerator.kt:55 */
|
4369 + | pub struct NoInputAndOutput;
|
4370 + |
|
4371 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for NoInputAndOutput {
|
4372 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4373 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4374 + | "aws.protocoltests.restjson#NoInputAndOutput",
|
4375 + | "aws.protocoltests.restjson",
|
4376 + | "NoInputAndOutput",
|
4377 + | );
|
4378 + |
|
4379 + | type Input = crate::input::NoInputAndOutputInput;
|
4380 + | type Output = crate::output::NoInputAndOutputOutput;
|
4381 + | type Error = std::convert::Infallible;
|
4382 + | }
|
4383 + |
|
4384 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4385 + | for NoInputAndOutput
|
4386 + | {
|
4387 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4388 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4389 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4390 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4391 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4392 + | >,
|
4393 + | >;
|
4394 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4395 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4396 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4397 + | >;
|
4398 + |
|
4399 + | fn request_fmt() -> Self::RequestFmt {
|
4400 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4401 + | }
|
4402 + |
|
4403 + | fn response_fmt() -> Self::ResponseFmt {
|
4404 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4405 + | }
|
4406 + | }
|
4407 + | /* ServerOperationGenerator.kt:88 */
|
4408 + |
|
4409 + | /// /* ServerOperationGenerator.kt:48 */The example tests how requests and responses are serialized when there's no request or response payload because the operation has no input or output. While this should be rare, code generators must support this.
|
4410 + | /* ServerOperationGenerator.kt:55 */
|
4411 + | pub struct NoInputAndNoOutput;
|
4412 + |
|
4413 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for NoInputAndNoOutput {
|
4414 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
4415 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
4416 + | "aws.protocoltests.restjson#NoInputAndNoOutput",
|
4417 + | "aws.protocoltests.restjson",
|
4418 + | "NoInputAndNoOutput",
|
4419 + | );
|
4420 + |
|
4421 + | type Input = crate::input::NoInputAndNoOutputInput;
|
4422 + | type Output = crate::output::NoInputAndNoOutputOutput;
|
4423 + | type Error = std::convert::Infallible;
|
4424 + | }
|
4425 + |
|
4426 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
4427 + | for NoInputAndNoOutput
|
4428 + | {
|
4429 + | type RequestFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt<
|
4430 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4431 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::uri::MakeUri<
|
4432 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4433 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4434 + | >,
|
4435 + | >;
|
4436 + | type ResponseFmt = ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt<
|
4437 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4438 + | ::aws_smithy_legacy_http_server::instrumentation::MakeIdentity,
|
4439 + | >;
|
4440 + |
|
4441 + | fn request_fmt() -> Self::RequestFmt {
|
4442 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
4443 + | }
|
4444 + |
|
4445 + | fn response_fmt() -> Self::ResponseFmt {
|
4446 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
4447 + | }
|
4448 + | }
|
4449 + | /* ServerOperationGenerator.kt:88 */
|