1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* RustType.kt:516 */
|
2 3 | #[allow(clippy::unnecessary_wraps)]
|
4 + | /* ServerHttpBoundProtocolGenerator.kt:383 */
|
3 5 | pub async fn de_get_snapshot_block_http_request<B>(
|
4 6 | #[allow(unused_variables)] request: ::http::Request<B>,
|
5 7 | ) -> std::result::Result<
|
6 8 | crate::input::GetSnapshotBlockInput,
|
7 9 | ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection,
|
8 10 | >
|
9 11 | where
|
10 12 | B: ::aws_smithy_http_server::body::HttpBody + Send,
|
11 13 | B::Data: Send,
|
12 14 | ::aws_smithy_http_server::protocol::rest_json_1::rejection::RequestRejection:
|
13 15 | From<<B as ::aws_smithy_http_server::body::HttpBody>::Error>,
|
14 16 | {
|
17 + | /* ServerHttpBoundProtocolGenerator.kt:399 */
|
15 18 | Ok({
|
19 + | /* RustType.kt:516 */
|
16 20 | #[allow(unused_mut)]
|
21 + | /* ServerHttpBoundProtocolGenerator.kt:723 */
|
17 22 | let mut input = crate::input::get_snapshot_block_input::Builder::default();
|
23 + | /* RustType.kt:516 */
|
18 24 | #[allow(unused_variables)]
|
25 + | /* ServerHttpBoundProtocolGenerator.kt:728 */
|
19 26 | let ::aws_smithy_runtime_api::http::RequestParts {
|
20 27 | uri, headers, body, ..
|
21 28 | } = ::aws_smithy_runtime_api::http::Request::try_from(request)?.into_parts();
|
29 + | /* ServerHttpBoundProtocolGenerator.kt:986 */
|
22 30 | let input_string = uri.path();
|
31 + | /* ServerHttpBoundProtocolGenerator.kt:998 */
|
23 32 | let (input_string, (_, m1, _, m3)) =
|
24 33 | ::nom::sequence::tuple::<_, _, ::nom::error::Error<&str>, _>((
|
25 34 | ::nom::sequence::preceded(
|
26 35 | ::nom::bytes::complete::tag("/"),
|
27 36 | ::nom::bytes::complete::tag::<_, _, ::nom::error::Error<&str>>("snapshots"),
|
28 37 | ),
|
29 38 | ::nom::sequence::preceded(
|
30 39 | ::nom::bytes::complete::tag("/"),
|
31 40 | ::nom::branch::alt::<_, _, ::nom::error::Error<&str>, _>((
|
32 41 | ::nom::bytes::complete::take_until("/"),
|
33 42 | ::nom::combinator::rest,
|
34 43 | )),
|
35 44 | ),
|
36 45 | ::nom::sequence::preceded(
|
37 46 | ::nom::bytes::complete::tag("/"),
|
38 47 | ::nom::bytes::complete::tag::<_, _, ::nom::error::Error<&str>>("blocks"),
|
39 48 | ),
|
40 49 | ::nom::sequence::preceded(
|
41 50 | ::nom::bytes::complete::tag("/"),
|
42 51 | ::nom::branch::alt::<_, _, ::nom::error::Error<&str>, _>((
|
43 52 | ::nom::bytes::complete::take_until("/"),
|
44 53 | ::nom::combinator::rest,
|
45 54 | )),
|
46 55 | ),
|
47 56 | ))(input_string)?;
|
48 57 | debug_assert_eq!("", input_string);
|
58 + | /* ServerHttpBoundProtocolGenerator.kt:1009 */
|
49 59 | input = input.set_snapshot_id(
|
50 60 | crate::protocol_serde::shape_get_snapshot_block_input::de_snapshot_id(m1)?,
|
51 61 | );
|
62 + | /* ServerHttpBoundProtocolGenerator.kt:1009 */
|
52 63 | input = input.set_block_index(
|
53 64 | crate::protocol_serde::shape_get_snapshot_block_input::de_block_index(m3)?,
|
54 65 | );
|
66 + | /* ServerHttpBoundProtocolGenerator.kt:1073 */
|
55 67 | let query_string = uri.query().unwrap_or("");
|
56 68 | let pairs = ::form_urlencoded::parse(query_string.as_bytes());
|
69 + | /* ServerHttpBoundProtocolGenerator.kt:1099 */
|
57 70 | let mut block_token_seen = false;
|
71 + | /* ServerHttpBoundProtocolGenerator.kt:1105 */
|
58 72 | for (k, v) in pairs {
|
73 + | /* ServerHttpBoundProtocolGenerator.kt:1109 */
|
59 74 | if !block_token_seen && k == "blockToken" {
|
60 75 | input = input.set_block_token(
|
61 76 | crate::protocol_serde::shape_get_snapshot_block_input::de_block_token(&v)?,
|
62 77 | );
|
63 78 | block_token_seen = true;
|
64 79 | }
|
80 + | /* ServerHttpBoundProtocolGenerator.kt:1105 */
|
65 81 | }
|
82 + | /* ServerHttpBoundProtocolGenerator.kt:834 */
|
66 83 | input.build()?
|
84 + | /* ServerHttpBoundProtocolGenerator.kt:399 */
|
67 85 | })
|
86 + | /* ServerHttpBoundProtocolGenerator.kt:383 */
|
68 87 | }
|
69 88 |
|
89 + | /* RustType.kt:516 */
|
70 90 | #[allow(clippy::unnecessary_wraps)]
|
91 + | /* ServerHttpBoundProtocolGenerator.kt:421 */
|
71 92 | pub fn ser_get_snapshot_block_http_response(
|
72 93 | #[allow(unused_variables)] output: crate::output::GetSnapshotBlockOutput,
|
73 94 | ) -> std::result::Result<
|
74 95 | ::aws_smithy_http_server::response::Response,
|
75 96 | ::aws_smithy_http_server::protocol::rest_json_1::rejection::ResponseRejection,
|
76 97 | > {
|
98 + | /* ServerHttpBoundProtocolGenerator.kt:433 */
|
77 99 | Ok({
|
100 + | /* RustType.kt:516 */
|
78 101 | #[allow(unused_mut)]
|
102 + | /* ServerHttpBoundProtocolGenerator.kt:523 */
|
79 103 | let mut builder = ::http::Response::builder();
|
104 + | /* ServerHttpBoundProtocolGenerator.kt:629 */
|
80 105 | builder = crate::protocol_serde::shape_get_snapshot_block::ser_get_snapshot_block_headers(
|
81 106 | &output, builder,
|
82 107 | )?;
|
108 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
83 109 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
84 110 | builder,
|
85 111 | ::http::header::CONTENT_TYPE,
|
86 112 | "application/octet-stream",
|
87 113 | );
|
114 + | /* ServerHttpBoundProtocolGenerator.kt:682 */
|
88 115 | let http_status: u16 = 200;
|
89 116 | builder = builder.status(http_status);
|
117 + | /* ServerHttpBoundProtocolGenerator.kt:543 */
|
90 118 | let body = ::aws_smithy_http_server::body::boxed(::aws_smithy_http_server::body::Body::wrap_stream(
|
91 - | ::aws_smithy_http::futures_stream_adapter::FuturesStreamCompatByteStream::new(
|
92 - | crate::protocol_serde::shape_get_snapshot_block_output::ser_block_data_http_payload( output.block_data)?
|
93 - | )
|
94 - | ));
|
119 + | /* ServerProtocolLoader.kt:36 */::aws_smithy_http::futures_stream_adapter::FuturesStreamCompatByteStream::new(
|
120 + | /* HttpBoundProtocolPayloadGenerator.kt:350 */crate::protocol_serde::shape_get_snapshot_block_output::ser_block_data_http_payload( output.block_data)?
|
121 + | /* ServerProtocolLoader.kt:36 */)
|
122 + | /* ServerHttpBoundProtocolGenerator.kt:543 */));
|
123 + | /* ServerHttpBoundProtocolGenerator.kt:575 */
|
95 124 | builder.body(body)?
|
125 + | /* ServerHttpBoundProtocolGenerator.kt:433 */
|
96 126 | })
|
127 + | /* ServerHttpBoundProtocolGenerator.kt:421 */
|
97 128 | }
|
98 129 |
|
130 + | /* RustType.kt:516 */
|
99 131 | #[allow(clippy::unnecessary_wraps)]
|
132 + | /* ServerHttpBoundProtocolGenerator.kt:447 */
|
100 133 | pub fn ser_get_snapshot_block_http_error(
|
101 134 | error: &crate::error::GetSnapshotBlockError,
|
102 135 | ) -> std::result::Result<
|
103 136 | ::aws_smithy_http_server::response::Response,
|
104 137 | ::aws_smithy_http_server::protocol::rest_json_1::rejection::ResponseRejection,
|
105 138 | > {
|
139 + | /* ServerHttpBoundProtocolGenerator.kt:452 */
|
106 140 | Ok({
|
141 + | /* ServerHttpBoundProtocolGenerator.kt:468 */
|
107 142 | match error {
|
143 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
108 144 | crate::error::GetSnapshotBlockError::InternalServerException(output) => {
|
145 + | /* ServerHttpBoundProtocolGenerator.kt:477 */
|
109 146 | let payload = crate::protocol_serde::shape_internal_server_exception::ser_internal_server_exception_error(output)?;
|
147 + | /* RustType.kt:516 */
|
110 148 | #[allow(unused_mut)]
|
149 + | /* ServerHttpBoundProtocolGenerator.kt:487 */
|
111 150 | let mut builder = ::http::Response::builder();
|
151 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
112 152 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
113 153 | builder,
|
114 154 | ::http::header::CONTENT_TYPE,
|
115 155 | "application/octet-stream",
|
116 156 | );
|
157 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
117 158 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
118 159 | builder,
|
119 160 | ::http::header::HeaderName::from_static("x-amzn-errortype"),
|
120 161 | "InternalServerException",
|
121 162 | );
|
163 + | /* ServerHttpBoundProtocolGenerator.kt:663 */
|
122 164 | let content_length = payload.len();
|
123 165 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
124 166 | builder,
|
125 167 | ::http::header::CONTENT_LENGTH,
|
126 168 | content_length,
|
127 169 | );
|
170 + | /* ServerHttpBoundProtocolGenerator.kt:504 */
|
128 171 | builder
|
129 172 | .status(500)
|
130 173 | .body(::aws_smithy_http_server::body::to_boxed(payload))?
|
174 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
131 175 | }
|
176 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
132 177 | crate::error::GetSnapshotBlockError::ResourceNotFoundException(output) => {
|
178 + | /* ServerHttpBoundProtocolGenerator.kt:477 */
|
133 179 | let payload = crate::protocol_serde::shape_resource_not_found_exception::ser_resource_not_found_exception_error(output)?;
|
180 + | /* RustType.kt:516 */
|
134 181 | #[allow(unused_mut)]
|
182 + | /* ServerHttpBoundProtocolGenerator.kt:487 */
|
135 183 | let mut builder = ::http::Response::builder();
|
184 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
136 185 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
137 186 | builder,
|
138 187 | ::http::header::CONTENT_TYPE,
|
139 188 | "application/octet-stream",
|
140 189 | );
|
190 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
141 191 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
142 192 | builder,
|
143 193 | ::http::header::HeaderName::from_static("x-amzn-errortype"),
|
144 194 | "ResourceNotFoundException",
|
145 195 | );
|
196 + | /* ServerHttpBoundProtocolGenerator.kt:663 */
|
146 197 | let content_length = payload.len();
|
147 198 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
148 199 | builder,
|
149 200 | ::http::header::CONTENT_LENGTH,
|
150 201 | content_length,
|
151 202 | );
|
203 + | /* ServerHttpBoundProtocolGenerator.kt:504 */
|
152 204 | builder
|
153 205 | .status(404)
|
154 206 | .body(::aws_smithy_http_server::body::to_boxed(payload))?
|
207 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
155 208 | }
|
209 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
156 210 | crate::error::GetSnapshotBlockError::AccessDeniedException(output) => {
|
211 + | /* ServerHttpBoundProtocolGenerator.kt:477 */
|
157 212 | let payload = crate::protocol_serde::shape_access_denied_exception::ser_access_denied_exception_error(output)?;
|
213 + | /* RustType.kt:516 */
|
158 214 | #[allow(unused_mut)]
|
215 + | /* ServerHttpBoundProtocolGenerator.kt:487 */
|
159 216 | let mut builder = ::http::Response::builder();
|
217 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
160 218 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
161 219 | builder,
|
162 220 | ::http::header::CONTENT_TYPE,
|
163 221 | "application/octet-stream",
|
164 222 | );
|
223 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
165 224 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
166 225 | builder,
|
167 226 | ::http::header::HeaderName::from_static("x-amzn-errortype"),
|
168 227 | "AccessDeniedException",
|
169 228 | );
|
229 + | /* ServerHttpBoundProtocolGenerator.kt:663 */
|
170 230 | let content_length = payload.len();
|
171 231 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
172 232 | builder,
|
173 233 | ::http::header::CONTENT_LENGTH,
|
174 234 | content_length,
|
175 235 | );
|
236 + | /* ServerHttpBoundProtocolGenerator.kt:504 */
|
176 237 | builder
|
177 238 | .status(403)
|
178 239 | .body(::aws_smithy_http_server::body::to_boxed(payload))?
|
240 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
179 241 | }
|
242 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
180 243 | crate::error::GetSnapshotBlockError::RequestThrottledException(output) => {
|
244 + | /* ServerHttpBoundProtocolGenerator.kt:477 */
|
181 245 | let payload = crate::protocol_serde::shape_request_throttled_exception::ser_request_throttled_exception_error(output)?;
|
246 + | /* RustType.kt:516 */
|
182 247 | #[allow(unused_mut)]
|
248 + | /* ServerHttpBoundProtocolGenerator.kt:487 */
|
183 249 | let mut builder = ::http::Response::builder();
|
250 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
184 251 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
185 252 | builder,
|
186 253 | ::http::header::CONTENT_TYPE,
|
187 254 | "application/octet-stream",
|
188 255 | );
|
256 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
189 257 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
190 258 | builder,
|
191 259 | ::http::header::HeaderName::from_static("x-amzn-errortype"),
|
192 260 | "RequestThrottledException",
|
193 261 | );
|
262 + | /* ServerHttpBoundProtocolGenerator.kt:663 */
|
194 263 | let content_length = payload.len();
|
195 264 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
196 265 | builder,
|
197 266 | ::http::header::CONTENT_LENGTH,
|
198 267 | content_length,
|
199 268 | );
|
269 + | /* ServerHttpBoundProtocolGenerator.kt:504 */
|
200 270 | builder
|
201 271 | .status(400)
|
202 272 | .body(::aws_smithy_http_server::body::to_boxed(payload))?
|
273 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
203 274 | }
|
275 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
204 276 | crate::error::GetSnapshotBlockError::ServiceQuotaExceededException(output) => {
|
277 + | /* ServerHttpBoundProtocolGenerator.kt:477 */
|
205 278 | let payload = crate::protocol_serde::shape_service_quota_exceeded_exception::ser_service_quota_exceeded_exception_error(output)?;
|
279 + | /* RustType.kt:516 */
|
206 280 | #[allow(unused_mut)]
|
281 + | /* ServerHttpBoundProtocolGenerator.kt:487 */
|
207 282 | let mut builder = ::http::Response::builder();
|
283 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
208 284 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
209 285 | builder,
|
210 286 | ::http::header::CONTENT_TYPE,
|
211 287 | "application/octet-stream",
|
212 288 | );
|
289 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
213 290 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
214 291 | builder,
|
215 292 | ::http::header::HeaderName::from_static("x-amzn-errortype"),
|
216 293 | "ServiceQuotaExceededException",
|
217 294 | );
|
295 + | /* ServerHttpBoundProtocolGenerator.kt:663 */
|
218 296 | let content_length = payload.len();
|
219 297 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
220 298 | builder,
|
221 299 | ::http::header::CONTENT_LENGTH,
|
222 300 | content_length,
|
223 301 | );
|
302 + | /* ServerHttpBoundProtocolGenerator.kt:504 */
|
224 303 | builder
|
225 304 | .status(402)
|
226 305 | .body(::aws_smithy_http_server::body::to_boxed(payload))?
|
306 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
227 307 | }
|
308 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
228 309 | crate::error::GetSnapshotBlockError::ValidationException(output) => {
|
310 + | /* ServerHttpBoundProtocolGenerator.kt:477 */
|
229 311 | let payload = crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(output)?;
|
312 + | /* RustType.kt:516 */
|
230 313 | #[allow(unused_mut)]
|
314 + | /* ServerHttpBoundProtocolGenerator.kt:487 */
|
231 315 | let mut builder = ::http::Response::builder();
|
316 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
232 317 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
233 318 | builder,
|
234 319 | ::http::header::CONTENT_TYPE,
|
235 320 | "application/octet-stream",
|
236 321 | );
|
322 + | /* ServerHttpBoundProtocolGenerator.kt:597 */
|
237 323 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
238 324 | builder,
|
239 325 | ::http::header::HeaderName::from_static("x-amzn-errortype"),
|
240 326 | "ValidationException",
|
241 327 | );
|
328 + | /* ServerHttpBoundProtocolGenerator.kt:663 */
|
242 329 | let content_length = payload.len();
|
243 330 | builder = ::aws_smithy_http::header::set_response_header_if_absent(
|
244 331 | builder,
|
245 332 | ::http::header::CONTENT_LENGTH,
|
246 333 | content_length,
|
247 334 | );
|
335 + | /* ServerHttpBoundProtocolGenerator.kt:504 */
|
248 336 | builder
|
249 337 | .status(400)
|
250 338 | .body(::aws_smithy_http_server::body::to_boxed(payload))?
|
251 - | }
|
339 + | /* ServerHttpBoundProtocolGenerator.kt:476 */
|
340 + | } /* ServerHttpBoundProtocolGenerator.kt:468 */
|
252 341 | }
|
342 + | /* ServerHttpBoundProtocolGenerator.kt:452 */
|
253 343 | })
|
344 + | /* ServerHttpBoundProtocolGenerator.kt:447 */
|
254 345 | }
|
255 346 |
|
347 + | /* HttpBindingGenerator.kt:542 */
|
256 348 | pub fn ser_get_snapshot_block_headers(
|
257 349 | input: &crate::output::GetSnapshotBlockOutput,
|
258 350 | mut builder: ::http::response::Builder,
|
259 351 | ) -> std::result::Result<::http::response::Builder, ::aws_smithy_types::error::operation::BuildError>
|
260 352 | {
|
353 + | /* HttpBindingGenerator.kt:592 */
|
261 354 | if let ::std::option::Option::Some(inner_1) = &input.data_length {
|
355 + | /* HttpBindingGenerator.kt:690 */
|
262 356 | let mut encoder = ::aws_smithy_types::primitive::Encoder::from(*inner_1);
|
357 + | /* HttpBindingGenerator.kt:704 */
|
263 358 | let formatted_2 = encoder.encode();
|
359 + | /* HttpBindingGenerator.kt:705 */
|
264 360 | if !formatted_2.is_empty() {
|
361 + | /* HttpBindingGenerator.kt:706 */
|
265 362 | let header_value = formatted_2;
|
266 363 | let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
|
267 364 | ::aws_smithy_types::error::operation::BuildError::invalid_field(
|
268 365 | "data_length",
|
269 366 | format!(
|
270 367 | "`{}` cannot be used as a header value: {}",
|
271 368 | &header_value, err
|
272 369 | ),
|
273 370 | )
|
274 371 | })?;
|
275 372 | builder = builder.header("x-amz-Data-Length", header_value);
|
373 + | /* HttpBindingGenerator.kt:705 */
|
276 374 | }
|
375 + | /* HttpBindingGenerator.kt:592 */
|
277 376 | }
|
377 + | /* HttpBindingGenerator.kt:592 */
|
278 378 | if let ::std::option::Option::Some(inner_3) = &input.checksum_algorithm {
|
379 + | /* HttpBindingGenerator.kt:704 */
|
279 380 | let formatted_4 = inner_3.as_str();
|
381 + | /* HttpBindingGenerator.kt:705 */
|
280 382 | if !formatted_4.is_empty() {
|
383 + | /* HttpBindingGenerator.kt:706 */
|
281 384 | let header_value = formatted_4;
|
282 385 | let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
|
283 386 | ::aws_smithy_types::error::operation::BuildError::invalid_field(
|
284 387 | "checksum_algorithm",
|
285 388 | format!(
|
286 389 | "`{}` cannot be used as a header value: {}",
|
287 390 | &header_value, err
|
288 391 | ),
|
289 392 | )
|
290 393 | })?;
|
291 394 | builder = builder.header("x-amz-Checksum-Algorithm", header_value);
|
395 + | /* HttpBindingGenerator.kt:705 */
|
292 396 | }
|
397 + | /* HttpBindingGenerator.kt:592 */
|
293 398 | }
|
399 + | /* HttpBindingGenerator.kt:592 */
|
294 400 | if let ::std::option::Option::Some(inner_5) = &input.checksum {
|
401 + | /* HttpBindingGenerator.kt:704 */
|
295 402 | let formatted_6 = inner_5.as_str();
|
403 + | /* HttpBindingGenerator.kt:705 */
|
296 404 | if !formatted_6.is_empty() {
|
405 + | /* HttpBindingGenerator.kt:706 */
|
297 406 | let header_value = formatted_6;
|
298 407 | let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
|
299 408 | ::aws_smithy_types::error::operation::BuildError::invalid_field(
|
300 409 | "checksum",
|
301 410 | format!(
|
302 411 | "`{}` cannot be used as a header value: {}",
|
303 412 | &header_value, err
|
304 413 | ),
|
305 414 | )
|
306 415 | })?;
|
307 416 | builder = builder.header("x-amz-Checksum", header_value);
|
417 + | /* HttpBindingGenerator.kt:705 */
|
308 418 | }
|
419 + | /* HttpBindingGenerator.kt:592 */
|
309 420 | }
|
421 + | /* HttpBindingGenerator.kt:555 */
|
310 422 | Ok(builder)
|
423 + | /* HttpBindingGenerator.kt:542 */
|
311 424 | }
|