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.
Represents a request to update an item in a DynamoDB table using the Document Model. This class introduces a modern expression-based API that replaces legacy parameter-based approaches. Legacy parameters such as AttributeUpdates, Expected are not supported. Use UpdateExpression and ConditionalExpression instead.
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class UpdateItemDocumentOperationRequest : DocumentOperationRequest
The UpdateItemDocumentOperationRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
UpdateItemDocumentOperationRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
ConditionalExpression | Amazon.DynamoDBv2.DocumentModel.Expression |
Gets or sets the conditional expression evaluated before the update is performed. If false, a ConditionalCheckFailedException is thrown. |
|
Document | Amazon.DynamoDBv2.DocumentModel.Document |
Gets or sets the attributes to be updated in the item. |
|
Key | System.Collections.Generic.IDictionary<System.String, Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry> |
Gets or sets the key identifying the item in the table. |
|
ReturnValues | Amazon.DynamoDBv2.DocumentModel.ReturnValues |
Flag specifying what values should be returned. |
|
UpdateExpression | Amazon.DynamoDBv2.DocumentModel.Expression |
Gets or sets the update expression specifying how attributes should be updated. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer