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.
The Amazon.DynamoDBv2.DocumentModel.UpdateExpressionBuilder class is used to construct update expressions for DynamoDB operations. An update expression consists of one or more clauses. Each clause begins with a SET, REMOVE, ADD, or DELETE keyword. You can include any of these clauses in an update expression, in any order.
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class UpdateExpressionBuilder : ExpressionBuilder IExpressionBuilder
The UpdateExpressionBuilder type exposes the following members
Name | Description | |
---|---|---|
![]() |
Add(NameBuilder, ValueBuilder) |
Adds an "ADD" operation to the update expression, which adds a new attribute or modifies an existing one. If the attribute is a number, the value is added or subtracted. If the attribute is a set, the value is appended. |
![]() |
Build() | Inherited from Amazon.DynamoDBv2.DocumentModel.ExpressionBuilder. |
![]() |
Delete(NameBuilder, ValueBuilder) |
Adds a "DELETE" operation to the update expression, which removes one or more elements from a set attribute. |
![]() ![]() |
New() |
Creates a new instance of the Amazon.DynamoDBv2.DocumentModel.UpdateExpressionBuilder class. |
![]() |
Remove(NameBuilder) |
Adds a "REMOVE" operation to the update expression, which removes one or more attributes from an item. |
![]() |
Set(NameBuilder, OperandBuilder) |
Adds a "SET" operation to the update expression, which sets the value of an attribute. |
.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