@aws-sdk/client-lex-runtime-v2 3.42.0 → 3.47.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,56 @@
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.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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))
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+ * 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))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
35
+
36
+
37
+ ### Features
38
+
39
+ * **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))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
46
+
47
+
48
+ ### Features
49
+
50
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
51
+
52
+
53
+
54
+
55
+
6
56
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
57
 
8
58
  **Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,14 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RecognizeTextRequest = exports.PutSessionRequest = exports.ConfigurationEvent = exports.SessionState = exports.Interpretation = exports.Intent = exports.Slot = exports.TranscriptEvent = exports.TextResponseEvent = exports.PlaybackInterruptionEvent = exports.PlaybackInterruptionReason = exports.InputMode = exports.HeartbeatEvent = exports.TextInputEvent = exports.PlaybackCompletionEvent = exports.DTMFInputEvent = exports.DisconnectionEvent = exports.ConversationMode = exports.RecognizeUtteranceResponse = exports.RecognizeUtteranceRequest = exports.PutSessionResponse = exports.DependencyFailedException = exports.BadGatewayException = exports.DialogAction = exports.DialogActionType = exports.Message = exports.ImageResponseCard = exports.Button = exports.MessageContentType = exports.SentimentResponse = exports.SentimentScore = exports.SentimentType = exports.ConfidenceScore = exports.IntentState = exports.Value = exports.Shape = exports.ConfirmationState = exports.GetSessionRequest = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DeleteSessionResponse = exports.DeleteSessionRequest = exports.ConflictException = exports.AudioResponseEvent = exports.AudioInputEvent = exports.ActiveContext = exports.ActiveContextTimeToLive = exports.AccessDeniedException = void 0;
4
- exports.StartConversationResponse = exports.StartConversationResponseEventStream = exports.RecognizeTextResponse = exports.IntentResultEvent = exports.GetSessionResponse = exports.StartConversationRequest = exports.StartConversationRequestEventStream = void 0;
3
+ exports.StartConversationResponse = exports.StartConversationResponseEventStream = exports.RecognizeTextResponse = exports.IntentResultEvent = exports.GetSessionResponse = exports.StartConversationRequest = exports.StartConversationRequestEventStream = exports.RecognizeTextRequest = exports.PutSessionRequest = exports.ConfigurationEvent = exports.SessionState = exports.Interpretation = exports.Intent = exports.Slot = exports.TranscriptEvent = exports.TextResponseEvent = exports.PlaybackInterruptionEvent = exports.PlaybackInterruptionReason = exports.InputMode = exports.HeartbeatEvent = exports.TextInputEvent = exports.PlaybackCompletionEvent = exports.DTMFInputEvent = exports.DisconnectionEvent = exports.ConversationMode = exports.RecognizeUtteranceResponse = exports.RecognizeUtteranceRequest = exports.PutSessionResponse = exports.DialogAction = exports.DialogActionType = exports.StyleType = exports.Message = exports.ImageResponseCard = exports.Button = exports.MessageContentType = exports.SentimentResponse = exports.SentimentScore = exports.SentimentType = exports.ConfidenceScore = exports.IntentState = exports.Value = exports.Shape = exports.ConfirmationState = exports.GetSessionRequest = exports.DeleteSessionResponse = exports.DeleteSessionRequest = exports.AudioResponseEvent = exports.AudioInputEvent = exports.ActiveContext = exports.ActiveContextTimeToLive = void 0;
5
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- var AccessDeniedException;
7
- (function (AccessDeniedException) {
8
- AccessDeniedException.filterSensitiveLog = (obj) => ({
9
- ...obj,
10
- });
11
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
12
5
  var ActiveContextTimeToLive;
13
6
  (function (ActiveContextTimeToLive) {
14
7
  ActiveContextTimeToLive.filterSensitiveLog = (obj) => ({
@@ -34,12 +27,6 @@ var AudioResponseEvent;
34
27
  ...obj,
35
28
  });
36
29
  })(AudioResponseEvent = exports.AudioResponseEvent || (exports.AudioResponseEvent = {}));
37
- var ConflictException;
38
- (function (ConflictException) {
39
- ConflictException.filterSensitiveLog = (obj) => ({
40
- ...obj,
41
- });
42
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
43
30
  var DeleteSessionRequest;
44
31
  (function (DeleteSessionRequest) {
45
32
  DeleteSessionRequest.filterSensitiveLog = (obj) => ({
@@ -52,30 +39,6 @@ var DeleteSessionResponse;
52
39
  ...obj,
53
40
  });
54
41
  })(DeleteSessionResponse = exports.DeleteSessionResponse || (exports.DeleteSessionResponse = {}));
55
- var InternalServerException;
56
- (function (InternalServerException) {
57
- InternalServerException.filterSensitiveLog = (obj) => ({
58
- ...obj,
59
- });
60
- })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
61
- var ResourceNotFoundException;
62
- (function (ResourceNotFoundException) {
63
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
64
- ...obj,
65
- });
66
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
67
- var ThrottlingException;
68
- (function (ThrottlingException) {
69
- ThrottlingException.filterSensitiveLog = (obj) => ({
70
- ...obj,
71
- });
72
- })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
73
- var ValidationException;
74
- (function (ValidationException) {
75
- ValidationException.filterSensitiveLog = (obj) => ({
76
- ...obj,
77
- });
78
- })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
79
42
  var GetSessionRequest;
80
43
  (function (GetSessionRequest) {
81
44
  GetSessionRequest.filterSensitiveLog = (obj) => ({
@@ -159,6 +122,12 @@ var Message;
159
122
  ...(obj.content && { content: smithy_client_1.SENSITIVE_STRING }),
160
123
  });
161
124
  })(Message = exports.Message || (exports.Message = {}));
125
+ var StyleType;
126
+ (function (StyleType) {
127
+ StyleType["DEFAULT"] = "Default";
128
+ StyleType["SPELL_BY_LETTER"] = "SpellByLetter";
129
+ StyleType["SPELL_BY_WORD"] = "SpellByWord";
130
+ })(StyleType = exports.StyleType || (exports.StyleType = {}));
162
131
  var DialogActionType;
163
132
  (function (DialogActionType) {
164
133
  DialogActionType["CLOSE"] = "Close";
@@ -174,18 +143,6 @@ var DialogAction;
174
143
  ...obj,
175
144
  });
176
145
  })(DialogAction = exports.DialogAction || (exports.DialogAction = {}));
177
- var BadGatewayException;
178
- (function (BadGatewayException) {
179
- BadGatewayException.filterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
- })(BadGatewayException = exports.BadGatewayException || (exports.BadGatewayException = {}));
183
- var DependencyFailedException;
184
- (function (DependencyFailedException) {
185
- DependencyFailedException.filterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
188
- })(DependencyFailedException = exports.DependencyFailedException || (exports.DependencyFailedException = {}));
189
146
  var PutSessionResponse;
190
147
  (function (PutSessionResponse) {
191
148
  PutSessionResponse.filterSensitiveLog = (obj) => ({
@@ -432,21 +389,21 @@ var StartConversationResponseEventStream;
432
389
  if (obj.HeartbeatEvent !== undefined)
433
390
  return { HeartbeatEvent: HeartbeatEvent.filterSensitiveLog(obj.HeartbeatEvent) };
434
391
  if (obj.AccessDeniedException !== undefined)
435
- return { AccessDeniedException: AccessDeniedException.filterSensitiveLog(obj.AccessDeniedException) };
392
+ return { AccessDeniedException: obj.AccessDeniedException };
436
393
  if (obj.ResourceNotFoundException !== undefined)
437
- return { ResourceNotFoundException: ResourceNotFoundException.filterSensitiveLog(obj.ResourceNotFoundException) };
394
+ return { ResourceNotFoundException: obj.ResourceNotFoundException };
438
395
  if (obj.ValidationException !== undefined)
439
- return { ValidationException: ValidationException.filterSensitiveLog(obj.ValidationException) };
396
+ return { ValidationException: obj.ValidationException };
440
397
  if (obj.ThrottlingException !== undefined)
441
- return { ThrottlingException: ThrottlingException.filterSensitiveLog(obj.ThrottlingException) };
398
+ return { ThrottlingException: obj.ThrottlingException };
442
399
  if (obj.InternalServerException !== undefined)
443
- return { InternalServerException: InternalServerException.filterSensitiveLog(obj.InternalServerException) };
400
+ return { InternalServerException: obj.InternalServerException };
444
401
  if (obj.ConflictException !== undefined)
445
- return { ConflictException: ConflictException.filterSensitiveLog(obj.ConflictException) };
402
+ return { ConflictException: obj.ConflictException };
446
403
  if (obj.DependencyFailedException !== undefined)
447
- return { DependencyFailedException: DependencyFailedException.filterSensitiveLog(obj.DependencyFailedException) };
404
+ return { DependencyFailedException: obj.DependencyFailedException };
448
405
  if (obj.BadGatewayException !== undefined)
449
- return { BadGatewayException: BadGatewayException.filterSensitiveLog(obj.BadGatewayException) };
406
+ return { BadGatewayException: obj.BadGatewayException };
450
407
  if (obj.$unknown !== undefined)
451
408
  return { [obj.$unknown[0]]: "UNKNOWN" };
452
409
  };
@@ -1497,6 +1497,8 @@ const serializeAws_restJson1ConfigurationEvent = (input, context) => {
1497
1497
  };
1498
1498
  const serializeAws_restJson1DialogAction = (input, context) => {
1499
1499
  return {
1500
+ ...(input.slotElicitationStyle !== undefined &&
1501
+ input.slotElicitationStyle !== null && { slotElicitationStyle: input.slotElicitationStyle }),
1500
1502
  ...(input.slotToElicit !== undefined && input.slotToElicit !== null && { slotToElicit: input.slotToElicit }),
1501
1503
  ...(input.type !== undefined && input.type !== null && { type: input.type }),
1502
1504
  };
@@ -1754,6 +1756,7 @@ const deserializeAws_restJson1DependencyFailedException = (output, context) => {
1754
1756
  };
1755
1757
  const deserializeAws_restJson1DialogAction = (output, context) => {
1756
1758
  return {
1759
+ slotElicitationStyle: smithy_client_1.expectString(output.slotElicitationStyle),
1757
1760
  slotToElicit: smithy_client_1.expectString(output.slotToElicit),
1758
1761
  type: smithy_client_1.expectString(output.type),
1759
1762
  };
@@ -14,13 +14,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
14
14
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
15
15
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
16
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
18
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
17
19
  const getRuntimeConfig = (config) => {
18
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
21
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
22
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
23
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
20
24
  return {
21
25
  ...clientSharedValues,
22
26
  ...config,
23
27
  runtime: "browser",
28
+ defaultsMode,
24
29
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
25
30
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
26
31
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -30,8 +35,8 @@ const getRuntimeConfig = (config) => {
30
35
  eventStreamSerdeProvider: (_g = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _g !== void 0 ? _g : eventstream_serde_browser_1.eventStreamSerdeProvider,
31
36
  maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
32
37
  region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : invalid_dependency_1.invalidProvider("Region is missing"),
33
- requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new fetch_http_handler_1.FetchHttpHandler(),
34
- retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
38
+ requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
39
+ retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
35
40
  sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : sha256_browser_1.Sha256,
36
41
  streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : fetch_http_handler_1.streamCollector,
37
42
  useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -18,14 +18,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
18
18
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
19
19
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
20
  const smithy_client_1 = require("@aws-sdk/smithy-client");
21
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
21
22
  const getRuntimeConfig = (config) => {
22
23
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
23
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
24
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
25
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
25
27
  return {
26
28
  ...clientSharedValues,
27
29
  ...config,
28
30
  runtime: "node",
31
+ defaultsMode,
29
32
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
30
33
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
31
34
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -36,7 +39,10 @@ const getRuntimeConfig = (config) => {
36
39
  maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
37
40
  region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
38
41
  requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new node_http_handler_1.NodeHttp2Handler(),
39
- retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
42
+ retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig({
43
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
44
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
45
+ }),
40
46
  sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : hash_node_1.Hash.bind(null, "sha256"),
41
47
  streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : node_http_handler_1.streamCollector,
42
48
  useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",
@@ -1,9 +1,5 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
- export var AccessDeniedException;
4
- (function (AccessDeniedException) {
5
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
- })(AccessDeniedException || (AccessDeniedException = {}));
7
3
  export var ActiveContextTimeToLive;
8
4
  (function (ActiveContextTimeToLive) {
9
5
  ActiveContextTimeToLive.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -20,10 +16,6 @@ export var AudioResponseEvent;
20
16
  (function (AudioResponseEvent) {
21
17
  AudioResponseEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
18
  })(AudioResponseEvent || (AudioResponseEvent = {}));
23
- export var ConflictException;
24
- (function (ConflictException) {
25
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
26
- })(ConflictException || (ConflictException = {}));
27
19
  export var DeleteSessionRequest;
28
20
  (function (DeleteSessionRequest) {
29
21
  DeleteSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -32,22 +24,6 @@ export var DeleteSessionResponse;
32
24
  (function (DeleteSessionResponse) {
33
25
  DeleteSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
26
  })(DeleteSessionResponse || (DeleteSessionResponse = {}));
35
- export var InternalServerException;
36
- (function (InternalServerException) {
37
- InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
- })(InternalServerException || (InternalServerException = {}));
39
- export var ResourceNotFoundException;
40
- (function (ResourceNotFoundException) {
41
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
42
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
43
- export var ThrottlingException;
44
- (function (ThrottlingException) {
45
- ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
46
- })(ThrottlingException || (ThrottlingException = {}));
47
- export var ValidationException;
48
- (function (ValidationException) {
49
- ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
- })(ValidationException || (ValidationException = {}));
51
27
  export var GetSessionRequest;
52
28
  (function (GetSessionRequest) {
53
29
  GetSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -114,6 +90,12 @@ export var Message;
114
90
  (function (Message) {
115
91
  Message.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.content && { content: SENSITIVE_STRING }))); };
116
92
  })(Message || (Message = {}));
93
+ export var StyleType;
94
+ (function (StyleType) {
95
+ StyleType["DEFAULT"] = "Default";
96
+ StyleType["SPELL_BY_LETTER"] = "SpellByLetter";
97
+ StyleType["SPELL_BY_WORD"] = "SpellByWord";
98
+ })(StyleType || (StyleType = {}));
117
99
  export var DialogActionType;
118
100
  (function (DialogActionType) {
119
101
  DialogActionType["CLOSE"] = "Close";
@@ -127,14 +109,6 @@ export var DialogAction;
127
109
  (function (DialogAction) {
128
110
  DialogAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
111
  })(DialogAction || (DialogAction = {}));
130
- export var BadGatewayException;
131
- (function (BadGatewayException) {
132
- BadGatewayException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
- })(BadGatewayException || (BadGatewayException = {}));
134
- export var DependencyFailedException;
135
- (function (DependencyFailedException) {
136
- DependencyFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
- })(DependencyFailedException || (DependencyFailedException = {}));
138
112
  export var PutSessionResponse;
139
113
  (function (PutSessionResponse) {
140
114
  PutSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -327,21 +301,21 @@ export var StartConversationResponseEventStream;
327
301
  if (obj.HeartbeatEvent !== undefined)
328
302
  return { HeartbeatEvent: HeartbeatEvent.filterSensitiveLog(obj.HeartbeatEvent) };
329
303
  if (obj.AccessDeniedException !== undefined)
330
- return { AccessDeniedException: AccessDeniedException.filterSensitiveLog(obj.AccessDeniedException) };
304
+ return { AccessDeniedException: obj.AccessDeniedException };
331
305
  if (obj.ResourceNotFoundException !== undefined)
332
- return { ResourceNotFoundException: ResourceNotFoundException.filterSensitiveLog(obj.ResourceNotFoundException) };
306
+ return { ResourceNotFoundException: obj.ResourceNotFoundException };
333
307
  if (obj.ValidationException !== undefined)
334
- return { ValidationException: ValidationException.filterSensitiveLog(obj.ValidationException) };
308
+ return { ValidationException: obj.ValidationException };
335
309
  if (obj.ThrottlingException !== undefined)
336
- return { ThrottlingException: ThrottlingException.filterSensitiveLog(obj.ThrottlingException) };
310
+ return { ThrottlingException: obj.ThrottlingException };
337
311
  if (obj.InternalServerException !== undefined)
338
- return { InternalServerException: InternalServerException.filterSensitiveLog(obj.InternalServerException) };
312
+ return { InternalServerException: obj.InternalServerException };
339
313
  if (obj.ConflictException !== undefined)
340
- return { ConflictException: ConflictException.filterSensitiveLog(obj.ConflictException) };
314
+ return { ConflictException: obj.ConflictException };
341
315
  if (obj.DependencyFailedException !== undefined)
342
- return { DependencyFailedException: DependencyFailedException.filterSensitiveLog(obj.DependencyFailedException) };
316
+ return { DependencyFailedException: obj.DependencyFailedException };
343
317
  if (obj.BadGatewayException !== undefined)
344
- return { BadGatewayException: BadGatewayException.filterSensitiveLog(obj.BadGatewayException) };
318
+ return { BadGatewayException: obj.BadGatewayException };
345
319
  if (obj.$unknown !== undefined)
346
320
  return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
347
321
  };
@@ -1690,7 +1690,8 @@ var serializeAws_restJson1ConfigurationEvent = function (input, context) {
1690
1690
  }));
1691
1691
  };
1692
1692
  var serializeAws_restJson1DialogAction = function (input, context) {
1693
- return __assign(__assign({}, (input.slotToElicit !== undefined && input.slotToElicit !== null && { slotToElicit: input.slotToElicit })), (input.type !== undefined && input.type !== null && { type: input.type }));
1693
+ return __assign(__assign(__assign({}, (input.slotElicitationStyle !== undefined &&
1694
+ input.slotElicitationStyle !== null && { slotElicitationStyle: input.slotElicitationStyle })), (input.slotToElicit !== undefined && input.slotToElicit !== null && { slotToElicit: input.slotToElicit })), (input.type !== undefined && input.type !== null && { type: input.type }));
1694
1695
  };
1695
1696
  var serializeAws_restJson1DisconnectionEvent = function (input, context) {
1696
1697
  return __assign(__assign({}, (input.clientTimestampMillis !== undefined &&
@@ -1900,6 +1901,7 @@ var deserializeAws_restJson1DependencyFailedException = function (output, contex
1900
1901
  };
1901
1902
  var deserializeAws_restJson1DialogAction = function (output, context) {
1902
1903
  return {
1904
+ slotElicitationStyle: __expectString(output.slotElicitationStyle),
1903
1905
  slotToElicit: __expectString(output.slotToElicit),
1904
1906
  type: __expectString(output.type),
1905
1907
  };
@@ -1,9 +1,9 @@
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
5
  import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser";
6
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
7
7
  import { invalidFunction, invalidProvider } from "@aws-sdk/invalid-dependency";
8
8
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
9
9
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -11,8 +11,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
11
11
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
12
12
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
13
13
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
14
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
15
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
14
16
  export var getRuntimeConfig = function (config) {
15
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
18
+ var defaultsMode = resolveDefaultsModeConfig(config);
19
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
16
20
  var clientSharedValues = getSharedRuntimeConfig(config);
17
- 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 }), eventStreamPayloadHandlerProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamPayloadHandlerProvider) !== null && _f !== void 0 ? _f : (function () { return ({ handle: invalidFunction("event stream request is not supported in browser.") }); }), eventStreamSerdeProvider: (_g = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _g !== void 0 ? _g : eventStreamSerdeProvider, maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : DEFAULT_MAX_ATTEMPTS, region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : invalidProvider("Region is missing"), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new FetchHttpHandler(), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Sha256, streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
21
+ 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 }), eventStreamPayloadHandlerProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamPayloadHandlerProvider) !== null && _f !== void 0 ? _f : (function () { return ({ handle: invalidFunction("event stream request is not supported in browser.") }); }), eventStreamSerdeProvider: (_g = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _g !== void 0 ? _g : eventStreamSerdeProvider, maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : DEFAULT_MAX_ATTEMPTS, region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : invalidProvider("Region is missing"), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new RequestHandler(defaultConfigProvider), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
22
+ switch (_a.label) {
23
+ case 0: return [4, defaultConfigProvider()];
24
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
25
+ }
26
+ }); }); }), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Sha256, streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
18
27
  };
@@ -1,4 +1,4 @@
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";
@@ -6,7 +6,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
6
6
  import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node";
7
7
  import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node";
8
8
  import { Hash } from "@aws-sdk/hash-node";
9
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
9
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
10
10
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
11
11
  import { NodeHttp2Handler, streamCollector } from "@aws-sdk/node-http-handler";
12
12
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
@@ -14,10 +14,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
14
14
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
15
15
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
16
16
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
17
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
18
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
18
19
  export var getRuntimeConfig = function (config) {
19
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
20
- emitWarningIfUnsupportedVersion(process.version);
21
+ var defaultsMode = resolveDefaultsModeConfig(config);
22
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
22
- 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 }), eventStreamPayloadHandlerProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamPayloadHandlerProvider) !== null && _f !== void 0 ? _f : eventStreamPayloadHandlerProvider, eventStreamSerdeProvider: (_g = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _g !== void 0 ? _g : eventStreamSerdeProvider, maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new NodeHttp2Handler(), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Hash.bind(null, "sha256"), streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
24
+ 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 }), eventStreamPayloadHandlerProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamPayloadHandlerProvider) !== null && _f !== void 0 ? _f : eventStreamPayloadHandlerProvider, eventStreamSerdeProvider: (_g = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _g !== void 0 ? _g : eventStreamSerdeProvider, maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new NodeHttp2Handler(), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
25
+ switch (_a.label) {
26
+ case 0: return [4, defaultConfigProvider()];
27
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
28
+ }
29
+ }); }); } })), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Hash.bind(null, "sha256"), streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
23
30
  };
@@ -6,7 +6,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
6
6
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
7
7
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
8
8
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
9
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
10
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider, EventStreamSerdeProvider as __EventStreamSerdeProvider, 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";
11
11
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
12
12
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -125,6 +125,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
125
125
  * The function that provides necessary utilities for generating and parsing event stream
126
126
  */
127
127
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
128
+ /**
129
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
130
+ */
131
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
128
132
  }
