libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax
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.DAX.DecreaseReplicationFactor

Description

Removes one or more nodes from a DAX cluster.

You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster instead.

Synopsis

Creating a Request

data DecreaseReplicationFactor Source #

See: newDecreaseReplicationFactor smart constructor.

Constructors

DecreaseReplicationFactor' 

Fields

Instances

Instances details
Eq DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Read DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Show DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Generic DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Associated Types

type Rep DecreaseReplicationFactor :: Type -> Type #

NFData DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Hashable DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

ToJSON DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

AWSRequest DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

ToHeaders DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

ToPath DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

ToQuery DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

type Rep DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

type Rep DecreaseReplicationFactor = D1 ('MetaData "DecreaseReplicationFactor" "Amazonka.DAX.DecreaseReplicationFactor" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "DecreaseReplicationFactor'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nodeIdsToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newReplicationFactor'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))
type AWSResponse DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

newDecreaseReplicationFactor Source #

Create a value of DecreaseReplicationFactor 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:nodeIdsToRemove:DecreaseReplicationFactor', decreaseReplicationFactor_nodeIdsToRemove - The unique identifiers of the nodes to be removed from the cluster.

$sel:availabilityZones:DecreaseReplicationFactor', decreaseReplicationFactor_availabilityZones - The Availability Zone(s) from which to remove nodes.

$sel:clusterName:DecreaseReplicationFactor', decreaseReplicationFactor_clusterName - The name of the DAX cluster from which you want to remove nodes.

$sel:newReplicationFactor':DecreaseReplicationFactor', decreaseReplicationFactor_newReplicationFactor - The new number of nodes for the DAX cluster.

Request Lenses

decreaseReplicationFactor_nodeIdsToRemove :: Lens' DecreaseReplicationFactor (Maybe [Text]) Source #

The unique identifiers of the nodes to be removed from the cluster.

decreaseReplicationFactor_availabilityZones :: Lens' DecreaseReplicationFactor (Maybe [Text]) Source #

The Availability Zone(s) from which to remove nodes.

decreaseReplicationFactor_clusterName :: Lens' DecreaseReplicationFactor Text Source #

The name of the DAX cluster from which you want to remove nodes.

Destructuring the Response

data DecreaseReplicationFactorResponse Source #

See: newDecreaseReplicationFactorResponse smart constructor.

Constructors

DecreaseReplicationFactorResponse' 

Fields

Instances

Instances details
Eq DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Read DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Show DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Generic DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Associated Types

type Rep DecreaseReplicationFactorResponse :: Type -> Type #

NFData DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

type Rep DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

type Rep DecreaseReplicationFactorResponse = D1 ('MetaData "DecreaseReplicationFactorResponse" "Amazonka.DAX.DecreaseReplicationFactor" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "DecreaseReplicationFactorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDecreaseReplicationFactorResponse Source #

Create a value of DecreaseReplicationFactorResponse 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:DecreaseReplicationFactorResponse', decreaseReplicationFactorResponse_cluster - A description of the DAX cluster, after you have decreased its replication factor.

$sel:httpStatus:DecreaseReplicationFactorResponse', decreaseReplicationFactorResponse_httpStatus - The response's http status code.

Response Lenses

decreaseReplicationFactorResponse_cluster :: Lens' DecreaseReplicationFactorResponse (Maybe Cluster) Source #

A description of the DAX cluster, after you have decreased its replication factor.