@aws-sdk/client-lex-runtime-v2 3.123.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +100 -153
- package/dist-es/protocols/Aws_restJson1.js +63 -116
- package/package.json +31 -31
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.123.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.122.0...v3.123.0) (2022-07-05)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
|
|
@@ -169,14 +169,13 @@ const serializeAws_restJson1PutSessionCommand = async (input, context) => {
|
|
|
169
169
|
}
|
|
170
170
|
let body;
|
|
171
171
|
body = JSON.stringify({
|
|
172
|
-
...(input.messages
|
|
173
|
-
|
|
174
|
-
...(input.requestAttributes !== undefined &&
|
|
175
|
-
input.requestAttributes !== null && {
|
|
172
|
+
...(input.messages != null && { messages: serializeAws_restJson1Messages(input.messages, context) }),
|
|
173
|
+
...(input.requestAttributes != null && {
|
|
176
174
|
requestAttributes: serializeAws_restJson1StringMap(input.requestAttributes, context),
|
|
177
175
|
}),
|
|
178
|
-
...(input.sessionState
|
|
179
|
-
|
|
176
|
+
...(input.sessionState != null && {
|
|
177
|
+
sessionState: serializeAws_restJson1SessionState(input.sessionState, context),
|
|
178
|
+
}),
|
|
180
179
|
});
|
|
181
180
|
return new protocol_http_1.HttpRequest({
|
|
182
181
|
protocol,
|
|
@@ -238,13 +237,13 @@ const serializeAws_restJson1RecognizeTextCommand = async (input, context) => {
|
|
|
238
237
|
}
|
|
239
238
|
let body;
|
|
240
239
|
body = JSON.stringify({
|
|
241
|
-
...(input.requestAttributes
|
|
242
|
-
input.requestAttributes !== null && {
|
|
240
|
+
...(input.requestAttributes != null && {
|
|
243
241
|
requestAttributes: serializeAws_restJson1StringMap(input.requestAttributes, context),
|
|
244
242
|
}),
|
|
245
|
-
...(input.sessionState
|
|
246
|
-
|
|
247
|
-
|
|
243
|
+
...(input.sessionState != null && {
|
|
244
|
+
sessionState: serializeAws_restJson1SessionState(input.sessionState, context),
|
|
245
|
+
}),
|
|
246
|
+
...(input.text != null && { text: input.text }),
|
|
248
247
|
});
|
|
249
248
|
return new protocol_http_1.HttpRequest({
|
|
250
249
|
protocol,
|
|
@@ -1189,13 +1188,11 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
1189
1188
|
};
|
|
1190
1189
|
const serializeAws_restJson1ActiveContext = (input, context) => {
|
|
1191
1190
|
return {
|
|
1192
|
-
...(input.contextAttributes
|
|
1193
|
-
input.contextAttributes !== null && {
|
|
1191
|
+
...(input.contextAttributes != null && {
|
|
1194
1192
|
contextAttributes: serializeAws_restJson1ActiveContextParametersMap(input.contextAttributes, context),
|
|
1195
1193
|
}),
|
|
1196
|
-
...(input.name
|
|
1197
|
-
...(input.timeToLive
|
|
1198
|
-
input.timeToLive !== null && {
|
|
1194
|
+
...(input.name != null && { name: input.name }),
|
|
1195
|
+
...(input.timeToLive != null && {
|
|
1199
1196
|
timeToLive: serializeAws_restJson1ActiveContextTimeToLive(input.timeToLive, context),
|
|
1200
1197
|
}),
|
|
1201
1198
|
};
|
|
@@ -1223,25 +1220,22 @@ const serializeAws_restJson1ActiveContextsList = (input, context) => {
|
|
|
1223
1220
|
};
|
|
1224
1221
|
const serializeAws_restJson1ActiveContextTimeToLive = (input, context) => {
|
|
1225
1222
|
return {
|
|
1226
|
-
...(input.timeToLiveInSeconds
|
|
1227
|
-
|
|
1228
|
-
...(input.turnsToLive !== undefined && input.turnsToLive !== null && { turnsToLive: input.turnsToLive }),
|
|
1223
|
+
...(input.timeToLiveInSeconds != null && { timeToLiveInSeconds: input.timeToLiveInSeconds }),
|
|
1224
|
+
...(input.turnsToLive != null && { turnsToLive: input.turnsToLive }),
|
|
1229
1225
|
};
|
|
1230
1226
|
};
|
|
1231
1227
|
const serializeAws_restJson1AudioInputEvent = (input, context) => {
|
|
1232
1228
|
return {
|
|
1233
|
-
...(input.audioChunk
|
|
1234
|
-
|
|
1235
|
-
...(input.
|
|
1236
|
-
|
|
1237
|
-
...(input.contentType !== undefined && input.contentType !== null && { contentType: input.contentType }),
|
|
1238
|
-
...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }),
|
|
1229
|
+
...(input.audioChunk != null && { audioChunk: context.base64Encoder(input.audioChunk) }),
|
|
1230
|
+
...(input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis }),
|
|
1231
|
+
...(input.contentType != null && { contentType: input.contentType }),
|
|
1232
|
+
...(input.eventId != null && { eventId: input.eventId }),
|
|
1239
1233
|
};
|
|
1240
1234
|
};
|
|
1241
1235
|
const serializeAws_restJson1Button = (input, context) => {
|
|
1242
1236
|
return {
|
|
1243
|
-
...(input.text
|
|
1244
|
-
...(input.value
|
|
1237
|
+
...(input.text != null && { text: input.text }),
|
|
1238
|
+
...(input.value != null && { value: input.value }),
|
|
1245
1239
|
};
|
|
1246
1240
|
};
|
|
1247
1241
|
const serializeAws_restJson1ButtonsList = (input, context) => {
|
|
@@ -1256,74 +1250,62 @@ const serializeAws_restJson1ButtonsList = (input, context) => {
|
|
|
1256
1250
|
};
|
|
1257
1251
|
const serializeAws_restJson1ConfigurationEvent = (input, context) => {
|
|
1258
1252
|
return {
|
|
1259
|
-
...(input.clientTimestampMillis
|
|
1260
|
-
|
|
1261
|
-
...(input.
|
|
1262
|
-
|
|
1263
|
-
...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }),
|
|
1264
|
-
...(input.requestAttributes !== undefined &&
|
|
1265
|
-
input.requestAttributes !== null && {
|
|
1253
|
+
...(input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis }),
|
|
1254
|
+
...(input.disablePlayback != null && { disablePlayback: input.disablePlayback }),
|
|
1255
|
+
...(input.eventId != null && { eventId: input.eventId }),
|
|
1256
|
+
...(input.requestAttributes != null && {
|
|
1266
1257
|
requestAttributes: serializeAws_restJson1StringMap(input.requestAttributes, context),
|
|
1267
1258
|
}),
|
|
1268
|
-
...(input.responseContentType
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
...(input.welcomeMessages
|
|
1273
|
-
input.welcomeMessages !== null && {
|
|
1259
|
+
...(input.responseContentType != null && { responseContentType: input.responseContentType }),
|
|
1260
|
+
...(input.sessionState != null && {
|
|
1261
|
+
sessionState: serializeAws_restJson1SessionState(input.sessionState, context),
|
|
1262
|
+
}),
|
|
1263
|
+
...(input.welcomeMessages != null && {
|
|
1274
1264
|
welcomeMessages: serializeAws_restJson1Messages(input.welcomeMessages, context),
|
|
1275
1265
|
}),
|
|
1276
1266
|
};
|
|
1277
1267
|
};
|
|
1278
1268
|
const serializeAws_restJson1DialogAction = (input, context) => {
|
|
1279
1269
|
return {
|
|
1280
|
-
...(input.slotElicitationStyle
|
|
1281
|
-
|
|
1282
|
-
...(input.
|
|
1283
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
1270
|
+
...(input.slotElicitationStyle != null && { slotElicitationStyle: input.slotElicitationStyle }),
|
|
1271
|
+
...(input.slotToElicit != null && { slotToElicit: input.slotToElicit }),
|
|
1272
|
+
...(input.type != null && { type: input.type }),
|
|
1284
1273
|
};
|
|
1285
1274
|
};
|
|
1286
1275
|
const serializeAws_restJson1DisconnectionEvent = (input, context) => {
|
|
1287
1276
|
return {
|
|
1288
|
-
...(input.clientTimestampMillis
|
|
1289
|
-
|
|
1290
|
-
...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }),
|
|
1277
|
+
...(input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis }),
|
|
1278
|
+
...(input.eventId != null && { eventId: input.eventId }),
|
|
1291
1279
|
};
|
|
1292
1280
|
};
|
|
1293
1281
|
const serializeAws_restJson1DTMFInputEvent = (input, context) => {
|
|
1294
1282
|
return {
|
|
1295
|
-
...(input.clientTimestampMillis
|
|
1296
|
-
|
|
1297
|
-
...(input.
|
|
1298
|
-
...(input.inputCharacter !== undefined &&
|
|
1299
|
-
input.inputCharacter !== null && { inputCharacter: input.inputCharacter }),
|
|
1283
|
+
...(input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis }),
|
|
1284
|
+
...(input.eventId != null && { eventId: input.eventId }),
|
|
1285
|
+
...(input.inputCharacter != null && { inputCharacter: input.inputCharacter }),
|
|
1300
1286
|
};
|
|
1301
1287
|
};
|
|
1302
1288
|
const serializeAws_restJson1ImageResponseCard = (input, context) => {
|
|
1303
1289
|
return {
|
|
1304
|
-
...(input.buttons
|
|
1305
|
-
|
|
1306
|
-
...(input.
|
|
1307
|
-
...(input.
|
|
1308
|
-
...(input.title !== undefined && input.title !== null && { title: input.title }),
|
|
1290
|
+
...(input.buttons != null && { buttons: serializeAws_restJson1ButtonsList(input.buttons, context) }),
|
|
1291
|
+
...(input.imageUrl != null && { imageUrl: input.imageUrl }),
|
|
1292
|
+
...(input.subtitle != null && { subtitle: input.subtitle }),
|
|
1293
|
+
...(input.title != null && { title: input.title }),
|
|
1309
1294
|
};
|
|
1310
1295
|
};
|
|
1311
1296
|
const serializeAws_restJson1Intent = (input, context) => {
|
|
1312
1297
|
return {
|
|
1313
|
-
...(input.confirmationState
|
|
1314
|
-
|
|
1315
|
-
...(input.
|
|
1316
|
-
...(input.
|
|
1317
|
-
input.slots !== null && { slots: serializeAws_restJson1Slots(input.slots, context) }),
|
|
1318
|
-
...(input.state !== undefined && input.state !== null && { state: input.state }),
|
|
1298
|
+
...(input.confirmationState != null && { confirmationState: input.confirmationState }),
|
|
1299
|
+
...(input.name != null && { name: input.name }),
|
|
1300
|
+
...(input.slots != null && { slots: serializeAws_restJson1Slots(input.slots, context) }),
|
|
1301
|
+
...(input.state != null && { state: input.state }),
|
|
1319
1302
|
};
|
|
1320
1303
|
};
|
|
1321
1304
|
const serializeAws_restJson1Message = (input, context) => {
|
|
1322
1305
|
return {
|
|
1323
|
-
...(input.content
|
|
1324
|
-
...(input.contentType
|
|
1325
|
-
...(input.imageResponseCard
|
|
1326
|
-
input.imageResponseCard !== null && {
|
|
1306
|
+
...(input.content != null && { content: input.content }),
|
|
1307
|
+
...(input.contentType != null && { contentType: input.contentType }),
|
|
1308
|
+
...(input.imageResponseCard != null && {
|
|
1327
1309
|
imageResponseCard: serializeAws_restJson1ImageResponseCard(input.imageResponseCard, context),
|
|
1328
1310
|
}),
|
|
1329
1311
|
};
|
|
@@ -1340,28 +1322,25 @@ const serializeAws_restJson1Messages = (input, context) => {
|
|
|
1340
1322
|
};
|
|
1341
1323
|
const serializeAws_restJson1PlaybackCompletionEvent = (input, context) => {
|
|
1342
1324
|
return {
|
|
1343
|
-
...(input.clientTimestampMillis
|
|
1344
|
-
|
|
1345
|
-
...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }),
|
|
1325
|
+
...(input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis }),
|
|
1326
|
+
...(input.eventId != null && { eventId: input.eventId }),
|
|
1346
1327
|
};
|
|
1347
1328
|
};
|
|
1348
1329
|
const serializeAws_restJson1RuntimeHintDetails = (input, context) => {
|
|
1349
1330
|
return {
|
|
1350
|
-
...(input.runtimeHintValues
|
|
1351
|
-
input.runtimeHintValues !== null && {
|
|
1331
|
+
...(input.runtimeHintValues != null && {
|
|
1352
1332
|
runtimeHintValues: serializeAws_restJson1RuntimeHintValuesList(input.runtimeHintValues, context),
|
|
1353
1333
|
}),
|
|
1354
1334
|
};
|
|
1355
1335
|
};
|
|
1356
1336
|
const serializeAws_restJson1RuntimeHints = (input, context) => {
|
|
1357
1337
|
return {
|
|
1358
|
-
...(input.slotHints
|
|
1359
|
-
input.slotHints !== null && { slotHints: serializeAws_restJson1SlotHintsIntentMap(input.slotHints, context) }),
|
|
1338
|
+
...(input.slotHints != null && { slotHints: serializeAws_restJson1SlotHintsIntentMap(input.slotHints, context) }),
|
|
1360
1339
|
};
|
|
1361
1340
|
};
|
|
1362
1341
|
const serializeAws_restJson1RuntimeHintValue = (input, context) => {
|
|
1363
1342
|
return {
|
|
1364
|
-
...(input.phrase
|
|
1343
|
+
...(input.phrase != null && { phrase: input.phrase }),
|
|
1365
1344
|
};
|
|
1366
1345
|
};
|
|
1367
1346
|
const serializeAws_restJson1RuntimeHintValuesList = (input, context) => {
|
|
@@ -1376,31 +1355,27 @@ const serializeAws_restJson1RuntimeHintValuesList = (input, context) => {
|
|
|
1376
1355
|
};
|
|
1377
1356
|
const serializeAws_restJson1SessionState = (input, context) => {
|
|
1378
1357
|
return {
|
|
1379
|
-
...(input.activeContexts
|
|
1380
|
-
input.activeContexts !== null && {
|
|
1358
|
+
...(input.activeContexts != null && {
|
|
1381
1359
|
activeContexts: serializeAws_restJson1ActiveContextsList(input.activeContexts, context),
|
|
1382
1360
|
}),
|
|
1383
|
-
...(input.dialogAction
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
...(input.originatingRequestId
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
...(input.sessionAttributes
|
|
1392
|
-
input.sessionAttributes !== null && {
|
|
1361
|
+
...(input.dialogAction != null && {
|
|
1362
|
+
dialogAction: serializeAws_restJson1DialogAction(input.dialogAction, context),
|
|
1363
|
+
}),
|
|
1364
|
+
...(input.intent != null && { intent: serializeAws_restJson1Intent(input.intent, context) }),
|
|
1365
|
+
...(input.originatingRequestId != null && { originatingRequestId: input.originatingRequestId }),
|
|
1366
|
+
...(input.runtimeHints != null && {
|
|
1367
|
+
runtimeHints: serializeAws_restJson1RuntimeHints(input.runtimeHints, context),
|
|
1368
|
+
}),
|
|
1369
|
+
...(input.sessionAttributes != null && {
|
|
1393
1370
|
sessionAttributes: serializeAws_restJson1StringMap(input.sessionAttributes, context),
|
|
1394
1371
|
}),
|
|
1395
1372
|
};
|
|
1396
1373
|
};
|
|
1397
1374
|
const serializeAws_restJson1Slot = (input, context) => {
|
|
1398
1375
|
return {
|
|
1399
|
-
...(input.shape
|
|
1400
|
-
...(input.value
|
|
1401
|
-
|
|
1402
|
-
...(input.values !== undefined &&
|
|
1403
|
-
input.values !== null && { values: serializeAws_restJson1Values(input.values, context) }),
|
|
1376
|
+
...(input.shape != null && { shape: input.shape }),
|
|
1377
|
+
...(input.value != null && { value: serializeAws_restJson1Value(input.value, context) }),
|
|
1378
|
+
...(input.values != null && { values: serializeAws_restJson1Values(input.values, context) }),
|
|
1404
1379
|
};
|
|
1405
1380
|
};
|
|
1406
1381
|
const serializeAws_restJson1SlotHintsIntentMap = (input, context) => {
|
|
@@ -1472,19 +1447,16 @@ const serializeAws_restJson1StringMap = (input, context) => {
|
|
|
1472
1447
|
};
|
|
1473
1448
|
const serializeAws_restJson1TextInputEvent = (input, context) => {
|
|
1474
1449
|
return {
|
|
1475
|
-
...(input.clientTimestampMillis
|
|
1476
|
-
|
|
1477
|
-
...(input.
|
|
1478
|
-
...(input.text !== undefined && input.text !== null && { text: input.text }),
|
|
1450
|
+
...(input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis }),
|
|
1451
|
+
...(input.eventId != null && { eventId: input.eventId }),
|
|
1452
|
+
...(input.text != null && { text: input.text }),
|
|
1479
1453
|
};
|
|
1480
1454
|
};
|
|
1481
1455
|
const serializeAws_restJson1Value = (input, context) => {
|
|
1482
1456
|
return {
|
|
1483
|
-
...(input.interpretedValue
|
|
1484
|
-
|
|
1485
|
-
...(input.
|
|
1486
|
-
...(input.resolvedValues !== undefined &&
|
|
1487
|
-
input.resolvedValues !== null && {
|
|
1457
|
+
...(input.interpretedValue != null && { interpretedValue: input.interpretedValue }),
|
|
1458
|
+
...(input.originalValue != null && { originalValue: input.originalValue }),
|
|
1459
|
+
...(input.resolvedValues != null && {
|
|
1488
1460
|
resolvedValues: serializeAws_restJson1StringList(input.resolvedValues, context),
|
|
1489
1461
|
}),
|
|
1490
1462
|
};
|
|
@@ -1506,11 +1478,11 @@ const deserializeAws_restJson1AccessDeniedException = (output, context) => {
|
|
|
1506
1478
|
};
|
|
1507
1479
|
const deserializeAws_restJson1ActiveContext = (output, context) => {
|
|
1508
1480
|
return {
|
|
1509
|
-
contextAttributes: output.contextAttributes
|
|
1481
|
+
contextAttributes: output.contextAttributes != null
|
|
1510
1482
|
? deserializeAws_restJson1ActiveContextParametersMap(output.contextAttributes, context)
|
|
1511
1483
|
: undefined,
|
|
1512
1484
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1513
|
-
timeToLive: output.timeToLive
|
|
1485
|
+
timeToLive: output.timeToLive != null
|
|
1514
1486
|
? deserializeAws_restJson1ActiveContextTimeToLive(output.timeToLive, context)
|
|
1515
1487
|
: undefined,
|
|
1516
1488
|
};
|
|
@@ -1545,9 +1517,7 @@ const deserializeAws_restJson1ActiveContextTimeToLive = (output, context) => {
|
|
|
1545
1517
|
};
|
|
1546
1518
|
const deserializeAws_restJson1AudioResponseEvent = (output, context) => {
|
|
1547
1519
|
return {
|
|
1548
|
-
audioChunk: output.audioChunk
|
|
1549
|
-
? context.base64Decoder(output.audioChunk)
|
|
1550
|
-
: undefined,
|
|
1520
|
+
audioChunk: output.audioChunk != null ? context.base64Decoder(output.audioChunk) : undefined,
|
|
1551
1521
|
contentType: (0, smithy_client_1.expectString)(output.contentType),
|
|
1552
1522
|
eventId: (0, smithy_client_1.expectString)(output.eventId),
|
|
1553
1523
|
};
|
|
@@ -1603,9 +1573,7 @@ const deserializeAws_restJson1HeartbeatEvent = (output, context) => {
|
|
|
1603
1573
|
};
|
|
1604
1574
|
const deserializeAws_restJson1ImageResponseCard = (output, context) => {
|
|
1605
1575
|
return {
|
|
1606
|
-
buttons: output.buttons
|
|
1607
|
-
? deserializeAws_restJson1ButtonsList(output.buttons, context)
|
|
1608
|
-
: undefined,
|
|
1576
|
+
buttons: output.buttons != null ? deserializeAws_restJson1ButtonsList(output.buttons, context) : undefined,
|
|
1609
1577
|
imageUrl: (0, smithy_client_1.expectString)(output.imageUrl),
|
|
1610
1578
|
subtitle: (0, smithy_client_1.expectString)(output.subtitle),
|
|
1611
1579
|
title: (0, smithy_client_1.expectString)(output.title),
|
|
@@ -1615,9 +1583,7 @@ const deserializeAws_restJson1Intent = (output, context) => {
|
|
|
1615
1583
|
return {
|
|
1616
1584
|
confirmationState: (0, smithy_client_1.expectString)(output.confirmationState),
|
|
1617
1585
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
1618
|
-
slots: output.slots
|
|
1619
|
-
? deserializeAws_restJson1Slots(output.slots, context)
|
|
1620
|
-
: undefined,
|
|
1586
|
+
slots: output.slots != null ? deserializeAws_restJson1Slots(output.slots, context) : undefined,
|
|
1621
1587
|
state: (0, smithy_client_1.expectString)(output.state),
|
|
1622
1588
|
};
|
|
1623
1589
|
};
|
|
@@ -1625,16 +1591,14 @@ const deserializeAws_restJson1IntentResultEvent = (output, context) => {
|
|
|
1625
1591
|
return {
|
|
1626
1592
|
eventId: (0, smithy_client_1.expectString)(output.eventId),
|
|
1627
1593
|
inputMode: (0, smithy_client_1.expectString)(output.inputMode),
|
|
1628
|
-
interpretations: output.interpretations
|
|
1594
|
+
interpretations: output.interpretations != null
|
|
1629
1595
|
? deserializeAws_restJson1Interpretations(output.interpretations, context)
|
|
1630
1596
|
: undefined,
|
|
1631
|
-
requestAttributes: output.requestAttributes
|
|
1597
|
+
requestAttributes: output.requestAttributes != null
|
|
1632
1598
|
? deserializeAws_restJson1StringMap(output.requestAttributes, context)
|
|
1633
1599
|
: undefined,
|
|
1634
1600
|
sessionId: (0, smithy_client_1.expectString)(output.sessionId),
|
|
1635
|
-
sessionState: output.sessionState
|
|
1636
|
-
? deserializeAws_restJson1SessionState(output.sessionState, context)
|
|
1637
|
-
: undefined,
|
|
1601
|
+
sessionState: output.sessionState != null ? deserializeAws_restJson1SessionState(output.sessionState, context) : undefined,
|
|
1638
1602
|
};
|
|
1639
1603
|
};
|
|
1640
1604
|
const deserializeAws_restJson1InternalServerException = (output, context) => {
|
|
@@ -1644,13 +1608,9 @@ const deserializeAws_restJson1InternalServerException = (output, context) => {
|
|
|
1644
1608
|
};
|
|
1645
1609
|
const deserializeAws_restJson1Interpretation = (output, context) => {
|
|
1646
1610
|
return {
|
|
1647
|
-
intent: output.intent
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
nluConfidence: output.nluConfidence !== undefined && output.nluConfidence !== null
|
|
1651
|
-
? deserializeAws_restJson1ConfidenceScore(output.nluConfidence, context)
|
|
1652
|
-
: undefined,
|
|
1653
|
-
sentimentResponse: output.sentimentResponse !== undefined && output.sentimentResponse !== null
|
|
1611
|
+
intent: output.intent != null ? deserializeAws_restJson1Intent(output.intent, context) : undefined,
|
|
1612
|
+
nluConfidence: output.nluConfidence != null ? deserializeAws_restJson1ConfidenceScore(output.nluConfidence, context) : undefined,
|
|
1613
|
+
sentimentResponse: output.sentimentResponse != null
|
|
1654
1614
|
? deserializeAws_restJson1SentimentResponse(output.sentimentResponse, context)
|
|
1655
1615
|
: undefined,
|
|
1656
1616
|
};
|
|
@@ -1670,7 +1630,7 @@ const deserializeAws_restJson1Message = (output, context) => {
|
|
|
1670
1630
|
return {
|
|
1671
1631
|
content: (0, smithy_client_1.expectString)(output.content),
|
|
1672
1632
|
contentType: (0, smithy_client_1.expectString)(output.contentType),
|
|
1673
|
-
imageResponseCard: output.imageResponseCard
|
|
1633
|
+
imageResponseCard: output.imageResponseCard != null
|
|
1674
1634
|
? deserializeAws_restJson1ImageResponseCard(output.imageResponseCard, context)
|
|
1675
1635
|
: undefined,
|
|
1676
1636
|
};
|
|
@@ -1700,16 +1660,14 @@ const deserializeAws_restJson1ResourceNotFoundException = (output, context) => {
|
|
|
1700
1660
|
};
|
|
1701
1661
|
const deserializeAws_restJson1RuntimeHintDetails = (output, context) => {
|
|
1702
1662
|
return {
|
|
1703
|
-
runtimeHintValues: output.runtimeHintValues
|
|
1663
|
+
runtimeHintValues: output.runtimeHintValues != null
|
|
1704
1664
|
? deserializeAws_restJson1RuntimeHintValuesList(output.runtimeHintValues, context)
|
|
1705
1665
|
: undefined,
|
|
1706
1666
|
};
|
|
1707
1667
|
};
|
|
1708
1668
|
const deserializeAws_restJson1RuntimeHints = (output, context) => {
|
|
1709
1669
|
return {
|
|
1710
|
-
slotHints: output.slotHints
|
|
1711
|
-
? deserializeAws_restJson1SlotHintsIntentMap(output.slotHints, context)
|
|
1712
|
-
: undefined,
|
|
1670
|
+
slotHints: output.slotHints != null ? deserializeAws_restJson1SlotHintsIntentMap(output.slotHints, context) : undefined,
|
|
1713
1671
|
};
|
|
1714
1672
|
};
|
|
1715
1673
|
const deserializeAws_restJson1RuntimeHintValue = (output, context) => {
|
|
@@ -1731,7 +1689,7 @@ const deserializeAws_restJson1RuntimeHintValuesList = (output, context) => {
|
|
|
1731
1689
|
const deserializeAws_restJson1SentimentResponse = (output, context) => {
|
|
1732
1690
|
return {
|
|
1733
1691
|
sentiment: (0, smithy_client_1.expectString)(output.sentiment),
|
|
1734
|
-
sentimentScore: output.sentimentScore
|
|
1692
|
+
sentimentScore: output.sentimentScore != null
|
|
1735
1693
|
? deserializeAws_restJson1SentimentScore(output.sentimentScore, context)
|
|
1736
1694
|
: undefined,
|
|
1737
1695
|
};
|
|
@@ -1746,20 +1704,14 @@ const deserializeAws_restJson1SentimentScore = (output, context) => {
|
|
|
1746
1704
|
};
|
|
1747
1705
|
const deserializeAws_restJson1SessionState = (output, context) => {
|
|
1748
1706
|
return {
|
|
1749
|
-
activeContexts: output.activeContexts
|
|
1707
|
+
activeContexts: output.activeContexts != null
|
|
1750
1708
|
? deserializeAws_restJson1ActiveContextsList(output.activeContexts, context)
|
|
1751
1709
|
: undefined,
|
|
1752
|
-
dialogAction: output.dialogAction
|
|
1753
|
-
|
|
1754
|
-
: undefined,
|
|
1755
|
-
intent: output.intent !== undefined && output.intent !== null
|
|
1756
|
-
? deserializeAws_restJson1Intent(output.intent, context)
|
|
1757
|
-
: undefined,
|
|
1710
|
+
dialogAction: output.dialogAction != null ? deserializeAws_restJson1DialogAction(output.dialogAction, context) : undefined,
|
|
1711
|
+
intent: output.intent != null ? deserializeAws_restJson1Intent(output.intent, context) : undefined,
|
|
1758
1712
|
originatingRequestId: (0, smithy_client_1.expectString)(output.originatingRequestId),
|
|
1759
|
-
runtimeHints: output.runtimeHints
|
|
1760
|
-
|
|
1761
|
-
: undefined,
|
|
1762
|
-
sessionAttributes: output.sessionAttributes !== undefined && output.sessionAttributes !== null
|
|
1713
|
+
runtimeHints: output.runtimeHints != null ? deserializeAws_restJson1RuntimeHints(output.runtimeHints, context) : undefined,
|
|
1714
|
+
sessionAttributes: output.sessionAttributes != null
|
|
1763
1715
|
? deserializeAws_restJson1StringMap(output.sessionAttributes, context)
|
|
1764
1716
|
: undefined,
|
|
1765
1717
|
};
|
|
@@ -1767,12 +1719,8 @@ const deserializeAws_restJson1SessionState = (output, context) => {
|
|
|
1767
1719
|
const deserializeAws_restJson1Slot = (output, context) => {
|
|
1768
1720
|
return {
|
|
1769
1721
|
shape: (0, smithy_client_1.expectString)(output.shape),
|
|
1770
|
-
value: output.value
|
|
1771
|
-
|
|
1772
|
-
: undefined,
|
|
1773
|
-
values: output.values !== undefined && output.values !== null
|
|
1774
|
-
? deserializeAws_restJson1Values(output.values, context)
|
|
1775
|
-
: undefined,
|
|
1722
|
+
value: output.value != null ? deserializeAws_restJson1Value(output.value, context) : undefined,
|
|
1723
|
+
values: output.values != null ? deserializeAws_restJson1Values(output.values, context) : undefined,
|
|
1776
1724
|
};
|
|
1777
1725
|
};
|
|
1778
1726
|
const deserializeAws_restJson1SlotHintsIntentMap = (output, context) => {
|
|
@@ -1906,9 +1854,7 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
1906
1854
|
const deserializeAws_restJson1TextResponseEvent = (output, context) => {
|
|
1907
1855
|
return {
|
|
1908
1856
|
eventId: (0, smithy_client_1.expectString)(output.eventId),
|
|
1909
|
-
messages: output.messages
|
|
1910
|
-
? deserializeAws_restJson1Messages(output.messages, context)
|
|
1911
|
-
: undefined,
|
|
1857
|
+
messages: output.messages != null ? deserializeAws_restJson1Messages(output.messages, context) : undefined,
|
|
1912
1858
|
};
|
|
1913
1859
|
};
|
|
1914
1860
|
const deserializeAws_restJson1ThrottlingException = (output, context) => {
|
|
@@ -1931,9 +1877,7 @@ const deserializeAws_restJson1Value = (output, context) => {
|
|
|
1931
1877
|
return {
|
|
1932
1878
|
interpretedValue: (0, smithy_client_1.expectString)(output.interpretedValue),
|
|
1933
1879
|
originalValue: (0, smithy_client_1.expectString)(output.originalValue),
|
|
1934
|
-
resolvedValues: output.resolvedValues
|
|
1935
|
-
? deserializeAws_restJson1StringList(output.resolvedValues, context)
|
|
1936
|
-
: undefined,
|
|
1880
|
+
resolvedValues: output.resolvedValues != null ? deserializeAws_restJson1StringList(output.resolvedValues, context) : undefined,
|
|
1937
1881
|
};
|
|
1938
1882
|
};
|
|
1939
1883
|
const deserializeAws_restJson1Values = (output, context) => {
|
|
@@ -1978,6 +1922,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1978
1922
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1979
1923
|
const sanitizeErrorCode = (rawValue) => {
|
|
1980
1924
|
let cleanValue = rawValue;
|
|
1925
|
+
if (typeof cleanValue === "number") {
|
|
1926
|
+
cleanValue = cleanValue.toString();
|
|
1927
|
+
}
|
|
1981
1928
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1982
1929
|
cleanValue = cleanValue.split(":")[0];
|
|
1983
1930
|
}
|
|
@@ -177,12 +177,11 @@ export var serializeAws_restJson1PutSessionCommand = function (input, context) {
|
|
|
177
177
|
else {
|
|
178
178
|
throw new Error("No value provided for input HTTP label: sessionId.");
|
|
179
179
|
}
|
|
180
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.messages
|
|
181
|
-
input.messages !== null && { messages: serializeAws_restJson1Messages(input.messages, context) })), (input.requestAttributes !== undefined &&
|
|
182
|
-
input.requestAttributes !== null && {
|
|
180
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.messages != null && { messages: serializeAws_restJson1Messages(input.messages, context) })), (input.requestAttributes != null && {
|
|
183
181
|
requestAttributes: serializeAws_restJson1StringMap(input.requestAttributes, context),
|
|
184
|
-
})), (input.sessionState
|
|
185
|
-
|
|
182
|
+
})), (input.sessionState != null && {
|
|
183
|
+
sessionState: serializeAws_restJson1SessionState(input.sessionState, context),
|
|
184
|
+
})));
|
|
186
185
|
return [2, new __HttpRequest({
|
|
187
186
|
protocol: protocol,
|
|
188
187
|
hostname: hostname,
|
|
@@ -247,11 +246,11 @@ export var serializeAws_restJson1RecognizeTextCommand = function (input, context
|
|
|
247
246
|
else {
|
|
248
247
|
throw new Error("No value provided for input HTTP label: sessionId.");
|
|
249
248
|
}
|
|
250
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.requestAttributes
|
|
251
|
-
input.requestAttributes !== null && {
|
|
249
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.requestAttributes != null && {
|
|
252
250
|
requestAttributes: serializeAws_restJson1StringMap(input.requestAttributes, context),
|
|
253
|
-
})), (input.sessionState
|
|
254
|
-
|
|
251
|
+
})), (input.sessionState != null && {
|
|
252
|
+
sessionState: serializeAws_restJson1SessionState(input.sessionState, context),
|
|
253
|
+
})), (input.text != null && { text: input.text })));
|
|
255
254
|
return [2, new __HttpRequest({
|
|
256
255
|
protocol: protocol,
|
|
257
256
|
hostname: hostname,
|
|
@@ -1445,11 +1444,9 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
|
|
|
1445
1444
|
});
|
|
1446
1445
|
}); };
|
|
1447
1446
|
var serializeAws_restJson1ActiveContext = function (input, context) {
|
|
1448
|
-
return __assign(__assign(__assign({}, (input.contextAttributes
|
|
1449
|
-
input.contextAttributes !== null && {
|
|
1447
|
+
return __assign(__assign(__assign({}, (input.contextAttributes != null && {
|
|
1450
1448
|
contextAttributes: serializeAws_restJson1ActiveContextParametersMap(input.contextAttributes, context),
|
|
1451
|
-
})), (input.name
|
|
1452
|
-
input.timeToLive !== null && {
|
|
1449
|
+
})), (input.name != null && { name: input.name })), (input.timeToLive != null && {
|
|
1453
1450
|
timeToLive: serializeAws_restJson1ActiveContextTimeToLive(input.timeToLive, context),
|
|
1454
1451
|
}));
|
|
1455
1452
|
};
|
|
@@ -1474,16 +1471,13 @@ var serializeAws_restJson1ActiveContextsList = function (input, context) {
|
|
|
1474
1471
|
});
|
|
1475
1472
|
};
|
|
1476
1473
|
var serializeAws_restJson1ActiveContextTimeToLive = function (input, context) {
|
|
1477
|
-
return __assign(__assign({}, (input.timeToLiveInSeconds
|
|
1478
|
-
input.timeToLiveInSeconds !== null && { timeToLiveInSeconds: input.timeToLiveInSeconds })), (input.turnsToLive !== undefined && input.turnsToLive !== null && { turnsToLive: input.turnsToLive }));
|
|
1474
|
+
return __assign(__assign({}, (input.timeToLiveInSeconds != null && { timeToLiveInSeconds: input.timeToLiveInSeconds })), (input.turnsToLive != null && { turnsToLive: input.turnsToLive }));
|
|
1479
1475
|
};
|
|
1480
1476
|
var serializeAws_restJson1AudioInputEvent = function (input, context) {
|
|
1481
|
-
return __assign(__assign(__assign(__assign({}, (input.audioChunk
|
|
1482
|
-
input.audioChunk !== null && { audioChunk: context.base64Encoder(input.audioChunk) })), (input.clientTimestampMillis !== undefined &&
|
|
1483
|
-
input.clientTimestampMillis !== null && { clientTimestampMillis: input.clientTimestampMillis })), (input.contentType !== undefined && input.contentType !== null && { contentType: input.contentType })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }));
|
|
1477
|
+
return __assign(__assign(__assign(__assign({}, (input.audioChunk != null && { audioChunk: context.base64Encoder(input.audioChunk) })), (input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis })), (input.contentType != null && { contentType: input.contentType })), (input.eventId != null && { eventId: input.eventId }));
|
|
1484
1478
|
};
|
|
1485
1479
|
var serializeAws_restJson1Button = function (input, context) {
|
|
1486
|
-
return __assign(__assign({}, (input.text
|
|
1480
|
+
return __assign(__assign({}, (input.text != null && { text: input.text })), (input.value != null && { value: input.value }));
|
|
1487
1481
|
};
|
|
1488
1482
|
var serializeAws_restJson1ButtonsList = function (input, context) {
|
|
1489
1483
|
return input
|
|
@@ -1496,43 +1490,31 @@ var serializeAws_restJson1ButtonsList = function (input, context) {
|
|
|
1496
1490
|
});
|
|
1497
1491
|
};
|
|
1498
1492
|
var serializeAws_restJson1ConfigurationEvent = function (input, context) {
|
|
1499
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.clientTimestampMillis
|
|
1500
|
-
input.clientTimestampMillis !== null && { clientTimestampMillis: input.clientTimestampMillis })), (input.disablePlayback !== undefined &&
|
|
1501
|
-
input.disablePlayback !== null && { disablePlayback: input.disablePlayback })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId })), (input.requestAttributes !== undefined &&
|
|
1502
|
-
input.requestAttributes !== null && {
|
|
1493
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis })), (input.disablePlayback != null && { disablePlayback: input.disablePlayback })), (input.eventId != null && { eventId: input.eventId })), (input.requestAttributes != null && {
|
|
1503
1494
|
requestAttributes: serializeAws_restJson1StringMap(input.requestAttributes, context),
|
|
1504
|
-
})), (input.responseContentType
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
input.welcomeMessages !== null && {
|
|
1495
|
+
})), (input.responseContentType != null && { responseContentType: input.responseContentType })), (input.sessionState != null && {
|
|
1496
|
+
sessionState: serializeAws_restJson1SessionState(input.sessionState, context),
|
|
1497
|
+
})), (input.welcomeMessages != null && {
|
|
1508
1498
|
welcomeMessages: serializeAws_restJson1Messages(input.welcomeMessages, context),
|
|
1509
1499
|
}));
|
|
1510
1500
|
};
|
|
1511
1501
|
var serializeAws_restJson1DialogAction = function (input, context) {
|
|
1512
|
-
return __assign(__assign(__assign({}, (input.slotElicitationStyle
|
|
1513
|
-
input.slotElicitationStyle !== null && { slotElicitationStyle: input.slotElicitationStyle })), (input.slotToElicit !== undefined && input.slotToElicit !== null && { slotToElicit: input.slotToElicit })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
1502
|
+
return __assign(__assign(__assign({}, (input.slotElicitationStyle != null && { slotElicitationStyle: input.slotElicitationStyle })), (input.slotToElicit != null && { slotToElicit: input.slotToElicit })), (input.type != null && { type: input.type }));
|
|
1514
1503
|
};
|
|
1515
1504
|
var serializeAws_restJson1DisconnectionEvent = function (input, context) {
|
|
1516
|
-
return __assign(__assign({}, (input.clientTimestampMillis
|
|
1517
|
-
input.clientTimestampMillis !== null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }));
|
|
1505
|
+
return __assign(__assign({}, (input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId != null && { eventId: input.eventId }));
|
|
1518
1506
|
};
|
|
1519
1507
|
var serializeAws_restJson1DTMFInputEvent = function (input, context) {
|
|
1520
|
-
return __assign(__assign(__assign({}, (input.clientTimestampMillis
|
|
1521
|
-
input.clientTimestampMillis !== null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId })), (input.inputCharacter !== undefined &&
|
|
1522
|
-
input.inputCharacter !== null && { inputCharacter: input.inputCharacter }));
|
|
1508
|
+
return __assign(__assign(__assign({}, (input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId != null && { eventId: input.eventId })), (input.inputCharacter != null && { inputCharacter: input.inputCharacter }));
|
|
1523
1509
|
};
|
|
1524
1510
|
var serializeAws_restJson1ImageResponseCard = function (input, context) {
|
|
1525
|
-
return __assign(__assign(__assign(__assign({}, (input.buttons
|
|
1526
|
-
input.buttons !== null && { buttons: serializeAws_restJson1ButtonsList(input.buttons, context) })), (input.imageUrl !== undefined && input.imageUrl !== null && { imageUrl: input.imageUrl })), (input.subtitle !== undefined && input.subtitle !== null && { subtitle: input.subtitle })), (input.title !== undefined && input.title !== null && { title: input.title }));
|
|
1511
|
+
return __assign(__assign(__assign(__assign({}, (input.buttons != null && { buttons: serializeAws_restJson1ButtonsList(input.buttons, context) })), (input.imageUrl != null && { imageUrl: input.imageUrl })), (input.subtitle != null && { subtitle: input.subtitle })), (input.title != null && { title: input.title }));
|
|
1527
1512
|
};
|
|
1528
1513
|
var serializeAws_restJson1Intent = function (input, context) {
|
|
1529
|
-
return __assign(__assign(__assign(__assign({}, (input.confirmationState
|
|
1530
|
-
input.confirmationState !== null && { confirmationState: input.confirmationState })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.slots !== undefined &&
|
|
1531
|
-
input.slots !== null && { slots: serializeAws_restJson1Slots(input.slots, context) })), (input.state !== undefined && input.state !== null && { state: input.state }));
|
|
1514
|
+
return __assign(__assign(__assign(__assign({}, (input.confirmationState != null && { confirmationState: input.confirmationState })), (input.name != null && { name: input.name })), (input.slots != null && { slots: serializeAws_restJson1Slots(input.slots, context) })), (input.state != null && { state: input.state }));
|
|
1532
1515
|
};
|
|
1533
1516
|
var serializeAws_restJson1Message = function (input, context) {
|
|
1534
|
-
return __assign(__assign(__assign({}, (input.content
|
|
1535
|
-
input.imageResponseCard !== null && {
|
|
1517
|
+
return __assign(__assign(__assign({}, (input.content != null && { content: input.content })), (input.contentType != null && { contentType: input.contentType })), (input.imageResponseCard != null && {
|
|
1536
1518
|
imageResponseCard: serializeAws_restJson1ImageResponseCard(input.imageResponseCard, context),
|
|
1537
1519
|
}));
|
|
1538
1520
|
};
|
|
@@ -1547,21 +1529,18 @@ var serializeAws_restJson1Messages = function (input, context) {
|
|
|
1547
1529
|
});
|
|
1548
1530
|
};
|
|
1549
1531
|
var serializeAws_restJson1PlaybackCompletionEvent = function (input, context) {
|
|
1550
|
-
return __assign(__assign({}, (input.clientTimestampMillis
|
|
1551
|
-
input.clientTimestampMillis !== null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }));
|
|
1532
|
+
return __assign(__assign({}, (input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId != null && { eventId: input.eventId }));
|
|
1552
1533
|
};
|
|
1553
1534
|
var serializeAws_restJson1RuntimeHintDetails = function (input, context) {
|
|
1554
|
-
return __assign({}, (input.runtimeHintValues
|
|
1555
|
-
input.runtimeHintValues !== null && {
|
|
1535
|
+
return __assign({}, (input.runtimeHintValues != null && {
|
|
1556
1536
|
runtimeHintValues: serializeAws_restJson1RuntimeHintValuesList(input.runtimeHintValues, context),
|
|
1557
1537
|
}));
|
|
1558
1538
|
};
|
|
1559
1539
|
var serializeAws_restJson1RuntimeHints = function (input, context) {
|
|
1560
|
-
return __assign({}, (input.slotHints
|
|
1561
|
-
input.slotHints !== null && { slotHints: serializeAws_restJson1SlotHintsIntentMap(input.slotHints, context) }));
|
|
1540
|
+
return __assign({}, (input.slotHints != null && { slotHints: serializeAws_restJson1SlotHintsIntentMap(input.slotHints, context) }));
|
|
1562
1541
|
};
|
|
1563
1542
|
var serializeAws_restJson1RuntimeHintValue = function (input, context) {
|
|
1564
|
-
return __assign({}, (input.phrase
|
|
1543
|
+
return __assign({}, (input.phrase != null && { phrase: input.phrase }));
|
|
1565
1544
|
};
|
|
1566
1545
|
var serializeAws_restJson1RuntimeHintValuesList = function (input, context) {
|
|
1567
1546
|
return input
|
|
@@ -1574,22 +1553,18 @@ var serializeAws_restJson1RuntimeHintValuesList = function (input, context) {
|
|
|
1574
1553
|
});
|
|
1575
1554
|
};
|
|
1576
1555
|
var serializeAws_restJson1SessionState = function (input, context) {
|
|
1577
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.activeContexts
|
|
1578
|
-
input.activeContexts !== null && {
|
|
1556
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.activeContexts != null && {
|
|
1579
1557
|
activeContexts: serializeAws_restJson1ActiveContextsList(input.activeContexts, context),
|
|
1580
|
-
})), (input.dialogAction
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
input.sessionAttributes !== null && {
|
|
1558
|
+
})), (input.dialogAction != null && {
|
|
1559
|
+
dialogAction: serializeAws_restJson1DialogAction(input.dialogAction, context),
|
|
1560
|
+
})), (input.intent != null && { intent: serializeAws_restJson1Intent(input.intent, context) })), (input.originatingRequestId != null && { originatingRequestId: input.originatingRequestId })), (input.runtimeHints != null && {
|
|
1561
|
+
runtimeHints: serializeAws_restJson1RuntimeHints(input.runtimeHints, context),
|
|
1562
|
+
})), (input.sessionAttributes != null && {
|
|
1586
1563
|
sessionAttributes: serializeAws_restJson1StringMap(input.sessionAttributes, context),
|
|
1587
1564
|
}));
|
|
1588
1565
|
};
|
|
1589
1566
|
var serializeAws_restJson1Slot = function (input, context) {
|
|
1590
|
-
return __assign(__assign(__assign({}, (input.shape
|
|
1591
|
-
input.value !== null && { value: serializeAws_restJson1Value(input.value, context) })), (input.values !== undefined &&
|
|
1592
|
-
input.values !== null && { values: serializeAws_restJson1Values(input.values, context) }));
|
|
1567
|
+
return __assign(__assign(__assign({}, (input.shape != null && { shape: input.shape })), (input.value != null && { value: serializeAws_restJson1Value(input.value, context) })), (input.values != null && { values: serializeAws_restJson1Values(input.values, context) }));
|
|
1593
1568
|
};
|
|
1594
1569
|
var serializeAws_restJson1SlotHintsIntentMap = function (input, context) {
|
|
1595
1570
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -1655,13 +1630,10 @@ var serializeAws_restJson1StringMap = function (input, context) {
|
|
|
1655
1630
|
}, {});
|
|
1656
1631
|
};
|
|
1657
1632
|
var serializeAws_restJson1TextInputEvent = function (input, context) {
|
|
1658
|
-
return __assign(__assign(__assign({}, (input.clientTimestampMillis
|
|
1659
|
-
input.clientTimestampMillis !== null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId })), (input.text !== undefined && input.text !== null && { text: input.text }));
|
|
1633
|
+
return __assign(__assign(__assign({}, (input.clientTimestampMillis != null && { clientTimestampMillis: input.clientTimestampMillis })), (input.eventId != null && { eventId: input.eventId })), (input.text != null && { text: input.text }));
|
|
1660
1634
|
};
|
|
1661
1635
|
var serializeAws_restJson1Value = function (input, context) {
|
|
1662
|
-
return __assign(__assign(__assign({}, (input.interpretedValue
|
|
1663
|
-
input.interpretedValue !== null && { interpretedValue: input.interpretedValue })), (input.originalValue !== undefined && input.originalValue !== null && { originalValue: input.originalValue })), (input.resolvedValues !== undefined &&
|
|
1664
|
-
input.resolvedValues !== null && {
|
|
1636
|
+
return __assign(__assign(__assign({}, (input.interpretedValue != null && { interpretedValue: input.interpretedValue })), (input.originalValue != null && { originalValue: input.originalValue })), (input.resolvedValues != null && {
|
|
1665
1637
|
resolvedValues: serializeAws_restJson1StringList(input.resolvedValues, context),
|
|
1666
1638
|
}));
|
|
1667
1639
|
};
|
|
@@ -1682,11 +1654,11 @@ var deserializeAws_restJson1AccessDeniedException = function (output, context) {
|
|
|
1682
1654
|
};
|
|
1683
1655
|
var deserializeAws_restJson1ActiveContext = function (output, context) {
|
|
1684
1656
|
return {
|
|
1685
|
-
contextAttributes: output.contextAttributes
|
|
1657
|
+
contextAttributes: output.contextAttributes != null
|
|
1686
1658
|
? deserializeAws_restJson1ActiveContextParametersMap(output.contextAttributes, context)
|
|
1687
1659
|
: undefined,
|
|
1688
1660
|
name: __expectString(output.name),
|
|
1689
|
-
timeToLive: output.timeToLive
|
|
1661
|
+
timeToLive: output.timeToLive != null
|
|
1690
1662
|
? deserializeAws_restJson1ActiveContextTimeToLive(output.timeToLive, context)
|
|
1691
1663
|
: undefined,
|
|
1692
1664
|
};
|
|
@@ -1720,9 +1692,7 @@ var deserializeAws_restJson1ActiveContextTimeToLive = function (output, context)
|
|
|
1720
1692
|
};
|
|
1721
1693
|
var deserializeAws_restJson1AudioResponseEvent = function (output, context) {
|
|
1722
1694
|
return {
|
|
1723
|
-
audioChunk: output.audioChunk
|
|
1724
|
-
? context.base64Decoder(output.audioChunk)
|
|
1725
|
-
: undefined,
|
|
1695
|
+
audioChunk: output.audioChunk != null ? context.base64Decoder(output.audioChunk) : undefined,
|
|
1726
1696
|
contentType: __expectString(output.contentType),
|
|
1727
1697
|
eventId: __expectString(output.eventId),
|
|
1728
1698
|
};
|
|
@@ -1778,9 +1748,7 @@ var deserializeAws_restJson1HeartbeatEvent = function (output, context) {
|
|
|
1778
1748
|
};
|
|
1779
1749
|
var deserializeAws_restJson1ImageResponseCard = function (output, context) {
|
|
1780
1750
|
return {
|
|
1781
|
-
buttons: output.buttons
|
|
1782
|
-
? deserializeAws_restJson1ButtonsList(output.buttons, context)
|
|
1783
|
-
: undefined,
|
|
1751
|
+
buttons: output.buttons != null ? deserializeAws_restJson1ButtonsList(output.buttons, context) : undefined,
|
|
1784
1752
|
imageUrl: __expectString(output.imageUrl),
|
|
1785
1753
|
subtitle: __expectString(output.subtitle),
|
|
1786
1754
|
title: __expectString(output.title),
|
|
@@ -1790,9 +1758,7 @@ var deserializeAws_restJson1Intent = function (output, context) {
|
|
|
1790
1758
|
return {
|
|
1791
1759
|
confirmationState: __expectString(output.confirmationState),
|
|
1792
1760
|
name: __expectString(output.name),
|
|
1793
|
-
slots: output.slots
|
|
1794
|
-
? deserializeAws_restJson1Slots(output.slots, context)
|
|
1795
|
-
: undefined,
|
|
1761
|
+
slots: output.slots != null ? deserializeAws_restJson1Slots(output.slots, context) : undefined,
|
|
1796
1762
|
state: __expectString(output.state),
|
|
1797
1763
|
};
|
|
1798
1764
|
};
|
|
@@ -1800,16 +1766,14 @@ var deserializeAws_restJson1IntentResultEvent = function (output, context) {
|
|
|
1800
1766
|
return {
|
|
1801
1767
|
eventId: __expectString(output.eventId),
|
|
1802
1768
|
inputMode: __expectString(output.inputMode),
|
|
1803
|
-
interpretations: output.interpretations
|
|
1769
|
+
interpretations: output.interpretations != null
|
|
1804
1770
|
? deserializeAws_restJson1Interpretations(output.interpretations, context)
|
|
1805
1771
|
: undefined,
|
|
1806
|
-
requestAttributes: output.requestAttributes
|
|
1772
|
+
requestAttributes: output.requestAttributes != null
|
|
1807
1773
|
? deserializeAws_restJson1StringMap(output.requestAttributes, context)
|
|
1808
1774
|
: undefined,
|
|
1809
1775
|
sessionId: __expectString(output.sessionId),
|
|
1810
|
-
sessionState: output.sessionState
|
|
1811
|
-
? deserializeAws_restJson1SessionState(output.sessionState, context)
|
|
1812
|
-
: undefined,
|
|
1776
|
+
sessionState: output.sessionState != null ? deserializeAws_restJson1SessionState(output.sessionState, context) : undefined,
|
|
1813
1777
|
};
|
|
1814
1778
|
};
|
|
1815
1779
|
var deserializeAws_restJson1InternalServerException = function (output, context) {
|
|
@@ -1819,13 +1783,9 @@ var deserializeAws_restJson1InternalServerException = function (output, context)
|
|
|
1819
1783
|
};
|
|
1820
1784
|
var deserializeAws_restJson1Interpretation = function (output, context) {
|
|
1821
1785
|
return {
|
|
1822
|
-
intent: output.intent
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
nluConfidence: output.nluConfidence !== undefined && output.nluConfidence !== null
|
|
1826
|
-
? deserializeAws_restJson1ConfidenceScore(output.nluConfidence, context)
|
|
1827
|
-
: undefined,
|
|
1828
|
-
sentimentResponse: output.sentimentResponse !== undefined && output.sentimentResponse !== null
|
|
1786
|
+
intent: output.intent != null ? deserializeAws_restJson1Intent(output.intent, context) : undefined,
|
|
1787
|
+
nluConfidence: output.nluConfidence != null ? deserializeAws_restJson1ConfidenceScore(output.nluConfidence, context) : undefined,
|
|
1788
|
+
sentimentResponse: output.sentimentResponse != null
|
|
1829
1789
|
? deserializeAws_restJson1SentimentResponse(output.sentimentResponse, context)
|
|
1830
1790
|
: undefined,
|
|
1831
1791
|
};
|
|
@@ -1845,7 +1805,7 @@ var deserializeAws_restJson1Message = function (output, context) {
|
|
|
1845
1805
|
return {
|
|
1846
1806
|
content: __expectString(output.content),
|
|
1847
1807
|
contentType: __expectString(output.contentType),
|
|
1848
|
-
imageResponseCard: output.imageResponseCard
|
|
1808
|
+
imageResponseCard: output.imageResponseCard != null
|
|
1849
1809
|
? deserializeAws_restJson1ImageResponseCard(output.imageResponseCard, context)
|
|
1850
1810
|
: undefined,
|
|
1851
1811
|
};
|
|
@@ -1875,16 +1835,14 @@ var deserializeAws_restJson1ResourceNotFoundException = function (output, contex
|
|
|
1875
1835
|
};
|
|
1876
1836
|
var deserializeAws_restJson1RuntimeHintDetails = function (output, context) {
|
|
1877
1837
|
return {
|
|
1878
|
-
runtimeHintValues: output.runtimeHintValues
|
|
1838
|
+
runtimeHintValues: output.runtimeHintValues != null
|
|
1879
1839
|
? deserializeAws_restJson1RuntimeHintValuesList(output.runtimeHintValues, context)
|
|
1880
1840
|
: undefined,
|
|
1881
1841
|
};
|
|
1882
1842
|
};
|
|
1883
1843
|
var deserializeAws_restJson1RuntimeHints = function (output, context) {
|
|
1884
1844
|
return {
|
|
1885
|
-
slotHints: output.slotHints
|
|
1886
|
-
? deserializeAws_restJson1SlotHintsIntentMap(output.slotHints, context)
|
|
1887
|
-
: undefined,
|
|
1845
|
+
slotHints: output.slotHints != null ? deserializeAws_restJson1SlotHintsIntentMap(output.slotHints, context) : undefined,
|
|
1888
1846
|
};
|
|
1889
1847
|
};
|
|
1890
1848
|
var deserializeAws_restJson1RuntimeHintValue = function (output, context) {
|
|
@@ -1906,7 +1864,7 @@ var deserializeAws_restJson1RuntimeHintValuesList = function (output, context) {
|
|
|
1906
1864
|
var deserializeAws_restJson1SentimentResponse = function (output, context) {
|
|
1907
1865
|
return {
|
|
1908
1866
|
sentiment: __expectString(output.sentiment),
|
|
1909
|
-
sentimentScore: output.sentimentScore
|
|
1867
|
+
sentimentScore: output.sentimentScore != null
|
|
1910
1868
|
? deserializeAws_restJson1SentimentScore(output.sentimentScore, context)
|
|
1911
1869
|
: undefined,
|
|
1912
1870
|
};
|
|
@@ -1921,20 +1879,14 @@ var deserializeAws_restJson1SentimentScore = function (output, context) {
|
|
|
1921
1879
|
};
|
|
1922
1880
|
var deserializeAws_restJson1SessionState = function (output, context) {
|
|
1923
1881
|
return {
|
|
1924
|
-
activeContexts: output.activeContexts
|
|
1882
|
+
activeContexts: output.activeContexts != null
|
|
1925
1883
|
? deserializeAws_restJson1ActiveContextsList(output.activeContexts, context)
|
|
1926
1884
|
: undefined,
|
|
1927
|
-
dialogAction: output.dialogAction
|
|
1928
|
-
|
|
1929
|
-
: undefined,
|
|
1930
|
-
intent: output.intent !== undefined && output.intent !== null
|
|
1931
|
-
? deserializeAws_restJson1Intent(output.intent, context)
|
|
1932
|
-
: undefined,
|
|
1885
|
+
dialogAction: output.dialogAction != null ? deserializeAws_restJson1DialogAction(output.dialogAction, context) : undefined,
|
|
1886
|
+
intent: output.intent != null ? deserializeAws_restJson1Intent(output.intent, context) : undefined,
|
|
1933
1887
|
originatingRequestId: __expectString(output.originatingRequestId),
|
|
1934
|
-
runtimeHints: output.runtimeHints
|
|
1935
|
-
|
|
1936
|
-
: undefined,
|
|
1937
|
-
sessionAttributes: output.sessionAttributes !== undefined && output.sessionAttributes !== null
|
|
1888
|
+
runtimeHints: output.runtimeHints != null ? deserializeAws_restJson1RuntimeHints(output.runtimeHints, context) : undefined,
|
|
1889
|
+
sessionAttributes: output.sessionAttributes != null
|
|
1938
1890
|
? deserializeAws_restJson1StringMap(output.sessionAttributes, context)
|
|
1939
1891
|
: undefined,
|
|
1940
1892
|
};
|
|
@@ -1942,12 +1894,8 @@ var deserializeAws_restJson1SessionState = function (output, context) {
|
|
|
1942
1894
|
var deserializeAws_restJson1Slot = function (output, context) {
|
|
1943
1895
|
return {
|
|
1944
1896
|
shape: __expectString(output.shape),
|
|
1945
|
-
value: output.value
|
|
1946
|
-
|
|
1947
|
-
: undefined,
|
|
1948
|
-
values: output.values !== undefined && output.values !== null
|
|
1949
|
-
? deserializeAws_restJson1Values(output.values, context)
|
|
1950
|
-
: undefined,
|
|
1897
|
+
value: output.value != null ? deserializeAws_restJson1Value(output.value, context) : undefined,
|
|
1898
|
+
values: output.values != null ? deserializeAws_restJson1Values(output.values, context) : undefined,
|
|
1951
1899
|
};
|
|
1952
1900
|
};
|
|
1953
1901
|
var deserializeAws_restJson1SlotHintsIntentMap = function (output, context) {
|
|
@@ -2077,9 +2025,7 @@ var deserializeAws_restJson1StringMap = function (output, context) {
|
|
|
2077
2025
|
var deserializeAws_restJson1TextResponseEvent = function (output, context) {
|
|
2078
2026
|
return {
|
|
2079
2027
|
eventId: __expectString(output.eventId),
|
|
2080
|
-
messages: output.messages
|
|
2081
|
-
? deserializeAws_restJson1Messages(output.messages, context)
|
|
2082
|
-
: undefined,
|
|
2028
|
+
messages: output.messages != null ? deserializeAws_restJson1Messages(output.messages, context) : undefined,
|
|
2083
2029
|
};
|
|
2084
2030
|
};
|
|
2085
2031
|
var deserializeAws_restJson1ThrottlingException = function (output, context) {
|
|
@@ -2102,9 +2048,7 @@ var deserializeAws_restJson1Value = function (output, context) {
|
|
|
2102
2048
|
return {
|
|
2103
2049
|
interpretedValue: __expectString(output.interpretedValue),
|
|
2104
2050
|
originalValue: __expectString(output.originalValue),
|
|
2105
|
-
resolvedValues: output.resolvedValues
|
|
2106
|
-
? deserializeAws_restJson1StringList(output.resolvedValues, context)
|
|
2107
|
-
: undefined,
|
|
2051
|
+
resolvedValues: output.resolvedValues != null ? deserializeAws_restJson1StringList(output.resolvedValues, context) : undefined,
|
|
2108
2052
|
};
|
|
2109
2053
|
};
|
|
2110
2054
|
var deserializeAws_restJson1Values = function (output, context) {
|
|
@@ -2156,6 +2100,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2156
2100
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2157
2101
|
var sanitizeErrorCode = function (rawValue) {
|
|
2158
2102
|
var cleanValue = rawValue;
|
|
2103
|
+
if (typeof cleanValue === "number") {
|
|
2104
|
+
cleanValue = cleanValue.toString();
|
|
2105
|
+
}
|
|
2159
2106
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2160
2107
|
cleanValue = cleanValue.split(":")[0];
|
|
2161
2108
|
}
|
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.130.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,40 +18,40 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
25
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
26
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
28
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
31
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
32
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/protocol-http": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.130.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.130.0",
|
|
24
|
+
"@aws-sdk/eventstream-handler-node": "3.127.0",
|
|
25
|
+
"@aws-sdk/eventstream-serde-browser": "3.127.0",
|
|
26
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-node": "3.127.0",
|
|
28
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
30
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-eventstream": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
43
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
45
|
+
"@aws-sdk/types": "3.127.0",
|
|
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.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
55
55
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
56
56
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
57
57
|
"tslib": "^2.3.1"
|