amazonka-elasticache-1.5.0: Amazon ElastiCache SDK.

Copyright(c) 2013-2017 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.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 Source #

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

The input parameters for the ListAllowedNodeTypeModifications operation.

See: listAllowedNodeTypeModifications smart constructor.

Instances

Eq ListAllowedNodeTypeModifications Source # 
Data ListAllowedNodeTypeModifications Source # 

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 Source # 
Show ListAllowedNodeTypeModifications Source # 
Generic ListAllowedNodeTypeModifications Source # 
Hashable ListAllowedNodeTypeModifications Source # 
NFData ListAllowedNodeTypeModifications Source # 
AWSRequest ListAllowedNodeTypeModifications Source # 
ToQuery ListAllowedNodeTypeModifications Source # 
ToPath ListAllowedNodeTypeModifications Source # 
ToHeaders ListAllowedNodeTypeModifications Source # 
type Rep ListAllowedNodeTypeModifications Source # 
type Rep ListAllowedNodeTypeModifications = D1 (MetaData "ListAllowedNodeTypeModifications" "Network.AWS.ElastiCache.ListAllowedNodeTypeModifications" "amazonka-elasticache-1.5.0-3KxmcjA9oxuJn4AiPGdjQZ" 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 Source # 

Request Lenses

lantmCacheClusterId :: Lens' ListAllowedNodeTypeModifications (Maybe Text) Source #

The name of the 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) Source #

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

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:

  • lantmrsScaleUpModifications - A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup , use a value from this list for the CacheNodeType parameter.
  • lantmrsResponseStatus - -- | The response status code.

data ListAllowedNodeTypeModificationsResponse Source #

Represents the allowed node types you can use to modify your cluster or replication group.

See: listAllowedNodeTypeModificationsResponse smart constructor.

Instances

Eq ListAllowedNodeTypeModificationsResponse Source # 
Data ListAllowedNodeTypeModificationsResponse Source # 

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 Source # 
Show ListAllowedNodeTypeModificationsResponse Source # 
Generic ListAllowedNodeTypeModificationsResponse Source # 
NFData ListAllowedNodeTypeModificationsResponse Source # 
type Rep ListAllowedNodeTypeModificationsResponse Source # 
type Rep ListAllowedNodeTypeModificationsResponse = D1 (MetaData "ListAllowedNodeTypeModificationsResponse" "Network.AWS.ElastiCache.ListAllowedNodeTypeModifications" "amazonka-elasticache-1.5.0-3KxmcjA9oxuJn4AiPGdjQZ" False) (C1 (MetaCons "ListAllowedNodeTypeModificationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lantmrsScaleUpModifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lantmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lantmrsScaleUpModifications :: Lens' ListAllowedNodeTypeModificationsResponse [Text] Source #

A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup , use a value from this list for the CacheNodeType parameter.