Class: Aws::SSMIncidents::Types::RelatedItemsUpdate

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure, Aws::Structure::Union
Defined in:
lib/aws-sdk-ssmincidents/types.rb

Overview

Note:

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

Details about the related item you’re adding.

Direct Known Subclasses

ItemToAdd, ItemToRemove, Unknown

Defined Under Namespace

Classes: ItemToAdd, ItemToRemove, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#item_to_addTypes::RelatedItem

Details about the related item you’re adding.

Returns:


1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
# File 'lib/aws-sdk-ssmincidents/types.rb', line 1910

class RelatedItemsUpdate < Struct.new(
  :item_to_add,
  :item_to_remove,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ItemToAdd < RelatedItemsUpdate; end
  class ItemToRemove < RelatedItemsUpdate; end
  class Unknown < RelatedItemsUpdate; end
end

#item_to_removeTypes::ItemIdentifier

Details about the related item you’re deleting.


1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
# File 'lib/aws-sdk-ssmincidents/types.rb', line 1910

class RelatedItemsUpdate < Struct.new(
  :item_to_add,
  :item_to_remove,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ItemToAdd < RelatedItemsUpdate; end
  class ItemToRemove < RelatedItemsUpdate; end
  class Unknown < RelatedItemsUpdate; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown


1910
1911
1912
# File 'lib/aws-sdk-ssmincidents/types.rb', line 1910

def unknown
  @unknown
end