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

Description

 
Synopsis

Documentation

data ReplicaUpdate Source #

Represents one of the following:

  • A new replica to be added to an existing global table.
  • New parameters for an existing replica.
  • An existing replica to be removed from an existing global table.

See: newReplicaUpdate smart constructor.

Constructors

ReplicaUpdate' 

Fields

Instances

Instances details
Eq ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

Read ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

Show ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

Generic ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

Associated Types

type Rep ReplicaUpdate :: Type -> Type #

NFData ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

Methods

rnf :: ReplicaUpdate -> () #

Hashable ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

ToJSON ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

type Rep ReplicaUpdate Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.ReplicaUpdate

type Rep ReplicaUpdate = D1 ('MetaData "ReplicaUpdate" "Amazonka.DynamoDB.Types.ReplicaUpdate" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ReplicaUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "create") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateReplicaAction)) :*: S1 ('MetaSel ('Just "delete'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteReplicaAction))))

newReplicaUpdate :: ReplicaUpdate Source #

Create a value of ReplicaUpdate 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:create:ReplicaUpdate', replicaUpdate_create - The parameters required for creating a replica on an existing global table.

$sel:delete':ReplicaUpdate', replicaUpdate_delete - The name of the existing replica to be removed.

replicaUpdate_create :: Lens' ReplicaUpdate (Maybe CreateReplicaAction) Source #

The parameters required for creating a replica on an existing global table.

replicaUpdate_delete :: Lens' ReplicaUpdate (Maybe DeleteReplicaAction) Source #

The name of the existing replica to be removed.