import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeSavingsPlanRatesRequest, DescribeSavingsPlanRatesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeSavingsPlanRatesCommand}. */ export interface DescribeSavingsPlanRatesCommandInput extends DescribeSavingsPlanRatesRequest { } /** * @public * * The output of {@link DescribeSavingsPlanRatesCommand}. */ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPlanRatesResponse, __MetadataBearer { } declare const DescribeSavingsPlanRatesCommand_base: { new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the rates for a specific, existing Savings Plan.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SavingsplansClient, DescribeSavingsPlanRatesCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import * // const { SavingsplansClient, DescribeSavingsPlanRatesCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import * // import type { SavingsplansClientConfig } from "@aws-sdk/client-savingsplans"; * const config = {}; // type is SavingsplansClientConfig * const client = new SavingsplansClient(config); * const input = { // DescribeSavingsPlanRatesRequest * savingsPlanId: "STRING_VALUE", // required * filters: [ // SavingsPlanRateFilterList * { // SavingsPlanRateFilter * name: "region" || "instanceType" || "productDescription" || "tenancy" || "productType" || "serviceCode" || "usageType" || "operation", * values: [ // ListOfStrings * "STRING_VALUE", * ], * }, * ], * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new DescribeSavingsPlanRatesCommand(input); * const response = await client.send(command); * // { // DescribeSavingsPlanRatesResponse * // savingsPlanId: "STRING_VALUE", * // searchResults: [ // SavingsPlanRateList * // { // SavingsPlanRate * // rate: "STRING_VALUE", * // currency: "CNY" || "USD" || "EUR", * // unit: "Hrs" || "Lambda-GB-Second" || "Request" || "ACU-Hr" || "ReadRequestUnits" || "WriteRequestUnits" || "ReadCapacityUnit-Hrs" || "WriteCapacityUnit-Hrs" || "ReplicatedWriteRequestUnits" || "ReplicatedWriteCapacityUnit-Hrs" || "GB-Hours" || "DPU" || "ElastiCacheProcessingUnit" || "DCU-Hr" || "NCU-hr" || "OCU-hours" || "Jobs", * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch", * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc" || "AmazonES", * // usageType: "STRING_VALUE", * // operation: "STRING_VALUE", * // properties: [ // SavingsPlanRatePropertyList * // { // SavingsPlanRateProperty * // name: "region" || "instanceType" || "instanceFamily" || "productDescription" || "tenancy", * // value: "STRING_VALUE", * // }, * // ], * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeSavingsPlanRatesCommandInput - {@link DescribeSavingsPlanRatesCommandInput} * @returns {@link DescribeSavingsPlanRatesCommandOutput} * @see {@link DescribeSavingsPlanRatesCommandInput} for command's `input` shape. * @see {@link DescribeSavingsPlanRatesCommandOutput} for command's `response` shape. * @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An unexpected error occurred.

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

The specified resource was not found.

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

One of the input parameters is not valid.

* * @throws {@link SavingsplansServiceException} *

Base exception class for all service exceptions from Savingsplans service.

* * * @public */ export declare class DescribeSavingsPlanRatesCommand extends DescribeSavingsPlanRatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeSavingsPlanRatesRequest; output: DescribeSavingsPlanRatesResponse; }; sdk: { input: DescribeSavingsPlanRatesCommandInput; output: DescribeSavingsPlanRatesCommandOutput; }; }; }