@aws-sdk/client-lex-runtime-v2 3.169.0 → 3.170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,50 @@
1
-
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
5
- import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
6
- declare type RecognizeUtteranceCommandInputType = Pick<RecognizeUtteranceRequest, Exclude<keyof RecognizeUtteranceRequest, "inputStream">> & {
7
-
8
- inputStream?: RecognizeUtteranceRequest["inputStream"] | string | Uint8Array | Buffer;
9
- };
10
-
11
- export interface RecognizeUtteranceCommandInput extends RecognizeUtteranceCommandInputType {
12
- }
13
- export interface RecognizeUtteranceCommandOutput extends RecognizeUtteranceResponse, __MetadataBearer {
14
- }
15
-
16
- export declare class RecognizeUtteranceCommand extends $Command<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig> {
17
- readonly input: RecognizeUtteranceCommandInput;
18
- constructor(input: RecognizeUtteranceCommandInput);
19
-
20
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput>;
21
- private serialize;
22
- private deserialize;
23
- }
24
- export {};
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ LexRuntimeV2ClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../LexRuntimeV2Client";
13
+ import {
14
+ RecognizeUtteranceRequest,
15
+ RecognizeUtteranceResponse,
16
+ } from "../models/models_0";
17
+ declare type RecognizeUtteranceCommandInputType = Pick<
18
+ RecognizeUtteranceRequest,
19
+ Exclude<keyof RecognizeUtteranceRequest, "inputStream">
20
+ > & {
21
+ inputStream?:
22
+ | RecognizeUtteranceRequest["inputStream"]
23
+ | string
24
+ | Uint8Array
25
+ | Buffer;
26
+ };
27
+
28
+ export interface RecognizeUtteranceCommandInput
29
+ extends RecognizeUtteranceCommandInputType {}
30
+ export interface RecognizeUtteranceCommandOutput
31
+ extends RecognizeUtteranceResponse,
32
+ __MetadataBearer {}
33
+
34
+ export declare class RecognizeUtteranceCommand extends $Command<
35
+ RecognizeUtteranceCommandInput,
36
+ RecognizeUtteranceCommandOutput,
37
+ LexRuntimeV2ClientResolvedConfig
38
+ > {
39
+ readonly input: RecognizeUtteranceCommandInput;
40
+ constructor(input: RecognizeUtteranceCommandInput);
41
+
42
+ resolveMiddleware(
43
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
44
+ configuration: LexRuntimeV2ClientResolvedConfig,
45
+ options?: __HttpHandlerOptions
46
+ ): Handler<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput>;
47
+ private serialize;
48
+ private deserialize;
49
+ }
50
+ export {};
@@ -1,17 +1,38 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
- import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
5
- export interface StartConversationCommandInput extends StartConversationRequest {
6
- }
7
- export interface StartConversationCommandOutput extends StartConversationResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class StartConversationCommand extends $Command<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig> {
11
- readonly input: StartConversationCommandInput;
12
- constructor(input: StartConversationCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartConversationCommandInput, StartConversationCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ LexRuntimeV2ClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../LexRuntimeV2Client";
13
+ import {
14
+ StartConversationRequest,
15
+ StartConversationResponse,
16
+ } from "../models/models_0";
17
+ export interface StartConversationCommandInput
18
+ extends StartConversationRequest {}
19
+ export interface StartConversationCommandOutput
20
+ extends StartConversationResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class StartConversationCommand extends $Command<
24
+ StartConversationCommandInput,
25
+ StartConversationCommandOutput,
26
+ LexRuntimeV2ClientResolvedConfig
27
+ > {
28
+ readonly input: StartConversationCommandInput;
29
+ constructor(input: StartConversationCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: LexRuntimeV2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<StartConversationCommandInput, StartConversationCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,6 +1,6 @@
1
- export * from "./DeleteSessionCommand";
2
- export * from "./GetSessionCommand";
3
- export * from "./PutSessionCommand";
4
- export * from "./RecognizeTextCommand";
5
- export * from "./RecognizeUtteranceCommand";
6
- export * from "./StartConversationCommand";
1
+ export * from "./DeleteSessionCommand";
2
+ export * from "./GetSessionCommand";
3
+ export * from "./PutSessionCommand";
4
+ export * from "./RecognizeTextCommand";
5
+ export * from "./RecognizeUtteranceCommand";
6
+ export * from "./StartConversationCommand";
@@ -1,2 +1,2 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,5 +1,5 @@
1
- export * from "./LexRuntimeV2";
2
- export * from "./LexRuntimeV2Client";
3
- export * from "./commands";
4
- export * from "./models";
5
- export { LexRuntimeV2ServiceException } from "./models/LexRuntimeV2ServiceException";
1
+ export * from "./LexRuntimeV2";
2
+ export * from "./LexRuntimeV2Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { LexRuntimeV2ServiceException } from "./models/LexRuntimeV2ServiceException";
@@ -1,6 +1,8 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
-
3
- export declare class LexRuntimeV2ServiceException extends __ServiceException {
4
-
5
- constructor(options: __ServiceExceptionOptions);
6
- }
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@aws-sdk/smithy-client";
5
+
6
+ export declare class LexRuntimeV2ServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";