@aws-sdk/client-lex-model-building-service 3.215.0 → 3.218.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.
|
@@ -449,10 +449,10 @@ const serializeAws_restJson1GetExportCommand = async (input, context) => {
|
|
|
449
449
|
const headers = {};
|
|
450
450
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/exports";
|
|
451
451
|
const query = map({
|
|
452
|
-
name: [, input.name],
|
|
453
|
-
version: [, input.version],
|
|
454
|
-
resourceType: [, input.resourceType],
|
|
455
|
-
exportType: [, input.exportType],
|
|
452
|
+
name: [, (0, smithy_client_1.expectNonNull)(input.name, `name`)],
|
|
453
|
+
version: [, (0, smithy_client_1.expectNonNull)(input.version, `version`)],
|
|
454
|
+
resourceType: [, (0, smithy_client_1.expectNonNull)(input.resourceType, `resourceType`)],
|
|
455
|
+
exportType: [, (0, smithy_client_1.expectNonNull)(input.exportType, `exportType`)],
|
|
456
456
|
});
|
|
457
457
|
let body;
|
|
458
458
|
return new protocol_http_1.HttpRequest({
|
|
@@ -657,8 +657,11 @@ const serializeAws_restJson1GetUtterancesViewCommand = async (input, context) =>
|
|
|
657
657
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "botName", () => input.botName, "{botName}", false);
|
|
658
658
|
const query = map({
|
|
659
659
|
view: [, "aggregation"],
|
|
660
|
-
bot_versions: [
|
|
661
|
-
|
|
660
|
+
bot_versions: [
|
|
661
|
+
(0, smithy_client_1.expectNonNull)(input.botVersions, `botVersions`) != null,
|
|
662
|
+
() => (input.botVersions || []).map((_entry) => _entry),
|
|
663
|
+
],
|
|
664
|
+
status_type: [, (0, smithy_client_1.expectNonNull)(input.statusType, `statusType`)],
|
|
662
665
|
});
|
|
663
666
|
let body;
|
|
664
667
|
return new protocol_http_1.HttpRequest({
|
|
@@ -926,7 +929,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
926
929
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
927
930
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
928
931
|
const query = map({
|
|
929
|
-
tagKeys: [
|
|
932
|
+
tagKeys: [
|
|
933
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
934
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
935
|
+
],
|
|
930
936
|
});
|
|
931
937
|
let body;
|
|
932
938
|
return new protocol_http_1.HttpRequest({
|
|
@@ -423,10 +423,10 @@ export const serializeAws_restJson1GetExportCommand = async (input, context) =>
|
|
|
423
423
|
const headers = {};
|
|
424
424
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/exports";
|
|
425
425
|
const query = map({
|
|
426
|
-
name: [, input.name],
|
|
427
|
-
version: [, input.version],
|
|
428
|
-
resourceType: [, input.resourceType],
|
|
429
|
-
exportType: [, input.exportType],
|
|
426
|
+
name: [, __expectNonNull(input.name, `name`)],
|
|
427
|
+
version: [, __expectNonNull(input.version, `version`)],
|
|
428
|
+
resourceType: [, __expectNonNull(input.resourceType, `resourceType`)],
|
|
429
|
+
exportType: [, __expectNonNull(input.exportType, `exportType`)],
|
|
430
430
|
});
|
|
431
431
|
let body;
|
|
432
432
|
return new __HttpRequest({
|
|
@@ -621,8 +621,11 @@ export const serializeAws_restJson1GetUtterancesViewCommand = async (input, cont
|
|
|
621
621
|
resolvedPath = __resolvedPath(resolvedPath, input, "botName", () => input.botName, "{botName}", false);
|
|
622
622
|
const query = map({
|
|
623
623
|
view: [, "aggregation"],
|
|
624
|
-
bot_versions: [
|
|
625
|
-
|
|
624
|
+
bot_versions: [
|
|
625
|
+
__expectNonNull(input.botVersions, `botVersions`) != null,
|
|
626
|
+
() => (input.botVersions || []).map((_entry) => _entry),
|
|
627
|
+
],
|
|
628
|
+
status_type: [, __expectNonNull(input.statusType, `statusType`)],
|
|
626
629
|
});
|
|
627
630
|
let body;
|
|
628
631
|
return new __HttpRequest({
|
|
@@ -881,7 +884,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
881
884
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
882
885
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
883
886
|
const query = map({
|
|
884
|
-
tagKeys: [
|
|
887
|
+
tagKeys: [
|
|
888
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
889
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
890
|
+
],
|
|
885
891
|
});
|
|
886
892
|
let body;
|
|
887
893
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-model-building-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Model Building Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.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,9 +19,9 @@
|
|
|
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.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.215.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-node": "3.215.0",
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.216.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-browser": "3.215.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-node": "3.215.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|