@aws-sdk/client-lex-runtime-v2 3.53.0 → 3.55.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
17
+
18
+
19
+
20
+
21
+
22
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
31
 
8
32
 
@@ -14,23 +14,23 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
14
14
  const runtimeConfig_1 = require("./runtimeConfig");
15
15
  class LexRuntimeV2Client extends smithy_client_1.Client {
16
16
  constructor(configuration) {
17
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
18
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
19
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
20
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
21
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
22
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
23
- const _config_6 = middleware_eventstream_1.resolveEventStreamConfig(_config_5);
24
- const _config_7 = middleware_user_agent_1.resolveUserAgentConfig(_config_6);
25
- const _config_8 = eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig(_config_7);
17
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
18
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
19
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
20
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
21
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
22
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
23
+ const _config_6 = (0, middleware_eventstream_1.resolveEventStreamConfig)(_config_5);
24
+ const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
25
+ const _config_8 = (0, eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig)(_config_7);
26
26
  super(_config_8);
27
27
  this.config = _config_8;
28
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
29
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
30
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
31
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
32
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
33
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
28
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
30
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
31
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
32
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
33
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
34
34
  }
35
35
  destroy() {
36
36
  super.destroy();
@@ -11,7 +11,7 @@ class DeleteSessionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "LexRuntimeV2Client";
@@ -27,10 +27,10 @@ class DeleteSessionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteSessionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteSessionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteSessionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteSessionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteSessionCommand = DeleteSessionCommand;
@@ -11,7 +11,7 @@ class GetSessionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "LexRuntimeV2Client";
@@ -27,10 +27,10 @@ class GetSessionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetSessionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetSessionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetSessionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetSessionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetSessionCommand = GetSessionCommand;
@@ -11,7 +11,7 @@ class PutSessionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "LexRuntimeV2Client";
@@ -27,10 +27,10 @@ class PutSessionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1PutSessionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutSessionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1PutSessionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutSessionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutSessionCommand = PutSessionCommand;
@@ -11,7 +11,7 @@ class RecognizeTextCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "LexRuntimeV2Client";
@@ -27,10 +27,10 @@ class RecognizeTextCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1RecognizeTextCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1RecognizeTextCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1RecognizeTextCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RecognizeTextCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RecognizeTextCommand = RecognizeTextCommand;
@@ -11,7 +11,7 @@ class RecognizeUtteranceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "LexRuntimeV2Client";
@@ -27,10 +27,10 @@ class RecognizeUtteranceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1RecognizeUtteranceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1RecognizeUtteranceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1RecognizeUtteranceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RecognizeUtteranceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RecognizeUtteranceCommand = RecognizeUtteranceCommand;
@@ -12,8 +12,8 @@ class StartConversationCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_eventstream_1.getEventStreamPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_eventstream_1.getEventStreamPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "LexRuntimeV2Client";
@@ -29,10 +29,10 @@ class StartConversationCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_restJson1_1.serializeAws_restJson1StartConversationCommand(input, context);
32
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartConversationCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_restJson1_1.deserializeAws_restJson1StartConversationCommand(output, context);
35
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartConversationCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.StartConversationCommand = StartConversationCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "lex",
128
128
  regionHash,