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 QueryIncompatibleOperation;
|
4 4 |
|
5 - | impl ::aws_smithy_http_server::operation::OperationShape for QueryIncompatibleOperation {
|
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 QueryIncompatibleOperation {
|
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.json10#QueryIncompatibleOperation",
|
9 9 | "aws.protocoltests.json10",
|
10 10 | "QueryIncompatibleOperation",
|
11 11 | );
|
12 12 |
|
13 13 | type Input = crate::input::QueryIncompatibleOperationInput;
|
14 14 | type Output = crate::output::QueryIncompatibleOperationOutput;
|
15 15 | type Error = crate::error::QueryIncompatibleOperationError;
|
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 QueryIncompatibleOperation
|
20 20 | {
|
21 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
22 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
21 + | type RequestFmt =
|
22 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
23 + | type ResponseFmt =
|
24 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
23 25 |
|
24 26 | fn request_fmt() -> Self::RequestFmt {
|
25 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
27 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
26 28 | }
|
27 29 |
|
28 30 | fn response_fmt() -> Self::ResponseFmt {
|
29 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
31 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
30 32 | }
|
31 33 | }
|
32 34 |
|
33 35 | #[allow(missing_docs)] // documentation missing in model
|
34 36 | pub struct OperationWithRequiredMembersWithDefaults;
|
35 37 |
|
36 - | impl ::aws_smithy_http_server::operation::OperationShape
|
38 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape
|
37 39 | for OperationWithRequiredMembersWithDefaults
|
38 40 | {
|
39 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
40 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
41 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
42 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
41 43 | "aws.protocoltests.json10#OperationWithRequiredMembersWithDefaults",
|
42 44 | "aws.protocoltests.json10",
|
43 45 | "OperationWithRequiredMembersWithDefaults",
|
44 46 | );
|
45 47 |
|
46 48 | type Input = crate::input::OperationWithRequiredMembersWithDefaultsInput;
|
47 49 | type Output = crate::output::OperationWithRequiredMembersWithDefaultsOutput;
|
48 50 | type Error = crate::error::OperationWithRequiredMembersWithDefaultsError;
|
49 51 | }
|
50 52 |
|
51 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
53 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
52 54 | for OperationWithRequiredMembersWithDefaults
|
53 55 | {
|
54 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
55 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
56 + | type RequestFmt =
|
57 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
58 + | type ResponseFmt =
|
59 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
56 60 |
|
57 61 | fn request_fmt() -> Self::RequestFmt {
|
58 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
62 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
59 63 | }
|
60 64 |
|
61 65 | fn response_fmt() -> Self::ResponseFmt {
|
62 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
66 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
63 67 | }
|
64 68 | }
|
65 69 |
|
66 70 | #[allow(missing_docs)] // documentation missing in model
|
67 71 | pub struct OperationWithNestedStructure;
|
68 72 |
|
69 - | impl ::aws_smithy_http_server::operation::OperationShape for OperationWithNestedStructure {
|
70 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
71 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
73 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OperationWithNestedStructure {
|
74 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
75 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
72 76 | "aws.protocoltests.json10#OperationWithNestedStructure",
|
73 77 | "aws.protocoltests.json10",
|
74 78 | "OperationWithNestedStructure",
|
75 79 | );
|
76 80 |
|
77 81 | type Input = crate::input::OperationWithNestedStructureInput;
|
78 82 | type Output = crate::output::OperationWithNestedStructureOutput;
|
79 83 | type Error = crate::error::OperationWithNestedStructureError;
|
80 84 | }
|
81 85 |
|
82 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
86 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
83 87 | for OperationWithNestedStructure
|
84 88 | {
|
85 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
86 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
89 + | type RequestFmt =
|
90 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
91 + | type ResponseFmt =
|
92 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
87 93 |
|
88 94 | fn request_fmt() -> Self::RequestFmt {
|
89 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
95 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
90 96 | }
|
91 97 |
|
92 98 | fn response_fmt() -> Self::ResponseFmt {
|
93 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
99 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
94 100 | }
|
95 101 | }
|
96 102 |
|
97 103 | #[allow(missing_docs)] // documentation missing in model
|
98 104 | pub struct OperationWithRequiredMembers;
|
99 105 |
|
100 - | impl ::aws_smithy_http_server::operation::OperationShape for OperationWithRequiredMembers {
|
101 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
102 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
106 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OperationWithRequiredMembers {
|
107 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
108 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
103 109 | "aws.protocoltests.json10#OperationWithRequiredMembers",
|
104 110 | "aws.protocoltests.json10",
|
105 111 | "OperationWithRequiredMembers",
|
106 112 | );
|
107 113 |
|
108 114 | type Input = crate::input::OperationWithRequiredMembersInput;
|
109 115 | type Output = crate::output::OperationWithRequiredMembersOutput;
|
110 116 | type Error = crate::error::OperationWithRequiredMembersError;
|
111 117 | }
|
112 118 |
|
113 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
119 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
114 120 | for OperationWithRequiredMembers
|
115 121 | {
|
116 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
117 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
122 + | type RequestFmt =
|
123 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
124 + | type ResponseFmt =
|
125 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
118 126 |
|
119 127 | fn request_fmt() -> Self::RequestFmt {
|
120 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
128 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
121 129 | }
|
122 130 |
|
123 131 | fn response_fmt() -> Self::ResponseFmt {
|
124 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
132 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
125 133 | }
|
126 134 | }
|
127 135 |
|
128 136 | #[allow(missing_docs)] // documentation missing in model
|
129 137 | pub struct OperationWithDefaults;
|
130 138 |
|
131 - | impl ::aws_smithy_http_server::operation::OperationShape for OperationWithDefaults {
|
132 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
133 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
139 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for OperationWithDefaults {
|
140 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
141 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
134 142 | "aws.protocoltests.json10#OperationWithDefaults",
|
135 143 | "aws.protocoltests.json10",
|
136 144 | "OperationWithDefaults",
|
137 145 | );
|
138 146 |
|
139 147 | type Input = crate::input::OperationWithDefaultsInput;
|
140 148 | type Output = crate::output::OperationWithDefaultsOutput;
|
141 149 | type Error = crate::error::OperationWithDefaultsError;
|
142 150 | }
|
143 151 |
|
144 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for OperationWithDefaults {
|
145 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
146 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
152 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
153 + | for OperationWithDefaults
|
154 + | {
|
155 + | type RequestFmt =
|
156 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
157 + | type ResponseFmt =
|
158 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
147 159 |
|
148 160 | fn request_fmt() -> Self::RequestFmt {
|
149 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
161 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
150 162 | }
|
151 163 |
|
152 164 | fn response_fmt() -> Self::ResponseFmt {
|
153 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
165 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
154 166 | }
|
155 167 | }
|
156 168 |
|
157 169 | /// The example tests how servers must support requests containing a `Content-Type` header with parameters.
|
158 170 | pub struct ContentTypeParameters;
|
159 171 |
|
160 - | impl ::aws_smithy_http_server::operation::OperationShape for ContentTypeParameters {
|
161 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
162 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
172 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for ContentTypeParameters {
|
173 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
174 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
163 175 | "aws.protocoltests.json10#ContentTypeParameters",
|
164 176 | "aws.protocoltests.json10",
|
165 177 | "ContentTypeParameters",
|
166 178 | );
|
167 179 |
|
168 180 | type Input = crate::input::ContentTypeParametersInput;
|
169 181 | type Output = crate::output::ContentTypeParametersOutput;
|
170 182 | type Error = crate::error::ContentTypeParametersError;
|
171 183 | }
|
172 184 |
|
173 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for ContentTypeParameters {
|
174 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
175 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
185 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
186 + | for ContentTypeParameters
|
187 + | {
|
188 + | type RequestFmt =
|
189 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
190 + | type ResponseFmt =
|
191 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
176 192 |
|
177 193 | fn request_fmt() -> Self::RequestFmt {
|
178 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
194 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
179 195 | }
|
180 196 |
|
181 197 | fn response_fmt() -> Self::ResponseFmt {
|
182 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
198 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
183 199 | }
|
184 200 | }
|
185 201 |
|
186 202 | #[allow(missing_docs)] // documentation missing in model
|
187 203 | pub struct PutWithContentEncoding;
|
188 204 |
|
189 - | impl ::aws_smithy_http_server::operation::OperationShape for PutWithContentEncoding {
|
190 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
191 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
205 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for PutWithContentEncoding {
|
206 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
207 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
192 208 | "aws.protocoltests.json10#PutWithContentEncoding",
|
193 209 | "aws.protocoltests.json10",
|
194 210 | "PutWithContentEncoding",
|
195 211 | );
|
196 212 |
|
197 213 | type Input = crate::input::PutWithContentEncodingInput;
|
198 214 | type Output = crate::output::PutWithContentEncodingOutput;
|
199 215 | type Error = crate::error::PutWithContentEncodingError;
|
200 216 | }
|
201 217 |
|
202 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
218 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
203 219 | for PutWithContentEncoding
|
204 220 | {
|
205 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
206 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
221 + | type RequestFmt =
|
222 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
223 + | type ResponseFmt =
|
224 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
207 225 |
|
208 226 | fn request_fmt() -> Self::RequestFmt {
|
209 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
227 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
210 228 | }
|
211 229 |
|
212 230 | fn response_fmt() -> Self::ResponseFmt {
|
213 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
231 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
214 232 | }
|
215 233 | }
|
216 234 |
|
217 235 | #[allow(missing_docs)] // documentation missing in model
|
218 236 | pub struct HostWithPathOperation;
|
219 237 |
|
220 - | impl ::aws_smithy_http_server::operation::OperationShape for HostWithPathOperation {
|
221 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
222 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
238 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for HostWithPathOperation {
|
239 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
240 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
223 241 | "aws.protocoltests.json10#HostWithPathOperation",
|
224 242 | "aws.protocoltests.json10",
|
225 243 | "HostWithPathOperation",
|
226 244 | );
|
227 245 |
|
228 246 | type Input = crate::input::HostWithPathOperationInput;
|
229 247 | type Output = crate::output::HostWithPathOperationOutput;
|
230 248 | type Error = crate::error::HostWithPathOperationError;
|
231 249 | }
|
232 250 |
|
233 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for HostWithPathOperation {
|
234 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
235 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
251 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
252 + | for HostWithPathOperation
|
253 + | {
|
254 + | type RequestFmt =
|
255 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
256 + | type ResponseFmt =
|
257 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
236 258 |
|
237 259 | fn request_fmt() -> Self::RequestFmt {
|
238 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
260 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
239 261 | }
|
240 262 |
|
241 263 | fn response_fmt() -> Self::ResponseFmt {
|
242 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
264 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
243 265 | }
|
244 266 | }
|
245 267 |
|
246 268 | #[allow(missing_docs)] // documentation missing in model
|
247 269 | pub struct EndpointWithHostLabelOperation;
|
248 270 |
|
249 - | impl ::aws_smithy_http_server::operation::OperationShape for EndpointWithHostLabelOperation {
|
250 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
251 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
271 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for EndpointWithHostLabelOperation {
|
272 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
273 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
252 274 | "aws.protocoltests.json10#EndpointWithHostLabelOperation",
|
253 275 | "aws.protocoltests.json10",
|
254 276 | "EndpointWithHostLabelOperation",
|
255 277 | );
|
256 278 |
|
257 279 | type Input = crate::input::EndpointWithHostLabelOperationInput;
|
258 280 | type Output = crate::output::EndpointWithHostLabelOperationOutput;
|
259 281 | type Error = crate::error::EndpointWithHostLabelOperationError;
|
260 282 | }
|
261 283 |
|
262 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
284 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
263 285 | for EndpointWithHostLabelOperation
|
264 286 | {
|
265 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
266 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
287 + | type RequestFmt =
|
288 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
289 + | type ResponseFmt =
|
290 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
267 291 |
|
268 292 | fn request_fmt() -> Self::RequestFmt {
|
269 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
293 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
270 294 | }
|
271 295 |
|
272 296 | fn response_fmt() -> Self::ResponseFmt {
|
273 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
297 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
274 298 | }
|
275 299 | }
|
276 300 |
|
277 301 | #[allow(missing_docs)] // documentation missing in model
|
278 302 | pub struct EndpointOperation;
|
279 303 |
|
280 - | impl ::aws_smithy_http_server::operation::OperationShape for EndpointOperation {
|
281 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
282 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
304 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for EndpointOperation {
|
305 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
306 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
283 307 | "aws.protocoltests.json10#EndpointOperation",
|
284 308 | "aws.protocoltests.json10",
|
285 309 | "EndpointOperation",
|
286 310 | );
|
287 311 |
|
288 312 | type Input = crate::input::EndpointOperationInput;
|
289 313 | type Output = crate::output::EndpointOperationOutput;
|
290 314 | type Error = crate::error::EndpointOperationError;
|
291 315 | }
|
292 316 |
|
293 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for EndpointOperation {
|
294 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
295 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
317 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
318 + | for EndpointOperation
|
319 + | {
|
320 + | type RequestFmt =
|
321 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
322 + | type ResponseFmt =
|
323 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
296 324 |
|
297 325 | fn request_fmt() -> Self::RequestFmt {
|
298 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
326 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
299 327 | }
|
300 328 |
|
301 329 | fn response_fmt() -> Self::ResponseFmt {
|
302 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
330 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
303 331 | }
|
304 332 | }
|
305 333 |
|
306 334 | /// This operation uses unions for inputs and outputs.
|
307 335 | pub struct JsonUnions;
|
308 336 |
|
309 - | impl ::aws_smithy_http_server::operation::OperationShape for JsonUnions {
|
310 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
311 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
337 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for JsonUnions {
|
338 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
339 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
312 340 | "aws.protocoltests.json10#JsonUnions",
|
313 341 | "aws.protocoltests.json10",
|
314 342 | "JsonUnions",
|
315 343 | );
|
316 344 |
|
317 345 | type Input = crate::input::JsonUnionsInput;
|
318 346 | type Output = crate::output::JsonUnionsOutput;
|
319 347 | type Error = crate::error::JsonUnionsError;
|
320 348 | }
|
321 349 |
|
322 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for JsonUnions {
|
323 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
324 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
350 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity for JsonUnions {
|
351 + | type RequestFmt =
|
352 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
353 + | type ResponseFmt =
|
354 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
325 355 |
|
326 356 | fn request_fmt() -> Self::RequestFmt {
|
327 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
357 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
328 358 | }
|
329 359 |
|
330 360 | fn response_fmt() -> Self::ResponseFmt {
|
331 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
361 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
332 362 | }
|
333 363 | }
|
334 364 |
|
335 365 | /// This operation has three possible return values: 1. A successful response in the form of GreetingWithErrorsOutput 2. An InvalidGreeting error. 3. A ComplexError error. Implementations must be able to successfully take a response and properly deserialize successful and error responses.
|
336 366 | pub struct GreetingWithErrors;
|
337 367 |
|
338 - | impl ::aws_smithy_http_server::operation::OperationShape for GreetingWithErrors {
|
339 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
340 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
368 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for GreetingWithErrors {
|
369 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
370 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
341 371 | "aws.protocoltests.json10#GreetingWithErrors",
|
342 372 | "aws.protocoltests.json10",
|
343 373 | "GreetingWithErrors",
|
344 374 | );
|
345 375 |
|
346 376 | type Input = crate::input::GreetingWithErrorsInput;
|
347 377 | type Output = crate::output::GreetingWithErrorsOutput;
|
348 378 | type Error = crate::error::GreetingWithErrorsError;
|
349 379 | }
|
350 380 |
|
351 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for GreetingWithErrors {
|
352 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
353 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
381 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
382 + | for GreetingWithErrors
|
383 + | {
|
384 + | type RequestFmt =
|
385 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
386 + | type ResponseFmt =
|
387 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
354 388 |
|
355 389 | fn request_fmt() -> Self::RequestFmt {
|
356 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
390 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
357 391 | }
|
358 392 |
|
359 393 | fn response_fmt() -> Self::ResponseFmt {
|
360 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
394 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
361 395 | }
|
362 396 | }
|
363 397 |
|
364 398 | #[allow(missing_docs)] // documentation missing in model
|
365 399 | pub struct SimpleScalarProperties;
|
366 400 |
|
367 - | impl ::aws_smithy_http_server::operation::OperationShape for SimpleScalarProperties {
|
368 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
369 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
401 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for SimpleScalarProperties {
|
402 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
403 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
370 404 | "aws.protocoltests.json10#SimpleScalarProperties",
|
371 405 | "aws.protocoltests.json10",
|
372 406 | "SimpleScalarProperties",
|
373 407 | );
|
374 408 |
|
375 409 | type Input = crate::input::SimpleScalarPropertiesInput;
|
376 410 | type Output = crate::output::SimpleScalarPropertiesOutput;
|
377 411 | type Error = crate::error::SimpleScalarPropertiesError;
|
378 412 | }
|
379 413 |
|
380 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
414 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
381 415 | for SimpleScalarProperties
|
382 416 | {
|
383 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
384 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
417 + | type RequestFmt =
|
418 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
419 + | type ResponseFmt =
|
420 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
385 421 |
|
386 422 | fn request_fmt() -> Self::RequestFmt {
|
387 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
423 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
388 424 | }
|
389 425 |
|
390 426 | fn response_fmt() -> Self::ResponseFmt {
|
391 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
427 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
392 428 | }
|
393 429 | }
|
394 430 |
|
395 431 | /// 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.
|
396 432 | pub struct EmptyInputAndEmptyOutput;
|
397 433 |
|
398 - | impl ::aws_smithy_http_server::operation::OperationShape for EmptyInputAndEmptyOutput {
|
399 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
400 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
434 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for EmptyInputAndEmptyOutput {
|
435 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
436 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
401 437 | "aws.protocoltests.json10#EmptyInputAndEmptyOutput",
|
402 438 | "aws.protocoltests.json10",
|
403 439 | "EmptyInputAndEmptyOutput",
|
404 440 | );
|
405 441 |
|
406 442 | type Input = crate::input::EmptyInputAndEmptyOutputInput;
|
407 443 | type Output = crate::output::EmptyInputAndEmptyOutputOutput;
|
408 444 | type Error = crate::error::EmptyInputAndEmptyOutputError;
|
409 445 | }
|
410 446 |
|
411 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity
|
447 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
412 448 | for EmptyInputAndEmptyOutput
|
413 449 | {
|
414 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
415 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
450 + | type RequestFmt =
|
451 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
452 + | type ResponseFmt =
|
453 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
416 454 |
|
417 455 | fn request_fmt() -> Self::RequestFmt {
|
418 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
456 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
419 457 | }
|
420 458 |
|
421 459 | fn response_fmt() -> Self::ResponseFmt {
|
422 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
460 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
423 461 | }
|
424 462 | }
|
425 463 |
|
426 464 | /// 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.
|
427 465 | pub struct NoInputAndOutput;
|
428 466 |
|
429 - | impl ::aws_smithy_http_server::operation::OperationShape for NoInputAndOutput {
|
430 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
431 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
467 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for NoInputAndOutput {
|
468 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
469 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
432 470 | "aws.protocoltests.json10#NoInputAndOutput",
|
433 471 | "aws.protocoltests.json10",
|
434 472 | "NoInputAndOutput",
|
435 473 | );
|
436 474 |
|
437 475 | type Input = crate::input::NoInputAndOutputInput;
|
438 476 | type Output = crate::output::NoInputAndOutputOutput;
|
439 477 | type Error = crate::error::NoInputAndOutputError;
|
440 478 | }
|
441 479 |
|
442 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for NoInputAndOutput {
|
443 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
444 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
480 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
481 + | for NoInputAndOutput
|
482 + | {
|
483 + | type RequestFmt =
|
484 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
485 + | type ResponseFmt =
|
486 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
445 487 |
|
446 488 | fn request_fmt() -> Self::RequestFmt {
|
447 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
489 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
448 490 | }
|
449 491 |
|
450 492 | fn response_fmt() -> Self::ResponseFmt {
|
451 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
493 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
452 494 | }
|
453 495 | }
|
454 496 |
|
455 497 | /// 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.
|
456 498 | pub struct NoInputAndNoOutput;
|
457 499 |
|
458 - | impl ::aws_smithy_http_server::operation::OperationShape for NoInputAndNoOutput {
|
459 - | const ID: ::aws_smithy_http_server::shape_id::ShapeId =
|
460 - | ::aws_smithy_http_server::shape_id::ShapeId::new(
|
500 + | impl ::aws_smithy_legacy_http_server::operation::OperationShape for NoInputAndNoOutput {
|
501 + | const ID: ::aws_smithy_legacy_http_server::shape_id::ShapeId =
|
502 + | ::aws_smithy_legacy_http_server::shape_id::ShapeId::new(
|
461 503 | "aws.protocoltests.json10#NoInputAndNoOutput",
|
462 504 | "aws.protocoltests.json10",
|
463 505 | "NoInputAndNoOutput",
|
464 506 | );
|
465 507 |
|
466 508 | type Input = crate::input::NoInputAndNoOutputInput;
|
467 509 | type Output = crate::output::NoInputAndNoOutputOutput;
|
468 510 | type Error = crate::error::NoInputAndNoOutputError;
|
469 511 | }
|
470 512 |
|
471 - | impl ::aws_smithy_http_server::instrumentation::sensitivity::Sensitivity for NoInputAndNoOutput {
|
472 - | type RequestFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
473 - | type ResponseFmt = ::aws_smithy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
513 + | impl ::aws_smithy_legacy_http_server::instrumentation::sensitivity::Sensitivity
|
514 + | for NoInputAndNoOutput
|
515 + | {
|
516 + | type RequestFmt =
|
517 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultRequestFmt;
|
518 + | type ResponseFmt =
|
519 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::DefaultResponseFmt;
|
474 520 |
|
475 521 | fn request_fmt() -> Self::RequestFmt {
|
476 - | ::aws_smithy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
522 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::RequestFmt::new()
|
477 523 | }
|
478 524 |
|
479 525 | fn response_fmt() -> Self::ResponseFmt {
|
480 - | ::aws_smithy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
526 + | ::aws_smithy_legacy_http_server::instrumentation::sensitivity::ResponseFmt::new()
|
481 527 | }
|
482 528 | }
|