Builder
Properties
This is a legacy parameter. Use ConditionExpression
instead. For more information, see ConditionalOperator in the Amazon DynamoDB Developer Guide.
A condition that must be satisfied in order for a conditional DeleteItem
to succeed.
One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames
:
One or more values that can be substituted in an expression.
A map of attribute names to AttributeValue
objects, representing the primary key of the item to delete.
Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:
Determines whether item collection metrics are returned. If set to SIZE
, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE
(the default), no statistics are returned.
Use ReturnValues
if you want to get the item attributes as they appeared before they were deleted. For DeleteItem
, the valid values are:
An optional parameter that returns the item attributes for a DeleteItem
operation that failed a condition check.