Skip to content

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: AttributeValueDict

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: constr(min_length=1, max_length=1024)

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: str

ConditionExpression

A condition that must be satisfied in order for a conditional update to succeed.

TYPE: Optional[str]

ExpressionAttributeNames

One or more substitution tokens for attribute names in an expression.

TYPE: Optional[Dict[str, str]]

ExpressionAttributeValues

One or more values that can be substituted in an expression.

TYPE: Optional[AttributeValueDict]

ReturnValuesOnConditionCheckFailure

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Update condition fails.

TYPE: Optional[Literal['ALL_OLD', 'NONE']]

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