pub fn ser_update_event_bus_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_event_bus::UpdateEventBusInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.event_bus_arn {
encoder.str("EventBusArn").str(var_1.as_str());
}
if let Some(var_2) = &input.description {
encoder.str("Description").str(var_2.as_str());
}
if let Some(var_3) = &input.encryption_configuration {
encoder.str("EncryptionConfiguration");
crate::protocol_serde::shape_encryption_configuration::ser_encryption_configuration(encoder, var_3)?;
}
if let Some(var_4) = &input.storage_configuration {
encoder.str("StorageConfiguration");
crate::protocol_serde::shape_storage_configuration::ser_storage_configuration(encoder, var_4)?;
}
encoder.end();
Ok(())
}