aws_sdk_kendra/protocol_serde/shape_describe_faq_input.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_describe_faq_input_input(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::operation::describe_faq::DescribeFaqInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.id {
7 object.key("Id").string(var_1.as_str());
8 }
9 if let Some(var_2) = &input.index_id {
10 object.key("IndexId").string(var_2.as_str());
11 }
12 Ok(())
13}