import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AssociateQualificationWithWorkerRequest, AssociateQualificationWithWorkerResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AssociateQualificationWithWorkerCommand}. */ export interface AssociateQualificationWithWorkerCommandInput extends AssociateQualificationWithWorkerRequest { } /** * @public * * The output of {@link AssociateQualificationWithWorkerCommand}. */ export interface AssociateQualificationWithWorkerCommandOutput extends AssociateQualificationWithWorkerResponse, __MetadataBearer { } declare const AssociateQualificationWithWorkerCommand_base: { new (input: AssociateQualificationWithWorkerCommandInput): import("@smithy/core/client").CommandImpl; new (input: AssociateQualificationWithWorkerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The AssociateQualificationWithWorker operation gives a Worker a * Qualification. AssociateQualificationWithWorker does not require that the Worker * submit a Qualification request. It gives the Qualification directly to the Worker. *

* *

* You can only assign a Qualification of a Qualification type that you created (using * the CreateQualificationType operation). *

* * *

* Note: AssociateQualificationWithWorker does not affect any pending Qualification * requests for the Qualification by the Worker. If you assign a Qualification to a * Worker, then later grant a Qualification request made by the Worker, the granting of * the request may modify the Qualification score. To resolve a pending Qualification * request without affecting the Qualification the Worker already has, reject the * request with the RejectQualificationRequest operation. *

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