Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The ListAllowedNodeTypeModifications
action 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
APIs to scale up your cluster or replication group, the value of the CacheNodeType parameter must be one of the node types returned by this action.
- listAllowedNodeTypeModifications :: ListAllowedNodeTypeModifications
- data ListAllowedNodeTypeModifications
- lantmCacheClusterId :: Lens' ListAllowedNodeTypeModifications (Maybe Text)
- lantmReplicationGroupId :: Lens' ListAllowedNodeTypeModifications (Maybe Text)
- listAllowedNodeTypeModificationsResponse :: Int -> ListAllowedNodeTypeModificationsResponse
- data ListAllowedNodeTypeModificationsResponse
- lantmrsScaleUpModifications :: Lens' ListAllowedNodeTypeModificationsResponse [Text]
- lantmrsResponseStatus :: Lens' ListAllowedNodeTypeModificationsResponse Int
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:
data ListAllowedNodeTypeModifications Source #
The input parameters for the ListAllowedNodeTypeModifications action.
See: listAllowedNodeTypeModifications
smart constructor.
Request Lenses
lantmCacheClusterId :: Lens' ListAllowedNodeTypeModifications (Maybe Text) Source #
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 to create a list of node types you can scale up to.
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.
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:
data ListAllowedNodeTypeModificationsResponse Source #
Represents the allowed node types you can use to modify your cache cluster or replication group.
See: listAllowedNodeTypeModificationsResponse
smart constructor.
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 cache 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 :: Lens' ListAllowedNodeTypeModificationsResponse Int Source #
The response status code.