AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
Initiates the asynchronous execution of the PutItem operation. Amazon.DynamoDBv2.DocumentModel.Table.PutItem(Amazon.DynamoDBv2.DocumentModel.Document,Amazon.DynamoDBv2.DocumentModel.PutItemOperationConfig)

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: (assembly version)


public Task<Document> PutItemAsync(
         Document doc,
         PutItemOperationConfig config,
         CancellationToken cancellationToken


Type: Amazon.DynamoDBv2.DocumentModel.Document

Document to save.

Type: Amazon.DynamoDBv2.DocumentModel.PutItemOperationConfig

Configuration to use.

Type: System.Threading.CancellationToken

Token which can be used to cancel the task.

Return Value
Task<Amazon.DynamoDBv2.DocumentModel.Document> A Task that can be used to poll or wait for results, or both.

Version Information

.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