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