AWSDynamoDBBillingModeSummary
Objective-C
@interface AWSDynamoDBBillingModeSummary
Swift
class AWSDynamoDBBillingModeSummary
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.
-
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.
Declaration
Objective-C
@property (nonatomic) AWSDynamoDBBillingMode billingMode;Swift
var billingMode: AWSDynamoDBBillingMode { get set } -
Represents the time when
PAY_PER_REQUESTwas last set as the read/write capacity mode.Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable lastUpdateToPayPerRequestDateTime;Swift
var lastUpdateToPayPerRequestDateTime: Date? { get set }
View on GitHub
Install in Dash
AWSDynamoDBBillingModeSummary Class Reference