aws_sdk_sagemaker/protocol_serde/
shape_update_monitoring_schedule_input.rs1pub fn ser_update_monitoring_schedule_input_input(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.monitoring_schedule_name {
7 object.key("MonitoringScheduleName").string(var_1.as_str());
8 }
9 if let Some(var_2) = &input.monitoring_schedule_config {
10 #[allow(unused_mut)]
11 let mut object_3 = object.key("MonitoringScheduleConfig").start_object();
12 crate::protocol_serde::shape_monitoring_schedule_config::ser_monitoring_schedule_config(&mut object_3, var_2)?;
13 object_3.finish();
14 }
15 Ok(())
16}