Class: Aws::CloudWatchOmni::Types::AlertFilterCriteria

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

Overview

Filter criteria for ListAlerts. All members are optional; each omitted member is unconstrained. At most one of names, namePrefix, ids may be provided (mutually exclusive; the service rejects more than one). The remaining members combine with AND.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ids ⇒ Array<String>

Filter to alerts whose AlertId exactly matches any entry (OR semantics). Mutually exclusive with names and namePrefix.

Returns:

  • (Array<String>)


495
496
497
498
499
500
501
502
503
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 495

class AlertFilterCriteria < Struct.new(
  :names,
  :name_prefix,
  :ids,
  :state_value,
  :notifications_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#name_prefix ⇒ String

Filter to alerts whose name starts with this prefix. Mutually exclusive with names and ids.

Returns:

  • (String)


495
496
497
498
499
500
501
502
503
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 495

class AlertFilterCriteria < Struct.new(
  :names,
  :name_prefix,
  :ids,
  :state_value,
  :notifications_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#names ⇒ Array<String>

Filter to alerts whose name exactly matches any entry (OR semantics). Mutually exclusive with namePrefix and ids.

Returns:

  • (Array<String>)


495
496
497
498
499
500
501
502
503
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 495

class AlertFilterCriteria < Struct.new(
  :names,
  :name_prefix,
  :ids,
  :state_value,
  :notifications_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#notifications_enabled ⇒ Boolean

Filter to alerts by whether notifications are enabled.

Returns:

  • (Boolean)


495
496
497
498
499
500
501
502
503
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 495

class AlertFilterCriteria < Struct.new(
  :names,
  :name_prefix,
  :ids,
  :state_value,
  :notifications_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#state_value ⇒ Array<String>

Filter to alerts currently in any of these states (OR semantics).

Returns:

  • (Array<String>)


495
496
497
498
499
500
501
502
503
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 495

class AlertFilterCriteria < Struct.new(
  :names,
  :name_prefix,
  :ids,
  :state_value,
  :notifications_enabled)
  SENSITIVE = []
  include Aws::Structure
end