Table of Contents

Class UpdateItemOperationConfig

Namespace
Amazon.DynamoDBv2.DocumentModel
Assembly
AWSSDK.DynamoDBv2.dll

Configuration for the Table.UpdateItem operation

public class UpdateItemOperationConfig
Inheritance
UpdateItemOperationConfig
Inherited Members

Constructors

UpdateItemOperationConfig()

public UpdateItemOperationConfig()

Properties

ConditionalExpression

The expression that is evaluated before the update is performed. If the expression evaluates to false the update will fail and a ConditionalCheckFailedException exception will be thrown.

public Expression ConditionalExpression { get; set; }

Property Value

Expression

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

Document

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

ExpectedState

ReturnValues

Flag specifying what values should be returned.

public ReturnValues ReturnValues { get; set; }

Property Value

ReturnValues