UpdateAlertInput
¶
Source code in docs_src/capo_cloudwatchomni/types/update_alert_input.py
description
instance-attribute
¶
description: NotRequired[str]
A new description of the alert. Omit to leave unchanged.
name
instance-attribute
¶
name: NotRequired[str]
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.
notification_rules
instance-attribute
¶
notification_rules: NotRequired[NotificationRuleList]
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).
notifications_enabled
instance-attribute
¶
notifications_enabled: NotRequired[bool]
Whether actions (notifications) are enabled for this alert. Omitted = leave existing value unchanged.
profile_id
instance-attribute
¶
profile_id: NotRequired[ProfileId]
The ID of the access profile associated with the alert.
rule
instance-attribute
¶
rule: NotRequired[Rule]
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}.