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.
You cannot use UpdateItem to update any primary key attributes. Instead, you will need to delete the item, and then use PutItem to create a new item with new attributes.
Attribute values cannot be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests with empty values will be rejected with a ValidationException exception.
Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class AttributeValueUpdate : Object
The AttributeValueUpdate type exposes the following members
Name | Description | |
---|---|---|
AttributeValueUpdate() | Empty constructor used to set properties independently even when a simple constructor is available | |
AttributeValueUpdate(AttributeValue, AttributeAction) | Instantiates AttributeValueUpdate with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
Action | Amazon.DynamoDBv2.AttributeAction |
Gets and sets the property Action.
Specifies how to perform the update. Valid values are If an item with the specified Key is found in the table:
If no item with the specified Key is found:
|
|
Value | Amazon.DynamoDBv2.Model.AttributeValue | Gets and sets the property Value. |
.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