import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { ActivateEvaluationFormRequest, ActivateEvaluationFormResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ActivateEvaluationFormCommand}. */ export interface ActivateEvaluationFormCommandInput extends ActivateEvaluationFormRequest { } /** * @public * * The output of {@link ActivateEvaluationFormCommand}. */ export interface ActivateEvaluationFormCommandOutput extends ActivateEvaluationFormResponse, __MetadataBearer { } declare const ActivateEvaluationFormCommand_base: { new (input: ActivateEvaluationFormCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ActivateEvaluationFormCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Activates an evaluation form in the specified Amazon Connect instance. After the evaluation form is * activated, it is available to start new evaluations based on the form.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, ActivateEvaluationFormCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, ActivateEvaluationFormCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // ActivateEvaluationFormRequest * InstanceId: "STRING_VALUE", // required * EvaluationFormId: "STRING_VALUE", // required * EvaluationFormVersion: Number("int"), // required * }; * const command = new ActivateEvaluationFormCommand(input); * const response = await client.send(command); * // { // ActivateEvaluationFormResponse * // EvaluationFormId: "STRING_VALUE", // required * // EvaluationFormArn: "STRING_VALUE", // required * // EvaluationFormVersion: Number("int"), // required * // }; * * ``` * * @param ActivateEvaluationFormCommandInput - {@link ActivateEvaluationFormCommandInput} * @returns {@link ActivateEvaluationFormCommandOutput} * @see {@link ActivateEvaluationFormCommandInput} for command's `input` shape. * @see {@link ActivateEvaluationFormCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

* * @throws {@link InvalidParameterException} (client fault) *

One or more of the specified parameters are not valid.

* * @throws {@link ResourceConflictException} (client fault) *

A resource already has that name.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource was not found.

* * @throws {@link ThrottlingException} (client fault) *

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class ActivateEvaluationFormCommand extends ActivateEvaluationFormCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ActivateEvaluationFormRequest; output: ActivateEvaluationFormResponse; }; sdk: { input: ActivateEvaluationFormCommandInput; output: ActivateEvaluationFormCommandOutput; }; }; }