Menu
Amazon Redshift
API Reference (API Version 2012-12-01)

DescribeClusterVersions

Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

Request Parameters

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

ClusterParameterGroupFamily

The name of a specific cluster parameter group family to return details for.

Constraints:

  • Must be 1 to 255 alphanumeric characters

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Type: String

Required: No

ClusterVersion

The specific cluster version to return.

Example: 1.0

Type: String

Required: No

Marker

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions 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

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: 100

Constraints: minimum 20, maximum 100.

Type: Integer

Required: No

Response Elements

The following elements are returned by the service.

ClusterVersions.ClusterVersion.N

A list of Version elements.

Type: Array of ClusterVersion objects

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

Errors

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

Example

Sample Request

https://redshift.us-east-1.amazonaws.com/
    ?Action=DescribeClusterVersions
    &Version=2012-12-01
    &x-amz-algorithm=AWS4-HMAC-SHA256
    &x-amz-credential=AKIAIOSFODNN7EXAMPLE/20121207/us-east-1/redshift/aws4_request
    &x-amz-date=20121207T230708Z
    &x-amz-signedheaders=content-type;host;x-amz-date

Sample Response

<DescribeClusterVersionsResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/">
  <DescribeClusterVersionsResult>
    <ClusterVersions>
      <ClusterVersion>
        <ClusterParameterGroupFamily>redshift-1.0</ClusterParameterGroupFamily>
        <Description>Initial release of redshift</Description>
        <ClusterVersion>1.0</ClusterVersion>
      </ClusterVersion>
    </ClusterVersions>
  </DescribeClusterVersionsResult>
  <ResponseMetadata>
    <RequestId>d39cd5e5-40c2-11e2-8a25-eb010998df4e</RequestId>
  </ResponseMetadata>
</DescribeClusterVersionsResponse>

See Also

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