import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DisassociateQualificationFromWorkerRequest, DisassociateQualificationFromWorkerResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DisassociateQualificationFromWorkerCommand}. */ export interface DisassociateQualificationFromWorkerCommandInput extends DisassociateQualificationFromWorkerRequest { } /** * @public * * The output of {@link DisassociateQualificationFromWorkerCommand}. */ export interface DisassociateQualificationFromWorkerCommandOutput extends DisassociateQualificationFromWorkerResponse, __MetadataBearer { } declare const DisassociateQualificationFromWorkerCommand_base: { new (input: DisassociateQualificationFromWorkerCommandInput): import("@smithy/core/client").CommandImpl; new (input: DisassociateQualificationFromWorkerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The DisassociateQualificationFromWorker * revokes a previously granted Qualification from a user. *

*

* You can provide a text message explaining why the Qualification was * revoked. The user who had the Qualification can see this message. *

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