amazonka-dynamodb-2.0: Amazon DynamoDB 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.DynamoDB.Types.ProvisionedThroughputDescription

Description

 
Synopsis

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.

Constructors

ProvisionedThroughputDescription' 

Fields

  • lastDecreaseDateTime :: Maybe POSIX

    The date and time of the last provisioned throughput decrease for this table.

  • lastIncreaseDateTime :: Maybe POSIX

    The date and time of the last provisioned throughput increase for this table.

  • numberOfDecreasesToday :: Maybe Natural

    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.

  • readCapacityUnits :: Maybe Natural

    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.

  • writeCapacityUnits :: Maybe Natural

    The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

Instances

Instances details
FromJSON ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Generic ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Associated Types

type Rep ProvisionedThroughputDescription :: Type -> Type #

Read ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Show ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

NFData ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Eq ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Hashable ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

type Rep ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

type Rep ProvisionedThroughputDescription = D1 ('MetaData "ProvisionedThroughputDescription" "Amazonka.DynamoDB.Types.ProvisionedThroughputDescription" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "ProvisionedThroughputDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastDecreaseDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastIncreaseDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "numberOfDecreasesToday") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

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.