Skip to content

CapacitySpecificationSummary

Source code in docs_src/capo_keyspaces/types/capacity_specification_summary.py
class CapacitySpecificationSummary(TypedDict, closed=True):
    throughput_mode: "capo_keyspaces.types.throughput_mode.ThroughputMode"
    """<p>The read/write throughput capacity mode for a table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> and </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input. </p> </li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>"""
    read_capacity_units: NotRequired[
        "capo_keyspaces.types.capacity_units.CapacityUnits"
    ]
    """<p>The throughput capacity specified for <code>read</code> operations defined in <code>read capacity units</code> <code>(RCUs)</code>.</p>"""
    write_capacity_units: NotRequired[
        "capo_keyspaces.types.capacity_units.CapacityUnits"
    ]
    """<p>The throughput capacity specified for <code>write</code> operations defined in <code>write capacity units</code> <code>(WCUs)</code>.</p>"""
    last_update_to_pay_per_request_timestamp: NotRequired[
        "capo_keyspaces.types.timestamp.Timestamp"
    ]
    """<p>The timestamp of the last operation that changed the provisioned throughput capacity of a table.</p>"""

last_update_to_pay_per_request_timestamp instance-attribute

last_update_to_pay_per_request_timestamp: NotRequired[Timestamp]

The timestamp of the last operation that changed the provisioned throughput capacity of a table.

read_capacity_units instance-attribute

read_capacity_units: NotRequired[CapacityUnits]

The throughput capacity specified for read operations defined in read capacity units (RCUs).

throughput_mode instance-attribute

throughput_mode: ThroughputMode

The read/write throughput capacity mode for a table. The options are:

  • throughputMode:PAY_PER_REQUEST and

  • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

The default is throughput_mode:PAY_PER_REQUEST.

For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

write_capacity_units instance-attribute

write_capacity_units: NotRequired[CapacityUnits]

The throughput capacity specified for write operations defined in write capacity units (WCUs).