@aws-sdk/client-lex-runtime-v2 3.210.0 → 3.212.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.
|
@@ -868,10 +868,8 @@ const serializeAws_restJson1ActiveContextParametersMap = (input, context) => {
|
|
|
868
868
|
if (value === null) {
|
|
869
869
|
return acc;
|
|
870
870
|
}
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
[key]: value,
|
|
874
|
-
};
|
|
871
|
+
acc[key] = value;
|
|
872
|
+
return acc;
|
|
875
873
|
}, {});
|
|
876
874
|
};
|
|
877
875
|
const serializeAws_restJson1ActiveContextsList = (input, context) => {
|
|
@@ -1052,10 +1050,8 @@ const serializeAws_restJson1SlotHintsIntentMap = (input, context) => {
|
|
|
1052
1050
|
if (value === null) {
|
|
1053
1051
|
return acc;
|
|
1054
1052
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
[key]: serializeAws_restJson1SlotHintsSlotMap(value, context),
|
|
1058
|
-
};
|
|
1053
|
+
acc[key] = serializeAws_restJson1SlotHintsSlotMap(value, context);
|
|
1054
|
+
return acc;
|
|
1059
1055
|
}, {});
|
|
1060
1056
|
};
|
|
1061
1057
|
const serializeAws_restJson1SlotHintsSlotMap = (input, context) => {
|
|
@@ -1063,10 +1059,8 @@ const serializeAws_restJson1SlotHintsSlotMap = (input, context) => {
|
|
|
1063
1059
|
if (value === null) {
|
|
1064
1060
|
return acc;
|
|
1065
1061
|
}
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
[key]: serializeAws_restJson1RuntimeHintDetails(value, context),
|
|
1069
|
-
};
|
|
1062
|
+
acc[key] = serializeAws_restJson1RuntimeHintDetails(value, context);
|
|
1063
|
+
return acc;
|
|
1070
1064
|
}, {});
|
|
1071
1065
|
};
|
|
1072
1066
|
const serializeAws_restJson1Slots = (input, context) => {
|
|
@@ -1074,10 +1068,8 @@ const serializeAws_restJson1Slots = (input, context) => {
|
|
|
1074
1068
|
if (value === null) {
|
|
1075
1069
|
return acc;
|
|
1076
1070
|
}
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
[key]: serializeAws_restJson1Slot(value, context),
|
|
1080
|
-
};
|
|
1071
|
+
acc[key] = serializeAws_restJson1Slot(value, context);
|
|
1072
|
+
return acc;
|
|
1081
1073
|
}, {});
|
|
1082
1074
|
};
|
|
1083
1075
|
const serializeAws_restJson1StringList = (input, context) => {
|
|
@@ -1092,10 +1084,8 @@ const serializeAws_restJson1StringMap = (input, context) => {
|
|
|
1092
1084
|
if (value === null) {
|
|
1093
1085
|
return acc;
|
|
1094
1086
|
}
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
[key]: value,
|
|
1098
|
-
};
|
|
1087
|
+
acc[key] = value;
|
|
1088
|
+
return acc;
|
|
1099
1089
|
}, {});
|
|
1100
1090
|
};
|
|
1101
1091
|
const serializeAws_restJson1TextInputEvent = (input, context) => {
|
|
@@ -1137,10 +1127,8 @@ const deserializeAws_restJson1ActiveContextParametersMap = (output, context) =>
|
|
|
1137
1127
|
if (value === null) {
|
|
1138
1128
|
return acc;
|
|
1139
1129
|
}
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
1143
|
-
};
|
|
1130
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1131
|
+
return acc;
|
|
1144
1132
|
}, {});
|
|
1145
1133
|
};
|
|
1146
1134
|
const deserializeAws_restJson1ActiveContextsList = (output, context) => {
|
|
@@ -1361,10 +1349,8 @@ const deserializeAws_restJson1SlotHintsIntentMap = (output, context) => {
|
|
|
1361
1349
|
if (value === null) {
|
|
1362
1350
|
return acc;
|
|
1363
1351
|
}
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
[key]: deserializeAws_restJson1SlotHintsSlotMap(value, context),
|
|
1367
|
-
};
|
|
1352
|
+
acc[key] = deserializeAws_restJson1SlotHintsSlotMap(value, context);
|
|
1353
|
+
return acc;
|
|
1368
1354
|
}, {});
|
|
1369
1355
|
};
|
|
1370
1356
|
const deserializeAws_restJson1SlotHintsSlotMap = (output, context) => {
|
|
@@ -1372,10 +1358,8 @@ const deserializeAws_restJson1SlotHintsSlotMap = (output, context) => {
|
|
|
1372
1358
|
if (value === null) {
|
|
1373
1359
|
return acc;
|
|
1374
1360
|
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
[key]: deserializeAws_restJson1RuntimeHintDetails(value, context),
|
|
1378
|
-
};
|
|
1361
|
+
acc[key] = deserializeAws_restJson1RuntimeHintDetails(value, context);
|
|
1362
|
+
return acc;
|
|
1379
1363
|
}, {});
|
|
1380
1364
|
};
|
|
1381
1365
|
const deserializeAws_restJson1Slots = (output, context) => {
|
|
@@ -1383,10 +1367,8 @@ const deserializeAws_restJson1Slots = (output, context) => {
|
|
|
1383
1367
|
if (value === null) {
|
|
1384
1368
|
return acc;
|
|
1385
1369
|
}
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
[key]: deserializeAws_restJson1Slot(value, context),
|
|
1389
|
-
};
|
|
1370
|
+
acc[key] = deserializeAws_restJson1Slot(value, context);
|
|
1371
|
+
return acc;
|
|
1390
1372
|
}, {});
|
|
1391
1373
|
};
|
|
1392
1374
|
const deserializeAws_restJson1StringList = (output, context) => {
|
|
@@ -1405,10 +1387,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
1405
1387
|
if (value === null) {
|
|
1406
1388
|
return acc;
|
|
1407
1389
|
}
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
1411
|
-
};
|
|
1390
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1391
|
+
return acc;
|
|
1412
1392
|
}, {});
|
|
1413
1393
|
};
|
|
1414
1394
|
const deserializeAws_restJson1TextResponseEvent = (output, context) => {
|
|
@@ -853,10 +853,8 @@ const serializeAws_restJson1ActiveContextParametersMap = (input, context) => {
|
|
|
853
853
|
if (value === null) {
|
|
854
854
|
return acc;
|
|
855
855
|
}
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
[key]: value,
|
|
859
|
-
};
|
|
856
|
+
acc[key] = value;
|
|
857
|
+
return acc;
|
|
860
858
|
}, {});
|
|
861
859
|
};
|
|
862
860
|
const serializeAws_restJson1ActiveContextsList = (input, context) => {
|
|
@@ -1037,10 +1035,8 @@ const serializeAws_restJson1SlotHintsIntentMap = (input, context) => {
|
|
|
1037
1035
|
if (value === null) {
|
|
1038
1036
|
return acc;
|
|
1039
1037
|
}
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
[key]: serializeAws_restJson1SlotHintsSlotMap(value, context),
|
|
1043
|
-
};
|
|
1038
|
+
acc[key] = serializeAws_restJson1SlotHintsSlotMap(value, context);
|
|
1039
|
+
return acc;
|
|
1044
1040
|
}, {});
|
|
1045
1041
|
};
|
|
1046
1042
|
const serializeAws_restJson1SlotHintsSlotMap = (input, context) => {
|
|
@@ -1048,10 +1044,8 @@ const serializeAws_restJson1SlotHintsSlotMap = (input, context) => {
|
|
|
1048
1044
|
if (value === null) {
|
|
1049
1045
|
return acc;
|
|
1050
1046
|
}
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
[key]: serializeAws_restJson1RuntimeHintDetails(value, context),
|
|
1054
|
-
};
|
|
1047
|
+
acc[key] = serializeAws_restJson1RuntimeHintDetails(value, context);
|
|
1048
|
+
return acc;
|
|
1055
1049
|
}, {});
|
|
1056
1050
|
};
|
|
1057
1051
|
const serializeAws_restJson1Slots = (input, context) => {
|
|
@@ -1059,10 +1053,8 @@ const serializeAws_restJson1Slots = (input, context) => {
|
|
|
1059
1053
|
if (value === null) {
|
|
1060
1054
|
return acc;
|
|
1061
1055
|
}
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
[key]: serializeAws_restJson1Slot(value, context),
|
|
1065
|
-
};
|
|
1056
|
+
acc[key] = serializeAws_restJson1Slot(value, context);
|
|
1057
|
+
return acc;
|
|
1066
1058
|
}, {});
|
|
1067
1059
|
};
|
|
1068
1060
|
const serializeAws_restJson1StringList = (input, context) => {
|
|
@@ -1077,10 +1069,8 @@ const serializeAws_restJson1StringMap = (input, context) => {
|
|
|
1077
1069
|
if (value === null) {
|
|
1078
1070
|
return acc;
|
|
1079
1071
|
}
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
[key]: value,
|
|
1083
|
-
};
|
|
1072
|
+
acc[key] = value;
|
|
1073
|
+
return acc;
|
|
1084
1074
|
}, {});
|
|
1085
1075
|
};
|
|
1086
1076
|
const serializeAws_restJson1TextInputEvent = (input, context) => {
|
|
@@ -1122,10 +1112,8 @@ const deserializeAws_restJson1ActiveContextParametersMap = (output, context) =>
|
|
|
1122
1112
|
if (value === null) {
|
|
1123
1113
|
return acc;
|
|
1124
1114
|
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
[key]: __expectString(value),
|
|
1128
|
-
};
|
|
1115
|
+
acc[key] = __expectString(value);
|
|
1116
|
+
return acc;
|
|
1129
1117
|
}, {});
|
|
1130
1118
|
};
|
|
1131
1119
|
const deserializeAws_restJson1ActiveContextsList = (output, context) => {
|
|
@@ -1346,10 +1334,8 @@ const deserializeAws_restJson1SlotHintsIntentMap = (output, context) => {
|
|
|
1346
1334
|
if (value === null) {
|
|
1347
1335
|
return acc;
|
|
1348
1336
|
}
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
[key]: deserializeAws_restJson1SlotHintsSlotMap(value, context),
|
|
1352
|
-
};
|
|
1337
|
+
acc[key] = deserializeAws_restJson1SlotHintsSlotMap(value, context);
|
|
1338
|
+
return acc;
|
|
1353
1339
|
}, {});
|
|
1354
1340
|
};
|
|
1355
1341
|
const deserializeAws_restJson1SlotHintsSlotMap = (output, context) => {
|
|
@@ -1357,10 +1343,8 @@ const deserializeAws_restJson1SlotHintsSlotMap = (output, context) => {
|
|
|
1357
1343
|
if (value === null) {
|
|
1358
1344
|
return acc;
|
|
1359
1345
|
}
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
[key]: deserializeAws_restJson1RuntimeHintDetails(value, context),
|
|
1363
|
-
};
|
|
1346
|
+
acc[key] = deserializeAws_restJson1RuntimeHintDetails(value, context);
|
|
1347
|
+
return acc;
|
|
1364
1348
|
}, {});
|
|
1365
1349
|
};
|
|
1366
1350
|
const deserializeAws_restJson1Slots = (output, context) => {
|
|
@@ -1368,10 +1352,8 @@ const deserializeAws_restJson1Slots = (output, context) => {
|
|
|
1368
1352
|
if (value === null) {
|
|
1369
1353
|
return acc;
|
|
1370
1354
|
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
[key]: deserializeAws_restJson1Slot(value, context),
|
|
1374
|
-
};
|
|
1355
|
+
acc[key] = deserializeAws_restJson1Slot(value, context);
|
|
1356
|
+
return acc;
|
|
1375
1357
|
}, {});
|
|
1376
1358
|
};
|
|
1377
1359
|
const deserializeAws_restJson1StringList = (output, context) => {
|
|
@@ -1390,10 +1372,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
1390
1372
|
if (value === null) {
|
|
1391
1373
|
return acc;
|
|
1392
1374
|
}
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
[key]: __expectString(value),
|
|
1396
|
-
};
|
|
1375
|
+
acc[key] = __expectString(value);
|
|
1376
|
+
return acc;
|
|
1397
1377
|
}, {});
|
|
1398
1378
|
};
|
|
1399
1379
|
const deserializeAws_restJson1TextResponseEvent = (output, context) => {
|
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.212.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",
|
|
@@ -19,43 +19,43 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
29
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
33
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
34
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
35
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
36
|
-
"@aws-sdk/middleware-logger": "3.
|
|
37
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
38
|
-
"@aws-sdk/middleware-retry": "3.
|
|
39
|
-
"@aws-sdk/middleware-serde": "3.
|
|
40
|
-
"@aws-sdk/middleware-signing": "3.
|
|
41
|
-
"@aws-sdk/middleware-stack": "3.
|
|
42
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
43
|
-
"@aws-sdk/node-config-provider": "3.
|
|
44
|
-
"@aws-sdk/node-http-handler": "3.
|
|
45
|
-
"@aws-sdk/protocol-http": "3.
|
|
46
|
-
"@aws-sdk/smithy-client": "3.
|
|
47
|
-
"@aws-sdk/types": "3.
|
|
48
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.212.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/eventstream-handler-node": "3.212.0",
|
|
26
|
+
"@aws-sdk/eventstream-serde-browser": "3.212.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.212.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-node": "3.212.0",
|
|
29
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
30
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-eventstream": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
38
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
39
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
40
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
41
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
42
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
43
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
44
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
45
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
46
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
47
|
+
"@aws-sdk/types": "3.212.0",
|
|
48
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
49
49
|
"@aws-sdk/util-base64": "3.208.0",
|
|
50
50
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
51
51
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
52
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
53
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
54
|
-
"@aws-sdk/util-endpoints": "3.
|
|
55
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
56
|
-
"@aws-sdk/util-stream-node": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
53
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
54
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
55
|
+
"@aws-sdk/util-stream-browser": "3.212.0",
|
|
56
|
+
"@aws-sdk/util-stream-node": "3.212.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
59
59
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
60
60
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
61
61
|
"tslib": "^2.3.1"
|