Class: Aws::Resiliencehubv2::Types::TestRunSourceEventDetail

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

Overview

Note:

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

The payload of a test run source event. Exactly one member is set.

Defined Under Namespace

Classes: AlarmStateChange, Error, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_state_changeTypes::AlarmStateChangeDetail

A CloudWatch alarm state change.



6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6357

class TestRunSourceEventDetail < Struct.new(
  :alarm_state_change,
  :error,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AlarmStateChange < TestRunSourceEventDetail; end
  class Error < TestRunSourceEventDetail; end
  class Unknown < TestRunSourceEventDetail; end
end

#errorTypes::TestRunSourceEventError

An error that prevented event collection from the source.



6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6357

class TestRunSourceEventDetail < Struct.new(
  :alarm_state_change,
  :error,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AlarmStateChange < TestRunSourceEventDetail; end
  class Error < TestRunSourceEventDetail; end
  class Unknown < TestRunSourceEventDetail; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6357
6358
6359
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6357

def unknown
  @unknown
end