class
Amazonite::DynamoDB::BillingModeSummary
- Amazonite::DynamoDB::BillingModeSummary
- Reference
- Object
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.
You may need to switch to on-demand mode at least once in order to return a BillingModeSummary
response.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/billing_mode_summary.crConstructors
- .new(pull : JSON::PullParser)
- .new(billing_mode : BillingMode | Nil = nil, last_update_to_pay_per_request_date_time : Time | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#billing_mode : BillingMode | Nil
Controls how you are charged for read and write throughput and how you manage capacity.
-
#billing_mode=(billing_mode : BillingMode | Nil)
Controls how you are charged for read and write throughput and how you manage capacity.
-
#hash(hasher)
See
Object#hash(hasher) -
#last_update_to_pay_per_request_date_time : Time | Nil
Represents the time when
PAY_PER_REQUESTwas last set as the read/write capacity mode. -
#last_update_to_pay_per_request_date_time=(last_update_to_pay_per_request_date_time : Time | Nil)
Represents the time when
PAY_PER_REQUESTwas last set as the read/write capacity mode. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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 toPROVISIONED. We recommend usingPROVISIONEDfor predictable workloads. -
PAY_PER_REQUEST- Sets the read/write capacity mode toPAY_PER_REQUEST. We recommend usingPAY_PER_REQUESTfor unpredictable workloads.
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 toPROVISIONED. We recommend usingPROVISIONEDfor predictable workloads. -
PAY_PER_REQUEST- Sets the read/write capacity mode toPAY_PER_REQUEST. We recommend usingPAY_PER_REQUESTfor unpredictable workloads.
Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.
Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.