@aws-sdk/client-lex-runtime-v2 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/LexRuntimeV2.js +1 -5
  3. package/{dist/cjs → dist-cjs}/LexRuntimeV2Client.js +10 -19
  4. package/dist-cjs/commands/DeleteSessionCommand.js +36 -0
  5. package/{dist/cjs → dist-cjs}/commands/GetSessionCommand.js +2 -35
  6. package/{dist/cjs → dist-cjs}/commands/PutSessionCommand.js +2 -29
  7. package/{dist/cjs → dist-cjs}/commands/RecognizeTextCommand.js +2 -31
  8. package/dist-cjs/commands/RecognizeUtteranceCommand.js +36 -0
  9. package/dist-cjs/commands/StartConversationCommand.js +38 -0
  10. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  11. package/{dist/cjs → dist-cjs}/index.js +0 -1
  12. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  13. package/{dist/cjs → dist-cjs}/models/models_0.js +2 -145
  14. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  18. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  19. package/{dist/es → dist-es}/LexRuntimeV2.js +1 -2
  20. package/{dist/es → dist-es}/LexRuntimeV2Client.js +1 -2
  21. package/{dist/es → dist-es}/commands/DeleteSessionCommand.js +2 -3
  22. package/{dist/es → dist-es}/commands/GetSessionCommand.js +2 -3
  23. package/{dist/es → dist-es}/commands/PutSessionCommand.js +2 -3
  24. package/{dist/es → dist-es}/commands/RecognizeTextCommand.js +2 -3
  25. package/{dist/es → dist-es}/commands/RecognizeUtteranceCommand.js +2 -3
  26. package/{dist/es → dist-es}/commands/StartConversationCommand.js +2 -3
  27. package/{dist/es → dist-es}/endpoints.js +1 -2
  28. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  29. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  30. package/{dist/es → dist-es}/models/models_0.js +2 -1
  31. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -2
  32. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  33. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  34. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  35. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  36. package/{dist/types/ts3.4 → dist-types}/LexRuntimeV2.d.ts +223 -139
  37. package/{dist/types → dist-types}/LexRuntimeV2Client.d.ts +7 -7
  38. package/{dist/types → dist-types}/commands/DeleteSessionCommand.d.ts +2 -2
  39. package/{dist/types → dist-types}/commands/GetSessionCommand.d.ts +2 -2
  40. package/{dist/types → dist-types}/commands/PutSessionCommand.d.ts +2 -2
  41. package/{dist/types → dist-types}/commands/RecognizeTextCommand.d.ts +28 -2
  42. package/{dist/types → dist-types}/commands/RecognizeUtteranceCommand.d.ts +28 -2
  43. package/{dist/types → dist-types}/commands/StartConversationCommand.d.ts +34 -2
  44. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  45. package/{index.ts → dist-types/index.d.ts} +0 -0
  46. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  47. package/{dist/types → dist-types}/models/models_0.d.ts +15 -9
  48. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  49. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  50. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  51. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  52. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  53. package/dist-types/ts3.4/LexRuntimeV2.d.ts +35 -0
  54. package/{dist/types → dist-types}/ts3.4/LexRuntimeV2Client.d.ts +33 -103
  55. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +24 -0
  60. package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +17 -0
  61. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  62. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  63. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +348 -0
  65. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  66. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  67. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  68. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  69. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  70. package/package.json +50 -47
  71. package/LexRuntimeV2.ts +0 -299
  72. package/LexRuntimeV2Client.ts +0 -282
  73. package/commands/DeleteSessionCommand.ts +0 -107
  74. package/commands/GetSessionCommand.ts +0 -102
  75. package/commands/PutSessionCommand.ts +0 -96
  76. package/commands/RecognizeTextCommand.ts +0 -98
  77. package/commands/RecognizeUtteranceCommand.ts +0 -139
  78. package/commands/StartConversationCommand.ts +0 -130
  79. package/dist/cjs/LexRuntimeV2.js.map +0 -1
  80. package/dist/cjs/LexRuntimeV2Client.js.map +0 -1
  81. package/dist/cjs/commands/DeleteSessionCommand.js +0 -74
  82. package/dist/cjs/commands/DeleteSessionCommand.js.map +0 -1
  83. package/dist/cjs/commands/GetSessionCommand.js.map +0 -1
  84. package/dist/cjs/commands/PutSessionCommand.js.map +0 -1
  85. package/dist/cjs/commands/RecognizeTextCommand.js.map +0 -1
  86. package/dist/cjs/commands/RecognizeUtteranceCommand.js +0 -97
  87. package/dist/cjs/commands/RecognizeUtteranceCommand.js.map +0 -1
  88. package/dist/cjs/commands/StartConversationCommand.js +0 -90
  89. package/dist/cjs/commands/StartConversationCommand.js.map +0 -1
  90. package/dist/cjs/endpoints.js.map +0 -1
  91. package/dist/cjs/index.js.map +0 -1
  92. package/dist/cjs/models/index.js.map +0 -1
  93. package/dist/cjs/models/models_0.js.map +0 -1
  94. package/dist/cjs/package.json +0 -96
  95. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  96. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  97. package/dist/cjs/runtimeConfig.js.map +0 -1
  98. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  99. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  100. package/dist/es/LexRuntimeV2.js.map +0 -1
  101. package/dist/es/LexRuntimeV2Client.js.map +0 -1
  102. package/dist/es/commands/DeleteSessionCommand.js.map +0 -1
  103. package/dist/es/commands/GetSessionCommand.js.map +0 -1
  104. package/dist/es/commands/PutSessionCommand.js.map +0 -1
  105. package/dist/es/commands/RecognizeTextCommand.js.map +0 -1
  106. package/dist/es/commands/RecognizeUtteranceCommand.js.map +0 -1
  107. package/dist/es/commands/StartConversationCommand.js.map +0 -1
  108. package/dist/es/endpoints.js.map +0 -1
  109. package/dist/es/index.js +0 -10
  110. package/dist/es/index.js.map +0 -1
  111. package/dist/es/models/index.js +0 -2
  112. package/dist/es/models/index.js.map +0 -1
  113. package/dist/es/models/models_0.js.map +0 -1
  114. package/dist/es/package.json +0 -96
  115. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  116. package/dist/es/runtimeConfig.browser.js.map +0 -1
  117. package/dist/es/runtimeConfig.js.map +0 -1
  118. package/dist/es/runtimeConfig.native.js.map +0 -1
  119. package/dist/es/runtimeConfig.shared.js.map +0 -1
  120. package/dist/types/LexRuntimeV2.d.ts +0 -139
  121. package/dist/types/ts3.4/commands/DeleteSessionCommand.d.ts +0 -48
  122. package/dist/types/ts3.4/commands/GetSessionCommand.d.ts +0 -43
  123. package/dist/types/ts3.4/commands/PutSessionCommand.d.ts +0 -37
  124. package/dist/types/ts3.4/commands/RecognizeTextCommand.d.ts +0 -39
  125. package/dist/types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +0 -82
  126. package/dist/types/ts3.4/commands/StartConversationCommand.d.ts +0 -62
  127. package/dist/types/ts3.4/models/models_0.d.ts +0 -2035
  128. package/endpoints.ts +0 -57
  129. package/jest.config.js +0 -4
  130. package/models/models_0.ts +0 -2458
  131. package/protocols/Aws_restJson1.ts +0 -2458
  132. package/runtimeConfig.browser.ts +0 -45
  133. package/runtimeConfig.native.ts +0 -20
  134. package/runtimeConfig.shared.ts +0 -16
  135. package/runtimeConfig.ts +0 -49
  136. package/tsconfig.es.json +0 -10
  137. package/tsconfig.json +0 -31
  138. package/tsconfig.types.json +0 -8
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1RecognizeTextCommand, serializeAws_restJson1RecognizeTextCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1RecognizeTextCommand, serializeAws_restJson1RecognizeTextCommand, } from "../protocols/Aws_restJson1";
6
6
  var RecognizeTextCommand = (function (_super) {
7
7
  __extends(RecognizeTextCommand, _super);
8
8
  function RecognizeTextCommand(input) {
@@ -37,4 +37,3 @@ var RecognizeTextCommand = (function (_super) {
37
37
  return RecognizeTextCommand;
38
38
  }($Command));
39
39
  export { RecognizeTextCommand };
40
- //# sourceMappingURL=RecognizeTextCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1RecognizeUtteranceCommand, serializeAws_restJson1RecognizeUtteranceCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1RecognizeUtteranceCommand, serializeAws_restJson1RecognizeUtteranceCommand, } from "../protocols/Aws_restJson1";
6
6
  var RecognizeUtteranceCommand = (function (_super) {
7
7
  __extends(RecognizeUtteranceCommand, _super);
8
8
  function RecognizeUtteranceCommand(input) {
@@ -37,4 +37,3 @@ var RecognizeUtteranceCommand = (function (_super) {
37
37
  return RecognizeUtteranceCommand;
38
38
  }($Command));
39
39
  export { RecognizeUtteranceCommand };
40
- //# sourceMappingURL=RecognizeUtteranceCommand.js.map
@@ -1,9 +1,9 @@
1
1
  import { __extends } from "tslib";
2
- import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1StartConversationCommand, serializeAws_restJson1StartConversationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
5
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
6
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
+ import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
6
+ import { deserializeAws_restJson1StartConversationCommand, serializeAws_restJson1StartConversationCommand, } from "../protocols/Aws_restJson1";
7
7
  var StartConversationCommand = (function (_super) {
8
8
  __extends(StartConversationCommand, _super);
9
9
  function StartConversationCommand(input) {
@@ -39,4 +39,3 @@ var StartConversationCommand = (function (_super) {
39
39
  return StartConversationCommand;
40
40
  }($Command));
41
41
  export { StartConversationCommand };
42
- //# sourceMappingURL=StartConversationCommand.js.map
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "runtime-v2-lex.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "runtime-v2-lex.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "lex", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes
@@ -71,6 +71,7 @@ export var IntentState;
71
71
  (function (IntentState) {
72
72
  IntentState["FAILED"] = "Failed";
73
73
  IntentState["FULFILLED"] = "Fulfilled";
74
+ IntentState["FULFILLMENT_IN_PROGRESS"] = "FulfillmentInProgress";
74
75
  IntentState["IN_PROGRESS"] = "InProgress";
75
76
  IntentState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
76
77
  IntentState["WAITING"] = "Waiting";
@@ -120,6 +121,7 @@ export var DialogActionType;
120
121
  DialogActionType["DELEGATE"] = "Delegate";
121
122
  DialogActionType["ELICIT_INTENT"] = "ElicitIntent";
122
123
  DialogActionType["ELICIT_SLOT"] = "ElicitSlot";
124
+ DialogActionType["NONE"] = "None";
123
125
  })(DialogActionType || (DialogActionType = {}));
124
126
  export var DialogAction;
125
127
  (function (DialogAction) {
@@ -348,4 +350,3 @@ export var StartConversationResponse;
348
350
  (function (StartConversationResponse) {
349
351
  StartConversationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.responseEventStream && { responseEventStream: "STREAMING_CONTENT" }))); };
350
352
  })(StartConversationResponse || (StartConversationResponse = {}));
351
- //# sourceMappingURL=models_0.js.map
@@ -1,7 +1,7 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
- import { StartConversationRequestEventStream, } from "../models/models_0";
3
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
4
3
  import { expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, } from "@aws-sdk/smithy-client";
4
+ import { StartConversationRequestEventStream, } from "../models/models_0";
5
5
  export var serializeAws_restJson1DeleteSessionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, labelValue, labelValue, body;
7
7
  return __generator(this, function (_c) {
@@ -2252,4 +2252,3 @@ var loadRestJsonErrorCode = function (output, data) {
2252
2252
  }
2253
2253
  return "";
2254
2254
  };
2255
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser";
5
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
@@ -15,4 +15,3 @@ export var getRuntimeConfig = function (config) {
15
15
  var clientSharedValues = getSharedRuntimeConfig(config);
16
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 }), 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, 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
17
  };
18
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
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 } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -21,4 +21,3 @@ export var getRuntimeConfig = function (config) {
21
21
  var clientSharedValues = getSharedRuntimeConfig(config);
22
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, 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 });
23
23
  };
24
- //# sourceMappingURL=runtimeConfig.js.map
@@ -7,4 +7,3 @@ export var getRuntimeConfig = function (config) {
7
7
  var browserDefaults = getBrowserRuntimeConfig(config);
8
8
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", eventStreamPayloadHandlerProvider: (_a = config === null || config === void 0 ? void 0 : config.eventStreamPayloadHandlerProvider) !== null && _a !== void 0 ? _a : (function () { return ({ handle: invalidFunction("event stream request is not supported in ReactNative.") }); }), sha256: (_b = config === null || config === void 0 ? void 0 : config.sha256) !== null && _b !== void 0 ? _b : Sha256 });
9
9
  };
10
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,5 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
3
  export var getRuntimeConfig = function (config) {
4
4
  var _a, _b, _c, _d, _e;
5
5
  return ({
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,139 +1,223 @@
1
- import { LexRuntimeV2Client } from "./LexRuntimeV2Client";
2
- import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
3
- import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
4
- import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
5
- import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./commands/RecognizeTextCommand";
6
- import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
7
- import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
8
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
9
- /**
10
- * <p></p>
11
- */
12
- export declare class LexRuntimeV2 extends LexRuntimeV2Client {
13
- /**
14
- * <p>Removes session information for a specified bot, alias, and user ID. </p>
15
- * <p>You can use this operation to restart a conversation with a bot.
16
- * When you remove a session, the entire history of the session is removed
17
- * so that you can start again.</p>
18
- * <p>You don't need to delete a session. Sessions have a time limit and
19
- * will expire. Set the session time limit when you create the bot. The
20
- * default is 5 minutes, but you can specify anything between 1 minute and
21
- * 24 hours.</p>
22
- * <p>If you specify a bot or alias ID that doesn't exist, you receive a
23
- * <code>BadRequestException.</code>
24
- * </p>
25
- * <p>If the locale doesn't exist in the bot, or if the locale hasn't been
26
- * enables for the alias, you receive a
27
- * <code>BadRequestException</code>.</p>
28
- */
29
- deleteSession(args: DeleteSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSessionCommandOutput>;
30
- deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
31
- deleteSession(args: DeleteSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
32
- /**
33
- * <p>Returns session information for a specified bot, alias, and
34
- * user.</p>
35
- * <p>For example, you can use this operation to retrieve session
36
- * information for a user that has left a long-running session in
37
- * use.</p>
38
- * <p>If the bot, alias, or session identifier doesn't exist, Amazon Lex V2
39
- * returns a <code>BadRequestException</code>. If the locale doesn't exist
40
- * or is not enabled for the alias, you receive a
41
- * <code>BadRequestException</code>.</p>
42
- */
43
- getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
44
- getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
45
- getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
46
- /**
47
- * <p>Creates a new session or modifies an existing session with an Amazon Lex V2
48
- * bot. Use this operation to enable your application to set the state of
49
- * the bot.</p>
50
- */
51
- putSession(args: PutSessionCommandInput, options?: __HttpHandlerOptions): Promise<PutSessionCommandOutput>;
52
- putSession(args: PutSessionCommandInput, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
53
- putSession(args: PutSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
54
- /**
55
- * <p>Sends user input to Amazon Lex V2. Client applications use this API to send
56
- * requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input
57
- * using the machine learning model that it build for the bot.</p>
58
- * <p>In response, Amazon Lex V2 returns the next message to convey to the user
59
- * and an optional response card to display.</p>
60
- */
61
- recognizeText(args: RecognizeTextCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeTextCommandOutput>;
62
- recognizeText(args: RecognizeTextCommandInput, cb: (err: any, data?: RecognizeTextCommandOutput) => void): void;
63
- recognizeText(args: RecognizeTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeTextCommandOutput) => void): void;
64
- /**
65
- * <p>Sends user input to Amazon Lex V2. You can send text or speech. Clients use
66
- * this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2
67
- * interprets the user input using the machine learning model built for
68
- * the bot.</p>
69
- * <p>The following request fields must be compressed with gzip and then
70
- * base64 encoded before you send them to Amazon Lex V2. </p>
71
- * <ul>
72
- * <li>
73
- * <p>requestAttributes</p>
74
- * </li>
75
- * <li>
76
- * <p>sessionState</p>
77
- * </li>
78
- * </ul>
79
- * <p>The following response fields are compressed using gzip and then
80
- * base64 encoded by Amazon Lex V2. Before you can use these fields, you must
81
- * decode and decompress them. </p>
82
- * <ul>
83
- * <li>
84
- * <p>inputTranscript</p>
85
- * </li>
86
- * <li>
87
- * <p>interpretations</p>
88
- * </li>
89
- * <li>
90
- * <p>messages</p>
91
- * </li>
92
- * <li>
93
- * <p>requestAttributes</p>
94
- * </li>
95
- * <li>
96
- * <p>sessionState</p>
97
- * </li>
98
- * </ul>
99
- * <p>The example contains a Java application that compresses and encodes
100
- * a Java object to send to Amazon Lex V2, and a second that decodes and
101
- * decompresses a response from Amazon Lex V2.</p>
102
- */
103
- recognizeUtterance(args: RecognizeUtteranceCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeUtteranceCommandOutput>;
104
- recognizeUtterance(args: RecognizeUtteranceCommandInput, cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void): void;
105
- recognizeUtterance(args: RecognizeUtteranceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void): void;
106
- /**
107
- * <p>Starts an HTTP/2 bidirectional event stream that enables you to send
108
- * audio, text, or DTMF input in real time. After your application starts
109
- * a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2
110
- * processes the incoming events and responds with streaming text or audio
111
- * events.
112
- * </p>
113
- * <p>Audio input must be in the following format: <code>audio/lpcm
114
- * sample-rate=8000 sample-size-bits=16 channel-count=1;
115
- * is-big-endian=false</code>.</p>
116
- * <p>The <code>StartConversation</code> operation is supported only in
117
- * the following SDKs: </p>
118
- * <ul>
119
- * <li>
120
- * <p>
121
- * <a href="https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation">AWS SDK for C++</a>
122
- * </p>
123
- * </li>
124
- * <li>
125
- * <p>
126
- * <a href="https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation">AWS SDK for Java V2</a>
127
- * </p>
128
- * </li>
129
- * <li>
130
- * <p>
131
- * <a href="https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation">AWS SDK for Ruby V3</a>
132
- * </p>
133
- * </li>
134
- * </ul>
135
- */
136
- startConversation(args: StartConversationCommandInput, options?: __HttpHandlerOptions): Promise<StartConversationCommandOutput>;
137
- startConversation(args: StartConversationCommandInput, cb: (err: any, data?: StartConversationCommandOutput) => void): void;
138
- startConversation(args: StartConversationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConversationCommandOutput) => void): void;
139
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
3
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
4
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
5
+ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./commands/RecognizeTextCommand";
6
+ import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
7
+ import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
8
+ import { LexRuntimeV2Client } from "./LexRuntimeV2Client";
9
+ /**
10
+ * <p></p>
11
+ */
12
+ export declare class LexRuntimeV2 extends LexRuntimeV2Client {
13
+ /**
14
+ * <p>Removes session information for a specified bot, alias, and user ID. </p>
15
+ * <p>You can use this operation to restart a conversation with a bot.
16
+ * When you remove a session, the entire history of the session is removed
17
+ * so that you can start again.</p>
18
+ * <p>You don't need to delete a session. Sessions have a time limit and
19
+ * will expire. Set the session time limit when you create the bot. The
20
+ * default is 5 minutes, but you can specify anything between 1 minute and
21
+ * 24 hours.</p>
22
+ * <p>If you specify a bot or alias ID that doesn't exist, you receive a
23
+ * <code>BadRequestException.</code>
24
+ * </p>
25
+ * <p>If the locale doesn't exist in the bot, or if the locale hasn't been
26
+ * enables for the alias, you receive a
27
+ * <code>BadRequestException</code>.</p>
28
+ */
29
+ deleteSession(args: DeleteSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSessionCommandOutput>;
30
+ deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
31
+ deleteSession(args: DeleteSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
32
+ /**
33
+ * <p>Returns session information for a specified bot, alias, and
34
+ * user.</p>
35
+ * <p>For example, you can use this operation to retrieve session
36
+ * information for a user that has left a long-running session in
37
+ * use.</p>
38
+ * <p>If the bot, alias, or session identifier doesn't exist, Amazon Lex V2
39
+ * returns a <code>BadRequestException</code>. If the locale doesn't exist
40
+ * or is not enabled for the alias, you receive a
41
+ * <code>BadRequestException</code>.</p>
42
+ */
43
+ getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
44
+ getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
45
+ getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
46
+ /**
47
+ * <p>Creates a new session or modifies an existing session with an Amazon Lex V2
48
+ * bot. Use this operation to enable your application to set the state of
49
+ * the bot.</p>
50
+ */
51
+ putSession(args: PutSessionCommandInput, options?: __HttpHandlerOptions): Promise<PutSessionCommandOutput>;
52
+ putSession(args: PutSessionCommandInput, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
53
+ putSession(args: PutSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
54
+ /**
55
+ * <p>Sends user input to Amazon Lex V2. Client applications use this API to send
56
+ * requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input
57
+ * using the machine learning model that it build for the bot.</p>
58
+ * <p>In response, Amazon Lex V2 returns the next message to convey to the user
59
+ * and an optional response card to display.</p>
60
+ * <p>If the optional post-fulfillment response is specified, the messages
61
+ * are returned as follows. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html">PostFulfillmentStatusSpecification</a>.</p>
62
+ * <ul>
63
+ * <li>
64
+ * <p>
65
+ * <b>Success message</b> - Returned if
66
+ * the Lambda function completes successfully and the intent state is
67
+ * fulfilled or ready fulfillment if the message is present.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <b>Failed message</b> - The failed
72
+ * message is returned if the Lambda function throws an exception or
73
+ * if the Lambda function returns a failed intent state without a
74
+ * message.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>
78
+ * <b>Timeout message</b> - If you
79
+ * don't configure a timeout message and a timeout, and the Lambda
80
+ * function doesn't return within 30 seconds, the timeout message is
81
+ * returned. If you configure a timeout, the timeout message is
82
+ * returned when the period times out. </p>
83
+ * </li>
84
+ * </ul>
85
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html">Completion message</a>.</p>
86
+ */
87
+ recognizeText(args: RecognizeTextCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeTextCommandOutput>;
88
+ recognizeText(args: RecognizeTextCommandInput, cb: (err: any, data?: RecognizeTextCommandOutput) => void): void;
89
+ recognizeText(args: RecognizeTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeTextCommandOutput) => void): void;
90
+ /**
91
+ * <p>Sends user input to Amazon Lex V2. You can send text or speech. Clients use
92
+ * this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2
93
+ * interprets the user input using the machine learning model built for
94
+ * the bot.</p>
95
+ * <p>The following request fields must be compressed with gzip and then
96
+ * base64 encoded before you send them to Amazon Lex V2. </p>
97
+ * <ul>
98
+ * <li>
99
+ * <p>requestAttributes</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>sessionState</p>
103
+ * </li>
104
+ * </ul>
105
+ * <p>The following response fields are compressed using gzip and then
106
+ * base64 encoded by Amazon Lex V2. Before you can use these fields, you must
107
+ * decode and decompress them. </p>
108
+ * <ul>
109
+ * <li>
110
+ * <p>inputTranscript</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>interpretations</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>messages</p>
117
+ * </li>
118
+ * <li>
119
+ * <p>requestAttributes</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>sessionState</p>
123
+ * </li>
124
+ * </ul>
125
+ * <p>The example contains a Java application that compresses and encodes
126
+ * a Java object to send to Amazon Lex V2, and a second that decodes and
127
+ * decompresses a response from Amazon Lex V2.</p>
128
+ * <p>If the optional post-fulfillment response is specified, the messages
129
+ * are returned as follows. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html">PostFulfillmentStatusSpecification</a>.</p>
130
+ * <ul>
131
+ * <li>
132
+ * <p>
133
+ * <b>Success message</b> - Returned if
134
+ * the Lambda function completes successfully and the intent state is
135
+ * fulfilled or ready fulfillment if the message is present.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>
139
+ * <b>Failed message</b> - The failed
140
+ * message is returned if the Lambda function throws an exception or
141
+ * if the Lambda function returns a failed intent state without a
142
+ * message.</p>
143
+ * </li>
144
+ * <li>
145
+ * <p>
146
+ * <b>Timeout message</b> - If you
147
+ * don't configure a timeout message and a timeout, and the Lambda
148
+ * function doesn't return within 30 seconds, the timeout message is
149
+ * returned. If you configure a timeout, the timeout message is
150
+ * returned when the period times out. </p>
151
+ * </li>
152
+ * </ul>
153
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html">Completion message</a>.</p>
154
+ */
155
+ recognizeUtterance(args: RecognizeUtteranceCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeUtteranceCommandOutput>;
156
+ recognizeUtterance(args: RecognizeUtteranceCommandInput, cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void): void;
157
+ recognizeUtterance(args: RecognizeUtteranceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void): void;
158
+ /**
159
+ * <p>Starts an HTTP/2 bidirectional event stream that enables you to send
160
+ * audio, text, or DTMF input in real time. After your application starts
161
+ * a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2
162
+ * processes the incoming events and responds with streaming text or audio
163
+ * events.
164
+ * </p>
165
+ * <p>Audio input must be in the following format: <code>audio/lpcm
166
+ * sample-rate=8000 sample-size-bits=16 channel-count=1;
167
+ * is-big-endian=false</code>.</p>
168
+ * <p>If the optional post-fulfillment response is specified, the messages
169
+ * are returned as follows. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html">PostFulfillmentStatusSpecification</a>.</p>
170
+ * <ul>
171
+ * <li>
172
+ * <p>
173
+ * <b>Success message</b> - Returned if
174
+ * the Lambda function completes successfully and the intent state is
175
+ * fulfilled or ready fulfillment if the message is present.</p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <b>Failed message</b> - The failed
180
+ * message is returned if the Lambda function throws an exception or
181
+ * if the Lambda function returns a failed intent state without a
182
+ * message.</p>
183
+ * </li>
184
+ * <li>
185
+ * <p>
186
+ * <b>Timeout message</b> - If you
187
+ * don't configure a timeout message and a timeout, and the Lambda
188
+ * function doesn't return within 30 seconds, the timeout message is
189
+ * returned. If you configure a timeout, the timeout message is
190
+ * returned when the period times out. </p>
191
+ * </li>
192
+ * </ul>
193
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html">Completion message</a>.</p>
194
+ * <p>If the optional update message is configured, it is played at the
195
+ * specified frequency while the Lambda function is running and the update
196
+ * message state is active. If the fulfillment update message is not
197
+ * active, the Lambda function runs with a 30 second timeout. </p>
198
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-update.html">Update message </a>
199
+ * </p>
200
+ * <p>The <code>StartConversation</code> operation is supported only in
201
+ * the following SDKs: </p>
202
+ * <ul>
203
+ * <li>
204
+ * <p>
205
+ * <a href="https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation">AWS SDK for C++</a>
206
+ * </p>
207
+ * </li>
208
+ * <li>
209
+ * <p>
210
+ * <a href="https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation">AWS SDK for Java V2</a>
211
+ * </p>
212
+ * </li>
213
+ * <li>
214
+ * <p>
215
+ * <a href="https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation">AWS SDK for Ruby V3</a>
216
+ * </p>
217
+ * </li>
218
+ * </ul>
219
+ */
220
+ startConversation(args: StartConversationCommandInput, options?: __HttpHandlerOptions): Promise<StartConversationCommandOutput>;
221
+ startConversation(args: StartConversationCommandInput, cb: (err: any, data?: StartConversationCommandOutput) => void): void;
222
+ startConversation(args: StartConversationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConversationCommandOutput) => void): void;
223
+ }
@@ -1,9 +1,3 @@
1
- import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
2
- import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
3
- import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
4
- import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./commands/RecognizeTextCommand";
5
- import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
6
- import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
7
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
8
2
  import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@aws-sdk/eventstream-serde-config-resolver";
9
3
  import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
@@ -13,7 +7,13 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
13
7
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
14
8
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
15
9
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
16
- import { Provider, RegionInfoProvider, 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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
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
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
12
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
13
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
14
+ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./commands/RecognizeTextCommand";
15
+ import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
16
+ import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
17
17
  export declare type ServiceInputTypes = DeleteSessionCommandInput | GetSessionCommandInput | PutSessionCommandInput | RecognizeTextCommandInput | RecognizeUtteranceCommandInput | StartConversationCommandInput;
18
18
  export declare type ServiceOutputTypes = DeleteSessionCommandOutput | GetSessionCommandOutput | PutSessionCommandOutput | RecognizeTextCommandOutput | RecognizeUtteranceCommandOutput | StartConversationCommandOutput;
19
19
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
2
4
  import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteSessionCommandInput extends DeleteSessionRequest {
6
6
  }
7
7
  export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
2
4
  import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetSessionCommandInput extends GetSessionRequest {
6
6
  }
7
7
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
2
4
  import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface PutSessionCommandInput extends PutSessionRequest {
6
6
  }
7
7
  export interface PutSessionCommandOutput extends PutSessionResponse, __MetadataBearer {