Class: Aws::Keyspaces::Types::CapacitySpecificationSummary

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

Overview

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

  • throughputMode:PAY_PER_REQUEST and

  • throughputMode:PROVISIONED.

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_update_to_pay_per_request_timestampTime

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

Returns:

  • (Time)


264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 264

class CapacitySpecificationSummary < Struct.new(
  :throughput_mode,
  :read_capacity_units,
  :write_capacity_units,
  :last_update_to_pay_per_request_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#read_capacity_unitsInteger

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

Returns:

  • (Integer)


264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 264

class CapacitySpecificationSummary < Struct.new(
  :throughput_mode,
  :read_capacity_units,
  :write_capacity_units,
  :last_update_to_pay_per_request_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#throughput_modeString

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.

Returns:

  • (String)


264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 264

class CapacitySpecificationSummary < Struct.new(
  :throughput_mode,
  :read_capacity_units,
  :write_capacity_units,
  :last_update_to_pay_per_request_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#write_capacity_unitsInteger

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

Returns:

  • (Integer)


264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/types.rb', line 264

class CapacitySpecificationSummary < Struct.new(
  :throughput_mode,
  :read_capacity_units,
  :write_capacity_units,
  :last_update_to_pay_per_request_timestamp)
  SENSITIVE = []
  include Aws::Structure
end