aws-sdk-ses 1.105.0

AWS SDK for Amazon Simple Email Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_update_configuration_set_event_destination_input_input_input(
    input: &crate::operation::update_configuration_set_event_destination::UpdateConfigurationSetEventDestinationInput,
) -> ::std::result::Result<::aws_smithy_types::body::SdkBody, ::aws_smithy_types::error::operation::SerializationError> {
    let mut out = String::new();
    #[allow(unused_mut)]
    let mut writer = ::aws_smithy_query::QueryWriter::new(&mut out, "UpdateConfigurationSetEventDestination", "2010-12-01");
    #[allow(unused_mut)]
    let mut scope_1 = writer.prefix("ConfigurationSetName");
    if let Some(var_2) = &input.configuration_set_name {
        scope_1.string(var_2);
    }
    #[allow(unused_mut)]
    let mut scope_3 = writer.prefix("EventDestination");
    if let Some(var_4) = &input.event_destination {
        crate::protocol_serde::shape_event_destination::ser_event_destination(scope_3, var_4)?;
    }
    writer.finish();
    Ok(::aws_smithy_types::body::SdkBody::from(out))
}