import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SearchSessionsRequest, SearchSessionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SearchSessionsCommand}. */ export interface SearchSessionsCommandInput extends SearchSessionsRequest { } /** * @public * * The output of {@link SearchSessionsCommand}. */ export interface SearchSessionsCommandOutput extends SearchSessionsResponse, __MetadataBearer { } declare const SearchSessionsCommand_base: { new (input: SearchSessionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: SearchSessionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Searches for sessions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { QConnectClient, SearchSessionsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import * // const { QConnectClient, SearchSessionsCommand } = 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 = { // SearchSessionsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * assistantId: "STRING_VALUE", // required * searchExpression: { // SearchExpression * filters: [ // FilterList // required * { // Filter * field: "STRING_VALUE", // required * operator: "STRING_VALUE", // required * value: "STRING_VALUE", // required * }, * ], * }, * }; * const command = new SearchSessionsCommand(input); * const response = await client.send(command); * // { // SearchSessionsResponse * // sessionSummaries: [ // SessionSummaries // required * // { // SessionSummary * // sessionId: "STRING_VALUE", // required * // sessionArn: "STRING_VALUE", // required * // assistantId: "STRING_VALUE", // required * // assistantArn: "STRING_VALUE", // required * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param SearchSessionsCommandInput - {@link SearchSessionsCommandInput} * @returns {@link SearchSessionsCommandOutput} * @see {@link SearchSessionsCommandInput} for command's `input` shape. * @see {@link SearchSessionsCommandOutput} 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 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 SearchSessionsCommand extends SearchSessionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SearchSessionsRequest; output: SearchSessionsResponse; }; sdk: { input: SearchSessionsCommandInput; output: SearchSessionsCommandOutput; }; }; }