129
133
  declare type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
130
134
  /**
@@ -9,12 +9,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
9
9
  $fault: "client";
10
10
  message: string | undefined;
11
11
  }
12
- export declare namespace AccessDeniedException {
13
- /**
14
- * @internal
15
- */
16
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
17
- }
18
12
  /**
19
13
  * <p>The time that a context is active. You can specify the time to live
20
14
  * in seconds or in conversation turns.</p>
@@ -151,12 +145,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
151
145
  $fault: "client";
152
146
  message: string | undefined;
153
147
  }
154
- export declare namespace ConflictException {
155
- /**
156
- * @internal
157
- */
158
- const filterSensitiveLog: (obj: ConflictException) => any;
159
- }
160
148
  export interface DeleteSessionRequest {
161
149
  /**
162
150
  * <p>The identifier of the bot that contains the session data.</p>
@@ -215,12 +203,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
215
203
  $fault: "server";
216
204
  message: string | undefined;
217
205
  }
218
- export declare namespace InternalServerException {
219
- /**
220
- * @internal
221
- */
222
- const filterSensitiveLog: (obj: InternalServerException) => any;
223
- }
224
206
  /**
225
207
  * <p></p>
226
208
  */
@@ -229,12 +211,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
229
211
  $fault: "client";
230
212
  message: string | undefined;
