ConsumedCapacity class

The capacity units consumed by an operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the request asked for it. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

Constructors

ConsumedCapacity({double? capacityUnits, Map<String, Capacity>? globalSecondaryIndexes, Map<String, Capacity>? localSecondaryIndexes, double? readCapacityUnits, Capacity? table, String? tableName, double? writeCapacityUnits})
ConsumedCapacity.fromJson(Map<String, dynamic> json)
factory

Properties

capacityUnits double?
The total number of capacity units consumed by the operation.
final
globalSecondaryIndexes Map<String, Capacity>?
The amount of throughput consumed on each global index affected by the operation.
final
hashCode int
The hash code for this object.
no setterinherited
localSecondaryIndexes Map<String, Capacity>?
The amount of throughput consumed on each local index affected by the operation.
final
readCapacityUnits double?
The total number of read capacity units consumed by the operation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table Capacity?
The amount of throughput consumed on the table affected by the operation.
final
tableName String?
The name of the table that was affected by the operation.
final
writeCapacityUnits double?
The total number of write capacity units consumed by the operation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited