aws_sdk_sagemaker/protocol_serde/
shape_environment_config.rs1pub fn ser_environment_config(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::types::EnvironmentConfig,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.f_sx_lustre_config {
7 #[allow(unused_mut)]
8 let mut object_2 = object.key("FSxLustreConfig").start_object();
9 crate::protocol_serde::shape_f_sx_lustre_config::ser_f_sx_lustre_config(&mut object_2, var_1)?;
10 object_2.finish();
11 }
12 Ok(())
13}