pub fn ser_update_cluster_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_cluster::UpdateClusterInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.cluster_id {
encoder.str("ClusterId").str(var_1.as_str());
}
if let Some(var_2) = &input.role_arn {
encoder.str("RoleARN").str(var_2.as_str());
}
if let Some(var_3) = &input.description {
encoder.str("Description").str(var_3.as_str());
}
if let Some(var_4) = &input.resources {
encoder.str("Resources");
crate::protocol_serde::shape_job_resource::ser_job_resource(encoder, var_4)?;
}
if let Some(var_5) = &input.on_device_service_configuration {
encoder.str("OnDeviceServiceConfiguration");
crate::protocol_serde::shape_on_device_service_configuration::ser_on_device_service_configuration(encoder, var_5)?;
}
if let Some(var_6) = &input.address_id {
encoder.str("AddressId").str(var_6.as_str());
}
if let Some(var_7) = &input.shipping_option {
encoder.str("ShippingOption").str(var_7.as_str());
}
if let Some(var_8) = &input.notification {
encoder.str("Notification");
crate::protocol_serde::shape_notification::ser_notification(encoder, var_8)?;
}
if let Some(var_9) = &input.forwarding_address_id {
encoder.str("ForwardingAddressId").str(var_9.as_str());
}
encoder.end();
Ok(())
}