import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { NotifyRecommendationsReceivedRequest, NotifyRecommendationsReceivedResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link NotifyRecommendationsReceivedCommand}. */ export interface NotifyRecommendationsReceivedCommandInput extends NotifyRecommendationsReceivedRequest { } /** * @public * * The output of {@link NotifyRecommendationsReceivedCommand}. */ export interface NotifyRecommendationsReceivedCommandOutput extends NotifyRecommendationsReceivedResponse, __MetadataBearer { } declare const NotifyRecommendationsReceivedCommand_base: { new (input: NotifyRecommendationsReceivedCommandInput): import("@smithy/core/client").CommandImpl; new (input: NotifyRecommendationsReceivedCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QConnectClient, NotifyRecommendationsReceivedCommand } from "@aws-sdk/client-qconnect"; // ES Modules import * // const { QConnectClient, NotifyRecommendationsReceivedCommand } = 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 = { // NotifyRecommendationsReceivedRequest * assistantId: "STRING_VALUE", // required * sessionId: "STRING_VALUE", // required * recommendationIds: [ // RecommendationIdList // required * "STRING_VALUE", * ], * }; * const command = new NotifyRecommendationsReceivedCommand(input); * const response = await client.send(command); * // { // NotifyRecommendationsReceivedResponse * // recommendationIds: [ // RecommendationIdList * // "STRING_VALUE", * // ], * // errors: [ // NotifyRecommendationsReceivedErrorList * // { // NotifyRecommendationsReceivedError * // recommendationId: "STRING_VALUE", * // message: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param NotifyRecommendationsReceivedCommandInput - {@link NotifyRecommendationsReceivedCommandInput} * @returns {@link NotifyRecommendationsReceivedCommandOutput} * @see {@link NotifyRecommendationsReceivedCommandInput} for command's `input` shape. * @see {@link NotifyRecommendationsReceivedCommandOutput} 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 NotifyRecommendationsReceivedCommand extends NotifyRecommendationsReceivedCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: NotifyRecommendationsReceivedRequest; output: NotifyRecommendationsReceivedResponse; }; sdk: { input: NotifyRecommendationsReceivedCommandInput; output: NotifyRecommendationsReceivedCommandOutput; }; }; }