import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateQualificationTypeRequest, CreateQualificationTypeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateQualificationTypeCommand}. */ export interface CreateQualificationTypeCommandInput extends CreateQualificationTypeRequest { } /** * @public * * The output of {@link CreateQualificationTypeCommand}. */ export interface CreateQualificationTypeCommandOutput extends CreateQualificationTypeResponse, __MetadataBearer { } declare const CreateQualificationTypeCommand_base: { new (input: CreateQualificationTypeCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateQualificationTypeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* The * CreateQualificationType * operation creates a new Qualification type, which is represented by a * QualificationType * data structure. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MTurkClient, CreateQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import * // const { MTurkClient, CreateQualificationTypeCommand } = 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 = { // CreateQualificationTypeRequest * Name: "STRING_VALUE", // required * Keywords: "STRING_VALUE", * Description: "STRING_VALUE", // required * QualificationTypeStatus: "Active" || "Inactive", // required * RetryDelayInSeconds: Number("long"), * Test: "STRING_VALUE", * AnswerKey: "STRING_VALUE", * TestDurationInSeconds: Number("long"), * AutoGranted: true || false, * AutoGrantedValue: Number("int"), * }; * const command = new CreateQualificationTypeCommand(input); * const response = await client.send(command); * // { // CreateQualificationTypeResponse * // QualificationType: { // QualificationType * // QualificationTypeId: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Keywords: "STRING_VALUE", * // QualificationTypeStatus: "Active" || "Inactive", * // Test: "STRING_VALUE", * // TestDurationInSeconds: Number("long"), * // AnswerKey: "STRING_VALUE", * // RetryDelayInSeconds: Number("long"), * // IsRequestable: true || false, * // AutoGranted: true || false, * // AutoGrantedValue: Number("int"), * // }, * // }; * * ``` * * @param CreateQualificationTypeCommandInput - {@link CreateQualificationTypeCommandInput} * @returns {@link CreateQualificationTypeCommandOutput} * @see {@link CreateQualificationTypeCommandInput} for command's `input` shape. * @see {@link CreateQualificationTypeCommandOutput} 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 CreateQualificationTypeCommand extends CreateQualificationTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateQualificationTypeRequest; output: CreateQualificationTypeResponse; }; sdk: { input: CreateQualificationTypeCommandInput; output: CreateQualificationTypeCommandOutput; }; }; }