Class: Aws::SSMIncidents::Types::EventReference

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

Overview

Note:

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

Note:

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

RelatedItemId, Resource, Unknown

Defined Under Namespace

Classes: RelatedItemId, Resource, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

The ID of a RelatedItem referenced in a TimelineEvent.

Returns:

  • (String)


688
689
690
691
692
693
694
695
696
697
698
699
# File 'gems/aws-sdk-ssmincidents/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

#resourceString

The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent.

Returns:

  • (String)


688
689
690
691
692
693
694
695
696
697
698
699
# File 'gems/aws-sdk-ssmincidents/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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



688
689
690
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 688

def unknown
  @unknown
end