pub fn ser_get_records_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::get_records::GetRecordsInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.shard_iterator {
object.key("shardIterator").string(var_1.as_str());
}
if let Some(var_2) = &input.max_results {
object.key("maxResults").number(
#[allow(clippy::useless_conversion)]
::aws_smithy_types::Number::NegInt((*var_2).into()),
);
}
Ok(())
}