AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
Configuration for the Table.DeleteItem operation

Inheritance Hierarchy


Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: (assembly version)


public class DeleteItemOperationConfig : Object

The DeleteItemOperationConfig type exposes the following members


Public Method DeleteItemOperationConfig()


Public Property ConditionalExpression Amazon.DynamoDBv2.DocumentModel.Expression 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 Property Expected Amazon.DynamoDBv2.DocumentModel.Document 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 Property ExpectedState Amazon.DynamoDBv2.DocumentModel.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 Property ReturnValues Amazon.DynamoDBv2.DocumentModel.ReturnValues Flag specifying what values should be returned. DeleteItem only supports ReturnValues.AllOldAttributes and ReturnValues.None

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8