pub fn ser_create_alias_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::create_alias::CreateAliasInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.name {
encoder.str("Name").str(var_1.as_str());
}
if let Some(var_2) = &input.description {
encoder.str("Description").str(var_2.as_str());
}
if let Some(var_3) = &input.routing_strategy {
encoder.str("RoutingStrategy");
crate::protocol_serde::shape_routing_strategy::ser_routing_strategy(encoder, var_3)?;
}
if let Some(var_4) = &input.tags {
encoder.str("Tags");
encoder.array((*var_4).len());
for item_5 in var_4 {
{
crate::protocol_serde::shape_tag::ser_tag(encoder, item_5)?;
}
}
}
encoder.end();
Ok(())
}