Update
async_boto.validation.dynamodb.data_types.update
Update
Bases: BaseModel
Represents a request to perform an UpdateItem operation.
| ATTRIBUTE | DESCRIPTION |
|---|---|
Key |
The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute.
TYPE:
|
TableName |
Name of the table for the UpdateItem request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
TYPE:
|
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.
TYPE:
|
ConditionExpression |
A condition that must be satisfied in order for a conditional update to succeed.
TYPE:
|
ExpressionAttributeNames |
One or more substitution tokens for attribute names in an expression.
TYPE:
|
ExpressionAttributeValues |
One or more values that can be substituted in an expression.
TYPE:
|
ReturnValuesOnConditionCheckFailure |
Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Update condition fails.
TYPE:
|
Key
instance-attribute
Key
TableName
instance-attribute
TableName
UpdateExpression
instance-attribute
UpdateExpression
ConditionExpression
class-attribute
instance-attribute
ConditionExpression = None
ExpressionAttributeNames
class-attribute
instance-attribute
ExpressionAttributeNames = None
ExpressionAttributeValues
class-attribute
instance-attribute
ExpressionAttributeValues = None
ReturnValuesOnConditionCheckFailure
class-attribute
instance-attribute
ReturnValuesOnConditionCheckFailure = None