Amazon.DynamoDBv2.AmazonDynamoDBClient.PutItemAsync C# (CSharp) Method

PutItemAsync() public method

Initiates the asynchronous execution of the PutItem operation.
public PutItemAsync ( PutItemRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DynamoDBv2.Model.PutItemRequest Container for the necessary parameters to execute the PutItem operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PutItemResponse> PutItemAsync(PutItemRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutItemRequestMarshaller();
            var unmarshaller = PutItemResponseUnmarshaller.Instance;

            return InvokeAsync<PutItemRequest,PutItemResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonDynamoDBClient::PutItemAsync ( string tableName, AttributeValue>.Dictionary item, ReturnValue returnValues, System cancellationToken = default(CancellationToken) ) : Task
AmazonDynamoDBClient::PutItemAsync ( string tableName, AttributeValue>.Dictionary item, System cancellationToken = default(CancellationToken) ) : Task