pub fn ser_update_proxy_configuration_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_proxy_configuration::UpdateProxyConfigurationInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.proxy_identifier {
encoder.str("proxyIdentifier").str(var_1.as_str());
}
if let Some(var_2) = &input.configuration_file {
encoder.str("configurationFile");
crate::protocol_serde::shape_configuration_file::ser_configuration_file(encoder, var_2)?;
}
if let Some(var_3) = &input.configuration_archive {
encoder.str("configurationArchive");
crate::protocol_serde::shape_configuration_archive::ser_configuration_archive(encoder, var_3)?;
}
if let Some(var_4) = &input.reset_configuration_archive {
encoder.str("resetConfigurationArchive").boolean(*var_4);
}
if let Some(var_5) = &input.customer_kms_key_arn {
encoder.str("customerKmsKeyArn").str(var_5.as_str());
}
if let Some(var_6) = &input.reset_customer_kms_key_arn {
encoder.str("resetCustomerKmsKeyArn").boolean(*var_6);
}
encoder.end();
Ok(())
}