pub fn ser_stop_workspaces_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::stop_workspaces::StopWorkspacesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.stop_workspace_requests {
encoder.str("StopWorkspaceRequests");
encoder.array((*var_1).len());
for item_2 in var_1 {
{
crate::protocol_serde::shape_stop_request::ser_stop_request(encoder, item_2)?;
}
}
}
encoder.end();
Ok(())
}