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

Returns the descriptions of the reserved nodes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeReservedNodesCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeReservedNodesCommand } = 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 = { // DescribeReservedNodesMessage * ReservedNodeId: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeReservedNodesCommand(input); * const response = await client.send(command); * // { // ReservedNodesMessage * // Marker: "STRING_VALUE", * // ReservedNodes: [ // ReservedNodeList * // { // ReservedNode * // ReservedNodeId: "STRING_VALUE", * // ReservedNodeOfferingId: "STRING_VALUE", * // NodeType: "STRING_VALUE", * // StartTime: new Date("TIMESTAMP"), * // Duration: Number("int"), * // FixedPrice: Number("double"), * // UsagePrice: Number("double"), * // CurrencyCode: "STRING_VALUE", * // NodeCount: Number("int"), * // State: "STRING_VALUE", * // OfferingType: "STRING_VALUE", * // RecurringCharges: [ // RecurringChargeList * // { // RecurringCharge * // RecurringChargeAmount: Number("double"), * // RecurringChargeFrequency: "STRING_VALUE", * // }, * // ], * // ReservedNodeOfferingType: "Regular" || "Upgradable", * // }, * // ], * // }; * * ``` * * @param DescribeReservedNodesCommandInput - {@link DescribeReservedNodesCommandInput} * @returns {@link DescribeReservedNodesCommandOutput} * @see {@link DescribeReservedNodesCommandInput} for command's `input` shape. * @see {@link DescribeReservedNodesCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link DependentServiceUnavailableFault} (client fault) *

Your request cannot be completed because a dependent internal service is * temporarily unavailable. Wait 30 to 60 seconds and try again.

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

The specified reserved compute node not found.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeReservedNodesCommand extends DescribeReservedNodesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReservedNodesMessage; output: ReservedNodesMessage; }; sdk: { input: DescribeReservedNodesCommandInput; output: DescribeReservedNodesCommandOutput; }; }; }