pub fn ser_stop_workspaces_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::stop_workspaces::StopWorkspacesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.stop_workspace_requests {
let mut array_2 = object.key("StopWorkspaceRequests").start_array();
for item_3 in var_1 {
{
#[allow(unused_mut)]
let mut object_4 = array_2.value().start_object();
crate::protocol_serde::shape_stop_request::ser_stop_request(&mut object_4, item_3)?;
object_4.finish();
}
}
array_2.finish();
}
Ok(())
}