aws_sdk_elasticsearch/protocol_serde/shape_revoke_vpc_endpoint_access_input.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_revoke_vpc_endpoint_access_input_input(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::operation::revoke_vpc_endpoint_access::RevokeVpcEndpointAccessInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.account {
7 object.key("Account").string(var_1.as_str());
8 }
9 Ok(())
10}