// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_delete_key_pair_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::delete_key_pair::DeleteKeyPairInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.key_pair_name {
object.key("keyPairName").string(var_1.as_str());
}
if let Some(var_2) = &input.expected_fingerprint {
object.key("expectedFingerprint").string(var_2.as_str());
}
Ok(())
}