Skip to content

DeleteDict

Dictionary Type

DeleteDict

Bases: TypedDict

Dictionary form of Delete.

Attributes

condition_expression instance-attribute
condition_expression: str | None

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

expression_attribute_names instance-attribute
expression_attribute_names: Mapping[str, str] | None

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

expression_attribute_values instance-attribute
expression_attribute_values: Mapping[str, AttributeValue | AttributeValueDict] | None

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

key instance-attribute

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

return_values_on_condition_check_failure instance-attribute
return_values_on_condition_check_failure: str | None

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

table_name instance-attribute
table_name: Required[str]

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.