Class: Aws::Mgn::Types::OperationUnion

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

Overview

Note:

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

A union type representing the operation to perform on a construct during a mapping update.

Defined Under Namespace

Classes: Create, Delete, Merge, Split, Unknown, Update, UpdateV2

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#create ⇒ Types::CreateOperation

A create operation that adds a new construct to the segment, identified by the constructLogicalID on the parent construct entry.



5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :update_v2,
  :create,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class UpdateV2 < OperationUnion; end
  class Create < OperationUnion; end
  class Unknown < OperationUnion; end
end

#delete ⇒ Types::DeleteOperation

A delete operation to remove a construct from the mapping.

Returns:

  • (Types::DeleteOperation)


5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :update_v2,
  :create,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class UpdateV2 < OperationUnion; end
  class Create < OperationUnion; end
  class Unknown < OperationUnion; end
end

#merge ⇒ Types::MergeOperation

A merge operation to combine constructs from different segments.



5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :update_v2,
  :create,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class UpdateV2 < OperationUnion; end
  class Create < OperationUnion; end
  class Unknown < OperationUnion; end
end

#split ⇒ Types::SplitOperation

A split operation to divide a construct into multiple constructs with specified CIDR blocks.



5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :update_v2,
  :create,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class UpdateV2 < OperationUnion; end
  class Create < OperationUnion; end
  class Unknown < OperationUnion; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



5732
5733
5734
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

def unknown
  @unknown
end

#update ⇒ Types::UpdateOperation

An update operation to modify construct properties.



5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :update_v2,
  :create,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class UpdateV2 < OperationUnion; end
  class Create < OperationUnion; end
  class Unknown < OperationUnion; end
end

#update_v2 ⇒ Types::UpdateOperationV2

An update operation that modifies a construct using native property value types and behavioral configuration, with partial updates and property removal.



5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 5732

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :update_v2,
  :create,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class UpdateV2 < OperationUnion; end
  class Create < OperationUnion; end
  class Unknown < OperationUnion; end
end