aws_sdk_codepipeline/protocol_serde/
shape_update_pipeline_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_update_pipeline_input_input(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::operation::update_pipeline::UpdatePipelineInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    if let Some(var_1) = &input.pipeline {
7        #[allow(unused_mut)]
8        let mut object_2 = object.key("pipeline").start_object();
9        crate::protocol_serde::shape_pipeline_declaration::ser_pipeline_declaration(&mut object_2, var_1)?;
10        object_2.finish();
11    }
12    Ok(())
13}