import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListReviewableHITsRequest, ListReviewableHITsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListReviewableHITsCommand}. */ export interface ListReviewableHITsCommandInput extends ListReviewableHITsRequest { } /** * @public * * The output of {@link ListReviewableHITsCommand}. */ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsResponse, __MetadataBearer { } declare const ListReviewableHITsCommand_base: { new (input: ListReviewableHITsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListReviewableHITsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The ListReviewableHITs operation retrieves the HITs with Status equal to * Reviewable or Status equal to Reviewing that belong to the Requester calling the operation. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MTurkClient, ListReviewableHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import * // const { MTurkClient, ListReviewableHITsCommand } = 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 = { // ListReviewableHITsRequest * HITTypeId: "STRING_VALUE", * Status: "Reviewable" || "Reviewing", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListReviewableHITsCommand(input); * const response = await client.send(command); * // { // ListReviewableHITsResponse * // NextToken: "STRING_VALUE", * // NumResults: Number("int"), * // HITs: [ // HITList * // { // HIT * // HITId: "STRING_VALUE", * // HITTypeId: "STRING_VALUE", * // HITGroupId: "STRING_VALUE", * // HITLayoutId: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // Title: "STRING_VALUE", * // Description: "STRING_VALUE", * // Question: "STRING_VALUE", * // Keywords: "STRING_VALUE", * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed", * // MaxAssignments: Number("int"), * // Reward: "STRING_VALUE", * // AutoApprovalDelayInSeconds: Number("long"), * // Expiration: new Date("TIMESTAMP"), * // AssignmentDurationInSeconds: Number("long"), * // RequesterAnnotation: "STRING_VALUE", * // QualificationRequirements: [ // QualificationRequirementList * // { // QualificationRequirement * // QualificationTypeId: "STRING_VALUE", // required * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required * // IntegerValues: [ // IntegerList * // Number("int"), * // ], * // LocaleValues: [ // LocaleList * // { // Locale * // Country: "STRING_VALUE", // required * // Subdivision: "STRING_VALUE", * // }, * // ], * // RequiredToPreview: true || false, * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept", * // }, * // ], * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate", * // NumberOfAssignmentsPending: Number("int"), * // NumberOfAssignmentsAvailable: Number("int"), * // NumberOfAssignmentsCompleted: Number("int"), * // }, * // ], * // }; * * ``` * * @param ListReviewableHITsCommandInput - {@link ListReviewableHITsCommandInput} * @returns {@link ListReviewableHITsCommandOutput} * @see {@link ListReviewableHITsCommandInput} for command's `input` shape. * @see {@link ListReviewableHITsCommandOutput} 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 ListReviewableHITsCommand extends ListReviewableHITsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListReviewableHITsRequest; output: ListReviewableHITsResponse; }; sdk: { input: ListReviewableHITsCommandInput; output: ListReviewableHITsCommandOutput; }; }; }