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

Returns a list of the available reserved node offerings by Amazon Redshift with their * descriptions including the node type, the fixed and recurring costs of reserving the * node and duration the node will be reserved for you. These descriptions help you * determine which reserve node offering you want to purchase. You then use the unique * offering ID in you call to PurchaseReservedNodeOffering to reserve one * or more nodes for your Amazon Redshift cluster.

*

* For more information about reserved node offerings, go to * Purchasing Reserved Nodes * 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, DescribeReservedNodeOfferingsCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeReservedNodeOfferingsCommand } = 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 = { // DescribeReservedNodeOfferingsMessage * ReservedNodeOfferingId: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeReservedNodeOfferingsCommand(input); * const response = await client.send(command); * // { // ReservedNodeOfferingsMessage * // Marker: "STRING_VALUE", * // ReservedNodeOfferings: [ // ReservedNodeOfferingList * // { // ReservedNodeOffering * // ReservedNodeOfferingId: "STRING_VALUE", * // NodeType: "STRING_VALUE", * // Duration: Number("int"), * // FixedPrice: Number("double"), * // UsagePrice: Number("double"), * // CurrencyCode: "STRING_VALUE", * // OfferingType: "STRING_VALUE", * // RecurringCharges: [ // RecurringChargeList * // { // RecurringCharge * // RecurringChargeAmount: Number("double"), * // RecurringChargeFrequency: "STRING_VALUE", * // }, * // ], * // ReservedNodeOfferingType: "Regular" || "Upgradable", * // }, * // ], * // }; * * ``` * * @param DescribeReservedNodeOfferingsCommandInput - {@link DescribeReservedNodeOfferingsCommandInput} * @returns {@link DescribeReservedNodeOfferingsCommandOutput} * @see {@link DescribeReservedNodeOfferingsCommandInput} for command's `input` shape. * @see {@link DescribeReservedNodeOfferingsCommandOutput} 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 ReservedNodeOfferingNotFoundFault} (client fault) *

Specified offering does not exist.

* * @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 DescribeReservedNodeOfferingsCommand extends DescribeReservedNodeOfferingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReservedNodeOfferingsMessage; output: ReservedNodeOfferingsMessage; }; sdk: { input: DescribeReservedNodeOfferingsCommandInput; output: DescribeReservedNodeOfferingsCommandOutput; }; }; }