import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateHITTypeOfHITRequest, UpdateHITTypeOfHITResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateHITTypeOfHITCommand}. */ export interface UpdateHITTypeOfHITCommandInput extends UpdateHITTypeOfHITRequest { } /** * @public * * The output of {@link UpdateHITTypeOfHITCommand}. */ export interface UpdateHITTypeOfHITCommandOutput extends UpdateHITTypeOfHITResponse, __MetadataBearer { } declare const UpdateHITTypeOfHITCommand_base: { new (input: UpdateHITTypeOfHITCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateHITTypeOfHITCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The * UpdateHITTypeOfHIT * operation allows you to change the HITType properties of a HIT. This * operation disassociates the HIT from its old HITType properties and * associates it with the new HITType properties. The HIT takes on the * properties of the new HITType in place of the old ones. *

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