// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_context_validation_function_request(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::ContextValidationFunctionRequest,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("environment").document(&input.environment);
}
Ok(())
}