pub fn ser_cluster_shared_environment_config(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::ClusterSharedEnvironmentConfig,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.f_sx_lustre_deletion_policy {
object.key("FSxLustreDeletionPolicy").string(var_1.as_str());
}
if let Some(var_2) = &input.f_sx_lustre_config {
#[allow(unused_mut)]
let mut object_3 = object.key("FSxLustreConfig").start_object();
crate::protocol_serde::shape_f_sx_lustre_config::ser_f_sx_lustre_config(&mut object_3, var_2)?;
object_3.finish();
}
Ok(())
}