Skip to content

Delete

async_boto.validation.dynamodb.data_types.delete

Delete

Bases: BaseModel

Represents a request to perform a DeleteItem operation.

ATTRIBUTE DESCRIPTION
Key

The primary key of the item to be deleted. Each element consists of an attribute name and a value for that attribute.

TYPE: AttributeValueDict

TableName

Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

TYPE: constr(min_length=1, max_length=1024)

ConditionExpression

A condition that must be satisfied in order for a conditional delete 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 Delete condition fails.

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

Key instance-attribute

Key

TableName instance-attribute

TableName

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