| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDB.Types.ReplicaUpdate
Description
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
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.