Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CapacitySpecificationSummary = CapacitySpecificationSummary' {}
- newCapacitySpecificationSummary :: ThroughputMode -> CapacitySpecificationSummary
- capacitySpecificationSummary_lastUpdateToPayPerRequestTimestamp :: Lens' CapacitySpecificationSummary (Maybe UTCTime)
- capacitySpecificationSummary_readCapacityUnits :: Lens' CapacitySpecificationSummary (Maybe Natural)
- capacitySpecificationSummary_writeCapacityUnits :: Lens' CapacitySpecificationSummary (Maybe Natural)
- capacitySpecificationSummary_throughputMode :: Lens' CapacitySpecificationSummary ThroughputMode
Documentation
data CapacitySpecificationSummary Source #
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.
See: newCapacitySpecificationSummary
smart constructor.
CapacitySpecificationSummary' | |
|
Instances
newCapacitySpecificationSummary Source #
Create a value of CapacitySpecificationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastUpdateToPayPerRequestTimestamp:CapacitySpecificationSummary'
, capacitySpecificationSummary_lastUpdateToPayPerRequestTimestamp
- The timestamp of the last operation that changed the provisioned
throughput capacity of a table.
$sel:readCapacityUnits:CapacitySpecificationSummary'
, capacitySpecificationSummary_readCapacityUnits
- The throughput capacity specified for read
operations defined in
read capacity units
(RCUs)
.
$sel:writeCapacityUnits:CapacitySpecificationSummary'
, capacitySpecificationSummary_writeCapacityUnits
- The throughput capacity specified for write
operations defined in
write capacity units
(WCUs)
.
$sel:throughputMode:CapacitySpecificationSummary'
, capacitySpecificationSummary_throughputMode
- 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.
capacitySpecificationSummary_lastUpdateToPayPerRequestTimestamp :: Lens' CapacitySpecificationSummary (Maybe UTCTime) Source #
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
capacitySpecificationSummary_readCapacityUnits :: Lens' CapacitySpecificationSummary (Maybe Natural) Source #
The throughput capacity specified for read
operations defined in
read capacity units
(RCUs)
.
capacitySpecificationSummary_writeCapacityUnits :: Lens' CapacitySpecificationSummary (Maybe Natural) Source #
The throughput capacity specified for write
operations defined in
write capacity units
(WCUs)
.
capacitySpecificationSummary_throughputMode :: Lens' CapacitySpecificationSummary ThroughputMode Source #
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.