| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DAX.DecreaseReplicationFactor
Description
Removes one or more nodes from a DAX cluster.
- decreaseReplicationFactor :: Text -> Int -> DecreaseReplicationFactor
- data DecreaseReplicationFactor
- drfNodeIdsToRemove :: Lens' DecreaseReplicationFactor [Text]
- drfAvailabilityZones :: Lens' DecreaseReplicationFactor [Text]
- drfClusterName :: Lens' DecreaseReplicationFactor Text
- drfNewReplicationFactor :: Lens' DecreaseReplicationFactor Int
- decreaseReplicationFactorResponse :: Int -> DecreaseReplicationFactorResponse
- data DecreaseReplicationFactorResponse
- drfrsCluster :: Lens' DecreaseReplicationFactorResponse (Maybe Cluster)
- drfrsResponseStatus :: Lens' DecreaseReplicationFactorResponse Int
Creating a Request
decreaseReplicationFactor Source #
Arguments
| :: Text | |
| -> Int | |
| -> DecreaseReplicationFactor |
Creates a value of DecreaseReplicationFactor with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drfNodeIdsToRemove- The unique identifiers of the nodes to be removed from the cluster.drfAvailabilityZones- The Availability Zone(s) from which to remove nodes.drfClusterName- The name of the DAX cluster from which you want to remove nodes.drfNewReplicationFactor- The new number of nodes for the DAX cluster.
data DecreaseReplicationFactor Source #
See: decreaseReplicationFactor smart constructor.
Instances
Request Lenses
drfNodeIdsToRemove :: Lens' DecreaseReplicationFactor [Text] Source #
The unique identifiers of the nodes to be removed from the cluster.
drfAvailabilityZones :: Lens' DecreaseReplicationFactor [Text] Source #
The Availability Zone(s) from which to remove nodes.
drfClusterName :: Lens' DecreaseReplicationFactor Text Source #
The name of the DAX cluster from which you want to remove nodes.
drfNewReplicationFactor :: Lens' DecreaseReplicationFactor Int Source #
The new number of nodes for the DAX cluster.
Destructuring the Response
decreaseReplicationFactorResponse Source #
Arguments
| :: Int | |
| -> DecreaseReplicationFactorResponse |
Creates a value of DecreaseReplicationFactorResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drfrsCluster- A description of the DAX cluster, after you have decreased its replication factor.drfrsResponseStatus- -- | The response status code.
data DecreaseReplicationFactorResponse Source #
See: decreaseReplicationFactorResponse smart constructor.
Instances
Response Lenses
drfrsCluster :: Lens' DecreaseReplicationFactorResponse (Maybe Cluster) Source #
A description of the DAX cluster, after you have decreased its replication factor.
drfrsResponseStatus :: Lens' DecreaseReplicationFactorResponse Int Source #
- - | The response status code.