aws-sdk-cloudwatch 1.134.0

AWS SDK for Amazon CloudWatch
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_update_o_tel_enrichment_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::update_o_tel_enrichment::UpdateOTelEnrichmentInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.include_filters {
        encoder.str("IncludeFilters");
        encoder.array((*var_1).len());
        for item_2 in var_1 {
            {
                crate::protocol_serde::shape_o_tel_enrichment_metric_selector::ser_o_tel_enrichment_metric_selector(encoder, item_2)?;
            }
        }
    }
    if let Some(var_3) = &input.exclude_filters {
        encoder.str("ExcludeFilters");
        encoder.array((*var_3).len());
        for item_4 in var_3 {
            {
                crate::protocol_serde::shape_o_tel_enrichment_metric_selector::ser_o_tel_enrichment_metric_selector(encoder, item_4)?;
            }
        }
    }
    encoder.end();
    Ok(())
}