For the UpdateItem operation, represents the attributes to be modified, the action to perform on each, and the new value for each.
NOTE: You cannot use UpdateItem to update any primary key attributes. Instead, you will need to delete the item, and then use PutItem to create a new item with new attributes.
Attribute values cannot be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests with empty values will be rejected with a ValidationException .
public class AttributeValueUpdate
Initializes a new instance of theclass
Specifies how to perform the update. Valid values are PUT, DELETE, and ADD. The behavior depends on whether the specified primary key already exists in the table. If an item with the specified Key is found in the table:
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Represents the data for an attribute. You can set one, and only one, of the elements.
Sets the Action property
Sets the Value property