pub fn ser_provider_input(
object_2: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::ProviderInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
match input {
crate::types::ProviderInput::Github(inner) => {
#[allow(unused_mut)]
let mut object_1 = object_2.key("github").start_object();
crate::protocol_serde::shape_git_hub_integration_input::ser_git_hub_integration_input(&mut object_1, inner)?;
object_1.finish();
}
crate::types::ProviderInput::Unknown => {
return Err(::aws_smithy_types::error::operation::SerializationError::unknown_variant("ProviderInput"))
}
}
Ok(())
}