Closed AlexanderBelokon closed 1 year ago
Noticed that there were a few more fields missing from the current doc:
Items: Array<Map<Map>>
Count: Integer
ScannedCount: Integer
LastEvaluatedKey: Map<Map>
ConsumedCapacity: Map
TableName: String
CapacityUnits: Float
ReadCapacityUnits: Float
WriteCapacityUnits: Float
Table: map
ReadCapacityUnits: Float
WriteCapacityUnits: Float
CapacityUnits: Float
LocalSecondaryIndexes: Map<Map>
ReadCapacityUnits: Float
WriteCapacityUnits: Float
CapacityUnits: Float
GlobalSecondaryIndexes: Map<Map>
ReadCapacityUnits: Float
WriteCapacityUnits: Float
CapacityUnits: Float
When using batch operations the stats are not returned correctly.
For example, this request:
causes AWS to return the following data structure:
which is then transformed by
reduceCapacity
insidesendAll
to this:This PR fixes that problem.