import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import type { GetOfferingStatusRequest, GetOfferingStatusResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetOfferingStatusCommand}. */ export interface GetOfferingStatusCommandInput extends GetOfferingStatusRequest { } /** * @public * * The output of {@link GetOfferingStatusCommand}. */ export interface GetOfferingStatusCommandOutput extends GetOfferingStatusResult, __MetadataBearer { } declare const GetOfferingStatusCommand_base: { new (input: GetOfferingStatusCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetOfferingStatusCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets the current status and future status of all offerings purchased by an AWS account. The response * indicates how many offerings are currently available and the offerings that will be available in the next * period. The API returns a NotEligible error if the user is not permitted to invoke the * operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, GetOfferingStatusCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, GetOfferingStatusCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import * // import type { DeviceFarmClientConfig } from "@aws-sdk/client-device-farm"; * const config = {}; // type is DeviceFarmClientConfig * const client = new DeviceFarmClient(config); * const input = { // GetOfferingStatusRequest * nextToken: "STRING_VALUE", * }; * const command = new GetOfferingStatusCommand(input); * const response = await client.send(command); * // { // GetOfferingStatusResult * // current: { // OfferingStatusMap * // "": { // OfferingStatus * // type: "PURCHASE" || "RENEW" || "SYSTEM", * // offering: { // Offering * // id: "STRING_VALUE", * // description: "STRING_VALUE", * // type: "RECURRING", * // platform: "ANDROID" || "IOS", * // recurringCharges: [ // RecurringCharges * // { // RecurringCharge * // cost: { // MonetaryAmount * // amount: Number("double"), * // currencyCode: "USD", * // }, * // frequency: "MONTHLY", * // }, * // ], * // }, * // quantity: Number("int"), * // effectiveOn: new Date("TIMESTAMP"), * // }, * // }, * // nextPeriod: { * // "": { * // type: "PURCHASE" || "RENEW" || "SYSTEM", * // offering: { * // id: "STRING_VALUE", * // description: "STRING_VALUE", * // type: "RECURRING", * // platform: "ANDROID" || "IOS", * // recurringCharges: [ * // { * // cost: { * // amount: Number("double"), * // currencyCode: "USD", * // }, * // frequency: "MONTHLY", * // }, * // ], * // }, * // quantity: Number("int"), * // effectiveOn: new Date("TIMESTAMP"), * // }, * // }, * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param GetOfferingStatusCommandInput - {@link GetOfferingStatusCommandInput} * @returns {@link GetOfferingStatusCommandOutput} * @see {@link GetOfferingStatusCommandInput} for command's `input` shape. * @see {@link GetOfferingStatusCommandOutput} for command's `response` shape. * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape. * * @throws {@link ArgumentException} (client fault) *

An invalid argument was specified.

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

A limit was exceeded.

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

Exception gets thrown when a user is not eligible to perform the specified * transaction.

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

The specified entity was not found.

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

There was a problem with the service account.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @public */ export declare class GetOfferingStatusCommand extends GetOfferingStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOfferingStatusRequest; output: GetOfferingStatusResult; }; sdk: { input: GetOfferingStatusCommandInput; output: GetOfferingStatusCommandOutput; }; }; }