import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SearchQuickResponsesRequest, SearchQuickResponsesResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SearchQuickResponsesCommand}. */ export interface SearchQuickResponsesCommandInput extends SearchQuickResponsesRequest { } /** * @public * * The output of {@link SearchQuickResponsesCommand}. */ export interface SearchQuickResponsesCommandOutput extends SearchQuickResponsesResponse, __MetadataBearer { } declare const SearchQuickResponsesCommand_base: { new (input: SearchQuickResponsesCommandInput): import("@smithy/core/client").CommandImpl; new (input: SearchQuickResponsesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Searches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QConnectClient, SearchQuickResponsesCommand } from "@aws-sdk/client-qconnect"; // ES Modules import * // const { QConnectClient, SearchQuickResponsesCommand } = 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 = { // SearchQuickResponsesRequest * knowledgeBaseId: "STRING_VALUE", // required * searchExpression: { // QuickResponseSearchExpression * queries: [ // QuickResponseQueryFieldList * { // QuickResponseQueryField * name: "STRING_VALUE", // required * values: [ // QuickResponseQueryValueList // required * "STRING_VALUE", * ], * operator: "STRING_VALUE", // required * allowFuzziness: true || false, * priority: "STRING_VALUE", * }, * ], * filters: [ // QuickResponseFilterFieldList * { // QuickResponseFilterField * name: "STRING_VALUE", // required * values: [ // QuickResponseFilterValueList * "STRING_VALUE", * ], * operator: "STRING_VALUE", // required * includeNoExistence: true || false, * }, * ], * orderOnField: { // QuickResponseOrderField * name: "STRING_VALUE", // required * order: "STRING_VALUE", * }, * }, * nextToken: "STRING_VALUE", * maxResults: Number("int"), * attributes: { // ContactAttributes * "": "STRING_VALUE", * }, * }; * const command = new SearchQuickResponsesCommand(input); * const response = await client.send(command); * // { // SearchQuickResponsesResponse * // results: [ // QuickResponseSearchResultsList // required * // { // QuickResponseSearchResultData * // quickResponseArn: "STRING_VALUE", // required * // quickResponseId: "STRING_VALUE", // required * // knowledgeBaseArn: "STRING_VALUE", // required * // knowledgeBaseId: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // contentType: "STRING_VALUE", // required * // status: "STRING_VALUE", // required * // contents: { // QuickResponseContents * // plainText: { // QuickResponseContentProvider Union: only one key present * // content: "STRING_VALUE", * // }, * // markdown: {// Union: only one key present * // content: "STRING_VALUE", * // }, * // }, * // createdTime: new Date("TIMESTAMP"), // required * // lastModifiedTime: new Date("TIMESTAMP"), // required * // isActive: true || false, // required * // description: "STRING_VALUE", * // groupingConfiguration: { // GroupingConfiguration * // criteria: "STRING_VALUE", * // values: [ // GroupingValues * // "STRING_VALUE", * // ], * // }, * // shortcutKey: "STRING_VALUE", * // lastModifiedBy: "STRING_VALUE", * // channels: [ // Channels * // "STRING_VALUE", * // ], * // language: "STRING_VALUE", * // attributesNotInterpolated: [ // ContactAttributeKeys * // "STRING_VALUE", * // ], * // attributesInterpolated: [ * // "STRING_VALUE", * // ], * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param SearchQuickResponsesCommandInput - {@link SearchQuickResponsesCommandInput} * @returns {@link SearchQuickResponsesCommandOutput} * @see {@link SearchQuickResponsesCommandInput} for command's `input` shape. * @see {@link SearchQuickResponsesCommandOutput} 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 RequestTimeoutException} (client fault) *

The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.

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

The specified resource does not exist.

* * @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 SearchQuickResponsesCommand extends SearchQuickResponsesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SearchQuickResponsesRequest; output: SearchQuickResponsesResponse; }; sdk: { input: SearchQuickResponsesCommandInput; output: SearchQuickResponsesCommandOutput; }; }; }