aws_sdk_ec2/protocol_serde/
shape_integrate_services.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(unused_mut)]
3pub fn ser_integrate_services(
4    mut writer: ::aws_smithy_query::QueryValueWriter,
5    input: &crate::types::IntegrateServices,
6) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
7    #[allow(unused_mut)]
8    let mut scope_1 = writer.prefix("AthenaIntegration");
9    if let Some(var_2) = &input.athena_integrations {
10        if !var_2.is_empty() {
11            let mut list_4 = scope_1.start_list(true, Some("item"));
12            for item_3 in var_2 {
13                #[allow(unused_mut)]
14                let mut entry_5 = list_4.entry();
15                crate::protocol_serde::shape_athena_integration::ser_athena_integration(entry_5, item_3)?;
16            }
17            list_4.finish();
18        }
19    }
20    Ok(())
21}