Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
Represents the amount of provisioned throughput capacity consumed on a table or an index.
See: newCapacity
smart constructor.
Capacity' | |
|
Instances
Eq Capacity Source # | |
Read Capacity Source # | |
Show Capacity Source # | |
Generic Capacity Source # | |
NFData Capacity Source # | |
Defined in Amazonka.DynamoDB.Types.Capacity | |
Hashable Capacity Source # | |
Defined in Amazonka.DynamoDB.Types.Capacity | |
FromJSON Capacity Source # | |
type Rep Capacity Source # | |
Defined in Amazonka.DynamoDB.Types.Capacity type Rep Capacity = D1 ('MetaData "Capacity" "Amazonka.DynamoDB.Types.Capacity" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "Capacity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "capacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))) |
newCapacity :: Capacity Source #
Create a value of Capacity
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:readCapacityUnits:Capacity'
, capacity_readCapacityUnits
- The total number of read capacity units consumed on a table or an index.
$sel:capacityUnits:Capacity'
, capacity_capacityUnits
- The total number of capacity units consumed on a table or an index.
$sel:writeCapacityUnits:Capacity'
, capacity_writeCapacityUnits
- The total number of write capacity units consumed on a table or an
index.
capacity_readCapacityUnits :: Lens' Capacity (Maybe Double) Source #
The total number of read capacity units consumed on a table or an index.