Copyright | (c) 2013-2021 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 |
Adds one or more nodes to a DAX cluster.
Synopsis
- data IncreaseReplicationFactor = IncreaseReplicationFactor' {}
- newIncreaseReplicationFactor :: Text -> Int -> IncreaseReplicationFactor
- increaseReplicationFactor_availabilityZones :: Lens' IncreaseReplicationFactor (Maybe [Text])
- increaseReplicationFactor_clusterName :: Lens' IncreaseReplicationFactor Text
- increaseReplicationFactor_newReplicationFactor :: Lens' IncreaseReplicationFactor Int
- data IncreaseReplicationFactorResponse = IncreaseReplicationFactorResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newIncreaseReplicationFactorResponse :: Int -> IncreaseReplicationFactorResponse
- increaseReplicationFactorResponse_cluster :: Lens' IncreaseReplicationFactorResponse (Maybe Cluster)
- increaseReplicationFactorResponse_httpStatus :: Lens' IncreaseReplicationFactorResponse Int
Creating a Request
data IncreaseReplicationFactor Source #
See: newIncreaseReplicationFactor
smart constructor.
IncreaseReplicationFactor' | |
|
Instances
newIncreaseReplicationFactor Source #
:: Text | |
-> Int | |
-> IncreaseReplicationFactor |
Create a value of IncreaseReplicationFactor
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:availabilityZones:IncreaseReplicationFactor'
, increaseReplicationFactor_availabilityZones
- The Availability Zones (AZs) in which the cluster nodes will be created.
All nodes belonging to the cluster are placed in these Availability
Zones. Use this parameter if you want to distribute the nodes across
multiple AZs.
$sel:clusterName:IncreaseReplicationFactor'
, increaseReplicationFactor_clusterName
- The name of the DAX cluster that will receive additional nodes.
$sel:newReplicationFactor':IncreaseReplicationFactor'
, increaseReplicationFactor_newReplicationFactor
- The new number of nodes for the DAX cluster.
Request Lenses
increaseReplicationFactor_availabilityZones :: Lens' IncreaseReplicationFactor (Maybe [Text]) Source #
The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.
increaseReplicationFactor_clusterName :: Lens' IncreaseReplicationFactor Text Source #
The name of the DAX cluster that will receive additional nodes.
increaseReplicationFactor_newReplicationFactor :: Lens' IncreaseReplicationFactor Int Source #
The new number of nodes for the DAX cluster.
Destructuring the Response
data IncreaseReplicationFactorResponse Source #
See: newIncreaseReplicationFactorResponse
smart constructor.
IncreaseReplicationFactorResponse' | |
|
Instances
Eq IncreaseReplicationFactorResponse Source # | |
Read IncreaseReplicationFactorResponse Source # | |
Show IncreaseReplicationFactorResponse Source # | |
Defined in Amazonka.DAX.IncreaseReplicationFactor | |
Generic IncreaseReplicationFactorResponse Source # | |
NFData IncreaseReplicationFactorResponse Source # | |
Defined in Amazonka.DAX.IncreaseReplicationFactor rnf :: IncreaseReplicationFactorResponse -> () # | |
type Rep IncreaseReplicationFactorResponse Source # | |
Defined in Amazonka.DAX.IncreaseReplicationFactor type Rep IncreaseReplicationFactorResponse = D1 ('MetaData "IncreaseReplicationFactorResponse" "Amazonka.DAX.IncreaseReplicationFactor" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "IncreaseReplicationFactorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newIncreaseReplicationFactorResponse Source #
Create a value of IncreaseReplicationFactorResponse
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:cluster:IncreaseReplicationFactorResponse'
, increaseReplicationFactorResponse_cluster
- A description of the DAX cluster. with its new replication factor.
$sel:httpStatus:IncreaseReplicationFactorResponse'
, increaseReplicationFactorResponse_httpStatus
- The response's http status code.
Response Lenses
increaseReplicationFactorResponse_cluster :: Lens' IncreaseReplicationFactorResponse (Maybe Cluster) Source #
A description of the DAX cluster. with its new replication factor.
increaseReplicationFactorResponse_httpStatus :: Lens' IncreaseReplicationFactorResponse Int Source #
The response's http status code.