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

Returns a list of all the available maintenance tracks.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeClusterTracksCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeClusterTracksCommand } = 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 = { // DescribeClusterTracksMessage * MaintenanceTrackName: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeClusterTracksCommand(input); * const response = await client.send(command); * // { // TrackListMessage * // MaintenanceTracks: [ // TrackList * // { // MaintenanceTrack * // MaintenanceTrackName: "STRING_VALUE", * // DatabaseVersion: "STRING_VALUE", * // UpdateTargets: [ // EligibleTracksToUpdateList * // { // UpdateTarget * // MaintenanceTrackName: "STRING_VALUE", * // DatabaseVersion: "STRING_VALUE", * // SupportedOperations: [ // SupportedOperationList * // { // SupportedOperation * // OperationName: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param DescribeClusterTracksCommandInput - {@link DescribeClusterTracksCommandInput} * @returns {@link DescribeClusterTracksCommandOutput} * @see {@link DescribeClusterTracksCommandInput} for command's `input` shape. * @see {@link DescribeClusterTracksCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link InvalidClusterTrackFault} (client fault) *

The provided cluster track name is not valid.

* * @throws {@link UnauthorizedOperation} (client fault) *

Your account is not authorized to perform the requested operation.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeClusterTracksCommand extends DescribeClusterTracksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeClusterTracksMessage; output: TrackListMessage; }; sdk: { input: DescribeClusterTracksCommandInput; output: DescribeClusterTracksCommandOutput; }; }; }