aws-sdk-gamelift 1.118.0

AWS SDK for Amazon GameLift
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_update_alias_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::update_alias::UpdateAliasInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.alias_id {
        encoder.str("AliasId").str(var_1.as_str());
    }
    if let Some(var_2) = &input.name {
        encoder.str("Name").str(var_2.as_str());
    }
    if let Some(var_3) = &input.description {
        encoder.str("Description").str(var_3.as_str());
    }
    if let Some(var_4) = &input.routing_strategy {
        encoder.str("RoutingStrategy");
        crate::protocol_serde::shape_routing_strategy::ser_routing_strategy(encoder, var_4)?;
    }
    encoder.end();
    Ok(())
}