Class BatchWrite
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
Represents a non-generic object for writing/deleting a batch of items in a single DynamoDB table
public abstract class BatchWrite
- Inheritance
-
BatchWrite
- Derived
- Inherited Members
Methods
ExecuteAsync(CancellationToken)
Initiates the asynchronous execution of the Execute operation. Amazon.DynamoDBv2.DataModel.BatchWrite.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.
ExecuteHelper()
Executes a server call to batch-write/delete the items requested.
protected abstract void ExecuteHelper()
ExecuteHelperAsync(CancellationToken)
Executes an asynchronous server call to batch-write/delete the items requested.
protected abstract Task ExecuteHelperAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken