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

Description

 
Synopsis

Documentation

data BillingModeSummary Source #

Contains the details for the read/write capacity mode.

See: newBillingModeSummary smart constructor.

Constructors

BillingModeSummary' 

Fields

  • lastUpdateToPayPerRequestDateTime :: Maybe POSIX

    Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

  • billingMode :: Maybe BillingMode

    Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

    • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.
    • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

Instances

Instances details
Eq BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

Read BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

Show BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

Generic BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

Associated Types

type Rep BillingModeSummary :: Type -> Type #

NFData BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

Methods

rnf :: BillingModeSummary -> () #

Hashable BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

FromJSON BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

type Rep BillingModeSummary Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BillingModeSummary

type Rep BillingModeSummary = D1 ('MetaData "BillingModeSummary" "Amazonka.DynamoDB.Types.BillingModeSummary" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "BillingModeSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastUpdateToPayPerRequestDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "billingMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingMode))))

newBillingModeSummary :: BillingModeSummary Source #

Create a value of BillingModeSummary 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:lastUpdateToPayPerRequestDateTime:BillingModeSummary', billingModeSummary_lastUpdateToPayPerRequestDateTime - Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

$sel:billingMode:BillingModeSummary', billingModeSummary_billingMode - Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.
  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

billingModeSummary_lastUpdateToPayPerRequestDateTime :: Lens' BillingModeSummary (Maybe UTCTime) Source #

Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

billingModeSummary_billingMode :: Lens' BillingModeSummary (Maybe BillingMode) Source #

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.
  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.