@aws-sdk/client-lex-runtime-v2 3.50.0 → 3.53.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/LexRuntimeV2ServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +107 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +126 -357
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/LexRuntimeV2ServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +98 -1
  9. package/dist-es/protocols/Aws_restJson1.js +199 -391
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/LexRuntimeV2ServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +58 -33
  13. package/dist-types/ts3.4/LexRuntimeV2.d.ts +35 -0
  14. package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +85 -0
  15. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +24 -0
  20. package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  22. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  23. package/dist-types/ts3.4/index.d.ts +5 -0
  24. package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +6 -0
  25. package/dist-types/ts3.4/models/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +363 -0
  27. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +20 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  32. package/package.json +38 -38
@@ -2,3 +2,4 @@ export * from "./LexRuntimeV2";
2
2
  export * from "./LexRuntimeV2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { LexRuntimeV2ServiceException } from "./models/LexRuntimeV2ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from LexRuntimeV2 service.
4
+ */
5
+ export declare class LexRuntimeV2ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,13 +1,17 @@
1
1
  /// <reference types="node" />
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
3
  import { Readable } from "stream";
4
+ import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2ServiceException";
4
5
  /**
5
6
  * <p></p>
6
7
  */
7
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
8
- name: "AccessDeniedException";
9
- $fault: "client";
10
- message: string | undefined;
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
15
  }
12
16
  /**
13
17
  * <p>The time that a context is active. You can specify the time to live
@@ -140,10 +144,13 @@ export declare namespace AudioResponseEvent {
140
144
  /**
141
145
  * <p></p>
142
146
  */
