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 { StartContactEvaluationRequest, StartContactEvaluationResponse } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartContactEvaluationCommand}. */ export interface StartContactEvaluationCommandInput extends StartContactEvaluationRequest { } /** * @public * * The output of {@link StartContactEvaluationCommand}. */ export interface StartContactEvaluationCommandOutput extends StartContactEvaluationResponse, __MetadataBearer { } declare const StartContactEvaluationCommand_base: { new (input: StartContactEvaluationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StartContactEvaluationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the * particular contact. The evaluation form version used for the contact evaluation corresponds to the currently * activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.

* *

Evaluations created through the public API do not contain answer values suggested from automation.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, StartContactEvaluationCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, StartContactEvaluationCommand } = 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 = { // StartContactEvaluationRequest * InstanceId: "STRING_VALUE", // required * ContactId: "STRING_VALUE", // required * EvaluationFormId: "STRING_VALUE", // required * AutoEvaluationConfiguration: { // AutoEvaluationConfiguration * Enabled: true || false, // required * }, * ClientToken: "STRING_VALUE", * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new StartContactEvaluationCommand(input); * const response = await client.send(command); * // { // StartContactEvaluationResponse * // EvaluationId: "STRING_VALUE", // required * // EvaluationArn: "STRING_VALUE", // required * // }; * * ``` * * @param StartContactEvaluationCommandInput - {@link StartContactEvaluationCommandInput} * @returns {@link StartContactEvaluationCommandOutput} * @see {@link StartContactEvaluationCommandInput} for command's `input` shape. * @see {@link StartContactEvaluationCommandOutput} 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 ServiceQuotaExceededException} (client fault) *

The service quota has been exceeded.

* * @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 StartContactEvaluationCommand extends StartContactEvaluationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartContactEvaluationRequest; output: StartContactEvaluationResponse; }; sdk: { input: StartContactEvaluationCommandInput; output: StartContactEvaluationCommandOutput; }; }; }