@aws-sdk/client-lex-runtime-v2 3.168.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.
- package/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/LexRuntimeV2.d.ts +112 -35
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +184 -85
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +50 -24
- package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/index.d.ts +6 -6
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1880 -87
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -20
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +68 -40
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -39
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +39 -39
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
RecognizeTextRequest,
|
|
15
|
+
RecognizeTextResponse,
|
|
16
|
+
} from "../models/models_0";
|
|
17
|
+
export interface RecognizeTextCommandInput extends RecognizeTextRequest {}
|
|
18
|
+
export interface RecognizeTextCommandOutput
|
|
19
|
+
extends RecognizeTextResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
|
|
22
|
+
export declare class RecognizeTextCommand extends $Command<
|
|
23
|
+
RecognizeTextCommandInput,
|
|
24
|
+
RecognizeTextCommandOutput,
|
|
25
|
+
LexRuntimeV2ClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: RecognizeTextCommandInput;
|
|
28
|
+
constructor(input: RecognizeTextCommandInput);
|
|
29
|
+
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: LexRuntimeV2ClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<RecognizeTextCommandInput, RecognizeTextCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,24 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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";
|