amazonka-elasticache-1.4.5: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Contents

Description

Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.

When you use the ModifyCacheCluster or ModifyReplicationGroup operations to scale up your cluster or replication group, the value of the CacheNodeType parameter must be one of the node types returned by this operation.

Synopsis

Creating a Request

listAllowedNodeTypeModifications :: ListAllowedNodeTypeModifications #

Creates a value of ListAllowedNodeTypeModifications with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lantmCacheClusterId - The name of the cache cluster you want to scale up to a larger node instanced type. ElastiCache uses the cluster id to identify the current node type of this cluster and from that to create a list of node types you can scale up to. Important: You must provide a value for either the CacheClusterId or the ReplicationGroupId .
  • lantmReplicationGroupId - The name of the replication group want to scale up to a larger node type. ElastiCache uses the replication group id to identify the current node type being used by this replication group, and from that to create a list of node types you can scale up to. Important: You must provide a value for either the CacheClusterId or the ReplicationGroupId .

data ListAllowedNodeTypeModifications #

The input parameters for the ListAllowedNodeTypeModifications operation.

See: listAllowedNodeTypeModifications smart constructor.

Instances

Eq ListAllowedNodeTypeModifications # 
Data ListAllowedNodeTypeModifications # 

Methods

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

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

toConstr :: ListAllowedNodeTypeModifications -> Constr #

dataTypeOf :: ListAllowedNodeTypeModifications -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAllowedNodeTypeModifications # 
Show ListAllowedNodeTypeModifications # 
Generic ListAllowedNodeTypeModifications # 
Hashable ListAllowedNodeTypeModifications # 
NFData ListAllowedNodeTypeModifications # 
AWSRequest ListAllowedNodeTypeModifications # 
ToQuery ListAllowedNodeTypeModifications # 
ToPath ListAllowedNodeTypeModifications # 
ToHeaders ListAllowedNodeTypeModifications # 
type Rep ListAllowedNodeTypeModifications # 
type Rep ListAllowedNodeTypeModifications = D1 (MetaData "ListAllowedNodeTypeModifications" "Network.AWS.ElastiCache.ListAllowedNodeTypeModifications" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" False) (C1 (MetaCons "ListAllowedNodeTypeModifications'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lantmCacheClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lantmReplicationGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs ListAllowedNodeTypeModifications # 

Request Lenses

lantmCacheClusterId :: Lens' ListAllowedNodeTypeModifications (Maybe Text) #

The name of the cache cluster you want to scale up to a larger node instanced type. ElastiCache uses the cluster id to identify the current node type of this cluster and from that to create a list of node types you can scale up to. Important: You must provide a value for either the CacheClusterId or the ReplicationGroupId .

lantmReplicationGroupId :: Lens' ListAllowedNodeTypeModifications (Maybe Text) #

The name of the replication group want to scale up to a larger node type. ElastiCache uses the replication group id to identify the current node type being used by this replication group, and from that to create a list of node types you can scale up to. Important: You must provide a value for either the CacheClusterId or the ReplicationGroupId .

Destructuring the Response

listAllowedNodeTypeModificationsResponse #

Creates a value of ListAllowedNodeTypeModificationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListAllowedNodeTypeModificationsResponse #

Instances

Eq ListAllowedNodeTypeModificationsResponse # 
Data ListAllowedNodeTypeModificationsResponse # 

Methods

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

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

toConstr :: ListAllowedNodeTypeModificationsResponse -> Constr #

dataTypeOf :: ListAllowedNodeTypeModificationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAllowedNodeTypeModificationsResponse # 
Show ListAllowedNodeTypeModificationsResponse # 
Generic ListAllowedNodeTypeModificationsResponse # 
NFData ListAllowedNodeTypeModificationsResponse # 
type Rep ListAllowedNodeTypeModificationsResponse # 
type Rep ListAllowedNodeTypeModificationsResponse = D1 (MetaData "ListAllowedNodeTypeModificationsResponse" "Network.AWS.ElastiCache.ListAllowedNodeTypeModifications" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" False) (C1 (MetaCons "ListAllowedNodeTypeModificationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lantmrsScaleUpModifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lantmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses