Class: Aws::DynamoDB::Types::ProvisionedThroughput
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::ProvisionedThroughput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dynamodb/types.rb
Overview
When making an API call, you may pass ProvisionedThroughput data as a 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
- Limits][1
-
in the *Amazon DynamoDB Developer Guide*.
[1]: docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
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.
4394 4395 4396 4397 4398 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 4394 class ProvisionedThroughput < Struct.new( :read_capacity_units, :write_capacity_units) include Aws::Structure end |
#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][1
-
in the *Amazon DynamoDB
Developer Guide*.
If read/write capacity mode is ‘PAY_PER_REQUEST` the value is set to 0.
4394 4395 4396 4397 4398 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 4394 class ProvisionedThroughput < Struct.new( :read_capacity_units, :write_capacity_units) include Aws::Structure end |