amazonka-keyspaces-2.0: Amazon Keyspaces SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Description

 
Synopsis

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.

Constructors

CapacitySpecificationSummary' 

Fields

  • lastUpdateToPayPerRequestTimestamp :: Maybe POSIX

    The timestamp of the last operation that changed the provisioned throughput capacity of a table.

  • readCapacityUnits :: Maybe Natural

    The throughput capacity specified for read operations defined in read capacity units (RCUs).

  • writeCapacityUnits :: Maybe Natural

    The throughput capacity specified for write operations defined in write capacity units (WCUs).

  • throughputMode :: 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.

Instances

Instances details
FromJSON CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Generic CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Associated Types

type Rep CapacitySpecificationSummary :: Type -> Type #

Read CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Show CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

NFData CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Eq CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

Hashable CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

type Rep CapacitySpecificationSummary Source # 
Instance details

Defined in Amazonka.KeySpaces.Types.CapacitySpecificationSummary

type Rep CapacitySpecificationSummary = D1 ('MetaData "CapacitySpecificationSummary" "Amazonka.KeySpaces.Types.CapacitySpecificationSummary" "amazonka-keyspaces-2.0-IgmNF4xdaFLH03VHAkrBWw" 'False) (C1 ('MetaCons "CapacitySpecificationSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastUpdateToPayPerRequestTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "throughputMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ThroughputMode))))

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.