@aws-sdk/client-lex-models-v2 3.40.0 → 3.44.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 +41 -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 +8 -0
- package/dist-cjs/models/models_0.js +206 -5
- 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 +1472 -208
- 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 +8 -0
- package/dist-es/models/models_0.js +139 -0
- 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 +1370 -33
- package/dist-types/LexModelsV2.d.ts +56 -6
- package/dist-types/LexModelsV2Client.d.ts +8 -2
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportCommand.d.ts +1 -1
- package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +1 -1
- package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteExportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIntentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotLocalesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListBotVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotsCommand.d.ts +1 -1
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +2 -2
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListExportsCommand.d.ts +1 -1
- package/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/commands/ListIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
- package/dist-types/commands/ListSlotTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListSlotsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/StartImportCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +2 -2
- package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +925 -25
- 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/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
- 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 +425 -0
- 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/package.json +4 -4
package/dist-es/LexModelsV2.js
CHANGED
|
@@ -26,6 +26,7 @@ import { DeleteUtterancesCommand, } from "./commands/DeleteUtterancesCommand";
|
|
|
26
26
|
import { DescribeBotAliasCommand, } from "./commands/DescribeBotAliasCommand";
|
|
27
27
|
import { DescribeBotCommand } from "./commands/DescribeBotCommand";
|
|
28
28
|
import { DescribeBotLocaleCommand, } from "./commands/DescribeBotLocaleCommand";
|
|
29
|
+
import { DescribeBotRecommendationCommand, } from "./commands/DescribeBotRecommendationCommand";
|
|
29
30
|
import { DescribeBotVersionCommand, } from "./commands/DescribeBotVersionCommand";
|
|
30
31
|
import { DescribeExportCommand, } from "./commands/DescribeExportCommand";
|
|
31
32
|
import { DescribeImportCommand, } from "./commands/DescribeImportCommand";
|
|
@@ -36,6 +37,7 @@ import { DescribeSlotTypeCommand, } from "./commands/DescribeSlotTypeCommand";
|
|
|
36
37
|
import { ListAggregatedUtterancesCommand, } from "./commands/ListAggregatedUtterancesCommand";
|
|
37
38
|
import { ListBotAliasesCommand, } from "./commands/ListBotAliasesCommand";
|
|
38
39
|
import { ListBotLocalesCommand, } from "./commands/ListBotLocalesCommand";
|
|
40
|
+
import { ListBotRecommendationsCommand, } from "./commands/ListBotRecommendationsCommand";
|
|
39
41
|
import { ListBotsCommand } from "./commands/ListBotsCommand";
|
|
40
42
|
import { ListBotVersionsCommand, } from "./commands/ListBotVersionsCommand";
|
|
41
43
|
import { ListBuiltInIntentsCommand, } from "./commands/ListBuiltInIntentsCommand";
|
|
@@ -43,15 +45,19 @@ import { ListBuiltInSlotTypesCommand, } from "./commands/ListBuiltInSlotTypesCom
|
|
|
43
45
|
import { ListExportsCommand } from "./commands/ListExportsCommand";
|
|
44
46
|
import { ListImportsCommand } from "./commands/ListImportsCommand";
|
|
45
47
|
import { ListIntentsCommand } from "./commands/ListIntentsCommand";
|
|
48
|
+
import { ListRecommendedIntentsCommand, } from "./commands/ListRecommendedIntentsCommand";
|
|
46
49
|
import { ListSlotsCommand } from "./commands/ListSlotsCommand";
|
|
47
50
|
import { ListSlotTypesCommand, } from "./commands/ListSlotTypesCommand";
|
|
48
51
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
52
|
+
import { SearchAssociatedTranscriptsCommand, } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
53
|
+
import { StartBotRecommendationCommand, } from "./commands/StartBotRecommendationCommand";
|
|
49
54
|
import { StartImportCommand } from "./commands/StartImportCommand";
|
|
50
55
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
51
56
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
52
57
|
import { UpdateBotAliasCommand, } from "./commands/UpdateBotAliasCommand";
|
|
53
58
|
import { UpdateBotCommand } from "./commands/UpdateBotCommand";
|
|
54
59
|
import { UpdateBotLocaleCommand, } from "./commands/UpdateBotLocaleCommand";
|
|
60
|
+
import { UpdateBotRecommendationCommand, } from "./commands/UpdateBotRecommendationCommand";
|
|
55
61
|
import { UpdateExportCommand, } from "./commands/UpdateExportCommand";
|
|
56
62
|
import { UpdateIntentCommand, } from "./commands/UpdateIntentCommand";
|
|
57
63
|
import { UpdateResourcePolicyCommand, } from "./commands/UpdateResourcePolicyCommand";
|
|
@@ -441,6 +447,20 @@ var LexModelsV2 = (function (_super) {
|
|
|
441
447
|
return this.send(command, optionsOrCb);
|
|
442
448
|
}
|
|
443
449
|
};
|
|
450
|
+
LexModelsV2.prototype.describeBotRecommendation = function (args, optionsOrCb, cb) {
|
|
451
|
+
var command = new DescribeBotRecommendationCommand(args);
|
|
452
|
+
if (typeof optionsOrCb === "function") {
|
|
453
|
+
this.send(command, optionsOrCb);
|
|
454
|
+
}
|
|
455
|
+
else if (typeof cb === "function") {
|
|
456
|
+
if (typeof optionsOrCb !== "object")
|
|
457
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
458
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
+
}
|
|
460
|
+
else {
|
|
461
|
+
return this.send(command, optionsOrCb);
|
|
462
|
+
}
|
|
463
|
+
};
|
|
444
464
|
LexModelsV2.prototype.describeBotVersion = function (args, optionsOrCb, cb) {
|
|
445
465
|
var command = new DescribeBotVersionCommand(args);
|
|
446
466
|
if (typeof optionsOrCb === "function") {
|
|
@@ -581,6 +601,20 @@ var LexModelsV2 = (function (_super) {
|
|
|
581
601
|
return this.send(command, optionsOrCb);
|
|
582
602
|
}
|
|
583
603
|
};
|
|
604
|
+
LexModelsV2.prototype.listBotRecommendations = function (args, optionsOrCb, cb) {
|
|
605
|
+
var command = new ListBotRecommendationsCommand(args);
|
|
606
|
+
if (typeof optionsOrCb === "function") {
|
|
607
|
+
this.send(command, optionsOrCb);
|
|
608
|
+
}
|
|
609
|
+
else if (typeof cb === "function") {
|
|
610
|
+
if (typeof optionsOrCb !== "object")
|
|
611
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
612
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
613
|
+
}
|
|
614
|
+
else {
|
|
615
|
+
return this.send(command, optionsOrCb);
|
|
616
|
+
}
|
|
617
|
+
};
|
|
584
618
|
LexModelsV2.prototype.listBots = function (args, optionsOrCb, cb) {
|
|
585
619
|
var command = new ListBotsCommand(args);
|
|
586
620
|
if (typeof optionsOrCb === "function") {
|
|
@@ -679,6 +713,20 @@ var LexModelsV2 = (function (_super) {
|
|
|
679
713
|
return this.send(command, optionsOrCb);
|
|
680
714
|
}
|
|
681
715
|
};
|
|
716
|
+
LexModelsV2.prototype.listRecommendedIntents = function (args, optionsOrCb, cb) {
|
|
717
|
+
var command = new ListRecommendedIntentsCommand(args);
|
|
718
|
+
if (typeof optionsOrCb === "function") {
|
|
719
|
+
this.send(command, optionsOrCb);
|
|
720
|
+
}
|
|
721
|
+
else if (typeof cb === "function") {
|
|
722
|
+
if (typeof optionsOrCb !== "object")
|
|
723
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
724
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
725
|
+
}
|
|
726
|
+
else {
|
|
727
|
+
return this.send(command, optionsOrCb);
|
|
728
|
+
}
|
|
729
|
+
};
|
|
682
730
|
LexModelsV2.prototype.listSlots = function (args, optionsOrCb, cb) {
|
|
683
731
|
var command = new ListSlotsCommand(args);
|
|
684
732
|
if (typeof optionsOrCb === "function") {
|
|
@@ -721,6 +769,34 @@ var LexModelsV2 = (function (_super) {
|
|
|
721
769
|
return this.send(command, optionsOrCb);
|
|
722
770
|
}
|
|
723
771
|
};
|
|
772
|
+
LexModelsV2.prototype.searchAssociatedTranscripts = function (args, optionsOrCb, cb) {
|
|
773
|
+
var command = new SearchAssociatedTranscriptsCommand(args);
|
|
774
|
+
if (typeof optionsOrCb === "function") {
|
|
775
|
+
this.send(command, optionsOrCb);
|
|
776
|
+
}
|
|
777
|
+
else if (typeof cb === "function") {
|
|
778
|
+
if (typeof optionsOrCb !== "object")
|
|
779
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
780
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
781
|
+
}
|
|
782
|
+
else {
|
|
783
|
+
return this.send(command, optionsOrCb);
|
|
784
|
+
}
|
|
785
|
+
};
|
|
786
|
+
LexModelsV2.prototype.startBotRecommendation = function (args, optionsOrCb, cb) {
|
|
787
|
+
var command = new StartBotRecommendationCommand(args);
|
|
788
|
+
if (typeof optionsOrCb === "function") {
|
|
789
|
+
this.send(command, optionsOrCb);
|
|
790
|
+
}
|
|
791
|
+
else if (typeof cb === "function") {
|
|
792
|
+
if (typeof optionsOrCb !== "object")
|
|
793
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
794
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
795
|
+
}
|
|
796
|
+
else {
|
|
797
|
+
return this.send(command, optionsOrCb);
|
|
798
|
+
}
|
|
799
|
+
};
|
|
724
800
|
LexModelsV2.prototype.startImport = function (args, optionsOrCb, cb) {
|
|
725
801
|
var command = new StartImportCommand(args);
|
|
726
802
|
if (typeof optionsOrCb === "function") {
|
|
@@ -805,6 +881,20 @@ var LexModelsV2 = (function (_super) {
|
|
|
805
881
|
return this.send(command, optionsOrCb);
|
|
806
882
|
}
|
|
807
883
|
};
|
|
884
|
+
LexModelsV2.prototype.updateBotRecommendation = function (args, optionsOrCb, cb) {
|
|
885
|
+
var command = new UpdateBotRecommendationCommand(args);
|
|
886
|
+
if (typeof optionsOrCb === "function") {
|
|
887
|
+
this.send(command, optionsOrCb);
|
|
888
|
+
}
|
|
889
|
+
else if (typeof cb === "function") {
|
|
890
|
+
if (typeof optionsOrCb !== "object")
|
|
891
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
892
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
893
|
+
}
|
|
894
|
+
else {
|
|
895
|
+
return this.send(command, optionsOrCb);
|
|
896
|
+
}
|
|
897
|
+
};
|
|
808
898
|
LexModelsV2.prototype.updateExport = function (args, optionsOrCb, cb) {
|
|
809
899
|
var command = new UpdateExportCommand(args);
|
|
810
900
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeBotRecommendationRequest, DescribeBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeBotRecommendationCommand, serializeAws_restJson1DescribeBotRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeBotRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeBotRecommendationCommand, _super);
|
|
8
|
+
function DescribeBotRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeBotRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "DescribeBotRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeBotRecommendationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeBotRecommendationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeBotRecommendationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeBotRecommendationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeBotRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeBotRecommendationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeBotRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeBotRecommendationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListBotRecommendationsRequest, ListBotRecommendationsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListBotRecommendationsCommand, serializeAws_restJson1ListBotRecommendationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListBotRecommendationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListBotRecommendationsCommand, _super);
|
|
8
|
+
function ListBotRecommendationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListBotRecommendationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "ListBotRecommendationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListBotRecommendationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListBotRecommendationsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListBotRecommendationsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListBotRecommendationsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListBotRecommendationsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListBotRecommendationsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListBotRecommendationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListBotRecommendationsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListRecommendedIntentsRequest, ListRecommendedIntentsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListRecommendedIntentsCommand, serializeAws_restJson1ListRecommendedIntentsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListRecommendedIntentsCommand = (function (_super) {
|
|
7
|
+
__extends(ListRecommendedIntentsCommand, _super);
|
|
8
|
+
function ListRecommendedIntentsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListRecommendedIntentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "ListRecommendedIntentsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListRecommendedIntentsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListRecommendedIntentsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListRecommendedIntentsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListRecommendedIntentsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListRecommendedIntentsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListRecommendedIntentsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListRecommendedIntentsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListRecommendedIntentsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { SearchAssociatedTranscriptsRequest, SearchAssociatedTranscriptsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1SearchAssociatedTranscriptsCommand, serializeAws_restJson1SearchAssociatedTranscriptsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var SearchAssociatedTranscriptsCommand = (function (_super) {
|
|
7
|
+
__extends(SearchAssociatedTranscriptsCommand, _super);
|
|
8
|
+
function SearchAssociatedTranscriptsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
SearchAssociatedTranscriptsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "SearchAssociatedTranscriptsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: SearchAssociatedTranscriptsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: SearchAssociatedTranscriptsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SearchAssociatedTranscriptsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1SearchAssociatedTranscriptsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
SearchAssociatedTranscriptsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1SearchAssociatedTranscriptsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return SearchAssociatedTranscriptsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SearchAssociatedTranscriptsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartBotRecommendationRequest, StartBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1StartBotRecommendationCommand, serializeAws_restJson1StartBotRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var StartBotRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(StartBotRecommendationCommand, _super);
|
|
8
|
+
function StartBotRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartBotRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "StartBotRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartBotRecommendationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartBotRecommendationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartBotRecommendationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1StartBotRecommendationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartBotRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1StartBotRecommendationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartBotRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartBotRecommendationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateBotRecommendationRequest, UpdateBotRecommendationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateBotRecommendationCommand, serializeAws_restJson1UpdateBotRecommendationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateBotRecommendationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateBotRecommendationCommand, _super);
|
|
8
|
+
function UpdateBotRecommendationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateBotRecommendationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "UpdateBotRecommendationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateBotRecommendationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateBotRecommendationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateBotRecommendationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateBotRecommendationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateBotRecommendationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateBotRecommendationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateBotRecommendationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateBotRecommendationCommand };
|
|
@@ -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";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -76,6 +76,10 @@ var partitionHash = {
|
|
|
76
76
|
hostname: "models-v2-lex.{region}.c2s.ic.gov",
|
|
77
77
|
tags: [],
|
|
78
78
|
},
|
|
79
|
+
{
|
|
80
|
+
hostname: "models-v2-lex-fips.{region}.c2s.ic.gov",
|
|
81
|
+
tags: ["fips"],
|
|
82
|
+
},
|
|
79
83
|
],
|
|
80
84
|
},
|
|
81
85
|
"aws-iso-b": {
|
|
@@ -86,6 +90,10 @@ var partitionHash = {
|
|
|
86
90
|
hostname: "models-v2-lex.{region}.sc2s.sgov.gov",
|
|
87
91
|
tags: [],
|
|
88
92
|
},
|
|
93
|
+
{
|
|
94
|
+
hostname: "models-v2-lex-fips.{region}.sc2s.sgov.gov",
|
|
95
|
+
tags: ["fips"],
|
|
96
|
+
},
|
|
89
97
|
],
|
|
90
98
|
},
|
|
91
99
|
"aws-us-gov": {
|