import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateProfileWithAgentRequest, UpdateProfileWithAgentResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateProfileWithAgentCommand}. */ export interface UpdateProfileWithAgentCommandInput extends UpdateProfileWithAgentRequest { } /** * @public * * The output of {@link UpdateProfileWithAgentCommand}. */ export interface UpdateProfileWithAgentCommandOutput extends UpdateProfileWithAgentResponse, __MetadataBearer { } declare const UpdateProfileWithAgentCommand_base: { new (input: UpdateProfileWithAgentCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateProfileWithAgentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a data transformation profile using chat-based interaction with an agent. Supports multi-turn conversations for iteratively customizing profiles.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { HealthLakeClient, UpdateProfileWithAgentCommand } from "@aws-sdk/client-healthlake"; // ES Modules import * // const { HealthLakeClient, UpdateProfileWithAgentCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import * // import type { HealthLakeClientConfig } from "@aws-sdk/client-healthlake"; * const config = {}; // type is HealthLakeClientConfig * const client = new HealthLakeClient(config); * const input = { // UpdateProfileWithAgentRequest * ProfileId: "STRING_VALUE", // required * SourceFormat: "CCDA" || "CSV", // required * InputMessage: { // AgentInputMessage * Body: "STRING_VALUE", // required * Type: "normal" || "confirmation_response", // required * }, * ConversationId: "STRING_VALUE", * }; * const command = new UpdateProfileWithAgentCommand(input); * const response = await client.send(command); * // { // UpdateProfileWithAgentResponse * // AgentResponse: { // AgentOutputMessage * // Body: "STRING_VALUE", // required * // Type: "INITIAL_GREETING" || "normal" || "confirmation" || "complete" || "error" || "options" || "choices", // required * // OptionsList: [ // DataTransformationChatOptionsList * // "STRING_VALUE", * // ], * // }, * // ConversationId: "STRING_VALUE", // required * // }; * * ``` * * @param UpdateProfileWithAgentCommandInput - {@link UpdateProfileWithAgentCommandInput} * @returns {@link UpdateProfileWithAgentCommandOutput} * @see {@link UpdateProfileWithAgentCommandInput} for command's `input` shape. * @see {@link UpdateProfileWithAgentCommandOutput} for command's `response` shape. * @see {@link HealthLakeClientResolvedConfig | config} for HealthLakeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access is denied. Your account is not authorized to perform this operation.

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

The agent message does not fit within the current conversation context. Start a new conversation or provide a message that relates to the current profile customization session.

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

The specified conversation identifier does not exist. Verify the conversation ID or omit it to start a new conversation.

* * @throws {@link InternalServerException} (server fault) *

An unknown internal error occurred in the service.

* * @throws {@link NotImplementedOperationException} (server fault) *

The requested operation is not yet available. Check the service documentation for a list of supported operations.

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

The requested data store was not found.

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

The user has exceeded their maximum number of allowed calls to the given API.

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

You are not authorized to make this request. Verify that your AWS credentials are valid and that you have the required permissions.

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

The content type in your request is not supported. Use a supported content type for this operation.

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

The user input parameter was invalid.

* * @throws {@link HealthLakeServiceException} *

Base exception class for all service exceptions from HealthLake service.

* * * @public */ export declare class UpdateProfileWithAgentCommand extends UpdateProfileWithAgentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateProfileWithAgentRequest; output: UpdateProfileWithAgentResponse; }; sdk: { input: UpdateProfileWithAgentCommandInput; output: UpdateProfileWithAgentCommandOutput; }; }; }