Initiates the asynchronous execution of the UpdateItem operation.
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public Task<Document> UpdateItemAsync(
Document doc,
Primitive hashKey,
Primitive rangeKey,
UpdateItemOperationConfig config,
CancellationToken cancellationToken
)
Parameters
- doc
-
Type: Amazon.DynamoDBv2.DocumentModel.Document
Attributes to update.
- hashKey
-
Type: Amazon.DynamoDBv2.DocumentModel.Primitive
Hash key element of the document.
- rangeKey
-
Type: Amazon.DynamoDBv2.DocumentModel.Primitive
Range key element of the document.
- config
-
Type: Amazon.DynamoDBv2.DocumentModel.UpdateItemOperationConfig
Configuration to use.
- cancellationToken
-
Type: System.Threading.CancellationToken
Token which can be used to cancel the task.
Return Value
System.Threading.Tasks.Task`1[[Amazon.DynamoDBv2.DocumentModel.Document, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] A Task that can be used to poll or wait for results, or both.
System.Threading.Tasks.Task`1[[Amazon.DynamoDBv2.DocumentModel.Document, AWSSDK, Version=2.0.0.3, Culture=neutral, PublicKeyToken=9f476d3089b52be3]] A Task that can be used to poll or wait for results, or both.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8