You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DynamoDB::Types::ConsumedCapacity

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_unitsFloat

The total number of capacity units consumed by the operation.

Returns:

  • (Float)

    The total number of capacity units consumed by the operation.

#global_secondary_indexesHash<String,Types::Capacity>

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

Returns:

  • (Hash<String,Types::Capacity>)

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

#local_secondary_indexesHash<String,Types::Capacity>

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

Returns:

  • (Hash<String,Types::Capacity>)

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

#read_capacity_unitsFloat

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

Returns:

  • (Float)

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

#tableTypes::Capacity

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

Returns:

  • (Types::Capacity)

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

#table_nameString

The name of the table that was affected by the operation.

Returns:

  • (String)

    The name of the table that was affected by the operation.

#write_capacity_unitsFloat

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

Returns:

  • (Float)

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