aws-sdk-s3 1.108.0

AWS SDK for Amazon Simple Storage Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_journal_table_configuration_updates(
    input: &crate::types::JournalTableConfigurationUpdates,
    writer: ::aws_smithy_xml::encode::ElWriter,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    #[allow(unused_mut)]
    let mut scope = writer.finish();
    if let Some(var_1) = &input.record_expiration {
        let inner_writer = scope.start_el("RecordExpiration");
        crate::protocol_serde::shape_record_expiration::ser_record_expiration(var_1, inner_writer)?
    }
    scope.finish();
    Ok(())
}