Class: Aws::Resiliencehubv2::Types::TestRunSourceEventDetail
- Inherits:
-
Struct
- Object
- Struct
- Aws::Resiliencehubv2::Types::TestRunSourceEventDetail
- 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
-
#alarm_state_change ⇒ Types::AlarmStateChangeDetail
A CloudWatch alarm state change.
-
#error ⇒ Types::TestRunSourceEventError
An error that prevented event collection from the source.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#alarm_state_change ⇒ Types::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 |
#error ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
6357 6358 6359 |
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6357 def unknown @unknown end |