@aws-sdk/client-lex-runtime-v2 3.279.0 → 3.282.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/README.md +51 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +6 -0
- package/dist-types/commands/GetSessionCommand.d.ts +6 -0
- package/dist-types/commands/PutSessionCommand.d.ts +6 -0
- package/dist-types/commands/RecognizeTextCommand.d.ts +6 -0
- package/dist-types/commands/RecognizeUtteranceCommand.d.ts +6 -0
- package/dist-types/commands/StartConversationCommand.d.ts +6 -0
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -203,3 +203,54 @@ To contribute to client you can check our [generate clients scripts](https://git
|
|
|
203
203
|
This SDK is distributed under the
|
|
204
204
|
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
|
|
205
205
|
see LICENSE for more information.
|
|
206
|
+
|
|
207
|
+
## Client Commands (Operations List)
|
|
208
|
+
|
|
209
|
+
<details>
|
|
210
|
+
<summary>
|
|
211
|
+
DeleteSession
|
|
212
|
+
</summary>
|
|
213
|
+
|
|
214
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/classes/deletesessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/deletesessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/deletesessioncommandoutput.html)
|
|
215
|
+
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
219
|
+
GetSession
|
|
220
|
+
</summary>
|
|
221
|
+
|
|
222
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/classes/getsessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/getsessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/getsessioncommandoutput.html)
|
|
223
|
+
|
|
224
|
+
</details>
|
|
225
|
+
<details>
|
|
226
|
+
<summary>
|
|
227
|
+
PutSession
|
|
228
|
+
</summary>
|
|
229
|
+
|
|
230
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/classes/putsessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/putsessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/putsessioncommandoutput.html)
|
|
231
|
+
|
|
232
|
+
</details>
|
|
233
|
+
<details>
|
|
234
|
+
<summary>
|
|
235
|
+
RecognizeText
|
|
236
|
+
</summary>
|
|
237
|
+
|
|
238
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/classes/recognizetextcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/recognizetextcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/recognizetextcommandoutput.html)
|
|
239
|
+
|
|
240
|
+
</details>
|
|
241
|
+
<details>
|
|
242
|
+
<summary>
|
|
243
|
+
RecognizeUtterance
|
|
244
|
+
</summary>
|
|
245
|
+
|
|
246
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/classes/recognizeutterancecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/recognizeutterancecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/recognizeutterancecommandoutput.html)
|
|
247
|
+
|
|
248
|
+
</details>
|
|
249
|
+
<details>
|
|
250
|
+
<summary>
|
|
251
|
+
StartConversation
|
|
252
|
+
</summary>
|
|
253
|
+
|
|
254
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/classes/startconversationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/startconversationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lex-runtime-v2/interfaces/startconversationcommandoutput.html)
|
|
255
|
+
|
|
256
|
+
</details>
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DeleteSessionCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DeleteSessionCommandInput extends DeleteSessionRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DeleteSessionCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetSessionCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetSessionCommandInput extends GetSessionRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetSessionCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link PutSessionCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface PutSessionCommandInput extends PutSessionRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link PutSessionCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSessionResponse, "audioStream">, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link RecognizeTextCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface RecognizeTextCommandInput extends RecognizeTextRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link RecognizeTextCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -4,6 +4,9 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@aws-sdk/types";
|
|
5
5
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
6
6
|
import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
|
|
7
|
+
/**
|
|
8
|
+
* The input for {@link RecognizeUtteranceCommand}.
|
|
9
|
+
*/
|
|
7
10
|
declare type RecognizeUtteranceCommandInputType = Omit<RecognizeUtteranceRequest, "inputStream"> & {
|
|
8
11
|
/**
|
|
9
12
|
* For *`RecognizeUtteranceRequest["inputStream"]`*, see {@link RecognizeUtteranceRequest.inputStream}.
|
|
@@ -15,6 +18,9 @@ declare type RecognizeUtteranceCommandInputType = Omit<RecognizeUtteranceRequest
|
|
|
15
18
|
*/
|
|
16
19
|
export interface RecognizeUtteranceCommandInput extends RecognizeUtteranceCommandInputType {
|
|
17
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* The output of {@link RecognizeUtteranceCommand}.
|
|
23
|
+
*/
|
|
18
24
|
export interface RecognizeUtteranceCommandOutput extends __WithSdkStreamMixin<RecognizeUtteranceResponse, "audioStream">, __MetadataBearer {
|
|
19
25
|
}
|
|
20
26
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StartConversationCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StartConversationCommandInput extends StartConversationRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StartConversationCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StartConversationCommandOutput extends StartConversationResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.282.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,30 +20,30 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.282.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.282.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.282.0",
|
|
26
26
|
"@aws-sdk/eventstream-handler-node": "3.272.0",
|
|
27
27
|
"@aws-sdk/eventstream-serde-browser": "3.272.0",
|
|
28
28
|
"@aws-sdk/eventstream-serde-config-resolver": "3.272.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-node": "3.272.0",
|
|
30
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
30
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
31
31
|
"@aws-sdk/hash-node": "3.272.0",
|
|
32
32
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
33
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
34
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
35
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
35
|
+
"@aws-sdk/middleware-eventstream": "3.282.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.282.0",
|
|
40
40
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
42
42
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
44
44
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
47
47
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
48
48
|
"@aws-sdk/types": "3.272.0",
|
|
49
49
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
52
52
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
53
53
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
54
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
54
|
+
"@aws-sdk/util-defaults-mode-node": "3.282.0",
|
|
55
55
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
56
56
|
"@aws-sdk/util-retry": "3.272.0",
|
|
57
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
58
|
-
"@aws-sdk/util-stream-node": "3.
|
|
59
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
60
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
+
"@aws-sdk/util-stream-browser": "3.282.0",
|
|
58
|
+
"@aws-sdk/util-stream-node": "3.282.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
60
|
+
"@aws-sdk/util-user-agent-node": "3.282.0",
|
|
61
61
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
62
62
|
"tslib": "^2.3.1"
|
|
63
63
|
},
|