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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssmincidents/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:



1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1678

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.



1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1678

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



1678
1679
1680
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1678

def unknown
  @unknown
end