// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_environment_config(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::EnvironmentConfig,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.f_sx_lustre_config {
#[allow(unused_mut)]
let mut object_2 = object.key("FSxLustreConfig").start_object();
crate::protocol_serde::shape_f_sx_lustre_config::ser_f_sx_lustre_config(&mut object_2, var_1)?;
object_2.finish();
}
Ok(())
}