aws-sdk-kendra 1.95.0

AWS SDK for AWSKendraFrontendService
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_sorting_configuration(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::SortingConfiguration,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("DocumentAttributeKey").string(input.document_attribute_key.as_str());
    }
    {
        object.key("SortOrder").string(input.sort_order.as_str());
    }
    Ok(())
}