describe_node_configuration_options
(**kwargs)¶Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.
See also: AWS API Documentation
Request Syntax
response = client.describe_node_configuration_options(
ActionType='restore-cluster'|'recommend-node-config'|'resize-cluster',
ClusterIdentifier='string',
SnapshotIdentifier='string',
SnapshotArn='string',
OwnerAccount='string',
Filters=[
{
'Name': 'NodeType'|'NumberOfNodes'|'EstimatedDiskUtilizationPercent'|'Mode',
'Operator': 'eq'|'lt'|'gt'|'le'|'ge'|'in'|'between',
'Values': [
'string',
]
},
],
Marker='string',
MaxRecords=123
)
[REQUIRED]
The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot. Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot. Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.
A set of name, operator, and value items to filter the results.
A set of elements to filter the returned node configurations.
The name of the element to filter.
The filter operator. If filter Name is NodeType only the 'in' operator is supported. Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide a list of values for 'in'.
List of values. Compare Name using Operator to Values. If filter Name is NumberOfNodes, then values can range from 0 to 200. If filter Name is EstimatedDiskUtilizationPercent, then values can range from 0 to 100. For example, filter NumberOfNodes (name) GT (operator) 3 (values).
MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
Default: 500
Constraints: minimum 100, maximum 500.
dict
Response Syntax
{
'NodeConfigurationOptionList': [
{
'NodeType': 'string',
'NumberOfNodes': 123,
'EstimatedDiskUtilizationPercent': 123.0,
'Mode': 'standard'|'high-performance'
},
],
'Marker': 'string'
}
Response Structure
(dict) --
NodeConfigurationOptionList (list) --
A list of valid node configurations.
(dict) --
A list of node configurations.
NodeType (string) --
The node type, such as, "ds2.8xlarge".
NumberOfNodes (integer) --
The number of nodes.
EstimatedDiskUtilizationPercent (float) --
The estimated disk utilizaton percentage.
Mode (string) --
The category of the node configuration recommendation.
Marker (string) --
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.
Exceptions
Redshift.Client.exceptions.ClusterSnapshotNotFoundFault
Redshift.Client.exceptions.InvalidClusterSnapshotStateFault
Redshift.Client.exceptions.ClusterNotFoundFault
Redshift.Client.exceptions.AccessToSnapshotDeniedFault
Redshift.Client.exceptions.UnsupportedOperationFault