libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DynamoDB.Types.Capacity

Description

 
Synopsis

Documentation

data Capacity Source #

Represents the amount of provisioned throughput capacity consumed on a table or an index.

See: newCapacity smart constructor.

Constructors

Capacity' 

Fields

Instances

Instances details
Eq Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

Read Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

Show Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

Generic Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

Associated Types

type Rep Capacity :: Type -> Type #

Methods

from :: Capacity -> Rep Capacity x #

to :: Rep Capacity x -> Capacity #

NFData Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

Methods

rnf :: Capacity -> () #

Hashable Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

Methods

hashWithSalt :: Int -> Capacity -> Int #

hash :: Capacity -> Int #

FromJSON Capacity Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.Capacity

type Rep Capacity Source # 
Instance details

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.

capacity_capacityUnits :: Lens' Capacity (Maybe Double) Source #

The total number of capacity units consumed on a table or an index.

capacity_writeCapacityUnits :: Lens' Capacity (Maybe Double) Source #

The total number of write capacity units consumed on a table or an index.