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

Description

Updates settings for a global table.

Synopsis

Creating a Request

data UpdateGlobalTableSettings Source #

See: newUpdateGlobalTableSettings smart constructor.

Constructors

UpdateGlobalTableSettings' 

Fields

Instances

Instances details
Eq UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Read UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Show UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Generic UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Associated Types

type Rep UpdateGlobalTableSettings :: Type -> Type #

NFData UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Hashable UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

ToJSON UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

AWSRequest UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

ToHeaders UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

ToPath UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

ToQuery UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

type Rep UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

type Rep UpdateGlobalTableSettings = D1 ('MetaData "UpdateGlobalTableSettings" "Amazonka.DynamoDB.UpdateGlobalTableSettings" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "UpdateGlobalTableSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingSettingsUpdate)) :*: (S1 ('MetaSel ('Just "globalTableBillingMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BillingMode)) :*: S1 ('MetaSel ('Just "globalTableProvisionedWriteCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "replicaSettingsUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ReplicaSettingsUpdate))) :*: (S1 ('MetaSel ('Just "globalTableGlobalSecondaryIndexSettingsUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty GlobalTableGlobalSecondaryIndexSettingsUpdate))) :*: S1 ('MetaSel ('Just "globalTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateGlobalTableSettings Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

newUpdateGlobalTableSettings Source #

Create a value of UpdateGlobalTableSettings 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:globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate:UpdateGlobalTableSettings', updateGlobalTableSettings_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate - Auto scaling settings for managing provisioned write capacity for the global table.

$sel:globalTableBillingMode:UpdateGlobalTableSettings', updateGlobalTableSettings_globalTableBillingMode - The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

  • PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.
  • PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.

$sel:globalTableProvisionedWriteCapacityUnits:UpdateGlobalTableSettings', updateGlobalTableSettings_globalTableProvisionedWriteCapacityUnits - The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

$sel:replicaSettingsUpdate:UpdateGlobalTableSettings', updateGlobalTableSettings_replicaSettingsUpdate - Represents the settings for a global table in a Region that will be modified.

$sel:globalTableGlobalSecondaryIndexSettingsUpdate:UpdateGlobalTableSettings', updateGlobalTableSettings_globalTableGlobalSecondaryIndexSettingsUpdate - Represents the settings of a global secondary index for a global table that will be modified.

$sel:globalTableName:UpdateGlobalTableSettings', updateGlobalTableSettings_globalTableName - The name of the global table

Request Lenses

updateGlobalTableSettings_globalTableBillingMode :: Lens' UpdateGlobalTableSettings (Maybe BillingMode) Source #

The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

  • PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.
  • PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.

updateGlobalTableSettings_globalTableProvisionedWriteCapacityUnits :: Lens' UpdateGlobalTableSettings (Maybe Natural) Source #

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

updateGlobalTableSettings_replicaSettingsUpdate :: Lens' UpdateGlobalTableSettings (Maybe (NonEmpty ReplicaSettingsUpdate)) Source #

Represents the settings for a global table in a Region that will be modified.

Destructuring the Response

data UpdateGlobalTableSettingsResponse Source #

See: newUpdateGlobalTableSettingsResponse smart constructor.

Constructors

UpdateGlobalTableSettingsResponse' 

Fields

Instances

Instances details
Eq UpdateGlobalTableSettingsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Read UpdateGlobalTableSettingsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Show UpdateGlobalTableSettingsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Generic UpdateGlobalTableSettingsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

Associated Types

type Rep UpdateGlobalTableSettingsResponse :: Type -> Type #

NFData UpdateGlobalTableSettingsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

type Rep UpdateGlobalTableSettingsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateGlobalTableSettings

type Rep UpdateGlobalTableSettingsResponse = D1 ('MetaData "UpdateGlobalTableSettingsResponse" "Amazonka.DynamoDB.UpdateGlobalTableSettings" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "UpdateGlobalTableSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicaSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicaSettingsDescription])) :*: (S1 ('MetaSel ('Just "globalTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateGlobalTableSettingsResponse Source #

Create a value of UpdateGlobalTableSettingsResponse 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:replicaSettings:UpdateGlobalTableSettingsResponse', updateGlobalTableSettingsResponse_replicaSettings - The Region-specific settings for the global table.

$sel:globalTableName:UpdateGlobalTableSettings', updateGlobalTableSettingsResponse_globalTableName - The name of the global table.

$sel:httpStatus:UpdateGlobalTableSettingsResponse', updateGlobalTableSettingsResponse_httpStatus - The response's http status code.

Response Lenses