AWS SDK for .NET Documentation
AttributeValueUpdate Class
AmazonAmazon.DynamoDB.ModelAttributeValueUpdate Did this page help you?   Yes   No    Tell us about it...

Specifies the attribute to update and how to perform the update. Possible values: PUT (default), ADD or DELETE .

Declaration Syntax
C#
public class AttributeValueUpdate
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AttributeValueUpdate()()()()
Initializes a new instance of the AttributeValueUpdate class

Action
The type of action for an item update operation. Only use the add action for numbers or sets; the specified value is added to the existing value. If a set of values is specified, the values are added to the existing set. Adds the specified attribute. If the attribute exists, it is replaced by the new value. If no value is specified, this removes the attribute and its value. If a set of values is specified, then the values in the specified set are removed from the old set.

Constraints:

Allowed Values
ADD, PUT, DELETE


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Value
AttributeValue can be String, Number, Binary, StringSet, NumberSet, BinarySet.

WithAction(String) Obsolete.
Sets the Action property

WithValue(AttributeValue) Obsolete.
Sets the Value property

Inheritance Hierarchy
Object
AttributeValueUpdate

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)