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

Class: Aws::DynamoDB::Types::ProvisionedThroughput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Note:

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 in the Amazon DynamoDB Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#read_capacity_unitsInteger

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.

Returns:

  • (Integer)


2982
2983
2984
2985
2986
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 2982

class ProvisionedThroughput < Struct.new(
  :read_capacity_units,
  :write_capacity_units)
  include Aws::Structure
end

#write_capacity_unitsInteger

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.

Returns:

  • (Integer)


2982
2983
2984
2985
2986
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 2982

class ProvisionedThroughput < Struct.new(
  :read_capacity_units,
  :write_capacity_units)
  include Aws::Structure
end