1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | /* HttpBoundProtocolPayloadGenerator.kt:309 */
|
2 + | /* HttpBoundProtocolPayloadGenerator.kt:314 */
|
3 3 | pub fn ser_payload_http_payload(
|
4 4 | payload: ::std::option::Option<::aws_smithy_types::Blob>,
|
5 5 | ) -> ::std::result::Result<::std::vec::Vec<u8>, ::aws_smithy_types::error::operation::BuildError> {
|
6 - | /* HttpBoundProtocolPayloadGenerator.kt:318 */
|
6 + | /* HttpBoundProtocolPayloadGenerator.kt:323 */
|
7 7 | let payload = match payload {
|
8 8 | Some(t) => t,
|
9 9 | None => {
|
10 10 | return Ok(
|
11 - | /* HttpBoundProtocolPayloadGenerator.kt:330 */
|
12 - | Vec::new(), /* HttpBoundProtocolPayloadGenerator.kt:318 */
|
11 + | /* HttpBoundProtocolPayloadGenerator.kt:335 */
|
12 + | Vec::new(), /* HttpBoundProtocolPayloadGenerator.kt:323 */
|
13 13 | )
|
14 14 | }
|
15 15 | };
|
16 - | /* HttpBoundProtocolPayloadGenerator.kt:343 */
|
16 + | /* HttpBoundProtocolPayloadGenerator.kt:348 */
|
17 17 | Ok(
|
18 - | /* HttpBoundProtocolPayloadGenerator.kt:375 */
|
19 - | payload.into_inner(), /* HttpBoundProtocolPayloadGenerator.kt:343 */
|
18 + | /* HttpBoundProtocolPayloadGenerator.kt:380 */
|
19 + | payload.into_inner(), /* HttpBoundProtocolPayloadGenerator.kt:348 */
|
20 20 | )
|
21 - | /* HttpBoundProtocolPayloadGenerator.kt:309 */
|
21 + | /* HttpBoundProtocolPayloadGenerator.kt:314 */
|
22 22 | }
|