aws-sdk-pipes 1.104.0

AWS SDK for Amazon EventBridge Pipes
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_s3_log_destination_parameters(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::S3LogDestinationParameters,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("BucketName").string(input.bucket_name.as_str());
    }
    {
        object.key("BucketOwner").string(input.bucket_owner.as_str());
    }
    if let Some(var_1) = &input.output_format {
        object.key("OutputFormat").string(var_1.as_str());
    }
    if let Some(var_2) = &input.prefix {
        object.key("Prefix").string(var_2.as_str());
    }
    Ok(())
}