@aws-sdk/client-lex-runtime-service 3.654.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 +5 -6
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -552,20 +552,20 @@ var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
552
552
|
}, "se_GetSessionCommand");
|
|
553
553
|
var se_PostContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
554
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
555
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
556
556
|
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
|
|
557
557
|
[_ct]: input[_cT] || "application/octet-stream",
|
|
558
558
|
[_xalsa]: [
|
|
559
|
-
() => isSerializableHeaderValue(input[_sA]),
|
|
559
|
+
() => (0, import_smithy_client.isSerializableHeaderValue)(input[_sA]),
|
|
560
560
|
() => context.base64Encoder(Buffer.from(import_smithy_client.LazyJsonString.fromObject(input[_sA])))
|
|
561
561
|
],
|
|
562
562
|
[_xalra]: [
|
|
563
|
-
() => isSerializableHeaderValue(input[_rA]),
|
|
563
|
+
() => (0, import_smithy_client.isSerializableHeaderValue)(input[_rA]),
|
|
564
564
|
() => context.base64Encoder(Buffer.from(import_smithy_client.LazyJsonString.fromObject(input[_rA])))
|
|
565
565
|
],
|
|
566
566
|
[_a]: input[_a],
|
|
567
567
|
[_xalac]: [
|
|
568
|
-
() => isSerializableHeaderValue(input[_aC]),
|
|
568
|
+
() => (0, import_smithy_client.isSerializableHeaderValue)(input[_aC]),
|
|
569
569
|
() => context.base64Encoder(Buffer.from(import_smithy_client.LazyJsonString.fromObject(input[_aC])))
|
|
570
570
|
]
|
|
571
571
|
});
|
|
@@ -603,7 +603,7 @@ var se_PostTextCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
603
603
|
}, "se_PostTextCommand");
|
|
604
604
|
var se_PutSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
605
605
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
606
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
606
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
607
607
|
"content-type": "application/json",
|
|
608
608
|
[_a]: input[_a]
|
|
609
609
|
});
|
|
@@ -980,7 +980,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
980
980
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
981
981
|
cfId: output.headers["x-amz-cf-id"]
|
|
982
982
|
}), "deserializeMetadata");
|
|
983
|
-
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");
|
|
984
983
|
var _a = "accept";
|
|
985
984
|
var _aC = "activeContexts";
|
|
986
985
|
var _aI = "alternativeIntents";
|
|
@@ -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, LazyJsonString as __LazyJsonString, 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, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { LexRuntimeServiceServiceException as __BaseException } from "../models/LexRuntimeServiceServiceException";
|
|
5
5
|
import { BadGatewayException, BadRequestException, ConflictException, DependencyFailedException, InternalFailureException, LimitExceededException, LoopDetectedException, NotAcceptableException, NotFoundException, RequestTimeoutException, UnsupportedMediaTypeException, } from "../models/models_0";
|
|
6
6
|
export const se_DeleteSessionCommand = async (input, context) => {
|
|
@@ -457,11 +457,6 @@ const deserializeMetadata = (output) => ({
|
|
|
457
457
|
cfId: output.headers["x-amz-cf-id"],
|
|
458
458
|
});
|
|
459
459
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
460
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
461
|
-
value !== null &&
|
|
462
|
-
value !== "" &&
|
|
463
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
464
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
465
460
|
const _a = "accept";
|
|
466
461
|
const _aC = "activeContexts";
|
|
467
462
|
const _aI = "alternativeIntents";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-service",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
26
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
27
|
+
"@aws-sdk/core": "3.658.1",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -36,30 +36,30 @@
|
|
|
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.
|
|
40
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
+
"@smithy/core": "^2.4.6",
|
|
40
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
41
41
|
"@smithy/hash-node": "^3.0.6",
|
|
42
42
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
43
43
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
44
44
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
45
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
46
46
|
"@smithy/middleware-serde": "^3.0.6",
|
|
47
47
|
"@smithy/middleware-stack": "^3.0.6",
|
|
48
48
|
"@smithy/node-config-provider": "^3.1.7",
|
|
49
|
-
"@smithy/node-http-handler": "^3.2.
|
|
49
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
50
50
|
"@smithy/protocol-http": "^4.1.3",
|
|
51
|
-
"@smithy/smithy-client": "^3.3.
|
|
51
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
52
52
|
"@smithy/types": "^3.4.2",
|
|
53
53
|
"@smithy/url-parser": "^3.0.6",
|
|
54
54
|
"@smithy/util-base64": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
59
59
|
"@smithy/util-endpoints": "^2.1.2",
|
|
60
60
|
"@smithy/util-middleware": "^3.0.6",
|
|
61
61
|
"@smithy/util-retry": "^3.0.6",
|
|
62
|
-
"@smithy/util-stream": "^3.1.
|
|
62
|
+
"@smithy/util-stream": "^3.1.8",
|
|
63
63
|
"@smithy/util-utf8": "^3.0.0",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|