Class: Aws::CloudWatchOmni::Types::Alert
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::Alert
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
Full alert entity, returned by both CreateAlert and GetAlert. A create and a read of the same alert describe it identically except for state, which only the read paths populate. UpdateAlert returns an empty response.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The AWS account ID that owns the alert.
-
#alert_arn ⇒ String
The Amazon Resource Name (ARN) of the alert.
-
#alert_id ⇒ String
The stable alert identifier (see AlertId), minted on create and immutable across updates.
-
#created_at ⇒ Time
The timestamp when the alert was created.
-
#description ⇒ String
An optional description of the alert.
-
#name ⇒ String
The name of the alert.
-
#notification_rules ⇒ Array<Types::NotificationRule>
The notification rules for the alert.
-
#notification_status ⇒ String
Whether notifications are enabled.
-
#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 ID of the space the alert belongs to.
-
#state ⇒ Types::AlertStateInfo
Live evaluation state (read-only, system-managed).
-
#updated_at ⇒ Time
The timestamp when the alert was last updated.
Instance Attribute Details
#account_id ⇒ String
The AWS account ID that owns the alert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#alert_arn ⇒ String
The Amazon Resource Name (ARN) of the alert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#alert_id ⇒ String
The stable alert identifier (see AlertId), minted on create and immutable across updates. Use it (not name) to address the alert on GetAlert/UpdateAlert/DeleteAlert; it is also the ARN's resource id.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#created_at ⇒ Time
The timestamp when the alert was created.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
An optional description of the alert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the alert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#notification_rules ⇒ Array<Types::NotificationRule>
The notification rules for the alert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#notification_status ⇒ String
Whether notifications are enabled.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#profile_id ⇒ String
The ID of the access profile associated with the alert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#rule ⇒ Types::Rule
The rule that defines how the alert is evaluated.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#space_id ⇒ String
The ID of the space the alert belongs to.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#state ⇒ Types::AlertStateInfo
Live evaluation state (read-only, system-managed). Populated by
GetAlert. ListAlerts reports state on AlertSummary instead, where
it stays required.
Absent on CreateAlert: a newly created alert has never been evaluated, so any state reported there would be a default rather than an observation. Call GetAlert for live state. Not @required for that reason — GetAlert always populates it.
contributorSummary is nested inside this member, so it too is
absent on CreateAlert.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |
#updated_at ⇒ Time
The timestamp when the alert was last updated.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 440 class Alert < Struct.new( :name, :alert_id, :description, :account_id, :space_id, :profile_id, :rule, :notification_status, :state, :notification_rules, :created_at, :updated_at, :alert_arn) SENSITIVE = [] include Aws::Structure end |