Class DeleteItemOperationConfig
- Namespace
- Amazon.DynamoDBv2.DocumentModel
- Assembly
- AWSSDK.DynamoDBv2.dll
Configuration for the Table.DeleteItem operation
public class DeleteItemOperationConfig
- Inheritance
-
DeleteItemOperationConfig
- Inherited Members
Constructors
DeleteItemOperationConfig()
public DeleteItemOperationConfig()
Properties
ConditionalExpression
The expression that is evaluated before the delete is performed. If the expression evaluates to false the delete will fail and a ConditionalCheckFailedException exception will be thrown.
public Expression ConditionalExpression { get; set; }
Property Value
Expected
Document representing the expected state of data in DynamoDB.
For the operation to succeed, the data in DynamoDB must be equal to the attributes in Expected. If an attribute in Expected is set to null, that attribute must not be preset on the item in DynamoDB.
public Document Expected { get; set; }
Property Value
ExpectedState
The expected state of data in DynamoDB.
For the operation to succeed, the data in DynamoDB must match the conditions specified in the ExpectedState.
public ExpectedState ExpectedState { get; set; }
Property Value
ReturnValues
Flag specifying what values should be returned.
DeleteItem only supports ReturnValues.AllOldAttributes and ReturnValues.None
public ReturnValues ReturnValues { get; set; }