aws-sdk-textract 1.99.0

AWS SDK for Amazon Textract
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_human_loop_config(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::HumanLoopConfig,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("HumanLoopName").string(input.human_loop_name.as_str());
    }
    {
        object.key("FlowDefinitionArn").string(input.flow_definition_arn.as_str());
    }
    if let Some(var_1) = &input.data_attributes {
        #[allow(unused_mut)]
        let mut object_2 = object.key("DataAttributes").start_object();
        crate::protocol_serde::shape_human_loop_data_attributes::ser_human_loop_data_attributes(&mut object_2, var_1)?;
        object_2.finish();
    }
    Ok(())
}