pub fn ser_update_audit_suppression_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::update_audit_suppression::UpdateAuditSuppressionInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.check_name {
object.key("checkName").string(var_1.as_str());
}
if let Some(var_2) = &input.description {
object.key("description").string(var_2.as_str());
}
if let Some(var_3) = &input.expiration_date {
object
.key("expirationDate")
.date_time(var_3, ::aws_smithy_types::date_time::Format::EpochSeconds)?;
}
if let Some(var_4) = &input.resource_identifier {
#[allow(unused_mut)]
let mut object_5 = object.key("resourceIdentifier").start_object();
crate::protocol_serde::shape_resource_identifier::ser_resource_identifier(&mut object_5, var_4)?;
object_5.finish();
}
if let Some(var_6) = &input.suppress_indefinitely {
object.key("suppressIndefinitely").boolean(*var_6);
}
Ok(())
}