import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteQualificationTypeRequest, DeleteQualificationTypeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteQualificationTypeCommand}. */ export interface DeleteQualificationTypeCommandInput extends DeleteQualificationTypeRequest { } /** * @public * * The output of {@link DeleteQualificationTypeCommand}. */ export interface DeleteQualificationTypeCommandOutput extends DeleteQualificationTypeResponse, __MetadataBearer { } declare const DeleteQualificationTypeCommand_base: { new (input: DeleteQualificationTypeCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteQualificationTypeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The * DeleteQualificationType * deletes a Qualification type and deletes any HIT types that are * associated with the Qualification type. *

*

This operation does not revoke Qualifications already assigned * to Workers because the Qualifications might be needed for active HITs. * If there are any pending requests for the Qualification type, Amazon * Mechanical Turk rejects those requests. After you delete a * Qualification type, you can no longer use it to create HITs or HIT * types.

* *

DeleteQualificationType must wait for all the HITs that use * the deleted Qualification type to be deleted before completing. It * may take up to 48 hours before DeleteQualificationType completes and * the unique name of the Qualification type is available for reuse with * CreateQualificationType.

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