import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateHITReviewStatusRequest, UpdateHITReviewStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateHITReviewStatusCommand}. */ export interface UpdateHITReviewStatusCommandInput extends UpdateHITReviewStatusRequest { } /** * @public * * The output of {@link UpdateHITReviewStatusCommand}. */ export interface UpdateHITReviewStatusCommandOutput extends UpdateHITReviewStatusResponse, __MetadataBearer { } declare const UpdateHITReviewStatusCommand_base: { new (input: UpdateHITReviewStatusCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateHITReviewStatusCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The UpdateHITReviewStatus operation updates the status of a HIT. * If the status is Reviewable, this operation can update the status to Reviewing, * or it can revert a Reviewing HIT back to the Reviewable status. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MTurkClient, UpdateHITReviewStatusCommand } from "@aws-sdk/client-mturk"; // ES Modules import * // const { MTurkClient, UpdateHITReviewStatusCommand } = 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 = { // UpdateHITReviewStatusRequest * HITId: "STRING_VALUE", // required * Revert: true || false, * }; * const command = new UpdateHITReviewStatusCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateHITReviewStatusCommandInput - {@link UpdateHITReviewStatusCommandInput} * @returns {@link UpdateHITReviewStatusCommandOutput} * @see {@link UpdateHITReviewStatusCommandInput} for command's `input` shape. * @see {@link UpdateHITReviewStatusCommandOutput} 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 UpdateHITReviewStatusCommand extends UpdateHITReviewStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateHITReviewStatusRequest; output: {}; }; sdk: { input: UpdateHITReviewStatusCommandInput; output: UpdateHITReviewStatusCommandOutput; }; }; }