aws-sdk-securitylake 1.103.0

AWS SDK for Amazon Security Lake
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_custom_log_source_configuration(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::CustomLogSourceConfiguration,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.crawler_configuration {
        #[allow(unused_mut)]
        let mut object_2 = object.key("crawlerConfiguration").start_object();
        crate::protocol_serde::shape_custom_log_source_crawler_configuration::ser_custom_log_source_crawler_configuration(&mut object_2, var_1)?;
        object_2.finish();
    }
    if let Some(var_3) = &input.provider_identity {
        #[allow(unused_mut)]
        let mut object_4 = object.key("providerIdentity").start_object();
        crate::protocol_serde::shape_aws_identity::ser_aws_identity(&mut object_4, var_3)?;
        object_4.finish();
    }
    Ok(())
}