listAllowedNodeTypeModifications

Lists all available node types that you can scale with your cluster's replication group's current node type.

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

Samples


fun main() { 
   //sampleStart 
   // Lists all available node types that you can scale your Redis cluster s or replication group s
// current node type up to.
val resp = elastiCacheClient.listAllowedNodeTypeModifications {
    cacheClusterId = "mycluster"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // Lists all available node types that you can scale your Redis cluster s or replication group s
// current node type up to.
val resp = elastiCacheClient.listAllowedNodeTypeModifications {
    replicationGroupId = "myreplgroup"
} 
   //sampleEnd
}