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