amazonka-dynamodb-dax-1.6.0: Amazon DynamoDB Accelerator (DAX) SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DAX.DecreaseReplicationFactor

Contents

Description

Removes one or more nodes from a DAX cluster.

Synopsis

Creating a Request

decreaseReplicationFactor Source #

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:

data DecreaseReplicationFactor Source #

See: decreaseReplicationFactor smart constructor.

Instances

Eq DecreaseReplicationFactor Source # 
Data DecreaseReplicationFactor Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DecreaseReplicationFactor -> c DecreaseReplicationFactor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DecreaseReplicationFactor #

toConstr :: DecreaseReplicationFactor -> Constr #

dataTypeOf :: DecreaseReplicationFactor -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DecreaseReplicationFactor) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DecreaseReplicationFactor) #

gmapT :: (forall b. Data b => b -> b) -> DecreaseReplicationFactor -> DecreaseReplicationFactor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DecreaseReplicationFactor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DecreaseReplicationFactor -> r #

gmapQ :: (forall d. Data d => d -> u) -> DecreaseReplicationFactor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DecreaseReplicationFactor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DecreaseReplicationFactor -> m DecreaseReplicationFactor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DecreaseReplicationFactor -> m DecreaseReplicationFactor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DecreaseReplicationFactor -> m DecreaseReplicationFactor #

Read DecreaseReplicationFactor Source # 
Show DecreaseReplicationFactor Source # 
Generic DecreaseReplicationFactor Source # 
Hashable DecreaseReplicationFactor Source # 
ToJSON DecreaseReplicationFactor Source # 
NFData DecreaseReplicationFactor Source # 
AWSRequest DecreaseReplicationFactor Source # 
ToHeaders DecreaseReplicationFactor Source # 
ToPath DecreaseReplicationFactor Source # 
ToQuery DecreaseReplicationFactor Source # 
type Rep DecreaseReplicationFactor Source # 
type Rep DecreaseReplicationFactor = D1 * (MetaData "DecreaseReplicationFactor" "Network.AWS.DAX.DecreaseReplicationFactor" "amazonka-dynamodb-dax-1.6.0-31oAZKJCCRq6sH266jsUP" False) (C1 * (MetaCons "DecreaseReplicationFactor'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_drfNodeIdsToRemove") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_drfAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drfClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_drfNewReplicationFactor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))
type Rs DecreaseReplicationFactor Source # 

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 #

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:

data DecreaseReplicationFactorResponse Source #

See: decreaseReplicationFactorResponse smart constructor.

Instances

Eq DecreaseReplicationFactorResponse Source # 
Data DecreaseReplicationFactorResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DecreaseReplicationFactorResponse -> c DecreaseReplicationFactorResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DecreaseReplicationFactorResponse #

toConstr :: DecreaseReplicationFactorResponse -> Constr #

dataTypeOf :: DecreaseReplicationFactorResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DecreaseReplicationFactorResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DecreaseReplicationFactorResponse) #

gmapT :: (forall b. Data b => b -> b) -> DecreaseReplicationFactorResponse -> DecreaseReplicationFactorResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DecreaseReplicationFactorResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DecreaseReplicationFactorResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DecreaseReplicationFactorResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DecreaseReplicationFactorResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DecreaseReplicationFactorResponse -> m DecreaseReplicationFactorResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DecreaseReplicationFactorResponse -> m DecreaseReplicationFactorResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DecreaseReplicationFactorResponse -> m DecreaseReplicationFactorResponse #

Read DecreaseReplicationFactorResponse Source # 
Show DecreaseReplicationFactorResponse Source # 
Generic DecreaseReplicationFactorResponse Source # 
NFData DecreaseReplicationFactorResponse Source # 
type Rep DecreaseReplicationFactorResponse Source # 
type Rep DecreaseReplicationFactorResponse = D1 * (MetaData "DecreaseReplicationFactorResponse" "Network.AWS.DAX.DecreaseReplicationFactor" "amazonka-dynamodb-dax-1.6.0-31oAZKJCCRq6sH266jsUP" False) (C1 * (MetaCons "DecreaseReplicationFactorResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drfrsCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Cluster))) (S1 * (MetaSel (Just Symbol "_drfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

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