aws_sdk_dynamodb/protocol_serde/
shape_list_tables_input.rs1pub fn ser_list_tables_input_input(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::operation::list_tables::ListTablesInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.exclusive_start_table_name {
7 object.key("ExclusiveStartTableName").string(var_1.as_str());
8 }
9 if let Some(var_2) = &input.limit {
10 object.key("Limit").number(
11 #[allow(clippy::useless_conversion)]
12 ::aws_smithy_types::Number::NegInt((*var_2).into()),
13 );
14 }
15 Ok(())
16}