Class Update
- Namespace
- Amazon.DynamoDBv2.Model
- Assembly
- AWSSDK.DynamoDBv2.dll
Represents a request to perform an
UpdateItem
operation.
public class Update
- Inheritance
-
Update
- Inherited Members
Constructors
Update()
public Update()
Properties
ConditionExpression
Gets and sets the property ConditionExpression.
A condition that must be satisfied in order for a conditional update to succeed.
public string ConditionExpression { get; set; }
Property Value
ExpressionAttributeNames
Gets and sets the property ExpressionAttributeNames.
One or more substitution tokens for attribute names in an expression.
public Dictionary<string, string> ExpressionAttributeNames { get; set; }
Property Value
ExpressionAttributeValues
Gets and sets the property ExpressionAttributeValues.
One or more values that can be substituted in an expression.
public Dictionary<string, AttributeValue> ExpressionAttributeValues { get; set; }
Property Value
Key
Gets and sets the property Key.
The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute.
public Dictionary<string, AttributeValue> Key { get; set; }
Property Value
ReturnValuesOnConditionCheckFailure
Gets and sets the property ReturnValuesOnConditionCheckFailure.
Use
ReturnValuesOnConditionCheckFailure
to get the item attributes if
the Update
condition fails. For ReturnValuesOnConditionCheckFailure
,
the valid values are: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.
public ReturnValuesOnConditionCheckFailure ReturnValuesOnConditionCheckFailure { get; set; }
Property Value
TableName
Gets and sets the property TableName.
Name of the table for the
UpdateItem
request.
public string TableName { get; set; }
Property Value
UpdateExpression
Gets and sets the property UpdateExpression.
An expression that defines one or more attributes to be updated, the action to be performed on them, and new value(s) for them.
public string UpdateExpression { get; set; }