143
- export interface ConflictException extends __SmithyException, $MetadataBearer {
144
- name: "ConflictException";
145
- $fault: "client";
146
- message: string | undefined;
147
+ export declare class ConflictException extends __BaseException {
148
+ readonly name: "ConflictException";
149
+ readonly $fault: "client";
150
+ /**
151
+ * @internal
152
+ */
153
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
147
154
  }
148
155
  export interface DeleteSessionRequest {
149
156
  /**
@@ -198,34 +205,46 @@ export declare namespace DeleteSessionResponse {
198
205
  /**
199
206
  * <p></p>
200
207
  */
201
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
202
- name: "InternalServerException";
203
- $fault: "server";
204
- message: string | undefined;
208
+ export declare class InternalServerException extends __BaseException {
209
+ readonly name: "InternalServerException";
210
+ readonly $fault: "server";
211
+ /**
212
+ * @internal
213
+ */
214
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
205
215
  }
206
216
  /**
207
217
  * <p></p>
208
218
  */
209
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
210
- name: "ResourceNotFoundException";
211
- $fault: "client";
212
- message: string | undefined;
219
+ export declare class ResourceNotFoundException extends __BaseException {
220
+ readonly name: "ResourceNotFoundException";
221
+ readonly $fault: "client";
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
213
226
  }
214
227
  /**
215
228
  * <p></p>
216
229
  */
217
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
218
- name: "ThrottlingException";
219
- $fault: "client";
220
- message: string | undefined;
230
+ export declare class ThrottlingException extends __BaseException {
231
+ readonly name: "ThrottlingException";
232
+ readonly $fault: "client";
233
+ /**
234
+ * @internal
235
+ */
236
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
221
237
  }
222
238
  /**
223
239
  * <p></p>
224
240
  */
225
- export interface ValidationException extends __SmithyException, $MetadataBearer {
226
- name: "ValidationException";
227
- $fault: "client";
228
- message: string | undefined;
241
+ export declare class ValidationException extends __BaseException {
242
+ readonly name: "ValidationException";
243
+ readonly $fault: "client";
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
229
248
  }
230
249
  export interface GetSessionRequest {
231
250
  /**
@@ -612,18 +631,24 @@ export declare namespace RuntimeHints {
612
631
  /**
613
632
  * <p></p>
614
633
  */
615
- export interface BadGatewayException extends __SmithyException, $MetadataBearer {
616
- name: "BadGatewayException";
617
- $fault: "server";
618
- message: string | undefined;
634
+ export declare class BadGatewayException extends __BaseException {
635
+ readonly name: "BadGatewayException";
636
+ readonly $fault: "server";
637
+ /**
638
+ * @internal
639
+ */
640
+ constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
619
641
  }
620
642
  /**
621
643
  * <p></p>
622
644
  */
623
- export interface DependencyFailedException extends __SmithyException, $MetadataBearer {
624
- name: "DependencyFailedException";
625
- $fault: "client";
626
- message: string | undefined;
645
+ export declare class DependencyFailedException extends __BaseException {
646
+ readonly name: "DependencyFailedException";
647
+ readonly $fault: "client";
648
+ /**
649
+ * @internal
650
+ */
651
+ constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
627
652
  }
628
653
  export interface PutSessionResponse {
629
654
  /**
@@ -0,0 +1,35 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
3
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
4
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
5
+ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./commands/RecognizeTextCommand";
6
+ import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
7
+ import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
8
+ import { LexRuntimeV2Client } from "./LexRuntimeV2Client";
9
+
10
+ export declare class LexRuntimeV2 extends LexRuntimeV2Client {
11
+
12
+ deleteSession(args: DeleteSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSessionCommandOutput>;
13
+ deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
14
+ deleteSession(args: DeleteSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
15
+
16
+ getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
17
+ getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
18
+ getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
19
+
20
+ putSession(args: PutSessionCommandInput, options?: __HttpHandlerOptions): Promise<PutSessionCommandOutput>;
21
+ putSession(args: PutSessionCommandInput, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
22
+ putSession(args: PutSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
23
+
24
+ recognizeText(args: RecognizeTextCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeTextCommandOutput>;
25
+ recognizeText(args: RecognizeTextCommandInput, cb: (err: any, data?: RecognizeTextCommandOutput) => void): void;
26
+ recognizeText(args: RecognizeTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeTextCommandOutput) => void): void;
27
+
28
+ recognizeUtterance(args: RecognizeUtteranceCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeUtteranceCommandOutput>;
29
+ recognizeUtterance(args: RecognizeUtteranceCommandInput, cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void): void;
30
+ recognizeUtterance(args: RecognizeUtteranceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void): void;
31
+
32
+ startConversation(args: StartConversationCommandInput, options?: __HttpHandlerOptions): Promise<StartConversationCommandOutput>;
33
+ startConversation(args: StartConversationCommandInput, cb: (err: any, data?: StartConversationCommandOutput) => void): void;
34
+ startConversation(args: StartConversationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConversationCommandOutput) => void): void;
35
+ }
@@ -0,0 +1,85 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@aws-sdk/eventstream-serde-config-resolver";
3
+ import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
4
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
6
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
7
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
8
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
9
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
11
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
12
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
13
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
14
+ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./commands/RecognizeTextCommand";
15
+ import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
16
+ import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
17
+ export declare type ServiceInputTypes = DeleteSessionCommandInput | GetSessionCommandInput | PutSessionCommandInput | RecognizeTextCommandInput | RecognizeUtteranceCommandInput | StartConversationCommandInput;
18
+ export declare type ServiceOutputTypes = DeleteSessionCommandOutput | GetSessionCommandOutput | PutSessionCommandOutput | RecognizeTextCommandOutput | RecognizeUtteranceCommandOutput | StartConversationCommandOutput;
19
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
20
+
21
+ requestHandler?: __HttpHandler;
22
+
23
+ sha256?: __HashConstructor;
24
+
25
+ urlParser?: __UrlParser;
26
+
27
+ bodyLengthChecker?: (body: any) => number | undefined;
28
+
29
+ streamCollector?: __StreamCollector;
30
+
31
+ base64Decoder?: __Decoder;
32
+
33
+ base64Encoder?: __Encoder;
34
+
35
+ utf8Decoder?: __Decoder;
36
+
37
+ utf8Encoder?: __Encoder;
38
+
39
+ runtime?: string;
40
+
41
+ disableHostPrefix?: boolean;
42
+
43
+ maxAttempts?: number | __Provider<number>;
44
+
45
+ retryMode?: string | __Provider<string>;
46
+
47
+ logger?: __Logger;
48
+
49
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
50
+
51
+ useFipsEndpoint?: boolean | __Provider<boolean>;
52
+
53
+ serviceId?: string;
54
+
55
+ region?: string | __Provider<string>;
56
+
57
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
58
+
59
+ regionInfoProvider?: RegionInfoProvider;
60
+
61
+ eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
62
+
63
+ defaultUserAgentProvider?: Provider<__UserAgent>;
64
+
65
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
66
+
67
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
68
+ }
69
+ declare type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
70
+
71
+ export interface LexRuntimeV2ClientConfig extends LexRuntimeV2ClientConfigType {
72
+ }
73
+ declare type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig;
74
+
75
+ export interface LexRuntimeV2ClientResolvedConfig extends LexRuntimeV2ClientResolvedConfigType {
76
+ }
77
+
78
+ export declare class LexRuntimeV2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LexRuntimeV2ClientResolvedConfig> {
79
+
80
+ readonly config: LexRuntimeV2ClientResolvedConfig;
81
+ constructor(configuration: LexRuntimeV2ClientConfig);
82
+
83
+ destroy(): void;
84
+ }
85
+ export {};
@@ -0,0 +1,17 @@
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 { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
+ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
6
+ }
7
+ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteSessionCommand extends $Command<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig> {
11
+ readonly input: DeleteSessionCommandInput;
12
+ constructor(input: DeleteSessionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSessionCommandInput, DeleteSessionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
+ export interface GetSessionCommandInput extends GetSessionRequest {
6
+ }
7
+ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig> {
11
+ readonly input: GetSessionCommandInput;
12
+ constructor(input: GetSessionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { PutSessionRequest, PutSessionResponse } from "../models/models_0";
5
+ export interface PutSessionCommandInput extends PutSessionRequest {
6
+ }
7
+ export interface PutSessionCommandOutput extends PutSessionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutSessionCommand extends $Command<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig> {
11
+ readonly input: PutSessionCommandInput;
12
+ constructor(input: PutSessionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSessionCommandInput, PutSessionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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 { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
5
+ export interface RecognizeTextCommandInput extends RecognizeTextRequest {
6
+ }
7
+ export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class RecognizeTextCommand extends $Command<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig> {
11
+ readonly input: RecognizeTextCommandInput;
12
+ constructor(input: RecognizeTextCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RecognizeTextCommandInput, RecognizeTextCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,24 @@
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 {};
@@ -0,0 +1,17 @@
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
+ }
@@ -0,0 +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";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./LexRuntimeV2";
2
+ export * from "./LexRuntimeV2Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { LexRuntimeV2ServiceException } from "./models/LexRuntimeV2ServiceException";
@@ -0,0 +1,6 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";