import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateAssistantRequest, CreateAssistantResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateAssistantCommand}. */ export interface CreateAssistantCommandInput extends CreateAssistantRequest { } /** * @public * * The output of {@link CreateAssistantCommand}. */ export interface CreateAssistantCommandOutput extends CreateAssistantResponse, __MetadataBearer { } declare const CreateAssistantCommand_base: { new (input: CreateAssistantCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateAssistantCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates an Amazon Q in Connect assistant.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QConnectClient, CreateAssistantCommand } from "@aws-sdk/client-qconnect"; // ES Modules import * // const { QConnectClient, CreateAssistantCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import * // import type { QConnectClientConfig } from "@aws-sdk/client-qconnect"; * const config = {}; // type is QConnectClientConfig * const client = new QConnectClient(config); * const input = { // CreateAssistantRequest * clientToken: "STRING_VALUE", * name: "STRING_VALUE", // required * type: "STRING_VALUE", // required * description: "STRING_VALUE", * tags: { // Tags * "": "STRING_VALUE", * }, * serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration * kmsKeyId: "STRING_VALUE", * }, * }; * const command = new CreateAssistantCommand(input); * const response = await client.send(command); * // { // CreateAssistantResponse * // assistant: { // AssistantData * // assistantId: "STRING_VALUE", // required * // assistantArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // type: "STRING_VALUE", // required * // status: "STRING_VALUE", // required * // description: "STRING_VALUE", * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration * // kmsKeyId: "STRING_VALUE", * // }, * // integrationConfiguration: { // AssistantIntegrationConfiguration * // topicIntegrationArn: "STRING_VALUE", * // }, * // capabilityConfiguration: { // AssistantCapabilityConfiguration * // type: "STRING_VALUE", * // }, * // aiAgentConfiguration: { // AIAgentConfigurationMap * // "": { // AIAgentConfigurationData * // aiAgentId: "STRING_VALUE", // required * // }, * // }, * // orchestratorConfigurationList: [ // OrchestratorConfigurationList * // { // OrchestratorConfigurationEntry * // aiAgentId: "STRING_VALUE", * // orchestratorUseCase: "STRING_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @param CreateAssistantCommandInput - {@link CreateAssistantCommandInput} * @returns {@link CreateAssistantCommandOutput} * @see {@link CreateAssistantCommandInput} for command's `input` shape. * @see {@link CreateAssistantCommandOutput} for command's `response` shape. * @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated.

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

You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase.

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

You do not have permission to perform this action.

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

The input fails to satisfy the constraints specified by a service.

* * @throws {@link QConnectServiceException} *

Base exception class for all service exceptions from QConnect service.

* * * @public */ export declare class CreateAssistantCommand extends CreateAssistantCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateAssistantRequest; output: CreateAssistantResponse; }; sdk: { input: CreateAssistantCommandInput; output: CreateAssistantCommandOutput; }; }; }