@aws-sdk/client-lex-runtime-service 3.750.0 → 3.772.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/dist-cjs/index.js +15 -15
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ActiveContextFilterSensitiveLog: () => ActiveContextFilterSensitiveLog,
|
|
25
25
|
BadGatewayException: () => BadGatewayException,
|
|
26
26
|
BadRequestException: () => BadRequestException,
|
|
@@ -59,7 +59,7 @@ __export(src_exports, {
|
|
|
59
59
|
UnsupportedMediaTypeException: () => UnsupportedMediaTypeException,
|
|
60
60
|
__Client: () => import_smithy_client.Client
|
|
61
61
|
});
|
|
62
|
-
module.exports = __toCommonJS(
|
|
62
|
+
module.exports = __toCommonJS(index_exports);
|
|
63
63
|
|
|
64
64
|
// src/LexRuntimeServiceClient.ts
|
|
65
65
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -186,9 +186,9 @@ var LexRuntimeServiceClient = class extends import_smithy_client.Client {
|
|
|
186
186
|
this.middlewareStack.use(
|
|
187
187
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
188
188
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultLexRuntimeServiceHttpAuthSchemeParametersProvider,
|
|
189
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
189
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
190
190
|
"aws.auth#sigv4": config.credentials
|
|
191
|
-
})
|
|
191
|
+
}), "identityProviderConfigProvider")
|
|
192
192
|
})
|
|
193
193
|
);
|
|
194
194
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -613,10 +613,10 @@ var se_PostTextCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
613
613
|
let body;
|
|
614
614
|
body = JSON.stringify(
|
|
615
615
|
(0, import_smithy_client.take)(input, {
|
|
616
|
-
activeContexts: (_) => (0, import_smithy_client._json)(_),
|
|
616
|
+
activeContexts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "activeContexts"),
|
|
617
617
|
inputText: [],
|
|
618
|
-
requestAttributes: (_) => (0, import_smithy_client._json)(_),
|
|
619
|
-
sessionAttributes: (_) => (0, import_smithy_client._json)(_)
|
|
618
|
+
requestAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requestAttributes"),
|
|
619
|
+
sessionAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionAttributes")
|
|
620
620
|
})
|
|
621
621
|
);
|
|
622
622
|
b.m("POST").h(headers).b(body);
|
|
@@ -635,10 +635,10 @@ var se_PutSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
635
635
|
let body;
|
|
636
636
|
body = JSON.stringify(
|
|
637
637
|
(0, import_smithy_client.take)(input, {
|
|
638
|
-
activeContexts: (_) => (0, import_smithy_client._json)(_),
|
|
639
|
-
dialogAction: (_) => (0, import_smithy_client._json)(_),
|
|
640
|
-
recentIntentSummaryView: (_) => (0, import_smithy_client._json)(_),
|
|
641
|
-
sessionAttributes: (_) => (0, import_smithy_client._json)(_)
|
|
638
|
+
activeContexts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "activeContexts"),
|
|
639
|
+
dialogAction: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dialogAction"),
|
|
640
|
+
recentIntentSummaryView: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "recentIntentSummaryView"),
|
|
641
|
+
sessionAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionAttributes")
|
|
642
642
|
})
|
|
643
643
|
);
|
|
644
644
|
b.m("POST").h(headers).b(body);
|
|
@@ -733,13 +733,13 @@ var de_PostTextCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
733
733
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
734
734
|
const doc = (0, import_smithy_client.take)(data, {
|
|
735
735
|
activeContexts: import_smithy_client._json,
|
|
736
|
-
alternativeIntents: (_) => de_IntentList(_, context),
|
|
736
|
+
alternativeIntents: /* @__PURE__ */ __name((_) => de_IntentList(_, context), "alternativeIntents"),
|
|
737
737
|
botVersion: import_smithy_client.expectString,
|
|
738
738
|
dialogState: import_smithy_client.expectString,
|
|
739
739
|
intentName: import_smithy_client.expectString,
|
|
740
740
|
message: import_smithy_client.expectString,
|
|
741
741
|
messageFormat: import_smithy_client.expectString,
|
|
742
|
-
nluIntentConfidence: (_) => de_IntentConfidence(_, context),
|
|
742
|
+
nluIntentConfidence: /* @__PURE__ */ __name((_) => de_IntentConfidence(_, context), "nluIntentConfidence"),
|
|
743
743
|
responseCard: import_smithy_client._json,
|
|
744
744
|
sentimentResponse: import_smithy_client._json,
|
|
745
745
|
sessionAttributes: import_smithy_client._json,
|
|
@@ -991,7 +991,7 @@ var de_IntentList = /* @__PURE__ */ __name((output, context) => {
|
|
|
991
991
|
var de_PredictedIntent = /* @__PURE__ */ __name((output, context) => {
|
|
992
992
|
return (0, import_smithy_client.take)(output, {
|
|
993
993
|
intentName: import_smithy_client.expectString,
|
|
994
|
-
nluIntentConfidence: (_) => de_IntentConfidence(_, context),
|
|
994
|
+
nluIntentConfidence: /* @__PURE__ */ __name((_) => de_IntentConfidence(_, context), "nluIntentConfidence"),
|
|
995
995
|
slots: import_smithy_client._json
|
|
996
996
|
});
|
|
997
997
|
}, "de_PredictedIntent");
|
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.772.0",
|
|
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,42 +22,42 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.758.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
32
32
|
"@aws-sdk/types": "3.734.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.0.1",
|
|
37
|
-
"@smithy/core": "^3.1.
|
|
37
|
+
"@smithy/core": "^3.1.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
39
39
|
"@smithy/hash-node": "^4.0.1",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
43
|
-
"@smithy/middleware-retry": "^4.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
44
44
|
"@smithy/middleware-serde": "^4.0.2",
|
|
45
45
|
"@smithy/middleware-stack": "^4.0.1",
|
|
46
46
|
"@smithy/node-config-provider": "^4.0.1",
|
|
47
|
-
"@smithy/node-http-handler": "^4.0.
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
48
48
|
"@smithy/protocol-http": "^5.0.1",
|
|
49
|
-
"@smithy/smithy-client": "^4.1.
|
|
49
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
50
50
|
"@smithy/types": "^4.1.0",
|
|
51
51
|
"@smithy/url-parser": "^4.0.1",
|
|
52
52
|
"@smithy/util-base64": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
57
57
|
"@smithy/util-endpoints": "^3.0.1",
|
|
58
58
|
"@smithy/util-middleware": "^4.0.1",
|
|
59
59
|
"@smithy/util-retry": "^4.0.1",
|
|
60
|
-
"@smithy/util-stream": "^4.1.
|
|
60
|
+
"@smithy/util-stream": "^4.1.2",
|
|
61
61
|
"@smithy/util-utf8": "^4.0.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|