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 ProvisionedThroughputDescription = ProvisionedThroughputDescription' {}
- newProvisionedThroughputDescription :: ProvisionedThroughputDescription
- provisionedThroughputDescription_lastDecreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime)
- provisionedThroughputDescription_lastIncreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime)
- provisionedThroughputDescription_numberOfDecreasesToday :: Lens' ProvisionedThroughputDescription (Maybe Natural)
- provisionedThroughputDescription_readCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural)
- provisionedThroughputDescription_writeCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural)
Documentation
data ProvisionedThroughputDescription Source #
Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
See: newProvisionedThroughputDescription
smart constructor.
ProvisionedThroughputDescription' | |
|
Instances
newProvisionedThroughputDescription :: ProvisionedThroughputDescription Source #
Create a value of ProvisionedThroughputDescription
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:lastDecreaseDateTime:ProvisionedThroughputDescription'
, provisionedThroughputDescription_lastDecreaseDateTime
- The date and time of the last provisioned throughput decrease for this
table.
$sel:lastIncreaseDateTime:ProvisionedThroughputDescription'
, provisionedThroughputDescription_lastIncreaseDateTime
- The date and time of the last provisioned throughput increase for this
table.
$sel:numberOfDecreasesToday:ProvisionedThroughputDescription'
, provisionedThroughputDescription_numberOfDecreasesToday
- The number of provisioned throughput decreases for this table during
this UTC calendar day. For current maximums on provisioned throughput
decreases, see
Service, Account, and Table Quotas
in the Amazon DynamoDB Developer Guide.
$sel:readCapacityUnits:ProvisionedThroughputDescription'
, provisionedThroughputDescription_readCapacityUnits
- The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a ThrottlingException
. Eventually consistent
reads require less effort than strongly consistent reads, so a setting
of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.
$sel:writeCapacityUnits:ProvisionedThroughputDescription'
, provisionedThroughputDescription_writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns
a ThrottlingException
.
provisionedThroughputDescription_lastDecreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime) Source #
The date and time of the last provisioned throughput decrease for this table.
provisionedThroughputDescription_lastIncreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime) Source #
The date and time of the last provisioned throughput increase for this table.
provisionedThroughputDescription_numberOfDecreasesToday :: Lens' ProvisionedThroughputDescription (Maybe Natural) Source #
The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
provisionedThroughputDescription_readCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural) Source #
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a ThrottlingException
. Eventually consistent
reads require less effort than strongly consistent reads, so a setting
of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.
provisionedThroughputDescription_writeCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural) Source #
The maximum number of writes consumed per second before DynamoDB returns
a ThrottlingException
.