amazonka-dynamodb-dax-2.0: Amazon DynamoDB Accelerator (DAX) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Show DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

NFData DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Eq DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Hashable DecreaseReplicationFactor Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

type AWSResponse 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" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" 'False) (C1 ('MetaCons "DecreaseReplicationFactor'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nodeIdsToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newReplicationFactor'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:availabilityZones:DecreaseReplicationFactor', decreaseReplicationFactor_availabilityZones - The Availability Zone(s) from which to remove nodes.

DecreaseReplicationFactor, decreaseReplicationFactor_nodeIdsToRemove - The unique identifiers of the nodes to be removed from the cluster.

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_availabilityZones :: Lens' DecreaseReplicationFactor (Maybe [Text]) Source #

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

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

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

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
Generic DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Associated Types

type Rep DecreaseReplicationFactorResponse :: Type -> Type #

Read DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Show DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

NFData DecreaseReplicationFactorResponse Source # 
Instance details

Defined in Amazonka.DAX.DecreaseReplicationFactor

Eq 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" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" '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.