// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_s3_location(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::S3Location,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("bucketName").string(input.bucket_name.as_str());
}
{
object.key("key").string(input.key.as_str());
}
Ok(())
}