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

Class: Aws::DynamoDB::Types::BillingModeSummary

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

Overview

Contains the details for the read/write capacity mode.

Instance Attribute Summary collapse

Instance Attribute Details

#billing_modeString

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

Returns:

  • (String)


1106
1107
1108
1109
1110
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 1106

class BillingModeSummary < Struct.new(
  :billing_mode,
  :last_update_to_pay_per_request_date_time)
  include Aws::Structure
end

#last_update_to_pay_per_request_date_timeTime

Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

Returns:

  • (Time)


1106
1107
1108
1109
1110
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 1106

class BillingModeSummary < Struct.new(
  :billing_mode,
  :last_update_to_pay_per_request_date_time)
  include Aws::Structure
end