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.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

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

  • lastDecreaseDateTime :: Maybe POSIX

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

  • writeCapacityUnits :: Maybe Natural

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

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

  • lastIncreaseDateTime :: Maybe POSIX

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

Instances

Instances details
Eq ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Read ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Show 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 #

NFData ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

Hashable ProvisionedThroughputDescription Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ProvisionedThroughputDescription

FromJSON 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" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ProvisionedThroughputDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "lastDecreaseDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "numberOfDecreasesToday") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "lastIncreaseDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

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: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:lastDecreaseDateTime:ProvisionedThroughputDescription', provisionedThroughputDescription_lastDecreaseDateTime - The date and time of the last provisioned throughput decrease for this table.

$sel:writeCapacityUnits:ProvisionedThroughputDescription', provisionedThroughputDescription_writeCapacityUnits - The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

$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:lastIncreaseDateTime:ProvisionedThroughputDescription', provisionedThroughputDescription_lastIncreaseDateTime - The date and time of the last provisioned throughput increase for this table.

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_lastDecreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime) Source #

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

provisionedThroughputDescription_writeCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural) Source #

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

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_lastIncreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime) Source #

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