// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateAlert`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`space_id(impl Into<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_space_id):<br>required: **true**<br>The unique ID of the space.<br>
/// - [`alert_id(impl Into<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::alert_id) / [`set_alert_id(Option<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_alert_id):<br>required: **true**<br>The alert to update.<br>
/// - [`profile_id(impl Into<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_profile_id):<br>required: **false**<br>The ID of the access profile associated with the alert.<br>
/// - [`name(impl Into<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_name):<br>required: **false**<br>A new display name for the alert. Omit to leave the name unchanged (apply-if-present / PATCH). Same constraints as CreateAlert.name; the name is not the alert's identity, so a rename never changes the alertId.<br>
/// - [`description(impl Into<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_description):<br>required: **false**<br>A new description of the alert. Omit to leave unchanged.<br>
/// - [`rule(Rule)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::rule) / [`set_rule(Option<Rule>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_rule):<br>required: **false**<br>The rule that defines how the alert is evaluated. Omit to leave unchanged. Each sub-block is replaced whole when present: {@code query}, {@code condition}, {@code evaluation} and {@code noData} are applied only when supplied, and within a supplied block an omitted optional member is cleared to unset (null/absent) rather than preserved from the stored alert or defaulted. See {@link AlertCondition} and {@link AlertEvaluation}.<br>
/// - [`notifications_enabled(bool)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::notifications_enabled) / [`set_notifications_enabled(Option<bool>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_notifications_enabled):<br>required: **false**<br>Whether actions (notifications) are enabled for this alert. Omitted = leave existing value unchanged.<br>
/// - [`notification_rules(NotificationRule)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::notification_rules) / [`set_notification_rules(Option<Vec::<NotificationRule>>)`](crate::operation::update_alert::builders::UpdateAlertFluentBuilder::set_notification_rules):<br>required: **false**<br>Replaces the entire notification rule list when present; full-replace, not merge. Omitted = leave existing rules unchanged. An empty list clears all rules (the alert keeps evaluating; only notifications stop).<br>
/// - On success, responds with [`UpdateAlertOutput`](crate::operation::update_alert::UpdateAlertOutput)
/// - On failure, responds with [`SdkError<UpdateAlertError>`](crate::operation::update_alert::UpdateAlertError)
pub fn update_alert(&self) -> crate::operation::update_alert::builders::UpdateAlertFluentBuilder {
crate::operation::update_alert::builders::UpdateAlertFluentBuilder::new(self.handle.clone())
}
}