Class MultiTableBatchWrite
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
Class for writing/deleting a batch of items in multiple DynamoDB tables, using multiple strongly-typed BatchWrite objects
public class MultiTableBatchWrite
- Inheritance
-
MultiTableBatchWrite
- Inherited Members
Constructors
MultiTableBatchWrite(params BatchWrite[])
Constructs a MultiTableBatchWrite object from a number of BatchWrite objects
public MultiTableBatchWrite(params BatchWrite[] batches)
Parameters
batches
BatchWrite[]Collection of BatchWrite objects
Methods
AddBatch(BatchWrite)
Add a BatchWrite object to the multi-table batch request
public void AddBatch(BatchWrite batch)
Parameters
batch
BatchWriteBatchGet to add
ExecuteAsync(CancellationToken)
Initiates the asynchronous execution of the Execute operation. Amazon.DynamoDBv2.DataModel.MultiTableBatchWrite.Execute
public Task ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenToken which can be used to cancel the task.
Returns
- Task
A Task that can be used to poll or wait for results, or both.