Class: Aws::DynamoDB::Types::BillingModeSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::BillingModeSummary
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dynamodb/types.rb
Overview
Contains the details for the read/write capacity mode. This page talks about ‘PROVISIONED` and `PAY_PER_REQUEST` billing modes. For more information about these modes, see [Read/write capacity mode].
<note markdown=“1”> You may need to switch to on-demand mode at least once in order to return a ‘BillingModeSummary` response.
</note>
[1]: docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#billing_mode ⇒ String
Controls how you are charged for read and write throughput and how you manage capacity.
-
#last_update_to_pay_per_request_date_time ⇒ Time
Represents the time when ‘PAY_PER_REQUEST` was last set as the read/write capacity mode.
Instance Attribute Details
#billing_mode ⇒ String
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.
1188 1189 1190 1191 1192 1193 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 1188 class BillingModeSummary < Struct.new( :billing_mode, :last_update_to_pay_per_request_date_time) SENSITIVE = [] include Aws::Structure end |
#last_update_to_pay_per_request_date_time ⇒ Time
Represents the time when ‘PAY_PER_REQUEST` was last set as the read/write capacity mode.
1188 1189 1190 1191 1192 1193 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 1188 class BillingModeSummary < Struct.new( :billing_mode, :last_update_to_pay_per_request_date_time) SENSITIVE = [] include Aws::Structure end |