@aws-sdk/client-lex-runtime-v2 3.131.0 → 3.140.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 +30 -0
- package/dist-cjs/commands/DeleteSessionCommand.js +2 -2
- package/dist-cjs/commands/GetSessionCommand.js +2 -2
- package/dist-cjs/commands/PutSessionCommand.js +2 -2
- package/dist-cjs/commands/RecognizeTextCommand.js +2 -2
- package/dist-cjs/commands/RecognizeUtteranceCommand.js +2 -2
- package/dist-cjs/commands/StartConversationCommand.js +2 -2
- package/dist-cjs/models/models_0.js +233 -315
- package/dist-cjs/protocols/Aws_restJson1.js +242 -409
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/DeleteSessionCommand.js +3 -3
- package/dist-es/commands/GetSessionCommand.js +3 -3
- package/dist-es/commands/PutSessionCommand.js +3 -3
- package/dist-es/commands/RecognizeTextCommand.js +3 -3
- package/dist-es/commands/RecognizeUtteranceCommand.js +3 -3
- package/dist-es/commands/StartConversationCommand.js +3 -3
- package/dist-es/models/models_0.js +93 -218
- package/dist-es/protocols/Aws_restJson1.js +257 -414
- package/dist-es/runtimeConfig.js +8 -1
- package/dist-types/models/models_0.d.ts +172 -254
- package/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/package.json +6 -6
|
@@ -16,10 +16,6 @@ export interface ActiveContextTimeToLive {
|
|
|
16
16
|
|
|
17
17
|
turnsToLive: number | undefined;
|
|
18
18
|
}
|
|
19
|
-
export declare namespace ActiveContextTimeToLive {
|
|
20
|
-
|
|
21
|
-
const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
|
|
22
|
-
}
|
|
23
19
|
|
|
24
20
|
export interface ActiveContext {
|
|
25
21
|
|
|
@@ -29,10 +25,6 @@ export interface ActiveContext {
|
|
|
29
25
|
|
|
30
26
|
contextAttributes: Record<string, string> | undefined;
|
|
31
27
|
}
|
|
32
|
-
export declare namespace ActiveContext {
|
|
33
|
-
|
|
34
|
-
const filterSensitiveLog: (obj: ActiveContext) => any;
|
|
35
|
-
}
|
|
36
28
|
|
|
37
29
|
export interface AudioInputEvent {
|
|
38
30
|
|
|
@@ -44,10 +36,6 @@ export interface AudioInputEvent {
|
|
|
44
36
|
|
|
45
37
|
clientTimestampMillis?: number;
|
|
46
38
|
}
|
|
47
|
-
export declare namespace AudioInputEvent {
|
|
48
|
-
|
|
49
|
-
const filterSensitiveLog: (obj: AudioInputEvent) => any;
|
|
50
|
-
}
|
|
51
39
|
|
|
52
40
|
export interface AudioResponseEvent {
|
|
53
41
|
|
|
@@ -57,10 +45,6 @@ export interface AudioResponseEvent {
|
|
|
57
45
|
|
|
58
46
|
eventId?: string;
|
|
59
47
|
}
|
|
60
|
-
export declare namespace AudioResponseEvent {
|
|
61
|
-
|
|
62
|
-
const filterSensitiveLog: (obj: AudioResponseEvent) => any;
|
|
63
|
-
}
|
|
64
48
|
|
|
65
49
|
export declare class ConflictException extends __BaseException {
|
|
66
50
|
readonly name: "ConflictException";
|
|
@@ -78,10 +62,6 @@ export interface DeleteSessionRequest {
|
|
|
78
62
|
|
|
79
63
|
sessionId: string | undefined;
|
|
80
64
|
}
|
|
81
|
-
export declare namespace DeleteSessionRequest {
|
|
82
|
-
|
|
83
|
-
const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
|
|
84
|
-
}
|
|
85
65
|
export interface DeleteSessionResponse {
|
|
86
66
|
|
|
87
67
|
botId?: string;
|
|
@@ -92,10 +72,6 @@ export interface DeleteSessionResponse {
|
|
|
92
72
|
|
|
93
73
|
sessionId?: string;
|
|
94
74
|
}
|
|
95
|
-
export declare namespace DeleteSessionResponse {
|
|
96
|
-
|
|
97
|
-
const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
|
|
98
|
-
}
|
|
99
75
|
|
|
100
76
|
export declare class InternalServerException extends __BaseException {
|
|
101
77
|
readonly name: "InternalServerException";
|
|
@@ -134,10 +110,6 @@ export interface GetSessionRequest {
|
|
|
134
110
|
|
|
135
111
|
sessionId: string | undefined;
|
|
136
112
|
}
|
|
137
|
-
export declare namespace GetSessionRequest {
|
|
138
|
-
|
|
139
|
-
const filterSensitiveLog: (obj: GetSessionRequest) => any;
|
|
140
|
-
}
|
|
141
113
|
export declare enum ConfirmationState {
|
|
142
114
|
CONFIRMED = "Confirmed",
|
|
143
115
|
DENIED = "Denied",
|
|
@@ -156,10 +128,6 @@ export interface Value {
|
|
|
156
128
|
|
|
157
129
|
resolvedValues?: string[];
|
|
158
130
|
}
|
|
159
|
-
export declare namespace Value {
|
|
160
|
-
|
|
161
|
-
const filterSensitiveLog: (obj: Value) => any;
|
|
162
|
-
}
|
|
163
131
|
export declare enum IntentState {
|
|
164
132
|
FAILED = "Failed",
|
|
165
133
|
FULFILLED = "Fulfilled",
|
|
@@ -173,10 +141,6 @@ export interface ConfidenceScore {
|
|
|
173
141
|
|
|
174
142
|
score?: number;
|
|
175
143
|
}
|
|
176
|
-
export declare namespace ConfidenceScore {
|
|
177
|
-
|
|
178
|
-
const filterSensitiveLog: (obj: ConfidenceScore) => any;
|
|
179
|
-
}
|
|
180
144
|
export declare enum SentimentType {
|
|
181
145
|
MIXED = "MIXED",
|
|
182
146
|
NEGATIVE = "NEGATIVE",
|
|
@@ -194,10 +158,6 @@ export interface SentimentScore {
|
|
|
194
158
|
|
|
195
159
|
mixed?: number;
|
|
196
160
|
}
|
|
197
|
-
export declare namespace SentimentScore {
|
|
198
|
-
|
|
199
|
-
const filterSensitiveLog: (obj: SentimentScore) => any;
|
|
200
|
-
}
|
|
201
161
|
|
|
202
162
|
export interface SentimentResponse {
|
|
203
163
|
|
|
@@ -205,10 +165,6 @@ export interface SentimentResponse {
|
|
|
205
165
|
|
|
206
166
|
sentimentScore?: SentimentScore;
|
|
207
167
|
}
|
|
208
|
-
export declare namespace SentimentResponse {
|
|
209
|
-
|
|
210
|
-
const filterSensitiveLog: (obj: SentimentResponse) => any;
|
|
211
|
-
}
|
|
212
168
|
export declare enum MessageContentType {
|
|
213
169
|
CUSTOM_PAYLOAD = "CustomPayload",
|
|
214
170
|
IMAGE_RESPONSE_CARD = "ImageResponseCard",
|
|
@@ -222,10 +178,6 @@ export interface Button {
|
|
|
222
178
|
|
|
223
179
|
value: string | undefined;
|
|
224
180
|
}
|
|
225
|
-
export declare namespace Button {
|
|
226
|
-
|
|
227
|
-
const filterSensitiveLog: (obj: Button) => any;
|
|
228
|
-
}
|
|
229
181
|
|
|
230
182
|
export interface ImageResponseCard {
|
|
231
183
|
|
|
@@ -237,10 +189,6 @@ export interface ImageResponseCard {
|
|
|
237
189
|
|
|
238
190
|
buttons?: Button[];
|
|
239
191
|
}
|
|
240
|
-
export declare namespace ImageResponseCard {
|
|
241
|
-
|
|
242
|
-
const filterSensitiveLog: (obj: ImageResponseCard) => any;
|
|
243
|
-
}
|
|
244
192
|
|
|
245
193
|
export interface Message {
|
|
246
194
|
|
|
@@ -250,10 +198,6 @@ export interface Message {
|
|
|
250
198
|
|
|
251
199
|
imageResponseCard?: ImageResponseCard;
|
|
252
200
|
}
|
|
253
|
-
export declare namespace Message {
|
|
254
|
-
|
|
255
|
-
const filterSensitiveLog: (obj: Message) => any;
|
|
256
|
-
}
|
|
257
201
|
export declare enum StyleType {
|
|
258
202
|
DEFAULT = "Default",
|
|
259
203
|
SPELL_BY_LETTER = "SpellByLetter",
|
|
@@ -276,37 +220,21 @@ export interface DialogAction {
|
|
|
276
220
|
|
|
277
221
|
slotElicitationStyle?: StyleType | string;
|
|
278
222
|
}
|
|
279
|
-
export declare namespace DialogAction {
|
|
280
|
-
|
|
281
|
-
const filterSensitiveLog: (obj: DialogAction) => any;
|
|
282
|
-
}
|
|
283
223
|
|
|
284
224
|
export interface RuntimeHintValue {
|
|
285
225
|
|
|
286
226
|
phrase: string | undefined;
|
|
287
227
|
}
|
|
288
|
-
export declare namespace RuntimeHintValue {
|
|
289
|
-
|
|
290
|
-
const filterSensitiveLog: (obj: RuntimeHintValue) => any;
|
|
291
|
-
}
|
|
292
228
|
|
|
293
229
|
export interface RuntimeHintDetails {
|
|
294
230
|
|
|
295
231
|
runtimeHintValues: RuntimeHintValue[] | undefined;
|
|
296
232
|
}
|
|
297
|
-
export declare namespace RuntimeHintDetails {
|
|
298
|
-
|
|
299
|
-
const filterSensitiveLog: (obj: RuntimeHintDetails) => any;
|
|
300
|
-
}
|
|
301
233
|
|
|
302
234
|
export interface RuntimeHints {
|
|
303
235
|
|
|
304
236
|
slotHints?: Record<string, Record<string, RuntimeHintDetails>>;
|
|
305
237
|
}
|
|
306
|
-
export declare namespace RuntimeHints {
|
|
307
|
-
|
|
308
|
-
const filterSensitiveLog: (obj: RuntimeHints) => any;
|
|
309
|
-
}
|
|
310
238
|
|
|
311
239
|
export declare class BadGatewayException extends __BaseException {
|
|
312
240
|
readonly name: "BadGatewayException";
|
|
@@ -335,10 +263,6 @@ export interface PutSessionResponse {
|
|
|
335
263
|
|
|
336
264
|
audioStream?: Readable | ReadableStream | Blob;
|
|
337
265
|
}
|
|
338
|
-
export declare namespace PutSessionResponse {
|
|
339
|
-
|
|
340
|
-
const filterSensitiveLog: (obj: PutSessionResponse) => any;
|
|
341
|
-
}
|
|
342
266
|
export interface RecognizeUtteranceRequest {
|
|
343
267
|
|
|
344
268
|
botId: string | undefined;
|
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.140.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.137.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.137.0",
|
|
24
24
|
"@aws-sdk/eventstream-handler-node": "3.127.0",
|
|
25
25
|
"@aws-sdk/eventstream-serde-browser": "3.127.0",
|
|
26
26
|
"@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
45
45
|
"@aws-sdk/types": "3.127.0",
|
|
46
46
|
"@aws-sdk/url-parser": "3.127.0",
|
|
47
47
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
48
48
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
49
49
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
52
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
55
55
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|