aws-sdk-elbproxy 1.0.0

AWS SDK for Elastic Load Balancing for Envoy
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_proxy_network_user_configuration(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::types::ProxyNetworkUserConfiguration,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.ip_configuration {
        encoder.str("ipConfiguration");
        crate::protocol_serde::shape_proxy_ip_configuration::ser_proxy_ip_configuration(encoder, var_1)?;
    }
    if let Some(var_2) = &input.vpc_configuration {
        encoder.str("vpcConfiguration");
        crate::protocol_serde::shape_proxy_vpc_user_configuration::ser_proxy_vpc_user_configuration(encoder, var_2)?;
    }
    encoder.end();
    Ok(())
}