@aws-sdk/client-lex-runtime-service 3.300.0 → 3.301.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/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/PostContentCommand.d.ts +1 -1
- package/dist-types/commands/PostTextCommand.d.ts +6 -6
- package/dist-types/commands/PutSessionCommand.d.ts +10 -12
- package/package.json +3 -3
|
@@ -27,7 +27,7 @@ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __Met
|
|
|
27
27
|
* import { LexRuntimeServiceClient, DeleteSessionCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
|
|
28
28
|
* // const { LexRuntimeServiceClient, DeleteSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
|
|
29
29
|
* const client = new LexRuntimeServiceClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteSessionRequest
|
|
31
31
|
* botName: "STRING_VALUE", // required
|
|
32
32
|
* botAlias: "STRING_VALUE", // required
|
|
33
33
|
* userId: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
|
|
|
27
27
|
* import { LexRuntimeServiceClient, GetSessionCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
|
|
28
28
|
* // const { LexRuntimeServiceClient, GetSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
|
|
29
29
|
* const client = new LexRuntimeServiceClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetSessionRequest
|
|
31
31
|
* botName: "STRING_VALUE", // required
|
|
32
32
|
* botAlias: "STRING_VALUE", // required
|
|
33
33
|
* userId: "STRING_VALUE", // required
|
|
@@ -112,7 +112,7 @@ export interface PostContentCommandOutput extends __WithSdkStreamMixin<PostConte
|
|
|
112
112
|
* import { LexRuntimeServiceClient, PostContentCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
|
|
113
113
|
* // const { LexRuntimeServiceClient, PostContentCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
|
|
114
114
|
* const client = new LexRuntimeServiceClient(config);
|
|
115
|
-
* const input = {
|
|
115
|
+
* const input = { // PostContentRequest
|
|
116
116
|
* botName: "STRING_VALUE", // required
|
|
117
117
|
* botAlias: "STRING_VALUE", // required
|
|
118
118
|
* userId: "STRING_VALUE", // required
|
|
@@ -101,25 +101,25 @@ export interface PostTextCommandOutput extends PostTextResponse, __MetadataBeare
|
|
|
101
101
|
* import { LexRuntimeServiceClient, PostTextCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
|
|
102
102
|
* // const { LexRuntimeServiceClient, PostTextCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
|
|
103
103
|
* const client = new LexRuntimeServiceClient(config);
|
|
104
|
-
* const input = {
|
|
104
|
+
* const input = { // PostTextRequest
|
|
105
105
|
* botName: "STRING_VALUE", // required
|
|
106
106
|
* botAlias: "STRING_VALUE", // required
|
|
107
107
|
* userId: "STRING_VALUE", // required
|
|
108
|
-
* sessionAttributes: {
|
|
108
|
+
* sessionAttributes: { // StringMap
|
|
109
109
|
* "<keys>": "STRING_VALUE",
|
|
110
110
|
* },
|
|
111
111
|
* requestAttributes: {
|
|
112
112
|
* "<keys>": "STRING_VALUE",
|
|
113
113
|
* },
|
|
114
114
|
* inputText: "STRING_VALUE", // required
|
|
115
|
-
* activeContexts: [
|
|
116
|
-
* {
|
|
115
|
+
* activeContexts: [ // ActiveContextsList
|
|
116
|
+
* { // ActiveContext
|
|
117
117
|
* name: "STRING_VALUE", // required
|
|
118
|
-
* timeToLive: {
|
|
118
|
+
* timeToLive: { // ActiveContextTimeToLive
|
|
119
119
|
* timeToLiveInSeconds: Number("int"),
|
|
120
120
|
* turnsToLive: Number("int"),
|
|
121
121
|
* },
|
|
122
|
-
* parameters: { // required
|
|
122
|
+
* parameters: { // ActiveContextParametersMap // required
|
|
123
123
|
* "<keys>": "STRING_VALUE",
|
|
124
124
|
* },
|
|
125
125
|
* },
|
|
@@ -30,14 +30,14 @@ export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSession
|
|
|
30
30
|
* import { LexRuntimeServiceClient, PutSessionCommand } from "@aws-sdk/client-lex-runtime-service"; // ES Modules import
|
|
31
31
|
* // const { LexRuntimeServiceClient, PutSessionCommand } = require("@aws-sdk/client-lex-runtime-service"); // CommonJS import
|
|
32
32
|
* const client = new LexRuntimeServiceClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // PutSessionRequest
|
|
34
34
|
* botName: "STRING_VALUE", // required
|
|
35
35
|
* botAlias: "STRING_VALUE", // required
|
|
36
36
|
* userId: "STRING_VALUE", // required
|
|
37
|
-
* sessionAttributes: {
|
|
37
|
+
* sessionAttributes: { // StringMap
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
|
-
* dialogAction: {
|
|
40
|
+
* dialogAction: { // DialogAction
|
|
41
41
|
* type: "STRING_VALUE", // required
|
|
42
42
|
* intentName: "STRING_VALUE",
|
|
43
43
|
* slots: {
|
|
@@ -48,13 +48,11 @@ export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSession
|
|
|
48
48
|
* message: "STRING_VALUE",
|
|
49
49
|
* messageFormat: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
|
-
* recentIntentSummaryView: [
|
|
52
|
-
* {
|
|
51
|
+
* recentIntentSummaryView: [ // IntentSummaryList
|
|
52
|
+
* { // IntentSummary
|
|
53
53
|
* intentName: "STRING_VALUE",
|
|
54
54
|
* checkpointLabel: "STRING_VALUE",
|
|
55
|
-
* slots:
|
|
56
|
-
* "<keys>": "<String>",
|
|
57
|
-
* },
|
|
55
|
+
* slots: "<StringMap>",
|
|
58
56
|
* confirmationStatus: "STRING_VALUE",
|
|
59
57
|
* dialogActionType: "STRING_VALUE", // required
|
|
60
58
|
* fulfillmentState: "STRING_VALUE",
|
|
@@ -62,14 +60,14 @@ export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSession
|
|
|
62
60
|
* },
|
|
63
61
|
* ],
|
|
64
62
|
* accept: "STRING_VALUE",
|
|
65
|
-
* activeContexts: [
|
|
66
|
-
* {
|
|
63
|
+
* activeContexts: [ // ActiveContextsList
|
|
64
|
+
* { // ActiveContext
|
|
67
65
|
* name: "STRING_VALUE", // required
|
|
68
|
-
* timeToLive: {
|
|
66
|
+
* timeToLive: { // ActiveContextTimeToLive
|
|
69
67
|
* timeToLiveInSeconds: Number("int"),
|
|
70
68
|
* turnsToLive: Number("int"),
|
|
71
69
|
* },
|
|
72
|
-
* parameters: { // required
|
|
70
|
+
* parameters: { // ActiveContextParametersMap // required
|
|
73
71
|
* "<keys>": "STRING_VALUE",
|
|
74
72
|
* },
|
|
75
73
|
* },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.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",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
27
27
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
29
29
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
30
30
|
"@aws-sdk/hash-node": "3.296.0",
|
|
31
31
|
"@aws-sdk/invalid-dependency": "3.296.0",
|