Module Values.ConsumedCapacitySource

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 capacity mode in the Amazon DynamoDB Developer Guide.

Sourcetype nonrec t = {
  1. tableName : TableArn.t option;
    (*

    The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

    *)
  2. capacityUnits : ConsumedCapacityUnits.t option;
    (*

    The total number of capacity units consumed by the operation.

    *)
  3. readCapacityUnits : ConsumedCapacityUnits.t option;
    (*

    The total number of read capacity units consumed by the operation.

    *)
  4. writeCapacityUnits : ConsumedCapacityUnits.t option;
    (*

    The total number of write capacity units consumed by the operation.

    *)
  5. table : Capacity.t option;
    (*

    The amount of throughput consumed on the table affected by the operation.

    *)
  6. localSecondaryIndexes : SecondaryIndexesCapacityMap.t option;
    (*

    The amount of throughput consumed on each local index affected by the operation.

    *)
  7. globalSecondaryIndexes : SecondaryIndexesCapacityMap.t option;
    (*

    The amount of throughput consumed on each global index affected by the operation.

    *)
}
Sourceval make : ?tableName:??? -> ?capacityUnits:??? -> ?readCapacityUnits:??? -> ?writeCapacityUnits:??? -> ?table:??? -> ?localSecondaryIndexes:??? -> ?globalSecondaryIndexes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of ConsumedCapacityUnits.t | `Map of ([> `String of IndexName.t ] * [> `Structure of (string * [> `Double of ConsumedCapacityUnits.t ]) list ]) list | `String of TableArn.t | `Structure of (string * [> `Double of ConsumedCapacityUnits.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t