| 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 |
Amazonka.DynamoDB.Types.Capacity
Description
Synopsis
Documentation
Represents the amount of provisioned throughput capacity consumed on a table or an index.
See: newCapacity smart constructor.
Constructors
| Capacity' | |
Fields
| |
Instances
| FromJSON Capacity Source # | |
| Generic Capacity Source # | |
| Read Capacity Source # | |
| Show Capacity Source # | |
| NFData Capacity Source # | |
Defined in Amazonka.DynamoDB.Types.Capacity | |
| Eq Capacity Source # | |
| Hashable Capacity Source # | |
Defined in Amazonka.DynamoDB.Types.Capacity | |
| type Rep Capacity Source # | |
Defined in Amazonka.DynamoDB.Types.Capacity type Rep Capacity = D1 ('MetaData "Capacity" "Amazonka.DynamoDB.Types.Capacity" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "Capacity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "capacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "readCapacityUnits") '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:capacityUnits:Capacity', capacity_capacityUnits - The total number of capacity units consumed on a table or an index.
$sel:readCapacityUnits:Capacity', capacity_readCapacityUnits - The total number of read 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_capacityUnits :: Lens' Capacity (Maybe Double) Source #
The total number of capacity units consumed on a table or an index.