选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

DescribeNodeConfigurationOptions - Amazon Redshift
此页面尚未翻译为您的语言。 请求翻译

DescribeNodeConfigurationOptions

Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.

Request Parameters

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

ActionType

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.

Type: String

Valid Values: restore-cluster | recommend-node-config | resize-cluster

Required: Yes

ClusterIdentifier

The identifier of the cluster to evaluate for possible node configurations.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

Filter.NodeConfigurationOptionsFilter.N

A set of name, operator, and value items to filter the results.

Type: Array of NodeConfigurationOptionsFilter objects

Required: No

Marker

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeNodeConfigurationOptions request exceed the value specified in MaxRecords, AWS 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.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

MaxRecords

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.

Type: Integer

Required: No

OwnerAccount

The AWS account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

SnapshotArn

The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

SnapshotIdentifier

The identifier of the snapshot to evaluate for possible node configurations.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: No

Response Elements

The following elements are returned by the service.

Marker

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.

Type: String

Length Constraints: Maximum length of 2147483647.

NodeConfigurationOptionList.NodeConfigurationOption.N

A list of valid node configurations.

Type: Array of NodeConfigurationOption objects

Errors

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

AccessToSnapshotDenied

The owner of the specified snapshot has not authorized your account to access the snapshot.

HTTP Status Code: 400

ClusterNotFound

The ClusterIdentifier parameter does not refer to an existing cluster.

HTTP Status Code: 404

ClusterSnapshotNotFound

The snapshot identifier does not refer to an existing cluster snapshot.

HTTP Status Code: 404

InvalidClusterSnapshotState

The specified cluster snapshot is not in the available state, or other accounts are authorized to access the snapshot.

HTTP Status Code: 400

UnsupportedOperation

The requested operation isn't supported.

HTTP Status Code: 400

Examples

Example

This example illustrates one usage of DescribeNodeConfigurationOptions.

Sample Request

https://redshift.us-east-2.amazonaws.com/ ?Action=DescribeNodeConfigurationOptions &ActionType=restore-cluster &SnapshotIdentifier=mysnapshotid &SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b

Sample Response

<DescribeNodeConfigurationOptionsResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/"> <DescribeNodeConfigurationOptionsResult> <NodeConfigurationOptionList> <NodeConfigurationOption> <EstimatedDiskUtilizationPercent>0.01</EstimatedDiskUtilizationPercent> <NumberOfNodes>2</NumberOfNodes> <NodeType>dc2.large</NodeType> </NodeConfigurationOption> <NodeConfigurationOption> <EstimatedDiskUtilizationPercent>0.01</EstimatedDiskUtilizationPercent> <NumberOfNodes>4</NumberOfNodes> <NodeType>dc2.large</NodeType> </NodeConfigurationOption> <NodeConfigurationOption> <EstimatedDiskUtilizationPercent>0.01</EstimatedDiskUtilizationPercent> <NumberOfNodes>2</NumberOfNodes> <NodeType>ra3.4xlarge</NodeType> </NodeConfigurationOption> <NodeConfigurationOption> <EstimatedDiskUtilizationPercent>0.01</EstimatedDiskUtilizationPercent> <NumberOfNodes>4</NumberOfNodes> <NodeType>ra3.4xlarge</NodeType> </NodeConfigurationOption> </NodeConfigurationOptionList> </DescribeNodeConfigurationOptionsResult> <ResponseMetadata> <RequestId>ed601e39-28cc-11ea-a940-1b28a85fd753</RequestId> </ResponseMetadata> </DescribeNodeConfigurationOptionsResponse>

See Also

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

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。