import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutFeedbackRequest, PutFeedbackResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutFeedbackCommand}. */ export interface PutFeedbackCommandInput extends PutFeedbackRequest { } /** * @public * * The output of {@link PutFeedbackCommand}. */ export interface PutFeedbackCommandOutput extends PutFeedbackResponse, __MetadataBearer { } declare const PutFeedbackCommand_base: { new (input: PutFeedbackCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutFeedbackCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides feedback against the specified assistant for the specified target. This API only supports generative targets.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QConnectClient, PutFeedbackCommand } from "@aws-sdk/client-qconnect"; // ES Modules import * // const { QConnectClient, PutFeedbackCommand } = 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 = { // PutFeedbackRequest * assistantId: "STRING_VALUE", // required * targetId: "STRING_VALUE", // required * targetType: "STRING_VALUE", // required * contentFeedback: { // ContentFeedbackData Union: only one key present * generativeContentFeedbackData: { // GenerativeContentFeedbackData * relevance: "STRING_VALUE", // required * }, * }, * }; * const command = new PutFeedbackCommand(input); * const response = await client.send(command); * // { // PutFeedbackResponse * // assistantId: "STRING_VALUE", // required * // assistantArn: "STRING_VALUE", // required * // targetId: "STRING_VALUE", // required * // targetType: "STRING_VALUE", // required * // contentFeedback: { // ContentFeedbackData Union: only one key present * // generativeContentFeedbackData: { // GenerativeContentFeedbackData * // relevance: "STRING_VALUE", // required * // }, * // }, * // }; * * ``` * * @param PutFeedbackCommandInput - {@link PutFeedbackCommandInput} * @returns {@link PutFeedbackCommandOutput} * @see {@link PutFeedbackCommandInput} for command's `input` shape. * @see {@link PutFeedbackCommandOutput} 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 ResourceNotFoundException} (client fault) *

The specified resource does not exist.

* * @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 PutFeedbackCommand extends PutFeedbackCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutFeedbackRequest; output: PutFeedbackResponse; }; sdk: { input: PutFeedbackCommandInput; output: PutFeedbackCommandOutput; }; }; }