@aws-sdk/client-lex-runtime-service 3.43.0 → 3.47.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/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
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.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
9
+
10
+
11
+
12
+
13
+
14
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
36
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
43
+
44
+
45
+ ### Features
46
+
47
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
54
 
8
55
  **Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "us-east-1": {
7
7
  variants: [
8
- {
9
- hostname: "runtime.lex.us-east-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "runtime-fips.lex.us-east-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-gov-west-1": {
19
15
  variants: [
20
- {
21
- hostname: "runtime.lex.us-gov-west-1.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "runtime-fips.lex.us-gov-west-1.amazonaws.com",
26
18
  tags: ["fips"],
@@ -29,10 +21,6 @@ const regionHash = {
29
21
  },
30
22
  "us-west-2": {
31
23
  variants: [
32
- {
33
- hostname: "runtime.lex.us-west-2.amazonaws.com",
34
- tags: [],
35
- },
36
24
  {
37
25
  hostname: "runtime-fips.lex.us-west-2.amazonaws.com",
38
26
  tags: ["fips"],
@@ -51,6 +39,7 @@ const partitionHash = {
51
39
  "ap-south-1",
52
40
  "ap-southeast-1",
53
41
  "ap-southeast-2",
42
+ "ap-southeast-3",
54
43
  "ca-central-1",
55
44
  "eu-central-1",
56
45
  "eu-north-1",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutSessionResponse = exports.PutSessionRequest = exports.PostTextResponse = exports.SentimentResponse = exports.ResponseCard = exports.GenericAttachment = exports.Button = exports.ContentType = exports.PredictedIntent = exports.IntentConfidence = exports.PostTextRequest = exports.UnsupportedMediaTypeException = exports.RequestTimeoutException = exports.PostContentResponse = exports.DialogState = exports.PostContentRequest = exports.NotAcceptableException = exports.LoopDetectedException = exports.DependencyFailedException = exports.BadGatewayException = exports.GetSessionResponse = exports.IntentSummary = exports.ConfirmationStatus = exports.DialogAction = exports.DialogActionType = exports.MessageFormatType = exports.FulfillmentState = exports.GetSessionRequest = exports.NotFoundException = exports.LimitExceededException = exports.InternalFailureException = exports.DeleteSessionResponse = exports.DeleteSessionRequest = exports.ConflictException = exports.BadRequestException = exports.ActiveContext = exports.ActiveContextTimeToLive = void 0;
3
+ exports.PutSessionResponse = exports.PutSessionRequest = exports.PostTextResponse = exports.SentimentResponse = exports.ResponseCard = exports.GenericAttachment = exports.Button = exports.ContentType = exports.PredictedIntent = exports.IntentConfidence = exports.PostTextRequest = exports.PostContentResponse = exports.DialogState = exports.PostContentRequest = exports.GetSessionResponse = exports.IntentSummary = exports.ConfirmationStatus = exports.DialogAction = exports.DialogActionType = exports.MessageFormatType = exports.FulfillmentState = exports.GetSessionRequest = exports.DeleteSessionResponse = exports.DeleteSessionRequest = exports.ActiveContext = exports.ActiveContextTimeToLive = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  var ActiveContextTimeToLive;
6
6
  (function (ActiveContextTimeToLive) {
@@ -15,18 +15,6 @@ var ActiveContext;
15
15
  ...(obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING }),
16
16
  });
17
17
  })(ActiveContext = exports.ActiveContext || (exports.ActiveContext = {}));
18
- var BadRequestException;
19
- (function (BadRequestException) {
20
- BadRequestException.filterSensitiveLog = (obj) => ({
21
- ...obj,
22
- });
23
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
24
- var ConflictException;
25
- (function (ConflictException) {
26
- ConflictException.filterSensitiveLog = (obj) => ({
27
- ...obj,
28
- });
29
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
30
18
  var DeleteSessionRequest;
31
19
  (function (DeleteSessionRequest) {
32
20
  DeleteSessionRequest.filterSensitiveLog = (obj) => ({
@@ -39,24 +27,6 @@ var DeleteSessionResponse;
39
27
  ...obj,
40
28
  });
41
29
  })(DeleteSessionResponse = exports.DeleteSessionResponse || (exports.DeleteSessionResponse = {}));
42
- var InternalFailureException;
43
- (function (InternalFailureException) {
44
- InternalFailureException.filterSensitiveLog = (obj) => ({
45
- ...obj,
46
- });
47
- })(InternalFailureException = exports.InternalFailureException || (exports.InternalFailureException = {}));
48
- var LimitExceededException;
49
- (function (LimitExceededException) {
50
- LimitExceededException.filterSensitiveLog = (obj) => ({
51
- ...obj,
52
- });
53
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
54
- var NotFoundException;
55
- (function (NotFoundException) {
56
- NotFoundException.filterSensitiveLog = (obj) => ({
57
- ...obj,
58
- });
59
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
60
30
  var GetSessionRequest;
61
31
  (function (GetSessionRequest) {
62
32
  GetSessionRequest.filterSensitiveLog = (obj) => ({
@@ -117,30 +87,6 @@ var GetSessionResponse;
117
87
  ...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
118
88
  });
119
89
  })(GetSessionResponse = exports.GetSessionResponse || (exports.GetSessionResponse = {}));
120
- var BadGatewayException;
121
- (function (BadGatewayException) {
122
- BadGatewayException.filterSensitiveLog = (obj) => ({
123
- ...obj,
124
- });
125
- })(BadGatewayException = exports.BadGatewayException || (exports.BadGatewayException = {}));
126
- var DependencyFailedException;
127
- (function (DependencyFailedException) {
128
- DependencyFailedException.filterSensitiveLog = (obj) => ({
129
- ...obj,
130
- });
131
- })(DependencyFailedException = exports.DependencyFailedException || (exports.DependencyFailedException = {}));
132
- var LoopDetectedException;
133
- (function (LoopDetectedException) {
134
- LoopDetectedException.filterSensitiveLog = (obj) => ({
135
- ...obj,
136
- });
137
- })(LoopDetectedException = exports.LoopDetectedException || (exports.LoopDetectedException = {}));
138
- var NotAcceptableException;
139
- (function (NotAcceptableException) {
140
- NotAcceptableException.filterSensitiveLog = (obj) => ({
141
- ...obj,
142
- });
143
- })(NotAcceptableException = exports.NotAcceptableException || (exports.NotAcceptableException = {}));
144
90
  var PostContentRequest;
145
91
  (function (PostContentRequest) {
146
92
  PostContentRequest.filterSensitiveLog = (obj) => ({
@@ -169,18 +115,6 @@ var PostContentResponse;
169
115
  ...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
170
116
  });
171
117
  })(PostContentResponse = exports.PostContentResponse || (exports.PostContentResponse = {}));
172
- var RequestTimeoutException;
173
- (function (RequestTimeoutException) {
174
- RequestTimeoutException.filterSensitiveLog = (obj) => ({
175
- ...obj,
176
- });
177
- })(RequestTimeoutException = exports.RequestTimeoutException || (exports.RequestTimeoutException = {}));
178
- var UnsupportedMediaTypeException;
179
- (function (UnsupportedMediaTypeException) {
180
- UnsupportedMediaTypeException.filterSensitiveLog = (obj) => ({
181
- ...obj,
182
- });
183
- })(UnsupportedMediaTypeException = exports.UnsupportedMediaTypeException || (exports.UnsupportedMediaTypeException = {}));
184
118
  var PostTextRequest;
185
119
  (function (PostTextRequest) {
186
120
  PostTextRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "us-east-1": {
5
5
  variants: [
6
- {
7
- hostname: "runtime.lex.us-east-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "runtime-fips.lex.us-east-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-gov-west-1": {
17
13
  variants: [
18
- {
19
- hostname: "runtime.lex.us-gov-west-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "runtime-fips.lex.us-gov-west-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "us-west-2": {
29
21
  variants: [
30
- {
31
- hostname: "runtime.lex.us-west-2.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "runtime-fips.lex.us-west-2.amazonaws.com",
36
24
  tags: ["fips"],
@@ -49,6 +37,7 @@ var partitionHash = {
49
37
  "ap-south-1",
50
38
  "ap-southeast-1",
51
39
  "ap-southeast-2",
40
+ "ap-southeast-3",
52
41
  "ca-central-1",
53
42
  "eu-central-1",
54
43
  "eu-north-1",
@@ -8,14 +8,6 @@ export var ActiveContext;
8
8
  (function (ActiveContext) {
9
9
  ActiveContext.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.parameters && { parameters: SENSITIVE_STRING }))); };
10
10
  })(ActiveContext || (ActiveContext = {}));
11
- export var BadRequestException;
12
- (function (BadRequestException) {
13
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
14
- })(BadRequestException || (BadRequestException = {}));
15
- export var ConflictException;
16
- (function (ConflictException) {
17
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
- })(ConflictException || (ConflictException = {}));
19
11
  export var DeleteSessionRequest;
20
12
  (function (DeleteSessionRequest) {
21
13
  DeleteSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -24,18 +16,6 @@ export var DeleteSessionResponse;
24
16
  (function (DeleteSessionResponse) {
25
17
  DeleteSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
26
18
  })(DeleteSessionResponse || (DeleteSessionResponse = {}));
27
- export var InternalFailureException;
28
- (function (InternalFailureException) {
29
- InternalFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
- })(InternalFailureException || (InternalFailureException = {}));
31
- export var LimitExceededException;
32
- (function (LimitExceededException) {
33
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
- })(LimitExceededException || (LimitExceededException = {}));
35
- export var NotFoundException;
36
- (function (NotFoundException) {
37
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
- })(NotFoundException || (NotFoundException = {}));
39
19
  export var GetSessionRequest;
40
20
  (function (GetSessionRequest) {
41
21
  GetSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -81,22 +61,6 @@ export var GetSessionResponse;
81
61
  recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummary.filterSensitiveLog(item); }),
82
62
  })), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogAction.filterSensitiveLog(obj.dialogAction) })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
83
63
  })(GetSessionResponse || (GetSessionResponse = {}));
84
- export var BadGatewayException;
85
- (function (BadGatewayException) {
86
- BadGatewayException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
- })(BadGatewayException || (BadGatewayException = {}));
88
- export var DependencyFailedException;
89
- (function (DependencyFailedException) {
90
- DependencyFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
- })(DependencyFailedException || (DependencyFailedException = {}));
92
- export var LoopDetectedException;
93
- (function (LoopDetectedException) {
94
- LoopDetectedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
- })(LoopDetectedException || (LoopDetectedException = {}));
96
- export var NotAcceptableException;
97
- (function (NotAcceptableException) {
98
- NotAcceptableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
- })(NotAcceptableException || (NotAcceptableException = {}));
100
64
  export var PostContentRequest;
101
65
  (function (PostContentRequest) {
102
66
  PostContentRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
@@ -114,14 +78,6 @@ export var PostContentResponse;
114
78
  (function (PostContentResponse) {
115
79
  PostContentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.encodedInputTranscript && { encodedInputTranscript: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
116
80
  })(PostContentResponse || (PostContentResponse = {}));
117
- export var RequestTimeoutException;
118
- (function (RequestTimeoutException) {
119
- RequestTimeoutException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
- })(RequestTimeoutException || (RequestTimeoutException = {}));
121
- export var UnsupportedMediaTypeException;
122
- (function (UnsupportedMediaTypeException) {
123
- UnsupportedMediaTypeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
- })(UnsupportedMediaTypeException || (UnsupportedMediaTypeException = {}));
125
81
  export var PostTextRequest;
126
82
  (function (PostTextRequest) {
127
83
  PostTextRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.inputText && { inputText: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
10
10
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -113,6 +113,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
113
113
  * @internal
114
114
  */
115
115
  defaultUserAgentProvider?: Provider<__UserAgent>;
116
+ /**
117
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
118
+ */
119
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
116
120
  }
117
121
  declare type LexRuntimeServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
118
122
  /**
@@ -68,12 +68,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
68
68
  $fault: "client";
69
69
  message?: string;
70
70
  }
71
- export declare namespace BadRequestException {
72
- /**
73
- * @internal
74
- */
75
- const filterSensitiveLog: (obj: BadRequestException) => any;
76
- }
77
71
  /**
78
72
  * <p> Two clients are using the same AWS account, Amazon Lex bot, and user
79
73
  * ID. </p>
@@ -83,12 +77,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
83
77
  $fault: "client";
84
78
  message?: string;
85
79
  }
86
- export declare namespace ConflictException {
87
- /**
88
- * @internal
89
- */
90
- const filterSensitiveLog: (obj: ConflictException) => any;
91
- }
92
80
  export interface DeleteSessionRequest {
93
81
  /**
94
82
  * <p>The name of the bot that contains the session data.</p>
@@ -141,12 +129,6 @@ export interface InternalFailureException extends __SmithyException, $MetadataBe
141
129
  $fault: "server";
142
130
  message?: string;
143
131
  }
144
- export declare namespace InternalFailureException {
145
- /**
146
- * @internal
147
- */
148
- const filterSensitiveLog: (obj: InternalFailureException) => any;
149
- }
150
132
  /**
151
133
  * <p>Exceeded a limit.</p>
152
134
  */
@@ -156,12 +138,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
156
138
  retryAfterSeconds?: string;
157
139
  message?: string;
158
140
  }
159
- export declare namespace LimitExceededException {
160
- /**
161
- * @internal
162
- */
163
- const filterSensitiveLog: (obj: LimitExceededException) => any;
164
- }
165
141
  /**
166
142
  * <p>The resource (such as the Amazon Lex bot or an alias) that is referred
167
143
  * to is not found.</p>
@@ -171,12 +147,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
171
147
  $fault: "client";
172
148
  message?: string;
173
149
  }
174
- export declare namespace NotFoundException {
175
- /**
176
- * @internal
177
- */
178
- const filterSensitiveLog: (obj: NotFoundException) => any;
179
- }
180
150
  export interface GetSessionRequest {
181
151
  /**
182
152
  * <p>The name of the bot that contains the session data.</p>
@@ -511,12 +481,6 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
511
481
  $fault: "server";
512
482
  Message?: string;
513
483
  }
514
- export declare namespace BadGatewayException {
515
- /**
516
- * @internal
517
- */
518
- const filterSensitiveLog: (obj: BadGatewayException) => any;
519
- }
520
484
  /**
521
485
  * <p> One of the dependencies, such as AWS Lambda or Amazon Polly, threw an
522
486
  * exception. For example, </p>
@@ -540,12 +504,6 @@ export interface DependencyFailedException extends __SmithyException, $MetadataB
540
504
  $fault: "client";
541
505
  Message?: string;
542
506
  }
543
- export declare namespace DependencyFailedException {
544
- /**
545
- * @internal
546
- */
547
- const filterSensitiveLog: (obj: DependencyFailedException) => any;
548
- }
549
507
  /**
550
508
  * <p>This exception is not used.</p>
551
509
  */
@@ -554,12 +512,6 @@ export interface LoopDetectedException extends __SmithyException, $MetadataBeare
554
512
  $fault: "server";
555
513
  Message?: string;
556
514
  }
557
- export declare namespace LoopDetectedException {
558
- /**
559
- * @internal
560
- */
561
- const filterSensitiveLog: (obj: LoopDetectedException) => any;
562
- }
563
515
  /**
564
516
  * <p>The accept header in the request does not have a valid value.</p>
565
517
  */
@@ -568,12 +520,6 @@ export interface NotAcceptableException extends __SmithyException, $MetadataBear
568
520
  $fault: "client";
569
521
  message?: string;
570
522
  }
571
- export declare namespace NotAcceptableException {
572
- /**
573
- * @internal
574
- */
575
- const filterSensitiveLog: (obj: NotAcceptableException) => any;
576
- }
577
523
  export interface PostContentRequest {
578
524
  /**
579
525
  * <p>Name of the Amazon Lex bot.</p>
@@ -1018,12 +964,6 @@ export interface RequestTimeoutException extends __SmithyException, $MetadataBea
1018
964
  $fault: "client";
1019
965
  message?: string;
1020
966
  }
1021
- export declare namespace RequestTimeoutException {
1022
- /**
1023
- * @internal
1024
- */
1025
- const filterSensitiveLog: (obj: RequestTimeoutException) => any;
1026
- }
1027
967
  /**
1028
968
  * <p>The Content-Type header (<code>PostContent</code> API) has an invalid
1029
969
  * value. </p>
@@ -1033,12 +973,6 @@ export interface UnsupportedMediaTypeException extends __SmithyException, $Metad
1033
973
  $fault: "client";
1034
974
  message?: string;
1035
975
  }
1036
- export declare namespace UnsupportedMediaTypeException {
1037
- /**
1038
- * @internal
1039
- */
1040
- const filterSensitiveLog: (obj: UnsupportedMediaTypeException) => any;
1041
- }
1042
976
  export interface PostTextRequest {
1043
977
  /**
1044
978
  * <p>The name of the Amazon Lex bot.</p>
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
10
10
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -56,6 +56,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
56
56
  regionInfoProvider?: RegionInfoProvider;
57
57
 
58
58
  defaultUserAgentProvider?: Provider<__UserAgent>;
59
+
60
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
59
61
  }
60
62
  declare type LexRuntimeServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
61
63
 
@@ -34,20 +34,12 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
34
34
  $fault: "client";
35
35
  message?: string;
36
36
  }
37
- export declare namespace BadRequestException {
38
-
39
- const filterSensitiveLog: (obj: BadRequestException) => any;
40
- }
41
37
 
42
38
  export interface ConflictException extends __SmithyException, $MetadataBearer {
43
39
  name: "ConflictException";
44
40
  $fault: "client";
45
41
  message?: string;
46
42
  }
47
- export declare namespace ConflictException {
48
-
49
- const filterSensitiveLog: (obj: ConflictException) => any;
50
- }
51
43
  export interface DeleteSessionRequest {
52
44
 
53
45
  botName: string | undefined;
@@ -80,10 +72,6 @@ export interface InternalFailureException extends __SmithyException, $MetadataBe
80
72
  $fault: "server";
81
73
  message?: string;
82
74
  }
83
- export declare namespace InternalFailureException {
84
-
85
- const filterSensitiveLog: (obj: InternalFailureException) => any;
86
- }
87
75
 
88
76
  export interface LimitExceededException extends __SmithyException, $MetadataBearer {
89
77
  name: "LimitExceededException";
@@ -91,20 +79,12 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
91
79
  retryAfterSeconds?: string;
92
80
  message?: string;
93
81
  }
94
- export declare namespace LimitExceededException {
95
-
96
- const filterSensitiveLog: (obj: LimitExceededException) => any;
97
- }
98
82
 
99
83
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
100
84
  name: "NotFoundException";
101
85
  $fault: "client";
102
86
  message?: string;
103
87
  }
104
- export declare namespace NotFoundException {
105
-
106
- const filterSensitiveLog: (obj: NotFoundException) => any;
107
- }
108
88
  export interface GetSessionRequest {
109
89
 
110
90
  botName: string | undefined;
@@ -212,40 +192,24 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
212
192
  $fault: "server";
213
193
  Message?: string;
214
194
  }
215
- export declare namespace BadGatewayException {
216
-
217
- const filterSensitiveLog: (obj: BadGatewayException) => any;
218
- }
219
195
 
220
196
  export interface DependencyFailedException extends __SmithyException, $MetadataBearer {
221
197
  name: "DependencyFailedException";
222
198
  $fault: "client";
223
199
  Message?: string;
224
200
  }
225
- export declare namespace DependencyFailedException {
226
-
227
- const filterSensitiveLog: (obj: DependencyFailedException) => any;
228
- }
229
201
 
230
202
  export interface LoopDetectedException extends __SmithyException, $MetadataBearer {
231
203
  name: "LoopDetectedException";
232
204
  $fault: "server";
233
205
  Message?: string;
234
206
  }
235
- export declare namespace LoopDetectedException {
236
-
237
- const filterSensitiveLog: (obj: LoopDetectedException) => any;
238
- }
239
207
 
240
208
  export interface NotAcceptableException extends __SmithyException, $MetadataBearer {
241
209
  name: "NotAcceptableException";
242
210
  $fault: "client";
243
211
  message?: string;
244
212
  }
245
- export declare namespace NotAcceptableException {
246
-
247
- const filterSensitiveLog: (obj: NotAcceptableException) => any;
248
- }
249
213
  export interface PostContentRequest {
250
214
 
251
215
  botName: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,17 +1,15 @@
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.43.0",
4
+ "version": "3.47.1",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*",
15
13
  "test": "yarn test:unit",
16
14
  "test:unit": "ts-mocha test/**/*.spec.ts"
17
15
  },
@@ -22,50 +20,46 @@
22
20
  "dependencies": {
23
21
  "@aws-crypto/sha256-browser": "2.0.0",
24
22
  "@aws-crypto/sha256-js": "2.0.0",
25
- "@aws-sdk/client-sts": "3.43.0",
26
- "@aws-sdk/config-resolver": "3.40.0",
27
- "@aws-sdk/credential-provider-node": "3.41.0",
28
- "@aws-sdk/fetch-http-handler": "3.40.0",
29
- "@aws-sdk/hash-node": "3.40.0",
30
- "@aws-sdk/invalid-dependency": "3.40.0",
31
- "@aws-sdk/middleware-content-length": "3.40.0",
32
- "@aws-sdk/middleware-host-header": "3.40.0",
33
- "@aws-sdk/middleware-logger": "3.40.0",
34
- "@aws-sdk/middleware-retry": "3.40.0",
35
- "@aws-sdk/middleware-serde": "3.40.0",
36
- "@aws-sdk/middleware-signing": "3.40.0",
37
- "@aws-sdk/middleware-stack": "3.40.0",
38
- "@aws-sdk/middleware-user-agent": "3.40.0",
39
- "@aws-sdk/node-config-provider": "3.40.0",
40
- "@aws-sdk/node-http-handler": "3.40.0",
41
- "@aws-sdk/protocol-http": "3.40.0",
42
- "@aws-sdk/smithy-client": "3.41.0",
43
- "@aws-sdk/types": "3.40.0",
44
- "@aws-sdk/url-parser": "3.40.0",
45
- "@aws-sdk/util-base64-browser": "3.37.0",
46
- "@aws-sdk/util-base64-node": "3.37.0",
47
- "@aws-sdk/util-body-length-browser": "3.37.0",
48
- "@aws-sdk/util-body-length-node": "3.37.0",
49
- "@aws-sdk/util-user-agent-browser": "3.40.0",
50
- "@aws-sdk/util-user-agent-node": "3.40.0",
51
- "@aws-sdk/util-utf8-browser": "3.37.0",
52
- "@aws-sdk/util-utf8-node": "3.37.0",
23
+ "@aws-sdk/client-sts": "3.47.1",
24
+ "@aws-sdk/config-resolver": "3.47.1",
25
+ "@aws-sdk/credential-provider-node": "3.47.1",
26
+ "@aws-sdk/fetch-http-handler": "3.47.1",
27
+ "@aws-sdk/hash-node": "3.47.1",
28
+ "@aws-sdk/invalid-dependency": "3.47.1",
29
+ "@aws-sdk/middleware-content-length": "3.47.1",
30
+ "@aws-sdk/middleware-host-header": "3.47.1",
31
+ "@aws-sdk/middleware-logger": "3.47.1",
32
+ "@aws-sdk/middleware-retry": "3.47.1",
33
+ "@aws-sdk/middleware-serde": "3.47.1",
34
+ "@aws-sdk/middleware-signing": "3.47.1",
35
+ "@aws-sdk/middleware-stack": "3.47.1",
36
+ "@aws-sdk/middleware-user-agent": "3.47.1",
37
+ "@aws-sdk/node-config-provider": "3.47.1",
38
+ "@aws-sdk/node-http-handler": "3.47.1",
39
+ "@aws-sdk/protocol-http": "3.47.1",
40
+ "@aws-sdk/smithy-client": "3.47.1",
41
+ "@aws-sdk/types": "3.47.1",
42
+ "@aws-sdk/url-parser": "3.47.1",
43
+ "@aws-sdk/util-base64-browser": "3.47.1",
44
+ "@aws-sdk/util-base64-node": "3.47.1",
45
+ "@aws-sdk/util-body-length-browser": "3.47.1",
46
+ "@aws-sdk/util-body-length-node": "3.47.1",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.47.1",
48
+ "@aws-sdk/util-defaults-mode-node": "3.47.1",
49
+ "@aws-sdk/util-user-agent-browser": "3.47.1",
50
+ "@aws-sdk/util-user-agent-node": "3.47.1",
51
+ "@aws-sdk/util-utf8-browser": "3.47.1",
52
+ "@aws-sdk/util-utf8-node": "3.47.1",
53
53
  "tslib": "^2.3.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
57
57
  "@types/chai": "^4.2.11",
58
58
  "@types/mocha": "^8.0.4",
59
- "@types/node": "^12.7.5",
60
- "downlevel-dts": "0.7.0",
61
- "jest": "^26.1.0",
62
- "rimraf": "^3.0.0",
63
- "ts-jest": "^26.4.1",
64
- "typedoc": "^0.19.2",
65
- "typescript": "~4.3.5"
59
+ "@types/node": "^12.7.5"
66
60
  },
67
61
  "engines": {
68
- "node": ">=10.0.0"
62
+ "node": ">=12.0.0"
69
63
  },
70
64
  "typesVersions": {
71
65
  "<4.0": {