ListAllowedNodeTypeUpdates - Amazon MemoryDB

ListAllowedNodeTypeUpdates

Lists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.

Request Syntax

{ "ClusterName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ClusterName

The name of the cluster you want to scale. MemoryDB uses the cluster name to identify the current node type being used by this cluster, and from that to create a list of node types you can scale up to.

Type: String

Required: Yes

Response Syntax

{ "ScaleDownNodeTypes": [ "string" ], "ScaleUpNodeTypes": [ "string" ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ScaleDownNodeTypes

A list node types which you can use to scale down your cluster.

Type: Array of strings

ScaleUpNodeTypes

A list node types which you can use to scale up your cluster.

Type: Array of strings

Errors

For information about the errors that are common to all actions, see Common Errors.

ClusterNotFoundFault

HTTP Status Code: 400

InvalidParameterCombinationException

HTTP Status Code: 400

InvalidParameterValueException

HTTP Status Code: 400

ServiceLinkedRoleNotFoundFault

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: