Class: Aws::CloudWatchOmni::Types::Rule

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

Overview

Note:

Rule is a union - when making an API calls you must set exactly one of the members.

Note:

Rule is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Rule corresponding to the set member.

Top-level rule definition.

telemetryRule members are optional at the Smithy level to support PATCH semantics on UpdateAlert (send only the sub-blocks you want to change). On CreateAlert, presence is enforced by the service-side validator.

Defined Under Namespace

Classes: TelemetryRule, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#telemetry_ruleTypes::TelemetryRule

The telemetry-based rule definition.



4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4359

class Rule < Struct.new(
  :telemetry_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TelemetryRule < Rule; end
  class Unknown < Rule; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4359
4360
4361
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4359

def unknown
  @unknown
end