// 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(())
}