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