Class: Aws::SSMIncidents::Types::EventReference
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSMIncidents::Types::EventReference
- Includes:
- Aws::Structure, Aws::Structure::Union
- Defined in:
- lib/aws-sdk-ssmincidents/types.rb
Overview
EventReference is a union - when making an API calls you must set exactly one of the members.
EventReference is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EventReference corresponding to the set member.
An item referenced in a ‘TimelineEvent` that is involved in or somehow associated with an incident. You can specify an Amazon Resource Name (ARN) for an Amazon Web Services resource or a `RelatedItem` ID.
Direct Known Subclasses
Defined Under Namespace
Classes: RelatedItemId, Resource, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#related_item_id ⇒ String
The ID of a ‘RelatedItem` referenced in a `TimelineEvent`.
-
#resource ⇒ String
The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a ‘TimelineEvent`.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#related_item_id ⇒ String
The ID of a ‘RelatedItem` referenced in a `TimelineEvent`.
688 689 690 691 692 693 694 695 696 697 698 699 |
# File 'lib/aws-sdk-ssmincidents/types.rb', line 688 class EventReference < Struct.new( :related_item_id, :resource, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RelatedItemId < EventReference; end class Resource < EventReference; end class Unknown < EventReference; end end |
#resource ⇒ String
The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a ‘TimelineEvent`.
688 689 690 691 692 693 694 695 696 697 698 699 |
# File 'lib/aws-sdk-ssmincidents/types.rb', line 688 class EventReference < Struct.new( :related_item_id, :resource, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RelatedItemId < EventReference; end class Resource < EventReference; end class Unknown < EventReference; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
688 689 690 |
# File 'lib/aws-sdk-ssmincidents/types.rb', line 688 def unknown @unknown end |