Class: Aws::CloudWatchOmni::Types::UpdateAlertInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alert_id ⇒ String

The alert to update.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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).

Returns:



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.

Returns:

  • (Boolean)


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.

Returns:

  • (String)


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.

Returns:



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.

Returns:

  • (String)


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