Skip to content

DynamoDB  >  Structures  >  ProvisionedThroughputDescription

ProvisionedThroughputDescription

Structure Class

ProvisionedThroughputDescription dataclass

Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.

Attributes

last_decrease_date_time class-attribute instance-attribute
last_decrease_date_time: datetime | None = None

The date and time of the last provisioned throughput decrease for this table.

last_increase_date_time class-attribute instance-attribute
last_increase_date_time: datetime | None = None

The date and time of the last provisioned throughput increase for this table.

number_of_decreases_today class-attribute instance-attribute
number_of_decreases_today: int | None = None

The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

read_capacity_units class-attribute instance-attribute
read_capacity_units: int | None = None

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. Eventually consistent reads require less effort than strongly consistent reads, so a setting of 50 ReadCapacityUnits per second provides 100 eventually consistent ReadCapacityUnits per second.

For a table or global secondary index that uses on-demand capacity mode (PAY_PER_REQUEST), this value is 0, because on-demand mode does not use provisioned throughput.

write_capacity_units class-attribute instance-attribute
write_capacity_units: int | None = None

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

For a table or global secondary index that uses on-demand capacity mode (PAY_PER_REQUEST), this value is 0, because on-demand mode does not use provisioned throughput.