import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient"; import type { ListOfferingsRequest, ListOfferingsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListOfferingsCommand}. */ export interface ListOfferingsCommandInput extends ListOfferingsRequest { } /** * @public * * The output of {@link ListOfferingsCommand}. */ export interface ListOfferingsCommandOutput extends ListOfferingsResponse, __MetadataBearer { } declare const ListOfferingsCommand_base: { new (input: ListOfferingsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListOfferingsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Displays a list of all offerings that are available to this account in the current Amazon Web Services Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaConnectClient, ListOfferingsCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import * // const { MediaConnectClient, ListOfferingsCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import * // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect"; * const config = {}; // type is MediaConnectClientConfig * const client = new MediaConnectClient(config); * const input = { // ListOfferingsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListOfferingsCommand(input); * const response = await client.send(command); * // { // ListOfferingsResponse * // NextToken: "STRING_VALUE", * // Offerings: [ // __listOfOffering * // { // Offering * // CurrencyCode: "STRING_VALUE", // required * // Duration: Number("int"), // required * // DurationUnits: "MONTHS", // required * // OfferingArn: "STRING_VALUE", // required * // OfferingDescription: "STRING_VALUE", // required * // PricePerUnit: "STRING_VALUE", // required * // PriceUnits: "HOURLY", // required * // ResourceSpecification: { // ResourceSpecification * // ReservedBitrate: Number("int"), * // ResourceType: "Mbps_Outbound_Bandwidth", // required * // }, * // }, * // ], * // }; * * ``` * * @param ListOfferingsCommandInput - {@link ListOfferingsCommandInput} * @returns {@link ListOfferingsCommandOutput} * @see {@link ListOfferingsCommandInput} for command's `input` shape. * @see {@link ListOfferingsCommandOutput} for command's `response` shape. * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.

* * @throws {@link InternalServerErrorException} (server fault) *

The server encountered an internal error and is unable to complete the request.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is currently unavailable or busy.

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

The request was denied due to request throttling.

* * @throws {@link MediaConnectServiceException} *

Base exception class for all service exceptions from MediaConnect service.

* * * @public */ export declare class ListOfferingsCommand extends ListOfferingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListOfferingsRequest; output: ListOfferingsResponse; }; sdk: { input: ListOfferingsCommandInput; output: ListOfferingsCommandOutput; }; }; }