// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_delete_endpoint_access_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::delete_endpoint_access::DeleteEndpointAccessInput,
) -> Result<(), ::aws_smithy_http::operation::error::SerializationError> {
if let Some(var_1) = &input.endpoint_name {
object.key("endpointName").string(var_1.as_str());
}
Ok(())
}