aws_sdk_bedrockagentruntime/protocol_serde/shape_filter_attribute.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_filter_attribute(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::types::FilterAttribute,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 {
7 object.key("key").string(input.key.as_str());
8 }
9 {
10 object.key("value").document(&input.value);
11 }
12 Ok(())
13}