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

List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, ListRecommendationsCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, ListRecommendationsCommand } = 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 = { // ListRecommendationsMessage * ClusterIdentifier: "STRING_VALUE", * NamespaceArn: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new ListRecommendationsCommand(input); * const response = await client.send(command); * // { // ListRecommendationsResult * // Recommendations: [ // RecommendationList * // { // Recommendation * // Id: "STRING_VALUE", * // ClusterIdentifier: "STRING_VALUE", * // NamespaceArn: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // RecommendationType: "STRING_VALUE", * // Title: "STRING_VALUE", * // Description: "STRING_VALUE", * // Observation: "STRING_VALUE", * // ImpactRanking: "HIGH" || "MEDIUM" || "LOW", * // RecommendationText: "STRING_VALUE", * // RecommendedActions: [ // RecommendedActionList * // { // RecommendedAction * // Text: "STRING_VALUE", * // Database: "STRING_VALUE", * // Command: "STRING_VALUE", * // Type: "SQL" || "CLI", * // }, * // ], * // ReferenceLinks: [ // ReferenceLinkList * // { // ReferenceLink * // Text: "STRING_VALUE", * // Link: "STRING_VALUE", * // }, * // ], * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param ListRecommendationsCommandInput - {@link ListRecommendationsCommandInput} * @returns {@link ListRecommendationsCommandOutput} * @see {@link ListRecommendationsCommandInput} for command's `input` shape. * @see {@link ListRecommendationsCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link ClusterNotFoundFault} (client fault) *

The ClusterIdentifier parameter does not refer to an existing cluster. *

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

The requested operation isn't supported.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRecommendationsMessage; output: ListRecommendationsResult; }; sdk: { input: ListRecommendationsCommandInput; output: ListRecommendationsCommandOutput; }; }; }