pub fn ser_update_event_source_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_event_source::UpdateEventSourceInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.event_source_arn {
encoder.str("EventSourceArn").str(var_1.as_str());
}
if let Some(var_2) = &input.configuration {
encoder.str("Configuration");
crate::protocol_serde::shape_event_source_configuration::ser_event_source_configuration(encoder, var_2)?;
}
if let Some(var_3) = &input.description {
encoder.str("Description").str(var_3.as_str());
}
encoder.end();
Ok(())
}