Class PutItemOperationConfig
- Namespace
- Amazon.DynamoDBv2.DocumentModel
- Assembly
- AWSSDK.DynamoDBv2.dll
Configuration for the Table.PutItem operation
public class PutItemOperationConfig
- Inheritance
-
PutItemOperationConfig
- Inherited Members
Constructors
PutItemOperationConfig()
public PutItemOperationConfig()
Properties
ConditionalExpression
The expression that is evaluated before the put is performed. If the expression evaluates to false the put 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.
PutItem only supports ReturnValues.AllOldAttributes and ReturnValues.None
public ReturnValues ReturnValues { get; set; }