231
213
  }
232
- export declare namespace ResourceNotFoundException {
233
- /**
234
- * @internal
235
- */
236
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
237
- }
238
214
  /**
239
215
  * <p></p>
240
216
  */
@@ -243,12 +219,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
243
219
  $fault: "client";
244
220
  message: string | undefined;
245
221
  }
246
- export declare namespace ThrottlingException {
247
- /**
248
- * @internal
249
- */
250
- const filterSensitiveLog: (obj: ThrottlingException) => any;
251
- }
252
222
  /**
253
223
  * <p></p>
254
224
  */
@@ -257,12 +227,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
257
227
  $fault: "client";
258
228
  message: string | undefined;
259
229
  }
260
- export declare namespace ValidationException {
261
- /**
262
- * @internal
263
- */
264
- const filterSensitiveLog: (obj: ValidationException) => any;
265
- }
266
230
  export interface GetSessionRequest {
267
231
  /**
268
232
  * <p>The identifier of the bot that contains the session data.</p>
@@ -503,6 +467,11 @@ export declare namespace Message {
503
467
  */
504
468
  const filterSensitiveLog: (obj: Message) => any;
505
469
  }
470
+ export declare enum StyleType {
471
+ DEFAULT = "Default",
472
+ SPELL_BY_LETTER = "SpellByLetter",
473
+ SPELL_BY_WORD = "SpellByWord"
474
+ }
506
475
  export declare enum DialogActionType {
507
476
  CLOSE = "Close",
508
477
  CONFIRM_INTENT = "ConfirmIntent",
@@ -548,6 +517,23 @@ export interface DialogAction {
548
517
  * <p>The name of the slot that should be elicited from the user.</p>
549
518
  */
550
519
  slotToElicit?: string;
520
+ /**
521
+ * <p>Configures the slot to use spell-by-letter or spell-by-word style.
522
+ * When you use a style on a slot, users can spell out their input to make
523
+ * it clear to your bot.</p>
524
+ * <ul>
525
+ * <li>
526
+ * <p>Spell by letter - "b" "o" "b"</p>
527
+ * </li>
528
+ * <li>
529
+ * <p>Spell by word - "b as in boy" "o as in oscar" "b as in
530
+ * boy"</p>
531
+ * </li>
532
+ * </ul>
533
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/using-spelling.html">
534
+ * Using spelling to enter slot values </a>.</p>
535
+ */
536
+ slotElicitationStyle?: StyleType | string;
551
537
  }
552
538
  export declare namespace DialogAction {
553
539
  /**
@@ -563,12 +549,6 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
563
549
  $fault: "server";
564
550
  message: string | undefined;
565
551
  }
566
- export declare namespace BadGatewayException {
567
- /**
568
- * @internal
569
- */
570
- const filterSensitiveLog: (obj: BadGatewayException) => any;
571
- }
572
552
  /**
573
553
  * <p></p>
574
554
  */
@@ -577,12 +557,6 @@ export interface DependencyFailedException extends __SmithyException, $MetadataB
577
557
  $fault: "client";
578
558
  message: string | undefined;
579
559
  }
