Class: Aws::Context::Types::ChangeSetOperation
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::ChangeSetOperation
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
ChangeSetOperation is a union - when making an API calls you must set exactly one of the members.
ChangeSetOperation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ChangeSetOperation corresponding to the set member.
One operation of a change set. Exactly one member is set.
CreateChangeSet takes it as the operation to write,
ListChangeSetOperations returns it, and UpdateChangeSet takes it
to name an operation to remove. Operation values are customer content.
A member set beside an unknown one is used and the unknown one is
ignored, as an authorization member is ignored. An item with no
member set, or two, is refused with ValidationException. A client
built from an older model receives a member it does not know as an
unknown member.
Defined Under Namespace
Classes: Delete, Put, Unknown, Update
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#delete ⇒ Types::DeleteOperation
Removes a node or edge.
-
#put ⇒ Types::PutOperation
Writes a node or edge in full.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#update ⇒ Types::UpdateOperation
Changes the properties of a node or edge.
Instance Attribute Details
#delete ⇒ Types::DeleteOperation
Removes a node or edge. A deleted node takes its unowned edges.
1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1059 class ChangeSetOperation < Struct.new( :put, :update, :delete, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Put < ChangeSetOperation; end class Update < ChangeSetOperation; end class Delete < ChangeSetOperation; end class Unknown < ChangeSetOperation; end end |
#put ⇒ Types::PutOperation
Writes a node or edge in full. Creates it if it does not exist.
1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1059 class ChangeSetOperation < Struct.new( :put, :update, :delete, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Put < ChangeSetOperation; end class Update < ChangeSetOperation; end class Delete < ChangeSetOperation; end class Unknown < ChangeSetOperation; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1059 1060 1061 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1059 def unknown @unknown end |
#update ⇒ Types::UpdateOperation
Changes the properties of a node or edge. Like put, it creates a
node that doesn't exist, and every reader of the agent context can
read the node unless the request specifies accessControlConfig.
1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 1059 class ChangeSetOperation < Struct.new( :put, :update, :delete, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Put < ChangeSetOperation; end class Update < ChangeSetOperation; end class Delete < ChangeSetOperation; end class Unknown < ChangeSetOperation; end end |