amazonka-elasticache-1.6.1: Amazon ElastiCache 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.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 # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Data ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.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 Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Show ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Generic ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Associated Types

type Rep ListAllowedNodeTypeModifications :: Type -> Type #

Hashable ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

AWSRequest ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Associated Types

type Rs ListAllowedNodeTypeModifications :: Type #

ToHeaders ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

ToPath ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

ToQuery ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

NFData ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

type Rep ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

type Rep ListAllowedNodeTypeModifications = D1 (MetaData "ListAllowedNodeTypeModifications" "Network.AWS.ElastiCache.ListAllowedNodeTypeModifications" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "ListAllowedNodeTypeModifications'" PrefixI True) (S1 (MetaSel (Just "_lantmCacheClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lantmReplicationGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs ListAllowedNodeTypeModifications Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

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 # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Data ListAllowedNodeTypeModificationsResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

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 # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Show ListAllowedNodeTypeModificationsResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

Generic ListAllowedNodeTypeModificationsResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

NFData ListAllowedNodeTypeModificationsResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

type Rep ListAllowedNodeTypeModificationsResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.ListAllowedNodeTypeModifications

type Rep ListAllowedNodeTypeModificationsResponse = D1 (MetaData "ListAllowedNodeTypeModificationsResponse" "Network.AWS.ElastiCache.ListAllowedNodeTypeModifications" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "ListAllowedNodeTypeModificationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lantmrsScaleUpModifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.