MemoryDB / Client / list_allowed_node_type_updates

list_allowed_node_type_updates#

MemoryDB.Client.list_allowed_node_type_updates(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.list_allowed_node_type_updates(
    ClusterName='string'
)
Parameters:

ClusterName (string) –

[REQUIRED]

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.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • ScaleUpNodeTypes (list) –

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

      • (string) –

    • ScaleDownNodeTypes (list) –

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

      • (string) –

Exceptions