import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types"; import { type DeleteSessionCommandInput, type DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand"; import { type GetSessionCommandInput, type GetSessionCommandOutput } from "./commands/GetSessionCommand"; import { type PostContentCommandInput, type PostContentCommandOutput } from "./commands/PostContentCommand"; import { type PostTextCommandInput, type PostTextCommandOutput } from "./commands/PostTextCommand"; import { type PutSessionCommandInput, type PutSessionCommandOutput } from "./commands/PutSessionCommand"; import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient"; /** * @public */ export interface LexRuntimeServiceRequestOptions extends __HttpHandlerOptions { metricsRecorder?: __MetricsRecorder; } export interface LexRuntimeService { /** * @see {@link DeleteSessionCommand} */ deleteSession(args: DeleteSessionCommandInput, options?: LexRuntimeServiceRequestOptions): Promise; deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void; deleteSession(args: DeleteSessionCommandInput, options: LexRuntimeServiceRequestOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void; /** * @see {@link GetSessionCommand} */ getSession(args: GetSessionCommandInput, options?: LexRuntimeServiceRequestOptions): Promise; getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void; getSession(args: GetSessionCommandInput, options: LexRuntimeServiceRequestOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void; /** * @see {@link PostContentCommand} */ postContent(args: PostContentCommandInput, options?: LexRuntimeServiceRequestOptions): Promise; postContent(args: PostContentCommandInput, cb: (err: any, data?: PostContentCommandOutput) => void): void; postContent(args: PostContentCommandInput, options: LexRuntimeServiceRequestOptions, cb: (err: any, data?: PostContentCommandOutput) => void): void; /** * @see {@link PostTextCommand} */ postText(args: PostTextCommandInput, options?: LexRuntimeServiceRequestOptions): Promise; postText(args: PostTextCommandInput, cb: (err: any, data?: PostTextCommandOutput) => void): void; postText(args: PostTextCommandInput, options: LexRuntimeServiceRequestOptions, cb: (err: any, data?: PostTextCommandOutput) => void): void; /** * @see {@link PutSessionCommand} */ putSession(args: PutSessionCommandInput, options?: LexRuntimeServiceRequestOptions): Promise; putSession(args: PutSessionCommandInput, cb: (err: any, data?: PutSessionCommandOutput) => void): void; putSession(args: PutSessionCommandInput, options: LexRuntimeServiceRequestOptions, cb: (err: any, data?: PutSessionCommandOutput) => void): void; } /** *

Amazon Lex provides both build and runtime endpoints. Each endpoint * provides a set of operations (API). Your conversational bot uses the * runtime API to understand user utterances (user input text or voice). For * example, suppose a user says "I want pizza", your bot sends this input to * Amazon Lex using the runtime API. Amazon Lex recognizes that the user * request is for the OrderPizza intent (one of the intents defined in the * bot). Then Amazon Lex engages in user conversation on behalf of the bot to * elicit required information (slot values, such as pizza size and crust * type), and then performs fulfillment activity (that you configured when * you created the bot). You use the build-time API to create and manage your * Amazon Lex bot. For a list of build-time operations, see the build-time * API, .

* @public */ export declare class LexRuntimeService extends LexRuntimeServiceClient implements LexRuntimeService { }