580
- export declare namespace DependencyFailedException {
581
- /**
582
- * @internal
583
- */
584
- const filterSensitiveLog: (obj: DependencyFailedException) => any;
585
- }
586
560
  export interface PutSessionResponse {
587
561
  /**
588
562
  * <p>The type of response. Same as the type specified in the
@@ -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 { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
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;
@@ -14,7 +15,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
14
15
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
15
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
17
  region: string | import("@aws-sdk/types").Provider<any>;
17
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
18
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
18
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
19
20
  sha256: import("@aws-sdk/types").HashConstructor;
20
21
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -5,10 +5,11 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
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
  eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
14
15
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
27
27
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
28
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
29
29
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
30
+ 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>;
30
31
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
31
32
  tls?: boolean | undefined;
32
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -6,7 +6,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
6
6
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
7
7
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
8
8
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
9
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
10
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider, EventStreamSerdeProvider as __EventStreamSerdeProvider, 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";
11
11
  import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
12
12
  import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
@@ -63,6 +63,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
63
63
  defaultUserAgentProvider?: Provider<__UserAgent>;
64
64
 
65
65
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
66
+
67
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
66
68
  }
67
69
  declare type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
68
70
 
@@ -7,10 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
7
7
  $fault: "client";
8
8
  message: string | undefined;
9
9
  }
10
- export declare namespace AccessDeniedException {
11
-
12
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
13
- }
14
10
 
15
11
  export interface ActiveContextTimeToLive {
16
12
 
@@ -71,10 +67,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
71
67
  $fault: "client";
72
68
  message: string | undefined;
73
69
  }
74
- export declare namespace ConflictException {
75
-
76
- const filterSensitiveLog: (obj: ConflictException) => any;
77
- }
78
70
  export interface DeleteSessionRequest {
79
71
 
80
72
  botId: string | undefined;
@@ -109,40 +101,24 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
109
101
  $fault: "server";
110
102
  message: string | undefined;
111
103
  }
112
- export declare namespace InternalServerException {
113
-
114
- const filterSensitiveLog: (obj: InternalServerException) => any;
115
- }
116
104
 
117
105
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
118
106
  name: "ResourceNotFoundException";
119
107
  $fault: "client";
120
108
  message: string | undefined;
121
109
  }
122
- export declare namespace ResourceNotFoundException {
123
-
124
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
125
- }
126
110
 
127
111
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
128
112
  name: "ThrottlingException";
129
113
  $fault: "client";
130
114
  message: string | undefined;
131
115
  }
132
- export declare namespace ThrottlingException {
133
-
134
- const filterSensitiveLog: (obj: ThrottlingException) => any;
135
- }
136
116
 
137
117
  export interface ValidationException extends __SmithyException, $MetadataBearer {
138
118
  name: "ValidationException";
139
119
  $fault: "client";
140
120
  message: string | undefined;
141
121
  }
142
- export declare namespace ValidationException {
143
-
144
- const filterSensitiveLog: (obj: ValidationException) => any;
145
- }
146
122
  export interface GetSessionRequest {
147
123
 
148
124
  botId: string | undefined;
@@ -273,6 +249,11 @@ export declare namespace Message {
273
249
 
274
250
  const filterSensitiveLog: (obj: Message) => any;
275
251
  }
252
+ export declare enum StyleType {
253
+ DEFAULT = "Default",
254
+ SPELL_BY_LETTER = "SpellByLetter",
255
+ SPELL_BY_WORD = "SpellByWord"
256
+ }
276
257
  export declare enum DialogActionType {
277
258
  CLOSE = "Close",
278
259
  CONFIRM_INTENT = "ConfirmIntent",
@@ -287,6 +268,8 @@ export interface DialogAction {
287
268
  type: DialogActionType | string | undefined;
288
269
 
289
270
  slotToElicit?: string;
271
+
272
+ slotElicitationStyle?: StyleType | string;
290
273
  }
291
274
  export declare namespace DialogAction {
292
275
 
@@ -298,20 +281,12 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
298
281
  $fault: "server";
299
282
  message: string | undefined;
300
283
  }
301
- export declare namespace BadGatewayException {
302
-
303
- const filterSensitiveLog: (obj: BadGatewayException) => any;
304
- }
305
284
 
306
285
  export interface DependencyFailedException extends __SmithyException, $MetadataBearer {
307
286
  name: "DependencyFailedException";
308
287
  $fault: "client";
309
288
  message: string | undefined;
310
289
  }
311
- export declare namespace DependencyFailedException {
312
-
313
- const filterSensitiveLog: (obj: DependencyFailedException) => any;
314
- }
315
290
  export interface PutSessionResponse {
316
291
 
317
292
  contentType?: string;
@@ -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 { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
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;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
12
13
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
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;
@@ -3,10 +3,11 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
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
  eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
12
13
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
25
25
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
26
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
27
27
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
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;
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
4
- "version": "3.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
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 ./",
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",
15
- "test": "jest --coverage --passWithNoTests"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,53 +18,49 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/eventstream-handler-node": "3.40.0",
28
- "@aws-sdk/eventstream-serde-browser": "3.40.0",
29
- "@aws-sdk/eventstream-serde-config-resolver": "3.40.0",
30
- "@aws-sdk/eventstream-serde-node": "3.40.0",
31
- "@aws-sdk/fetch-http-handler": "3.40.0",
32
- "@aws-sdk/hash-node": "3.40.0",
33
- "@aws-sdk/invalid-dependency": "3.40.0",
34
- "@aws-sdk/middleware-content-length": "3.40.0",
35
- "@aws-sdk/middleware-eventstream": "3.40.0",
36
- "@aws-sdk/middleware-host-header": "3.40.0",
37
- "@aws-sdk/middleware-logger": "3.40.0",
38
- "@aws-sdk/middleware-retry": "3.40.0",
39
- "@aws-sdk/middleware-serde": "3.40.0",
40
- "@aws-sdk/middleware-signing": "3.40.0",
41
- "@aws-sdk/middleware-stack": "3.40.0",
42
- "@aws-sdk/middleware-user-agent": "3.40.0",
43
- "@aws-sdk/node-config-provider": "3.40.0",
44
- "@aws-sdk/node-http-handler": "3.40.0",
45
- "@aws-sdk/protocol-http": "3.40.0",
46
- "@aws-sdk/smithy-client": "3.41.0",
47
- "@aws-sdk/types": "3.40.0",
48
- "@aws-sdk/url-parser": "3.40.0",
49
- "@aws-sdk/util-base64-browser": "3.37.0",
50
- "@aws-sdk/util-base64-node": "3.37.0",
51
- "@aws-sdk/util-body-length-browser": "3.37.0",
52
- "@aws-sdk/util-body-length-node": "3.37.0",
53
- "@aws-sdk/util-user-agent-browser": "3.40.0",
54
- "@aws-sdk/util-user-agent-node": "3.40.0",
55
- "@aws-sdk/util-utf8-browser": "3.37.0",
56
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/eventstream-handler-node": "3.47.0",
25
+ "@aws-sdk/eventstream-serde-browser": "3.47.0",
26
+ "@aws-sdk/eventstream-serde-config-resolver": "3.47.0",
27
+ "@aws-sdk/eventstream-serde-node": "3.47.0",
28
+ "@aws-sdk/fetch-http-handler": "3.47.0",
29
+ "@aws-sdk/hash-node": "3.47.0",
30
+ "@aws-sdk/invalid-dependency": "3.47.0",
31
+ "@aws-sdk/middleware-content-length": "3.47.0",
32
+ "@aws-sdk/middleware-eventstream": "3.47.0",
33
+ "@aws-sdk/middleware-host-header": "3.47.0",
34
+ "@aws-sdk/middleware-logger": "3.47.0",
35
+ "@aws-sdk/middleware-retry": "3.47.0",
36
+ "@aws-sdk/middleware-serde": "3.47.0",
37
+ "@aws-sdk/middleware-signing": "3.47.0",
38
+ "@aws-sdk/middleware-stack": "3.47.0",
39
+ "@aws-sdk/middleware-user-agent": "3.47.0",
40
+ "@aws-sdk/node-config-provider": "3.47.0",
41
+ "@aws-sdk/node-http-handler": "3.47.0",
42
+ "@aws-sdk/protocol-http": "3.47.0",
43
+ "@aws-sdk/smithy-client": "3.47.0",
44
+ "@aws-sdk/types": "3.47.0",
45
+ "@aws-sdk/url-parser": "3.47.0",
46
+ "@aws-sdk/util-base64-browser": "3.47.0",
47
+ "@aws-sdk/util-base64-node": "3.47.0",
48
+ "@aws-sdk/util-body-length-browser": "3.47.0",
49
+ "@aws-sdk/util-body-length-node": "3.47.0",
50
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
51
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
53
+ "@aws-sdk/util-user-agent-node": "3.47.0",
54
+ "@aws-sdk/util-utf8-browser": "3.47.0",
55
+ "@aws-sdk/util-utf8-node": "3.47.0",
57
56
  "tslib": "^2.3.0"
58
57
  },
59
58
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
61
- "@types/node": "^12.7.5",
62
- "downlevel-dts": "0.7.0",
63
- "jest": "^26.1.0",
64
- "rimraf": "^3.0.0",
65
- "ts-jest": "^26.4.1",
66
- "typedoc": "^0.19.2",
67
- "typescript": "~4.3.5"
59
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
60
+ "@types/node": "^12.7.5"
68
61
  },
69
62
  "engines": {
70
- "node": ">=10.0.0"
63
+ "node": ">=12.0.0"
71
64
  },
72
65
  "typesVersions": {
73
66
  "<4.0": {