You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DynamoDB::Types::ProvisionedThroughput
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::ProvisionedThroughput
- Defined in:
- (unknown)
Overview
When passing ProvisionedThroughput as input to an Aws::Client method, you can use a vanilla Hash:
{
read_capacity_units: 1, # required
write_capacity_units: 1, # required
}
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable
operation.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
Returned by:
- CreateGlobalSecondaryIndexAction#provisioned_throughput
- CreateTableInput#provisioned_throughput
- GlobalSecondaryIndex#provisioned_throughput
- GlobalSecondaryIndexInfo#provisioned_throughput
- RestoreTableFromBackupInput#provisioned_throughput_override
- RestoreTableToPointInTimeInput#provisioned_throughput_override
- SourceTableDetails#provisioned_throughput
- UpdateGlobalSecondaryIndexAction#provisioned_throughput
- UpdateTableInput#provisioned_throughput
Instance Attribute Summary collapse
-
#read_capacity_units ⇒ Integer
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. -
#write_capacity_units ⇒ Integer
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
.
Instance Attribute Details
#read_capacity_units ⇒ Integer
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a ThrottlingException
. For more information,
see Specifying Read and Write Requirements in the Amazon DynamoDB
Developer Guide.
If read/write capacity mode is PAY_PER_REQUEST
the value is set to 0.
#write_capacity_units ⇒ Integer
The maximum number of writes consumed per second before DynamoDB returns
a ThrottlingException
. For more information, see Specifying Read and
Write Requirements in the Amazon DynamoDB Developer Guide.
If read/write capacity mode is PAY_PER_REQUEST
the value is set to 0.