Struct BatchWriteResult
- Namespace
- DynaSharp
- Assembly
- DynaSharp.dll
What a batch write returns. Getting this far means every write of the batch was applied: what cannot be written ends in a BatchIncompleteException.
public readonly struct BatchWriteResult
- Inherited Members
Properties
ConsumedCapacity
Gets the capacity the batch consumed, if ReturnCapacity asked for it: one entry per table and request, so the capacity of a table is the sum of its entries. Empty otherwise.
public IReadOnlyList<ConsumedCapacity> ConsumedCapacity { get; }
Property Value
ItemCollectionMetrics
Gets the size estimates of the item collections by table, if ReturnMetrics asked for them. DynamoDB sends them for tables with a local
secondary index, and they contain the partition key value, so they never reach telemetry. Empty otherwise.
public IReadOnlyDictionary<string, IReadOnlyList<ItemCollectionMetrics>> ItemCollectionMetrics { get; }
Property Value
Requests
Gets how many requests DynamoDB saw, each with a span of its own: one per 25 writes or 16 MB, and one more per round of unprocessed writes. Zero for a batch without writes.
public int Requests { get; }
Property Value
Written
Gets how many writes were applied, which is all of them.
public int Written { get; }