pub fn ser_put_managed_insight_rules_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::put_managed_insight_rules::PutManagedInsightRulesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.managed_rules {
encoder.str("ManagedRules");
encoder.array((*var_1).len());
for item_2 in var_1 {
{
crate::protocol_serde::shape_managed_rule::ser_managed_rule(encoder, item_2)?;
}
}
}
encoder.end();
Ok(())
}