import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ClusterVersionsMessage, DescribeClusterVersionsMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeClusterVersionsCommand}. */ export interface DescribeClusterVersionsCommandInput extends DescribeClusterVersionsMessage { } /** * @public * * The output of {@link DescribeClusterVersionsCommand}. */ export interface DescribeClusterVersionsCommandOutput extends ClusterVersionsMessage, __MetadataBearer { } declare const DescribeClusterVersionsCommand_base: { new (input: DescribeClusterVersionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeClusterVersionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeClusterVersionsCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeClusterVersionsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DescribeClusterVersionsMessage * ClusterVersion: "STRING_VALUE", * ClusterParameterGroupFamily: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeClusterVersionsCommand(input); * const response = await client.send(command); * // { // ClusterVersionsMessage * // Marker: "STRING_VALUE", * // ClusterVersions: [ // ClusterVersionList * // { // ClusterVersion * // ClusterVersion: "STRING_VALUE", * // ClusterParameterGroupFamily: "STRING_VALUE", * // Description: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeClusterVersionsCommandInput - {@link DescribeClusterVersionsCommandInput} * @returns {@link DescribeClusterVersionsCommandOutput} * @see {@link DescribeClusterVersionsCommandInput} for command's `input` shape. * @see {@link DescribeClusterVersionsCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeClusterVersionsCommand extends DescribeClusterVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeClusterVersionsMessage; output: ClusterVersionsMessage; }; sdk: { input: DescribeClusterVersionsCommandInput; output: DescribeClusterVersionsCommandOutput; }; }; }