import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetAccountBalanceRequest, GetAccountBalanceResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetAccountBalanceCommand}. */ export interface GetAccountBalanceCommandInput extends GetAccountBalanceRequest { } /** * @public * * The output of {@link GetAccountBalanceCommand}. */ export interface GetAccountBalanceCommandOutput extends GetAccountBalanceResponse, __MetadataBearer { } declare const GetAccountBalanceCommand_base: { new (input: GetAccountBalanceCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetAccountBalanceCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

The GetAccountBalance operation retrieves the Prepaid HITs balance in your Amazon Mechanical Turk account if you are a Prepaid Requester. * Alternatively, this operation will retrieve the remaining available AWS Billing usage if you have enabled AWS Billing. * Note: If you have enabled AWS Billing and still have a remaining Prepaid HITs balance, this balance can be viewed on the My Account page in the Requester console.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MTurkClient, GetAccountBalanceCommand } from "@aws-sdk/client-mturk"; // ES Modules import * // const { MTurkClient, GetAccountBalanceCommand } = require("@aws-sdk/client-mturk"); // CommonJS import * // import type { MTurkClientConfig } from "@aws-sdk/client-mturk"; * const config = {}; // type is MTurkClientConfig * const client = new MTurkClient(config); * const input = {}; * const command = new GetAccountBalanceCommand(input); * const response = await client.send(command); * // { // GetAccountBalanceResponse * // AvailableBalance: "STRING_VALUE", * // OnHoldBalance: "STRING_VALUE", * // }; * * ``` * * @param GetAccountBalanceCommandInput - {@link GetAccountBalanceCommandInput} * @returns {@link GetAccountBalanceCommandOutput} * @see {@link GetAccountBalanceCommandInput} for command's `input` shape. * @see {@link GetAccountBalanceCommandOutput} for command's `response` shape. * @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape. * * @throws {@link RequestError} (client fault) *

Your request is invalid.

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

Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.

* * @throws {@link MTurkServiceException} *

Base exception class for all service exceptions from MTurk service.

* * * @public */ export declare class GetAccountBalanceCommand extends GetAccountBalanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetAccountBalanceResponse; }; sdk: { input: GetAccountBalanceCommandInput; output: GetAccountBalanceCommandOutput; }; }; }