Class: Aws::CloudWatchOmni::Types::UpdateAlertInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::UpdateAlertInput
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#alert_id ⇒ String
The alert to update.
-
#description ⇒ String
A new description of the alert.
-
#name ⇒ String
A new display name for the alert.
-
#notification_rules ⇒ Array<Types::NotificationRule>
Replaces the entire notification rule list when present; full-replace, not merge.
-
#notifications_enabled ⇒ Boolean
Whether actions (notifications) are enabled for this alert.
-
#profile_id ⇒ String
The ID of the access profile associated with the alert.
-
#rule ⇒ Types::Rule
The rule that defines how the alert is evaluated.
-
#space_id ⇒ String
The unique ID of the space.
Instance Attribute Details
#alert_id ⇒ String
The alert to update.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A new description of the alert. Omit to leave unchanged.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
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.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#notification_rules ⇒ Array<Types::NotificationRule>
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).
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#notifications_enabled ⇒ Boolean
Whether actions (notifications) are enabled for this alert. Omitted = leave existing value unchanged.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#profile_id ⇒ String
The ID of the access profile associated with the alert.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#rule ⇒ Types::Rule
The rule that defines how the alert is evaluated. Omit to leave unchanged. For a telemetryRule, each of query, condition, evaluation and noData is replaced whole when present. For an sloRule, each of sloId, condition, evaluation and noData is applied only when supplied; omitted members keep their stored value, and a supplied block is replaced whole. Within any supplied block, an omitted optional member is cleared to unset (null/absent), not preserved from the stored alert or defaulted. The rule kind cannot change: supplying a sloRule for a telemetry alert, or a telemetryRule for an SLO alert, is a validation error.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |
#space_id ⇒ String
The unique ID of the space.
10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 10042 class UpdateAlertInput < Struct.new( :space_id, :alert_id, :profile_id, :name, :description, :rule, :notifications_enabled, :notification_rules) SENSITIVE = [] include Aws::Structure end |