@aws-sdk/client-lex-runtime-service 3.758.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +15 -15
  2. package/package.json +3 -3
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 src_exports = {};
23
- __export(src_exports, {
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(src_exports);
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.758.0",
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",
@@ -23,10 +23,10 @@
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
25
  "@aws-sdk/core": "3.758.0",
26
- "@aws-sdk/credential-provider-node": "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.734.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
30
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",