@aws-sdk/client-lex-models-v2 3.43.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 +50 -0
- package/dist-cjs/LexModelsV2.js +90 -0
- package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
- package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
- package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
- package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +226 -47
- package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1529 -186
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/LexModelsV2.js +90 -0
- package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
- package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
- package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
- package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
- package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +153 -28
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1541 -134
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/LexModelsV2.d.ts +50 -0
- package/dist-types/LexModelsV2Client.d.ts +13 -3
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1083 -109
- package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +11 -3
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +474 -30
- package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -26,6 +26,7 @@ import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./c
|
|
|
26
26
|
import { DescribeBotAliasCommandInput, DescribeBotAliasCommandOutput } from "./commands/DescribeBotAliasCommand";
|
|
27
27
|
import { DescribeBotCommandInput, DescribeBotCommandOutput } from "./commands/DescribeBotCommand";
|
|
28
28
|
import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "./commands/DescribeBotLocaleCommand";
|
|
29
|
+
import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "./commands/DescribeBotRecommendationCommand";
|
|
29
30
|
import { DescribeBotVersionCommandInput, DescribeBotVersionCommandOutput } from "./commands/DescribeBotVersionCommand";
|
|
30
31
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
|
|
31
32
|
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
|
|
@@ -36,6 +37,7 @@ import { DescribeSlotTypeCommandInput, DescribeSlotTypeCommandOutput } from "./c
|
|
|
36
37
|
import { ListAggregatedUtterancesCommandInput, ListAggregatedUtterancesCommandOutput } from "./commands/ListAggregatedUtterancesCommand";
|
|
37
38
|
import { ListBotAliasesCommandInput, ListBotAliasesCommandOutput } from "./commands/ListBotAliasesCommand";
|
|
38
39
|
import { ListBotLocalesCommandInput, ListBotLocalesCommandOutput } from "./commands/ListBotLocalesCommand";
|
|
40
|
+
import { ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput } from "./commands/ListBotRecommendationsCommand";
|
|
39
41
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
40
42
|
import { ListBotVersionsCommandInput, ListBotVersionsCommandOutput } from "./commands/ListBotVersionsCommand";
|
|
41
43
|
import { ListBuiltInIntentsCommandInput, ListBuiltInIntentsCommandOutput } from "./commands/ListBuiltInIntentsCommand";
|
|
@@ -43,15 +45,19 @@ import { ListBuiltInSlotTypesCommandInput, ListBuiltInSlotTypesCommandOutput } f
|
|
|
43
45
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
44
46
|
import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
|
|
45
47
|
import { ListIntentsCommandInput, ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
|
|
48
|
+
import { ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput } from "./commands/ListRecommendedIntentsCommand";
|
|
46
49
|
import { ListSlotsCommandInput, ListSlotsCommandOutput } from "./commands/ListSlotsCommand";
|
|
47
50
|
import { ListSlotTypesCommandInput, ListSlotTypesCommandOutput } from "./commands/ListSlotTypesCommand";
|
|
48
51
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
52
|
+
import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
53
|
+
import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
|
|
49
54
|
import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
|
|
50
55
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
51
56
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
52
57
|
import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
|
|
53
58
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
54
59
|
import { UpdateBotLocaleCommandInput, UpdateBotLocaleCommandOutput } from "./commands/UpdateBotLocaleCommand";
|
|
60
|
+
import { UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput } from "./commands/UpdateBotRecommendationCommand";
|
|
55
61
|
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "./commands/UpdateExportCommand";
|
|
56
62
|
import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/UpdateIntentCommand";
|
|
57
63
|
import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "./commands/UpdateResourcePolicyCommand";
|
|
@@ -333,6 +339,16 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
333
339
|
describeBotLocale(args: DescribeBotLocaleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotLocaleCommandOutput>;
|
|
334
340
|
describeBotLocale(args: DescribeBotLocaleCommandInput, cb: (err: any, data?: DescribeBotLocaleCommandOutput) => void): void;
|
|
335
341
|
describeBotLocale(args: DescribeBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotLocaleCommandOutput) => void): void;
|
|
342
|
+
/**
|
|
343
|
+
* <p>Provides metadata information about a bot recommendation. This
|
|
344
|
+
* information will enable you to get a description on the request inputs,
|
|
345
|
+
* to download associated transcripts after processing is complete, and to
|
|
346
|
+
* download intents and slot-types generated by the bot
|
|
347
|
+
* recommendation.</p>
|
|
348
|
+
*/
|
|
349
|
+
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotRecommendationCommandOutput>;
|
|
350
|
+
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, cb: (err: any, data?: DescribeBotRecommendationCommandOutput) => void): void;
|
|
351
|
+
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotRecommendationCommandOutput) => void): void;
|
|
336
352
|
/**
|
|
337
353
|
* <p>Provides metadata about a version of a bot.</p>
|
|
338
354
|
*/
|
|
@@ -418,6 +434,13 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
418
434
|
listBotLocales(args: ListBotLocalesCommandInput, options?: __HttpHandlerOptions): Promise<ListBotLocalesCommandOutput>;
|
|
419
435
|
listBotLocales(args: ListBotLocalesCommandInput, cb: (err: any, data?: ListBotLocalesCommandOutput) => void): void;
|
|
420
436
|
listBotLocales(args: ListBotLocalesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotLocalesCommandOutput) => void): void;
|
|
437
|
+
/**
|
|
438
|
+
* <p>Get a list of bot recommendations that meet the specified
|
|
439
|
+
* criteria.</p>
|
|
440
|
+
*/
|
|
441
|
+
listBotRecommendations(args: ListBotRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotRecommendationsCommandOutput>;
|
|
442
|
+
listBotRecommendations(args: ListBotRecommendationsCommandInput, cb: (err: any, data?: ListBotRecommendationsCommandOutput) => void): void;
|
|
443
|
+
listBotRecommendations(args: ListBotRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotRecommendationsCommandOutput) => void): void;
|
|
421
444
|
/**
|
|
422
445
|
* <p>Gets a list of available bots.</p>
|
|
423
446
|
*/
|
|
@@ -475,6 +498,13 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
475
498
|
listIntents(args: ListIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListIntentsCommandOutput>;
|
|
476
499
|
listIntents(args: ListIntentsCommandInput, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
|
|
477
500
|
listIntents(args: ListIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
|
|
501
|
+
/**
|
|
502
|
+
* <p>Gets a list of recommended intents provided by the bot
|
|
503
|
+
* recommendation that you can use in your bot.</p>
|
|
504
|
+
*/
|
|
505
|
+
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendedIntentsCommandOutput>;
|
|
506
|
+
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, cb: (err: any, data?: ListRecommendedIntentsCommandOutput) => void): void;
|
|
507
|
+
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendedIntentsCommandOutput) => void): void;
|
|
478
508
|
/**
|
|
479
509
|
* <p>Gets a list of slots that match the specified criteria.</p>
|
|
480
510
|
*/
|
|
@@ -494,6 +524,20 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
494
524
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
495
525
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
496
526
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
527
|
+
/**
|
|
528
|
+
* <p>Search for associated transcripts that meet the specified
|
|
529
|
+
* criteria.</p>
|
|
530
|
+
*/
|
|
531
|
+
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, options?: __HttpHandlerOptions): Promise<SearchAssociatedTranscriptsCommandOutput>;
|
|
532
|
+
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, cb: (err: any, data?: SearchAssociatedTranscriptsCommandOutput) => void): void;
|
|
533
|
+
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAssociatedTranscriptsCommandOutput) => void): void;
|
|
534
|
+
/**
|
|
535
|
+
* <p>Use this to provide your transcript data, and to start the bot
|
|
536
|
+
* recommendation process.</p>
|
|
537
|
+
*/
|
|
538
|
+
startBotRecommendation(args: StartBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<StartBotRecommendationCommandOutput>;
|
|
539
|
+
startBotRecommendation(args: StartBotRecommendationCommandInput, cb: (err: any, data?: StartBotRecommendationCommandOutput) => void): void;
|
|
540
|
+
startBotRecommendation(args: StartBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBotRecommendationCommandOutput) => void): void;
|
|
497
541
|
/**
|
|
498
542
|
* <p>Starts importing a bot or bot locale from a zip archive that you
|
|
499
543
|
* uploaded to an S3 bucket.</p>
|
|
@@ -533,6 +577,12 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
533
577
|
updateBotLocale(args: UpdateBotLocaleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotLocaleCommandOutput>;
|
|
534
578
|
updateBotLocale(args: UpdateBotLocaleCommandInput, cb: (err: any, data?: UpdateBotLocaleCommandOutput) => void): void;
|
|
535
579
|
updateBotLocale(args: UpdateBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotLocaleCommandOutput) => void): void;
|
|
580
|
+
/**
|
|
581
|
+
* <p>Updates an existing bot recommendation request.</p>
|
|
582
|
+
*/
|
|
583
|
+
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotRecommendationCommandOutput>;
|
|
584
|
+
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, cb: (err: any, data?: UpdateBotRecommendationCommandOutput) => void): void;
|
|
585
|
+
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotRecommendationCommandOutput) => void): void;
|
|
536
586
|
/**
|
|
537
587
|
* <p>Updates the password used to protect an export zip archive.</p>
|
|
538
588
|
* <p>The password is not required. If you don't supply a password, Amazon Lex
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BuildBotLocaleCommandInput, BuildBotLocaleCommandOutput } from "./commands/BuildBotLocaleCommand";
|
|
10
10
|
import { CreateBotAliasCommandInput, CreateBotAliasCommandOutput } from "./commands/CreateBotAliasCommand";
|
|
@@ -33,6 +33,7 @@ import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./c
|
|
|
33
33
|
import { DescribeBotAliasCommandInput, DescribeBotAliasCommandOutput } from "./commands/DescribeBotAliasCommand";
|
|
34
34
|
import { DescribeBotCommandInput, DescribeBotCommandOutput } from "./commands/DescribeBotCommand";
|
|
35
35
|
import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "./commands/DescribeBotLocaleCommand";
|
|
36
|
+
import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "./commands/DescribeBotRecommendationCommand";
|
|
36
37
|
import { DescribeBotVersionCommandInput, DescribeBotVersionCommandOutput } from "./commands/DescribeBotVersionCommand";
|
|
37
38
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
|
|
38
39
|
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
|
|
@@ -43,6 +44,7 @@ import { DescribeSlotTypeCommandInput, DescribeSlotTypeCommandOutput } from "./c
|
|
|
43
44
|
import { ListAggregatedUtterancesCommandInput, ListAggregatedUtterancesCommandOutput } from "./commands/ListAggregatedUtterancesCommand";
|
|
44
45
|
import { ListBotAliasesCommandInput, ListBotAliasesCommandOutput } from "./commands/ListBotAliasesCommand";
|
|
45
46
|
import { ListBotLocalesCommandInput, ListBotLocalesCommandOutput } from "./commands/ListBotLocalesCommand";
|
|
47
|
+
import { ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput } from "./commands/ListBotRecommendationsCommand";
|
|
46
48
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
47
49
|
import { ListBotVersionsCommandInput, ListBotVersionsCommandOutput } from "./commands/ListBotVersionsCommand";
|
|
48
50
|
import { ListBuiltInIntentsCommandInput, ListBuiltInIntentsCommandOutput } from "./commands/ListBuiltInIntentsCommand";
|
|
@@ -50,22 +52,26 @@ import { ListBuiltInSlotTypesCommandInput, ListBuiltInSlotTypesCommandOutput } f
|
|
|
50
52
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
51
53
|
import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
|
|
52
54
|
import { ListIntentsCommandInput, ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
|
|
55
|
+
import { ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput } from "./commands/ListRecommendedIntentsCommand";
|
|
53
56
|
import { ListSlotsCommandInput, ListSlotsCommandOutput } from "./commands/ListSlotsCommand";
|
|
54
57
|
import { ListSlotTypesCommandInput, ListSlotTypesCommandOutput } from "./commands/ListSlotTypesCommand";
|
|
55
58
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
59
|
+
import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
60
|
+
import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
|
|
56
61
|
import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
|
|
57
62
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
58
63
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
59
64
|
import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
|
|
60
65
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
61
66
|
import { UpdateBotLocaleCommandInput, UpdateBotLocaleCommandOutput } from "./commands/UpdateBotLocaleCommand";
|
|
67
|
+
import { UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput } from "./commands/UpdateBotRecommendationCommand";
|
|
62
68
|
import { UpdateExportCommandInput, UpdateExportCommandOutput } from "./commands/UpdateExportCommand";
|
|
63
69
|
import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/UpdateIntentCommand";
|
|
64
70
|
import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "./commands/UpdateResourcePolicyCommand";
|
|
65
71
|
import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/UpdateSlotCommand";
|
|
66
72
|
import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
|
|
67
|
-
export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotVersionCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | StartImportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
68
|
-
export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotVersionCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | StartImportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
73
|
+
export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
74
|
+
export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
69
75
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
76
|
/**
|
|
71
77
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -166,6 +172,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
166
172
|
* @internal
|
|
167
173
|
*/
|
|
168
174
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
175
|
+
/**
|
|
176
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
177
|
+
*/
|
|
178
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
169
179
|
}
|
|
170
180
|
declare type LexModelsV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
171
181
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { DescribeBotRecommendationRequest, DescribeBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeBotRecommendationCommandInput extends DescribeBotRecommendationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeBotRecommendationCommandOutput extends DescribeBotRecommendationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Provides metadata information about a bot recommendation. This
|
|
11
|
+
* information will enable you to get a description on the request inputs,
|
|
12
|
+
* to download associated transcripts after processing is complete, and to
|
|
13
|
+
* download intents and slot-types generated by the bot
|
|
14
|
+
* recommendation.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { LexModelsV2Client, DescribeBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
19
|
+
* // const { LexModelsV2Client, DescribeBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
20
|
+
* const client = new LexModelsV2Client(config);
|
|
21
|
+
* const command = new DescribeBotRecommendationCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DescribeBotRecommendationCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DescribeBotRecommendationCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DescribeBotRecommendationCommand extends $Command<DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
31
|
+
readonly input: DescribeBotRecommendationCommandInput;
|
|
32
|
+
constructor(input: DescribeBotRecommendationCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { ListBotRecommendationsRequest, ListBotRecommendationsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListBotRecommendationsCommandInput extends ListBotRecommendationsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListBotRecommendationsCommandOutput extends ListBotRecommendationsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Get a list of bot recommendations that meet the specified
|
|
11
|
+
* criteria.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, ListBotRecommendationsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, ListBotRecommendationsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new ListBotRecommendationsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListBotRecommendationsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListBotRecommendationsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListBotRecommendationsCommand extends $Command<ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: ListBotRecommendationsCommandInput;
|
|
29
|
+
constructor(input: ListBotRecommendationsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBotRecommendationsCommandInput, ListBotRecommendationsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { ListRecommendedIntentsRequest, ListRecommendedIntentsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListRecommendedIntentsCommandInput extends ListRecommendedIntentsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListRecommendedIntentsCommandOutput extends ListRecommendedIntentsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a list of recommended intents provided by the bot
|
|
11
|
+
* recommendation that you can use in your bot.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, ListRecommendedIntentsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, ListRecommendedIntentsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new ListRecommendedIntentsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListRecommendedIntentsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListRecommendedIntentsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListRecommendedIntentsCommand extends $Command<ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: ListRecommendedIntentsCommandInput;
|
|
29
|
+
constructor(input: ListRecommendedIntentsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendedIntentsCommandInput, ListRecommendedIntentsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { SearchAssociatedTranscriptsRequest, SearchAssociatedTranscriptsResponse } from "../models/models_0";
|
|
5
|
+
export interface SearchAssociatedTranscriptsCommandInput extends SearchAssociatedTranscriptsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchAssociatedTranscriptsCommandOutput extends SearchAssociatedTranscriptsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Search for associated transcripts that meet the specified
|
|
11
|
+
* criteria.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, SearchAssociatedTranscriptsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, SearchAssociatedTranscriptsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new SearchAssociatedTranscriptsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link SearchAssociatedTranscriptsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link SearchAssociatedTranscriptsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class SearchAssociatedTranscriptsCommand extends $Command<SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: SearchAssociatedTranscriptsCommandInput;
|
|
29
|
+
constructor(input: SearchAssociatedTranscriptsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { StartBotRecommendationRequest, StartBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
export interface StartBotRecommendationCommandInput extends StartBotRecommendationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartBotRecommendationCommandOutput extends StartBotRecommendationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Use this to provide your transcript data, and to start the bot
|
|
11
|
+
* recommendation process.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LexModelsV2Client, StartBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
16
|
+
* // const { LexModelsV2Client, StartBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
17
|
+
* const client = new LexModelsV2Client(config);
|
|
18
|
+
* const command = new StartBotRecommendationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link StartBotRecommendationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link StartBotRecommendationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class StartBotRecommendationCommand extends $Command<StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
28
|
+
readonly input: StartBotRecommendationCommandInput;
|
|
29
|
+
constructor(input: StartBotRecommendationCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
+
import { UpdateBotRecommendationRequest, UpdateBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateBotRecommendationCommandInput extends UpdateBotRecommendationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateBotRecommendationCommandOutput extends UpdateBotRecommendationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates an existing bot recommendation request.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { LexModelsV2Client, UpdateBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
15
|
+
* // const { LexModelsV2Client, UpdateBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
16
|
+
* const client = new LexModelsV2Client(config);
|
|
17
|
+
* const command = new UpdateBotRecommendationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateBotRecommendationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateBotRecommendationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateBotRecommendationCommand extends $Command<UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateBotRecommendationCommandInput;
|
|
28
|
+
constructor(input: UpdateBotRecommendationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -25,6 +25,7 @@ export * from "./DeleteUtterancesCommand";
|
|
|
25
25
|
export * from "./DescribeBotAliasCommand";
|
|
26
26
|
export * from "./DescribeBotCommand";
|
|
27
27
|
export * from "./DescribeBotLocaleCommand";
|
|
28
|
+
export * from "./DescribeBotRecommendationCommand";
|
|
28
29
|
export * from "./DescribeBotVersionCommand";
|
|
29
30
|
export * from "./DescribeExportCommand";
|
|
30
31
|
export * from "./DescribeImportCommand";
|
|
@@ -35,6 +36,7 @@ export * from "./DescribeSlotTypeCommand";
|
|
|
35
36
|
export * from "./ListAggregatedUtterancesCommand";
|
|
36
37
|
export * from "./ListBotAliasesCommand";
|
|
37
38
|
export * from "./ListBotLocalesCommand";
|
|
39
|
+
export * from "./ListBotRecommendationsCommand";
|
|
38
40
|
export * from "./ListBotVersionsCommand";
|
|
39
41
|
export * from "./ListBotsCommand";
|
|
40
42
|
export * from "./ListBuiltInIntentsCommand";
|
|
@@ -42,15 +44,19 @@ export * from "./ListBuiltInSlotTypesCommand";
|
|
|
42
44
|
export * from "./ListExportsCommand";
|
|
43
45
|
export * from "./ListImportsCommand";
|
|
44
46
|
export * from "./ListIntentsCommand";
|
|
47
|
+
export * from "./ListRecommendedIntentsCommand";
|
|
45
48
|
export * from "./ListSlotTypesCommand";
|
|
46
49
|
export * from "./ListSlotsCommand";
|
|
47
50
|
export * from "./ListTagsForResourceCommand";
|
|
51
|
+
export * from "./SearchAssociatedTranscriptsCommand";
|
|
52
|
+
export * from "./StartBotRecommendationCommand";
|
|
48
53
|
export * from "./StartImportCommand";
|
|
49
54
|
export * from "./TagResourceCommand";
|
|
50
55
|
export * from "./UntagResourceCommand";
|
|
51
56
|
export * from "./UpdateBotAliasCommand";
|
|
52
57
|
export * from "./UpdateBotCommand";
|
|
53
58
|
export * from "./UpdateBotLocaleCommand";
|
|
59
|
+
export * from "./UpdateBotRecommendationCommand";
|
|
54
60
|
export * from "./UpdateExportCommand";
|
|
55
61
|
export * from "./UpdateIntentCommand";
|
|
56
62
|
export * from "./UpdateResourcePolicyCommand";
|