@aws-sdk/client-lex-runtime-v2 3.658.0 → 3.658.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3 -4
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -637,7 +637,7 @@ var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
637
637
|
}, "se_GetSessionCommand");
|
|
638
638
|
var se_PutSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
639
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
640
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
640
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
641
641
|
"content-type": "application/json",
|
|
642
642
|
[_r]: input[_rCT]
|
|
643
643
|
});
|
|
@@ -680,7 +680,7 @@ var se_RecognizeTextCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
680
680
|
}, "se_RecognizeTextCommand");
|
|
681
681
|
var se_RecognizeUtteranceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
682
682
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
683
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
683
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
684
684
|
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
|
|
685
685
|
[_ct]: input[_rCTe] || "application/octet-stream",
|
|
686
686
|
[_xalss]: input[_sS],
|
|
@@ -701,7 +701,7 @@ var se_RecognizeUtteranceCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
701
701
|
}, "se_RecognizeUtteranceCommand");
|
|
702
702
|
var se_StartConversationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
703
703
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
704
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
704
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
705
705
|
"content-type": "application/json",
|
|
706
706
|
[_xalcm]: input[_cM]
|
|
707
707
|
});
|
|
@@ -1464,7 +1464,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1464
1464
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1465
1465
|
cfId: output.headers["x-amz-cf-id"]
|
|
1466
1466
|
}), "deserializeMetadata");
|
|
1467
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
1468
1467
|
var _cM = "conversationMode";
|
|
1469
1468
|
var _cT = "contentType";
|
|
1470
1469
|
var _ct = "content-type";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { LexRuntimeV2ServiceException as __BaseException } from "../models/LexRuntimeV2ServiceException";
|
|
5
5
|
import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ResourceNotFoundException, StartConversationRequestEventStream, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_DeleteSessionCommand = async (input, context) => {
|
|
@@ -847,11 +847,6 @@ const deserializeMetadata = (output) => ({
|
|
|
847
847
|
cfId: output.headers["x-amz-cf-id"],
|
|
848
848
|
});
|
|
849
849
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
850
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
851
|
-
value !== null &&
|
|
852
|
-
value !== "" &&
|
|
853
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
854
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
855
850
|
const _cM = "conversationMode";
|
|
856
851
|
const _cT = "contentType";
|
|
857
852
|
const _ct = "content-type";
|
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.658.
|
|
4
|
+
"version": "3.658.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-v2",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.658.
|
|
24
|
-
"@aws-sdk/client-sts": "3.658.
|
|
25
|
-
"@aws-sdk/core": "3.658.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.658.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
25
|
+
"@aws-sdk/core": "3.658.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.654.0",
|
|
28
28
|
"@aws-sdk/middleware-eventstream": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
@@ -36,33 +36,33 @@
|
|
|
36
36
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
37
37
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
38
38
|
"@smithy/config-resolver": "^3.0.8",
|
|
39
|
-
"@smithy/core": "^2.4.
|
|
39
|
+
"@smithy/core": "^2.4.6",
|
|
40
40
|
"@smithy/eventstream-serde-browser": "^3.0.9",
|
|
41
41
|
"@smithy/eventstream-serde-config-resolver": "^3.0.6",
|
|
42
42
|
"@smithy/eventstream-serde-node": "^3.0.8",
|
|
43
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
43
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
44
44
|
"@smithy/hash-node": "^3.0.6",
|
|
45
45
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
46
46
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
47
47
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
48
|
-
"@smithy/middleware-retry": "^3.0.
|
|
48
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
49
49
|
"@smithy/middleware-serde": "^3.0.6",
|
|
50
50
|
"@smithy/middleware-stack": "^3.0.6",
|
|
51
51
|
"@smithy/node-config-provider": "^3.1.7",
|
|
52
|
-
"@smithy/node-http-handler": "^3.2.
|
|
52
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
53
53
|
"@smithy/protocol-http": "^4.1.3",
|
|
54
|
-
"@smithy/smithy-client": "^3.3.
|
|
54
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
55
55
|
"@smithy/types": "^3.4.2",
|
|
56
56
|
"@smithy/url-parser": "^3.0.6",
|
|
57
57
|
"@smithy/util-base64": "^3.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
62
62
|
"@smithy/util-endpoints": "^2.1.2",
|
|
63
63
|
"@smithy/util-middleware": "^3.0.6",
|
|
64
64
|
"@smithy/util-retry": "^3.0.6",
|
|
65
|
-
"@smithy/util-stream": "^3.1.
|
|
65
|
+
"@smithy/util-stream": "^3.1.8",
|
|
66
66
|
"@smithy/util-utf8": "^3.0.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|