@aws-sdk/client-lex-runtime-v2 3.325.0 → 3.327.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 +9 -0
- package/dist-types/commands/GetSessionCommand.d.ts +134 -0
- package/dist-types/commands/PutSessionCommand.d.ts +11 -0
- package/dist-types/commands/RecognizeTextCommand.d.ts +141 -0
- package/dist-types/commands/RecognizeUtteranceCommand.d.ts +15 -0
- package/dist-types/commands/StartConversationCommand.d.ts +191 -0
- package/package.json +8 -8
|
@@ -47,6 +47,13 @@ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __Met
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new DeleteSessionCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // DeleteSessionResponse
|
|
51
|
+
* // botId: "STRING_VALUE",
|
|
52
|
+
* // botAliasId: "STRING_VALUE",
|
|
53
|
+
* // localeId: "STRING_VALUE",
|
|
54
|
+
* // sessionId: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
50
57
|
* ```
|
|
51
58
|
*
|
|
52
59
|
* @param DeleteSessionCommandInput - {@link DeleteSessionCommandInput}
|
|
@@ -73,6 +80,8 @@ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __Met
|
|
|
73
80
|
* @throws {@link ValidationException} (client fault)
|
|
74
81
|
* <p></p>
|
|
75
82
|
*
|
|
83
|
+
* @throws {@link LexRuntimeV2ServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
|
|
76
85
|
*
|
|
77
86
|
*/
|
|
78
87
|
export declare class DeleteSessionCommand extends $Command<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig> {
|
|
@@ -42,6 +42,138 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new GetSessionCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // GetSessionResponse
|
|
46
|
+
* // sessionId: "STRING_VALUE",
|
|
47
|
+
* // messages: [ // Messages
|
|
48
|
+
* // { // Message
|
|
49
|
+
* // content: "STRING_VALUE",
|
|
50
|
+
* // contentType: "CustomPayload" || "ImageResponseCard" || "PlainText" || "SSML", // required
|
|
51
|
+
* // imageResponseCard: { // ImageResponseCard
|
|
52
|
+
* // title: "STRING_VALUE", // required
|
|
53
|
+
* // subtitle: "STRING_VALUE",
|
|
54
|
+
* // imageUrl: "STRING_VALUE",
|
|
55
|
+
* // buttons: [ // ButtonsList
|
|
56
|
+
* // { // Button
|
|
57
|
+
* // text: "STRING_VALUE", // required
|
|
58
|
+
* // value: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // interpretations: [ // Interpretations
|
|
65
|
+
* // { // Interpretation
|
|
66
|
+
* // nluConfidence: { // ConfidenceScore
|
|
67
|
+
* // score: Number("double"),
|
|
68
|
+
* // },
|
|
69
|
+
* // sentimentResponse: { // SentimentResponse
|
|
70
|
+
* // sentiment: "MIXED" || "NEGATIVE" || "NEUTRAL" || "POSITIVE",
|
|
71
|
+
* // sentimentScore: { // SentimentScore
|
|
72
|
+
* // positive: Number("double"),
|
|
73
|
+
* // negative: Number("double"),
|
|
74
|
+
* // neutral: Number("double"),
|
|
75
|
+
* // mixed: Number("double"),
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // intent: { // Intent
|
|
79
|
+
* // name: "STRING_VALUE", // required
|
|
80
|
+
* // slots: { // Slots
|
|
81
|
+
* // "<keys>": { // Slot
|
|
82
|
+
* // value: { // Value
|
|
83
|
+
* // originalValue: "STRING_VALUE",
|
|
84
|
+
* // interpretedValue: "STRING_VALUE", // required
|
|
85
|
+
* // resolvedValues: [ // StringList
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // shape: "Scalar" || "List" || "Composite",
|
|
90
|
+
* // values: [ // Values
|
|
91
|
+
* // {
|
|
92
|
+
* // value: {
|
|
93
|
+
* // originalValue: "STRING_VALUE",
|
|
94
|
+
* // interpretedValue: "STRING_VALUE", // required
|
|
95
|
+
* // resolvedValues: [
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // shape: "Scalar" || "List" || "Composite",
|
|
100
|
+
* // values: [
|
|
101
|
+
* // "<Slot>",
|
|
102
|
+
* // ],
|
|
103
|
+
* // subSlots: {
|
|
104
|
+
* // "<keys>": "<Slot>",
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // ],
|
|
108
|
+
* // subSlots: "<Slots>",
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // state: "Failed" || "Fulfilled" || "InProgress" || "ReadyForFulfillment" || "Waiting" || "FulfillmentInProgress",
|
|
112
|
+
* // confirmationState: "Confirmed" || "Denied" || "None",
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // sessionState: { // SessionState
|
|
117
|
+
* // dialogAction: { // DialogAction
|
|
118
|
+
* // type: "Close" || "ConfirmIntent" || "Delegate" || "ElicitIntent" || "ElicitSlot" || "None", // required
|
|
119
|
+
* // slotToElicit: "STRING_VALUE",
|
|
120
|
+
* // slotElicitationStyle: "Default" || "SpellByLetter" || "SpellByWord",
|
|
121
|
+
* // subSlotToElicit: { // ElicitSubSlot
|
|
122
|
+
* // name: "STRING_VALUE", // required
|
|
123
|
+
* // subSlotToElicit: {
|
|
124
|
+
* // name: "STRING_VALUE", // required
|
|
125
|
+
* // subSlotToElicit: "<ElicitSubSlot>",
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // intent: {
|
|
130
|
+
* // name: "STRING_VALUE", // required
|
|
131
|
+
* // slots: "<Slots>",
|
|
132
|
+
* // state: "Failed" || "Fulfilled" || "InProgress" || "ReadyForFulfillment" || "Waiting" || "FulfillmentInProgress",
|
|
133
|
+
* // confirmationState: "Confirmed" || "Denied" || "None",
|
|
134
|
+
* // },
|
|
135
|
+
* // activeContexts: [ // ActiveContextsList
|
|
136
|
+
* // { // ActiveContext
|
|
137
|
+
* // name: "STRING_VALUE", // required
|
|
138
|
+
* // timeToLive: { // ActiveContextTimeToLive
|
|
139
|
+
* // timeToLiveInSeconds: Number("int"), // required
|
|
140
|
+
* // turnsToLive: Number("int"), // required
|
|
141
|
+
* // },
|
|
142
|
+
* // contextAttributes: { // ActiveContextParametersMap // required
|
|
143
|
+
* // "<keys>": "STRING_VALUE",
|
|
144
|
+
* // },
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // sessionAttributes: { // StringMap
|
|
148
|
+
* // "<keys>": "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // originatingRequestId: "STRING_VALUE",
|
|
151
|
+
* // runtimeHints: { // RuntimeHints
|
|
152
|
+
* // slotHints: { // SlotHintsIntentMap
|
|
153
|
+
* // "<keys>": { // SlotHintsSlotMap
|
|
154
|
+
* // "<keys>": { // RuntimeHintDetails
|
|
155
|
+
* // runtimeHintValues: [ // RuntimeHintValuesList
|
|
156
|
+
* // { // RuntimeHintValue
|
|
157
|
+
* // phrase: "STRING_VALUE", // required
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // subSlotHints: {
|
|
161
|
+
* // "<keys>": {
|
|
162
|
+
* // runtimeHintValues: [
|
|
163
|
+
* // {
|
|
164
|
+
* // phrase: "STRING_VALUE", // required
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // subSlotHints: "<SlotHintsSlotMap>",
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
170
|
+
* // },
|
|
171
|
+
* // },
|
|
172
|
+
* // },
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // };
|
|
176
|
+
*
|
|
45
177
|
* ```
|
|
46
178
|
*
|
|
47
179
|
* @param GetSessionCommandInput - {@link GetSessionCommandInput}
|
|
@@ -65,6 +197,8 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
|
|
|
65
197
|
* @throws {@link ValidationException} (client fault)
|
|
66
198
|
* <p></p>
|
|
67
199
|
*
|
|
200
|
+
* @throws {@link LexRuntimeV2ServiceException}
|
|
201
|
+
* <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
|
|
68
202
|
*
|
|
69
203
|
*/
|
|
70
204
|
export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig> {
|
|
@@ -146,6 +146,15 @@ export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSession
|
|
|
146
146
|
* };
|
|
147
147
|
* const command = new PutSessionCommand(input);
|
|
148
148
|
* const response = await client.send(command);
|
|
149
|
+
* // { // PutSessionResponse
|
|
150
|
+
* // contentType: "STRING_VALUE",
|
|
151
|
+
* // messages: "STRING_VALUE",
|
|
152
|
+
* // sessionState: "STRING_VALUE",
|
|
153
|
+
* // requestAttributes: "STRING_VALUE",
|
|
154
|
+
* // sessionId: "STRING_VALUE",
|
|
155
|
+
* // audioStream: "STREAMING_BLOB_VALUE",
|
|
156
|
+
* // };
|
|
157
|
+
*
|
|
149
158
|
* ```
|
|
150
159
|
*
|
|
151
160
|
* @param PutSessionCommandInput - {@link PutSessionCommandInput}
|
|
@@ -178,6 +187,8 @@ export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSession
|
|
|
178
187
|
* @throws {@link ValidationException} (client fault)
|
|
179
188
|
* <p></p>
|
|
180
189
|
*
|
|
190
|
+
* @throws {@link LexRuntimeV2ServiceException}
|
|
191
|
+
* <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
|
|
181
192
|
*
|
|
182
193
|
*/
|
|
183
194
|
export declare class PutSessionCommand extends $Command<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig> {
|
|
@@ -157,6 +157,145 @@ export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __Met
|
|
|
157
157
|
* };
|
|
158
158
|
* const command = new RecognizeTextCommand(input);
|
|
159
159
|
* const response = await client.send(command);
|
|
160
|
+
* // { // RecognizeTextResponse
|
|
161
|
+
* // messages: [ // Messages
|
|
162
|
+
* // { // Message
|
|
163
|
+
* // content: "STRING_VALUE",
|
|
164
|
+
* // contentType: "CustomPayload" || "ImageResponseCard" || "PlainText" || "SSML", // required
|
|
165
|
+
* // imageResponseCard: { // ImageResponseCard
|
|
166
|
+
* // title: "STRING_VALUE", // required
|
|
167
|
+
* // subtitle: "STRING_VALUE",
|
|
168
|
+
* // imageUrl: "STRING_VALUE",
|
|
169
|
+
* // buttons: [ // ButtonsList
|
|
170
|
+
* // { // Button
|
|
171
|
+
* // text: "STRING_VALUE", // required
|
|
172
|
+
* // value: "STRING_VALUE", // required
|
|
173
|
+
* // },
|
|
174
|
+
* // ],
|
|
175
|
+
* // },
|
|
176
|
+
* // },
|
|
177
|
+
* // ],
|
|
178
|
+
* // sessionState: { // SessionState
|
|
179
|
+
* // dialogAction: { // DialogAction
|
|
180
|
+
* // type: "Close" || "ConfirmIntent" || "Delegate" || "ElicitIntent" || "ElicitSlot" || "None", // required
|
|
181
|
+
* // slotToElicit: "STRING_VALUE",
|
|
182
|
+
* // slotElicitationStyle: "Default" || "SpellByLetter" || "SpellByWord",
|
|
183
|
+
* // subSlotToElicit: { // ElicitSubSlot
|
|
184
|
+
* // name: "STRING_VALUE", // required
|
|
185
|
+
* // subSlotToElicit: {
|
|
186
|
+
* // name: "STRING_VALUE", // required
|
|
187
|
+
* // subSlotToElicit: "<ElicitSubSlot>",
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
190
|
+
* // },
|
|
191
|
+
* // intent: { // Intent
|
|
192
|
+
* // name: "STRING_VALUE", // required
|
|
193
|
+
* // slots: { // Slots
|
|
194
|
+
* // "<keys>": { // Slot
|
|
195
|
+
* // value: { // Value
|
|
196
|
+
* // originalValue: "STRING_VALUE",
|
|
197
|
+
* // interpretedValue: "STRING_VALUE", // required
|
|
198
|
+
* // resolvedValues: [ // StringList
|
|
199
|
+
* // "STRING_VALUE",
|
|
200
|
+
* // ],
|
|
201
|
+
* // },
|
|
202
|
+
* // shape: "Scalar" || "List" || "Composite",
|
|
203
|
+
* // values: [ // Values
|
|
204
|
+
* // {
|
|
205
|
+
* // value: {
|
|
206
|
+
* // originalValue: "STRING_VALUE",
|
|
207
|
+
* // interpretedValue: "STRING_VALUE", // required
|
|
208
|
+
* // resolvedValues: [
|
|
209
|
+
* // "STRING_VALUE",
|
|
210
|
+
* // ],
|
|
211
|
+
* // },
|
|
212
|
+
* // shape: "Scalar" || "List" || "Composite",
|
|
213
|
+
* // values: [
|
|
214
|
+
* // "<Slot>",
|
|
215
|
+
* // ],
|
|
216
|
+
* // subSlots: {
|
|
217
|
+
* // "<keys>": "<Slot>",
|
|
218
|
+
* // },
|
|
219
|
+
* // },
|
|
220
|
+
* // ],
|
|
221
|
+
* // subSlots: "<Slots>",
|
|
222
|
+
* // },
|
|
223
|
+
* // },
|
|
224
|
+
* // state: "Failed" || "Fulfilled" || "InProgress" || "ReadyForFulfillment" || "Waiting" || "FulfillmentInProgress",
|
|
225
|
+
* // confirmationState: "Confirmed" || "Denied" || "None",
|
|
226
|
+
* // },
|
|
227
|
+
* // activeContexts: [ // ActiveContextsList
|
|
228
|
+
* // { // ActiveContext
|
|
229
|
+
* // name: "STRING_VALUE", // required
|
|
230
|
+
* // timeToLive: { // ActiveContextTimeToLive
|
|
231
|
+
* // timeToLiveInSeconds: Number("int"), // required
|
|
232
|
+
* // turnsToLive: Number("int"), // required
|
|
233
|
+
* // },
|
|
234
|
+
* // contextAttributes: { // ActiveContextParametersMap // required
|
|
235
|
+
* // "<keys>": "STRING_VALUE",
|
|
236
|
+
* // },
|
|
237
|
+
* // },
|
|
238
|
+
* // ],
|
|
239
|
+
* // sessionAttributes: { // StringMap
|
|
240
|
+
* // "<keys>": "STRING_VALUE",
|
|
241
|
+
* // },
|
|
242
|
+
* // originatingRequestId: "STRING_VALUE",
|
|
243
|
+
* // runtimeHints: { // RuntimeHints
|
|
244
|
+
* // slotHints: { // SlotHintsIntentMap
|
|
245
|
+
* // "<keys>": { // SlotHintsSlotMap
|
|
246
|
+
* // "<keys>": { // RuntimeHintDetails
|
|
247
|
+
* // runtimeHintValues: [ // RuntimeHintValuesList
|
|
248
|
+
* // { // RuntimeHintValue
|
|
249
|
+
* // phrase: "STRING_VALUE", // required
|
|
250
|
+
* // },
|
|
251
|
+
* // ],
|
|
252
|
+
* // subSlotHints: {
|
|
253
|
+
* // "<keys>": {
|
|
254
|
+
* // runtimeHintValues: [
|
|
255
|
+
* // {
|
|
256
|
+
* // phrase: "STRING_VALUE", // required
|
|
257
|
+
* // },
|
|
258
|
+
* // ],
|
|
259
|
+
* // subSlotHints: "<SlotHintsSlotMap>",
|
|
260
|
+
* // },
|
|
261
|
+
* // },
|
|
262
|
+
* // },
|
|
263
|
+
* // },
|
|
264
|
+
* // },
|
|
265
|
+
* // },
|
|
266
|
+
* // },
|
|
267
|
+
* // interpretations: [ // Interpretations
|
|
268
|
+
* // { // Interpretation
|
|
269
|
+
* // nluConfidence: { // ConfidenceScore
|
|
270
|
+
* // score: Number("double"),
|
|
271
|
+
* // },
|
|
272
|
+
* // sentimentResponse: { // SentimentResponse
|
|
273
|
+
* // sentiment: "MIXED" || "NEGATIVE" || "NEUTRAL" || "POSITIVE",
|
|
274
|
+
* // sentimentScore: { // SentimentScore
|
|
275
|
+
* // positive: Number("double"),
|
|
276
|
+
* // negative: Number("double"),
|
|
277
|
+
* // neutral: Number("double"),
|
|
278
|
+
* // mixed: Number("double"),
|
|
279
|
+
* // },
|
|
280
|
+
* // },
|
|
281
|
+
* // intent: {
|
|
282
|
+
* // name: "STRING_VALUE", // required
|
|
283
|
+
* // slots: "<Slots>",
|
|
284
|
+
* // state: "Failed" || "Fulfilled" || "InProgress" || "ReadyForFulfillment" || "Waiting" || "FulfillmentInProgress",
|
|
285
|
+
* // confirmationState: "Confirmed" || "Denied" || "None",
|
|
286
|
+
* // },
|
|
287
|
+
* // },
|
|
288
|
+
* // ],
|
|
289
|
+
* // requestAttributes: {
|
|
290
|
+
* // "<keys>": "STRING_VALUE",
|
|
291
|
+
* // },
|
|
292
|
+
* // sessionId: "STRING_VALUE",
|
|
293
|
+
* // recognizedBotMember: { // RecognizedBotMember
|
|
294
|
+
* // botId: "STRING_VALUE", // required
|
|
295
|
+
* // botName: "STRING_VALUE",
|
|
296
|
+
* // },
|
|
297
|
+
* // };
|
|
298
|
+
*
|
|
160
299
|
* ```
|
|
161
300
|
*
|
|
162
301
|
* @param RecognizeTextCommandInput - {@link RecognizeTextCommandInput}
|
|
@@ -189,6 +328,8 @@ export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __Met
|
|
|
189
328
|
* @throws {@link ValidationException} (client fault)
|
|
190
329
|
* <p></p>
|
|
191
330
|
*
|
|
331
|
+
* @throws {@link LexRuntimeV2ServiceException}
|
|
332
|
+
* <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
|
|
192
333
|
*
|
|
193
334
|
*/
|
|
194
335
|
export declare class RecognizeTextCommand extends $Command<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig> {
|
|
@@ -111,6 +111,19 @@ export interface RecognizeUtteranceCommandOutput extends __WithSdkStreamMixin<Re
|
|
|
111
111
|
* };
|
|
112
112
|
* const command = new RecognizeUtteranceCommand(input);
|
|
113
113
|
* const response = await client.send(command);
|
|
114
|
+
* // { // RecognizeUtteranceResponse
|
|
115
|
+
* // inputMode: "STRING_VALUE",
|
|
116
|
+
* // contentType: "STRING_VALUE",
|
|
117
|
+
* // messages: "STRING_VALUE",
|
|
118
|
+
* // interpretations: "STRING_VALUE",
|
|
119
|
+
* // sessionState: "STRING_VALUE",
|
|
120
|
+
* // requestAttributes: "STRING_VALUE",
|
|
121
|
+
* // sessionId: "STRING_VALUE",
|
|
122
|
+
* // inputTranscript: "STRING_VALUE",
|
|
123
|
+
* // audioStream: "STREAMING_BLOB_VALUE",
|
|
124
|
+
* // recognizedBotMember: "STRING_VALUE",
|
|
125
|
+
* // };
|
|
126
|
+
*
|
|
114
127
|
* ```
|
|
115
128
|
*
|
|
116
129
|
* @param RecognizeUtteranceCommandInput - {@link RecognizeUtteranceCommandInput}
|
|
@@ -143,6 +156,8 @@ export interface RecognizeUtteranceCommandOutput extends __WithSdkStreamMixin<Re
|
|
|
143
156
|
* @throws {@link ValidationException} (client fault)
|
|
144
157
|
* <p></p>
|
|
145
158
|
*
|
|
159
|
+
* @throws {@link LexRuntimeV2ServiceException}
|
|
160
|
+
* <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
|
|
146
161
|
*
|
|
147
162
|
*/
|
|
148
163
|
export declare class RecognizeUtteranceCommand extends $Command<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig> {
|
|
@@ -235,6 +235,195 @@ export interface StartConversationCommandOutput extends StartConversationRespons
|
|
|
235
235
|
* };
|
|
236
236
|
* const command = new StartConversationCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
+
* // { // StartConversationResponse
|
|
239
|
+
* // responseEventStream: { // StartConversationResponseEventStream Union: only one key present
|
|
240
|
+
* // PlaybackInterruptionEvent: { // PlaybackInterruptionEvent
|
|
241
|
+
* // eventReason: "DTMF_START_DETECTED" || "TEXT_DETECTED" || "VOICE_START_DETECTED",
|
|
242
|
+
* // causedByEventId: "STRING_VALUE",
|
|
243
|
+
* // eventId: "STRING_VALUE",
|
|
244
|
+
* // },
|
|
245
|
+
* // TranscriptEvent: { // TranscriptEvent
|
|
246
|
+
* // transcript: "STRING_VALUE",
|
|
247
|
+
* // eventId: "STRING_VALUE",
|
|
248
|
+
* // },
|
|
249
|
+
* // IntentResultEvent: { // IntentResultEvent
|
|
250
|
+
* // inputMode: "Text" || "Speech" || "DTMF",
|
|
251
|
+
* // interpretations: [ // Interpretations
|
|
252
|
+
* // { // Interpretation
|
|
253
|
+
* // nluConfidence: { // ConfidenceScore
|
|
254
|
+
* // score: Number("double"),
|
|
255
|
+
* // },
|
|
256
|
+
* // sentimentResponse: { // SentimentResponse
|
|
257
|
+
* // sentiment: "MIXED" || "NEGATIVE" || "NEUTRAL" || "POSITIVE",
|
|
258
|
+
* // sentimentScore: { // SentimentScore
|
|
259
|
+
* // positive: Number("double"),
|
|
260
|
+
* // negative: Number("double"),
|
|
261
|
+
* // neutral: Number("double"),
|
|
262
|
+
* // mixed: Number("double"),
|
|
263
|
+
* // },
|
|
264
|
+
* // },
|
|
265
|
+
* // intent: { // Intent
|
|
266
|
+
* // name: "STRING_VALUE", // required
|
|
267
|
+
* // slots: { // Slots
|
|
268
|
+
* // "<keys>": { // Slot
|
|
269
|
+
* // value: { // Value
|
|
270
|
+
* // originalValue: "STRING_VALUE",
|
|
271
|
+
* // interpretedValue: "STRING_VALUE", // required
|
|
272
|
+
* // resolvedValues: [ // StringList
|
|
273
|
+
* // "STRING_VALUE",
|
|
274
|
+
* // ],
|
|
275
|
+
* // },
|
|
276
|
+
* // shape: "Scalar" || "List" || "Composite",
|
|
277
|
+
* // values: [ // Values
|
|
278
|
+
* // {
|
|
279
|
+
* // value: {
|
|
280
|
+
* // originalValue: "STRING_VALUE",
|
|
281
|
+
* // interpretedValue: "STRING_VALUE", // required
|
|
282
|
+
* // resolvedValues: [
|
|
283
|
+
* // "STRING_VALUE",
|
|
284
|
+
* // ],
|
|
285
|
+
* // },
|
|
286
|
+
* // shape: "Scalar" || "List" || "Composite",
|
|
287
|
+
* // values: [
|
|
288
|
+
* // "<Slot>",
|
|
289
|
+
* // ],
|
|
290
|
+
* // subSlots: {
|
|
291
|
+
* // "<keys>": "<Slot>",
|
|
292
|
+
* // },
|
|
293
|
+
* // },
|
|
294
|
+
* // ],
|
|
295
|
+
* // subSlots: "<Slots>",
|
|
296
|
+
* // },
|
|
297
|
+
* // },
|
|
298
|
+
* // state: "Failed" || "Fulfilled" || "InProgress" || "ReadyForFulfillment" || "Waiting" || "FulfillmentInProgress",
|
|
299
|
+
* // confirmationState: "Confirmed" || "Denied" || "None",
|
|
300
|
+
* // },
|
|
301
|
+
* // },
|
|
302
|
+
* // ],
|
|
303
|
+
* // sessionState: { // SessionState
|
|
304
|
+
* // dialogAction: { // DialogAction
|
|
305
|
+
* // type: "Close" || "ConfirmIntent" || "Delegate" || "ElicitIntent" || "ElicitSlot" || "None", // required
|
|
306
|
+
* // slotToElicit: "STRING_VALUE",
|
|
307
|
+
* // slotElicitationStyle: "Default" || "SpellByLetter" || "SpellByWord",
|
|
308
|
+
* // subSlotToElicit: { // ElicitSubSlot
|
|
309
|
+
* // name: "STRING_VALUE", // required
|
|
310
|
+
* // subSlotToElicit: {
|
|
311
|
+
* // name: "STRING_VALUE", // required
|
|
312
|
+
* // subSlotToElicit: "<ElicitSubSlot>",
|
|
313
|
+
* // },
|
|
314
|
+
* // },
|
|
315
|
+
* // },
|
|
316
|
+
* // intent: {
|
|
317
|
+
* // name: "STRING_VALUE", // required
|
|
318
|
+
* // slots: "<Slots>",
|
|
319
|
+
* // state: "Failed" || "Fulfilled" || "InProgress" || "ReadyForFulfillment" || "Waiting" || "FulfillmentInProgress",
|
|
320
|
+
* // confirmationState: "Confirmed" || "Denied" || "None",
|
|
321
|
+
* // },
|
|
322
|
+
* // activeContexts: [ // ActiveContextsList
|
|
323
|
+
* // { // ActiveContext
|
|
324
|
+
* // name: "STRING_VALUE", // required
|
|
325
|
+
* // timeToLive: { // ActiveContextTimeToLive
|
|
326
|
+
* // timeToLiveInSeconds: Number("int"), // required
|
|
327
|
+
* // turnsToLive: Number("int"), // required
|
|
328
|
+
* // },
|
|
329
|
+
* // contextAttributes: { // ActiveContextParametersMap // required
|
|
330
|
+
* // "<keys>": "STRING_VALUE",
|
|
331
|
+
* // },
|
|
332
|
+
* // },
|
|
333
|
+
* // ],
|
|
334
|
+
* // sessionAttributes: { // StringMap
|
|
335
|
+
* // "<keys>": "STRING_VALUE",
|
|
336
|
+
* // },
|
|
337
|
+
* // originatingRequestId: "STRING_VALUE",
|
|
338
|
+
* // runtimeHints: { // RuntimeHints
|
|
339
|
+
* // slotHints: { // SlotHintsIntentMap
|
|
340
|
+
* // "<keys>": { // SlotHintsSlotMap
|
|
341
|
+
* // "<keys>": { // RuntimeHintDetails
|
|
342
|
+
* // runtimeHintValues: [ // RuntimeHintValuesList
|
|
343
|
+
* // { // RuntimeHintValue
|
|
344
|
+
* // phrase: "STRING_VALUE", // required
|
|
345
|
+
* // },
|
|
346
|
+
* // ],
|
|
347
|
+
* // subSlotHints: {
|
|
348
|
+
* // "<keys>": {
|
|
349
|
+
* // runtimeHintValues: [
|
|
350
|
+
* // {
|
|
351
|
+
* // phrase: "STRING_VALUE", // required
|
|
352
|
+
* // },
|
|
353
|
+
* // ],
|
|
354
|
+
* // subSlotHints: "<SlotHintsSlotMap>",
|
|
355
|
+
* // },
|
|
356
|
+
* // },
|
|
357
|
+
* // },
|
|
358
|
+
* // },
|
|
359
|
+
* // },
|
|
360
|
+
* // },
|
|
361
|
+
* // },
|
|
362
|
+
* // requestAttributes: {
|
|
363
|
+
* // "<keys>": "STRING_VALUE",
|
|
364
|
+
* // },
|
|
365
|
+
* // sessionId: "STRING_VALUE",
|
|
366
|
+
* // eventId: "STRING_VALUE",
|
|
367
|
+
* // recognizedBotMember: { // RecognizedBotMember
|
|
368
|
+
* // botId: "STRING_VALUE", // required
|
|
369
|
+
* // botName: "STRING_VALUE",
|
|
370
|
+
* // },
|
|
371
|
+
* // },
|
|
372
|
+
* // TextResponseEvent: { // TextResponseEvent
|
|
373
|
+
* // messages: [ // Messages
|
|
374
|
+
* // { // Message
|
|
375
|
+
* // content: "STRING_VALUE",
|
|
376
|
+
* // contentType: "CustomPayload" || "ImageResponseCard" || "PlainText" || "SSML", // required
|
|
377
|
+
* // imageResponseCard: { // ImageResponseCard
|
|
378
|
+
* // title: "STRING_VALUE", // required
|
|
379
|
+
* // subtitle: "STRING_VALUE",
|
|
380
|
+
* // imageUrl: "STRING_VALUE",
|
|
381
|
+
* // buttons: [ // ButtonsList
|
|
382
|
+
* // { // Button
|
|
383
|
+
* // text: "STRING_VALUE", // required
|
|
384
|
+
* // value: "STRING_VALUE", // required
|
|
385
|
+
* // },
|
|
386
|
+
* // ],
|
|
387
|
+
* // },
|
|
388
|
+
* // },
|
|
389
|
+
* // ],
|
|
390
|
+
* // eventId: "STRING_VALUE",
|
|
391
|
+
* // },
|
|
392
|
+
* // AudioResponseEvent: { // AudioResponseEvent
|
|
393
|
+
* // audioChunk: "BLOB_VALUE",
|
|
394
|
+
* // contentType: "STRING_VALUE",
|
|
395
|
+
* // eventId: "STRING_VALUE",
|
|
396
|
+
* // },
|
|
397
|
+
* // HeartbeatEvent: { // HeartbeatEvent
|
|
398
|
+
* // eventId: "STRING_VALUE",
|
|
399
|
+
* // },
|
|
400
|
+
* // AccessDeniedException: { // AccessDeniedException
|
|
401
|
+
* // message: "STRING_VALUE", // required
|
|
402
|
+
* // },
|
|
403
|
+
* // ResourceNotFoundException: { // ResourceNotFoundException
|
|
404
|
+
* // message: "STRING_VALUE", // required
|
|
405
|
+
* // },
|
|
406
|
+
* // ValidationException: { // ValidationException
|
|
407
|
+
* // message: "STRING_VALUE", // required
|
|
408
|
+
* // },
|
|
409
|
+
* // ThrottlingException: { // ThrottlingException
|
|
410
|
+
* // message: "STRING_VALUE", // required
|
|
411
|
+
* // },
|
|
412
|
+
* // InternalServerException: { // InternalServerException
|
|
413
|
+
* // message: "STRING_VALUE", // required
|
|
414
|
+
* // },
|
|
415
|
+
* // ConflictException: { // ConflictException
|
|
416
|
+
* // message: "STRING_VALUE", // required
|
|
417
|
+
* // },
|
|
418
|
+
* // DependencyFailedException: { // DependencyFailedException
|
|
419
|
+
* // message: "STRING_VALUE", // required
|
|
420
|
+
* // },
|
|
421
|
+
* // BadGatewayException: { // BadGatewayException
|
|
422
|
+
* // message: "STRING_VALUE", // required
|
|
423
|
+
* // },
|
|
424
|
+
* // },
|
|
425
|
+
* // };
|
|
426
|
+
*
|
|
238
427
|
* ```
|
|
239
428
|
*
|
|
240
429
|
* @param StartConversationCommandInput - {@link StartConversationCommandInput}
|
|
@@ -255,6 +444,8 @@ export interface StartConversationCommandOutput extends StartConversationRespons
|
|
|
255
444
|
* @throws {@link ValidationException} (client fault)
|
|
256
445
|
* <p></p>
|
|
257
446
|
*
|
|
447
|
+
* @throws {@link LexRuntimeV2ServiceException}
|
|
448
|
+
* <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
|
|
258
449
|
*
|
|
259
450
|
*/
|
|
260
451
|
export declare class StartConversationCommand extends $Command<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig> {
|
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.327.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.310.0",
|
|
28
28
|
"@aws-sdk/eventstream-serde-browser": "3.310.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
34
34
|
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
35
35
|
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
36
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
36
|
+
"@aws-sdk/middleware-eventstream": "3.326.0",
|
|
37
37
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
39
39
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
40
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
41
41
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
42
42
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
43
43
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
45
45
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
46
46
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
47
47
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
55
55
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
56
|
-
"@aws-sdk/util-endpoints": "3.
|
|
57
|
-
"@aws-sdk/util-retry": "3.
|
|
56
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
57
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
58
58
|
"@aws-sdk/util-stream-browser": "3.310.0",
|
|
59
59
|
"@aws-sdk/util-stream-node": "3.321.1",
|
|
60
60
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|