pub fn ser_create_ingress_point_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::create_ingress_point::CreateIngressPointInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.client_token {
encoder.str("ClientToken").str(var_1.as_str());
}
if let Some(var_2) = &input.ingress_point_name {
encoder.str("IngressPointName").str(var_2.as_str());
}
if let Some(var_3) = &input.r#type {
encoder.str("Type").str(var_3.as_str());
}
if let Some(var_4) = &input.rule_set_id {
encoder.str("RuleSetId").str(var_4.as_str());
}
if let Some(var_5) = &input.traffic_policy_id {
encoder.str("TrafficPolicyId").str(var_5.as_str());
}
if let Some(var_6) = &input.ingress_point_configuration {
encoder.str("IngressPointConfiguration");
crate::protocol_serde::shape_ingress_point_configuration::ser_ingress_point_configuration(encoder, var_6)?;
}
if let Some(var_7) = &input.network_configuration {
encoder.str("NetworkConfiguration");
crate::protocol_serde::shape_network_configuration::ser_network_configuration(encoder, var_7)?;
}
if let Some(var_8) = &input.tls_policy {
encoder.str("TlsPolicy").str(var_8.as_str());
}
if let Some(var_9) = &input.tags {
encoder.str("Tags");
encoder.array((*var_9).len());
for item_10 in var_9 {
{
crate::protocol_serde::shape_tag::ser_tag(encoder, item_10)?;
}
}
}
encoder.end();
Ok(())
}