import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListBonusPaymentsRequest, ListBonusPaymentsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListBonusPaymentsCommand}. */ export interface ListBonusPaymentsCommandInput extends ListBonusPaymentsRequest { } /** * @public * * The output of {@link ListBonusPaymentsCommand}. */ export interface ListBonusPaymentsCommandOutput extends ListBonusPaymentsResponse, __MetadataBearer { } declare const ListBonusPaymentsCommand_base: { new (input: ListBonusPaymentsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListBonusPaymentsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The * ListBonusPayments * operation retrieves the amounts of bonuses you have paid to Workers * for a given HIT or assignment. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MTurkClient, ListBonusPaymentsCommand } from "@aws-sdk/client-mturk"; // ES Modules import * // const { MTurkClient, ListBonusPaymentsCommand } = 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 = { // ListBonusPaymentsRequest * HITId: "STRING_VALUE", * AssignmentId: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListBonusPaymentsCommand(input); * const response = await client.send(command); * // { // ListBonusPaymentsResponse * // NumResults: Number("int"), * // NextToken: "STRING_VALUE", * // BonusPayments: [ // BonusPaymentList * // { // BonusPayment * // WorkerId: "STRING_VALUE", * // BonusAmount: "STRING_VALUE", * // AssignmentId: "STRING_VALUE", * // Reason: "STRING_VALUE", * // GrantTime: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param ListBonusPaymentsCommandInput - {@link ListBonusPaymentsCommandInput} * @returns {@link ListBonusPaymentsCommandOutput} * @see {@link ListBonusPaymentsCommandInput} for command's `input` shape. * @see {@link ListBonusPaymentsCommandOutput} 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 ListBonusPaymentsCommand extends ListBonusPaymentsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBonusPaymentsRequest; output: ListBonusPaymentsResponse; }; sdk: { input: ListBonusPaymentsCommandInput; output: ListBonusPaymentsCommandOutput; }; }; }