@aws-sdk/client-lex-models-v2 3.41.0 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/LexModelsV2.js +90 -0
  3. package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
  4. package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
  5. package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
  6. package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
  7. package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +1 -0
  11. package/dist-cjs/models/models_0.js +231 -5
  12. package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
  13. package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
  14. package/dist-cjs/pagination/index.js +2 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +1531 -186
  16. package/dist-es/LexModelsV2.js +90 -0
  17. package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
  18. package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
  19. package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
  20. package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
  21. package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
  22. package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
  23. package/dist-es/commands/index.js +6 -0
  24. package/dist-es/endpoints.js +1 -0
  25. package/dist-es/models/models_0.js +158 -0
  26. package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
  27. package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
  28. package/dist-es/pagination/index.js +2 -0
  29. package/dist-es/protocols/Aws_restJson1.js +1543 -135
  30. package/dist-types/LexModelsV2.d.ts +56 -6
  31. package/dist-types/LexModelsV2Client.d.ts +8 -2
  32. package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -3
  34. package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
  35. package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
  36. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
  38. package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
  39. package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
  40. package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
  41. package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
  42. package/dist-types/commands/index.d.ts +6 -0
  43. package/dist-types/models/models_0.d.ts +1117 -91
  44. package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  48. package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
  49. package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
  50. package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +480 -2
  58. package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
  60. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  62. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 2021/12/01 ([#3078](https://github.com/aws/aws-sdk-js-v3/issues/3078)) ([9c44188](https://github.com/aws/aws-sdk-js-v3/commit/9c44188265ea484d55c50848d7daae5571007ce0))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
29
+
30
+
31
+ ### Features
32
+
33
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
34
+
35
+
36
+
37
+
38
+
39
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
40
+
41
+ **Note:** Version bump only for package @aws-sdk/client-lex-models-v2
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
48
 
8
49
 
@@ -28,6 +28,7 @@ const DeleteUtterancesCommand_1 = require("./commands/DeleteUtterancesCommand");
28
28
  const DescribeBotAliasCommand_1 = require("./commands/DescribeBotAliasCommand");
29
29
  const DescribeBotCommand_1 = require("./commands/DescribeBotCommand");
30
30
  const DescribeBotLocaleCommand_1 = require("./commands/DescribeBotLocaleCommand");
31
+ const DescribeBotRecommendationCommand_1 = require("./commands/DescribeBotRecommendationCommand");
31
32
  const DescribeBotVersionCommand_1 = require("./commands/DescribeBotVersionCommand");
32
33
  const DescribeExportCommand_1 = require("./commands/DescribeExportCommand");
33
34
  const DescribeImportCommand_1 = require("./commands/DescribeImportCommand");
@@ -38,6 +39,7 @@ const DescribeSlotTypeCommand_1 = require("./commands/DescribeSlotTypeCommand");
38
39
  const ListAggregatedUtterancesCommand_1 = require("./commands/ListAggregatedUtterancesCommand");
39
40
  const ListBotAliasesCommand_1 = require("./commands/ListBotAliasesCommand");
40
41
  const ListBotLocalesCommand_1 = require("./commands/ListBotLocalesCommand");
42
+ const ListBotRecommendationsCommand_1 = require("./commands/ListBotRecommendationsCommand");
41
43
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
42
44
  const ListBotVersionsCommand_1 = require("./commands/ListBotVersionsCommand");
43
45
  const ListBuiltInIntentsCommand_1 = require("./commands/ListBuiltInIntentsCommand");
@@ -45,15 +47,19 @@ const ListBuiltInSlotTypesCommand_1 = require("./commands/ListBuiltInSlotTypesCo
45
47
  const ListExportsCommand_1 = require("./commands/ListExportsCommand");
46
48
  const ListImportsCommand_1 = require("./commands/ListImportsCommand");
47
49
  const ListIntentsCommand_1 = require("./commands/ListIntentsCommand");
50
+ const ListRecommendedIntentsCommand_1 = require("./commands/ListRecommendedIntentsCommand");
48
51
  const ListSlotsCommand_1 = require("./commands/ListSlotsCommand");
49
52
  const ListSlotTypesCommand_1 = require("./commands/ListSlotTypesCommand");
50
53
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
54
+ const SearchAssociatedTranscriptsCommand_1 = require("./commands/SearchAssociatedTranscriptsCommand");
55
+ const StartBotRecommendationCommand_1 = require("./commands/StartBotRecommendationCommand");
51
56
  const StartImportCommand_1 = require("./commands/StartImportCommand");
52
57
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
53
58
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
54
59
  const UpdateBotAliasCommand_1 = require("./commands/UpdateBotAliasCommand");
55
60
  const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
56
61
  const UpdateBotLocaleCommand_1 = require("./commands/UpdateBotLocaleCommand");
62
+ const UpdateBotRecommendationCommand_1 = require("./commands/UpdateBotRecommendationCommand");
57
63
  const UpdateExportCommand_1 = require("./commands/UpdateExportCommand");
58
64
  const UpdateIntentCommand_1 = require("./commands/UpdateIntentCommand");
59
65
  const UpdateResourcePolicyCommand_1 = require("./commands/UpdateResourcePolicyCommand");
@@ -439,6 +445,20 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
439
445
  return this.send(command, optionsOrCb);
440
446
  }
441
447
  }
448
+ describeBotRecommendation(args, optionsOrCb, cb) {
449
+ const command = new DescribeBotRecommendationCommand_1.DescribeBotRecommendationCommand(args);
450
+ if (typeof optionsOrCb === "function") {
451
+ this.send(command, optionsOrCb);
452
+ }
453
+ else if (typeof cb === "function") {
454
+ if (typeof optionsOrCb !== "object")
455
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
456
+ this.send(command, optionsOrCb || {}, cb);
457
+ }
458
+ else {
459
+ return this.send(command, optionsOrCb);
460
+ }
461
+ }
442
462
  describeBotVersion(args, optionsOrCb, cb) {
443
463
  const command = new DescribeBotVersionCommand_1.DescribeBotVersionCommand(args);
444
464
  if (typeof optionsOrCb === "function") {
@@ -579,6 +599,20 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
579
599
  return this.send(command, optionsOrCb);
580
600
  }
581
601
  }
602
+ listBotRecommendations(args, optionsOrCb, cb) {
603
+ const command = new ListBotRecommendationsCommand_1.ListBotRecommendationsCommand(args);
604
+ if (typeof optionsOrCb === "function") {
605
+ this.send(command, optionsOrCb);
606
+ }
607
+ else if (typeof cb === "function") {
608
+ if (typeof optionsOrCb !== "object")
609
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
610
+ this.send(command, optionsOrCb || {}, cb);
611
+ }
612
+ else {
613
+ return this.send(command, optionsOrCb);
614
+ }
615
+ }
582
616
  listBots(args, optionsOrCb, cb) {
583
617
  const command = new ListBotsCommand_1.ListBotsCommand(args);
584
618
  if (typeof optionsOrCb === "function") {
@@ -677,6 +711,20 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
677
711
  return this.send(command, optionsOrCb);
678
712
  }
679
713
  }
714
+ listRecommendedIntents(args, optionsOrCb, cb) {
715
+ const command = new ListRecommendedIntentsCommand_1.ListRecommendedIntentsCommand(args);
716
+ if (typeof optionsOrCb === "function") {
717
+ this.send(command, optionsOrCb);
718
+ }
719
+ else if (typeof cb === "function") {
720
+ if (typeof optionsOrCb !== "object")
721
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
722
+ this.send(command, optionsOrCb || {}, cb);
723
+ }
724
+ else {
725
+ return this.send(command, optionsOrCb);
726
+ }
727
+ }
680
728
  listSlots(args, optionsOrCb, cb) {
681
729
  const command = new ListSlotsCommand_1.ListSlotsCommand(args);
682
730
  if (typeof optionsOrCb === "function") {
@@ -719,6 +767,34 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
719
767
  return this.send(command, optionsOrCb);
720
768
  }
721
769
  }
770
+ searchAssociatedTranscripts(args, optionsOrCb, cb) {
771
+ const command = new SearchAssociatedTranscriptsCommand_1.SearchAssociatedTranscriptsCommand(args);
772
+ if (typeof optionsOrCb === "function") {
773
+ this.send(command, optionsOrCb);
774
+ }
775
+ else if (typeof cb === "function") {
776
+ if (typeof optionsOrCb !== "object")
777
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
778
+ this.send(command, optionsOrCb || {}, cb);
779
+ }
780
+ else {
781
+ return this.send(command, optionsOrCb);
782
+ }
783
+ }
784
+ startBotRecommendation(args, optionsOrCb, cb) {
785
+ const command = new StartBotRecommendationCommand_1.StartBotRecommendationCommand(args);
786
+ if (typeof optionsOrCb === "function") {
787
+ this.send(command, optionsOrCb);
788
+ }
789
+ else if (typeof cb === "function") {
790
+ if (typeof optionsOrCb !== "object")
791
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
792
+ this.send(command, optionsOrCb || {}, cb);
793
+ }
794
+ else {
795
+ return this.send(command, optionsOrCb);
796
+ }
797
+ }
722
798
  startImport(args, optionsOrCb, cb) {
723
799
  const command = new StartImportCommand_1.StartImportCommand(args);
724
800
  if (typeof optionsOrCb === "function") {
@@ -803,6 +879,20 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
803
879
  return this.send(command, optionsOrCb);
804
880
  }
805
881
  }
882
+ updateBotRecommendation(args, optionsOrCb, cb) {
883
+ const command = new UpdateBotRecommendationCommand_1.UpdateBotRecommendationCommand(args);
884
+ if (typeof optionsOrCb === "function") {
885
+ this.send(command, optionsOrCb);
886
+ }
887
+ else if (typeof cb === "function") {
888
+ if (typeof optionsOrCb !== "object")
889
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
890
+ this.send(command, optionsOrCb || {}, cb);
891
+ }
892
+ else {
893
+ return this.send(command, optionsOrCb);
894
+ }
895
+ }
806
896
  updateExport(args, optionsOrCb, cb) {
807
897
  const command = new UpdateExportCommand_1.UpdateExportCommand(args);
808
898
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeBotRecommendationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeBotRecommendationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LexModelsV2Client";
18
+ const commandName = "DescribeBotRecommendationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeBotRecommendationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeBotRecommendationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeBotRecommendationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeBotRecommendationCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeBotRecommendationCommand = DescribeBotRecommendationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListBotRecommendationsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListBotRecommendationsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LexModelsV2Client";
18
+ const commandName = "ListBotRecommendationsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListBotRecommendationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListBotRecommendationsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListBotRecommendationsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListBotRecommendationsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListBotRecommendationsCommand = ListBotRecommendationsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListRecommendedIntentsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListRecommendedIntentsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LexModelsV2Client";
18
+ const commandName = "ListRecommendedIntentsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListRecommendedIntentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListRecommendedIntentsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListRecommendedIntentsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListRecommendedIntentsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListRecommendedIntentsCommand = ListRecommendedIntentsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchAssociatedTranscriptsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SearchAssociatedTranscriptsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LexModelsV2Client";
18
+ const commandName = "SearchAssociatedTranscriptsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SearchAssociatedTranscriptsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SearchAssociatedTranscriptsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1SearchAssociatedTranscriptsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1SearchAssociatedTranscriptsCommand(output, context);
34
+ }
35
+ }
36
+ exports.SearchAssociatedTranscriptsCommand = SearchAssociatedTranscriptsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartBotRecommendationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class StartBotRecommendationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LexModelsV2Client";
18
+ const commandName = "StartBotRecommendationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.StartBotRecommendationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StartBotRecommendationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1StartBotRecommendationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1StartBotRecommendationCommand(output, context);
34
+ }
35
+ }
36
+ exports.StartBotRecommendationCommand = StartBotRecommendationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateBotRecommendationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateBotRecommendationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LexModelsV2Client";
18
+ const commandName = "UpdateBotRecommendationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateBotRecommendationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateBotRecommendationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateBotRecommendationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateBotRecommendationCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateBotRecommendationCommand = UpdateBotRecommendationCommand;
@@ -28,6 +28,7 @@ tslib_1.__exportStar(require("./DeleteUtterancesCommand"), exports);
28
28
  tslib_1.__exportStar(require("./DescribeBotAliasCommand"), exports);
29
29
  tslib_1.__exportStar(require("./DescribeBotCommand"), exports);
30
30
  tslib_1.__exportStar(require("./DescribeBotLocaleCommand"), exports);
31
+ tslib_1.__exportStar(require("./DescribeBotRecommendationCommand"), exports);
31
32
  tslib_1.__exportStar(require("./DescribeBotVersionCommand"), exports);
32
33
  tslib_1.__exportStar(require("./DescribeExportCommand"), exports);
33
34
  tslib_1.__exportStar(require("./DescribeImportCommand"), exports);
@@ -38,6 +39,7 @@ tslib_1.__exportStar(require("./DescribeSlotTypeCommand"), exports);
38
39
  tslib_1.__exportStar(require("./ListAggregatedUtterancesCommand"), exports);
39
40
  tslib_1.__exportStar(require("./ListBotAliasesCommand"), exports);
40
41
  tslib_1.__exportStar(require("./ListBotLocalesCommand"), exports);
42
+ tslib_1.__exportStar(require("./ListBotRecommendationsCommand"), exports);
41
43
  tslib_1.__exportStar(require("./ListBotVersionsCommand"), exports);
42
44
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
43
45
  tslib_1.__exportStar(require("./ListBuiltInIntentsCommand"), exports);
@@ -45,15 +47,19 @@ tslib_1.__exportStar(require("./ListBuiltInSlotTypesCommand"), exports);
45
47
  tslib_1.__exportStar(require("./ListExportsCommand"), exports);
46
48
  tslib_1.__exportStar(require("./ListImportsCommand"), exports);
47
49
  tslib_1.__exportStar(require("./ListIntentsCommand"), exports);
50
+ tslib_1.__exportStar(require("./ListRecommendedIntentsCommand"), exports);
48
51
  tslib_1.__exportStar(require("./ListSlotTypesCommand"), exports);
49
52
  tslib_1.__exportStar(require("./ListSlotsCommand"), exports);
50
53
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
54
+ tslib_1.__exportStar(require("./SearchAssociatedTranscriptsCommand"), exports);
55
+ tslib_1.__exportStar(require("./StartBotRecommendationCommand"), exports);
51
56
  tslib_1.__exportStar(require("./StartImportCommand"), exports);
52
57
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
53
58
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
54
59
  tslib_1.__exportStar(require("./UpdateBotAliasCommand"), exports);
55
60
  tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
56
61
  tslib_1.__exportStar(require("./UpdateBotLocaleCommand"), exports);
62
+ tslib_1.__exportStar(require("./UpdateBotRecommendationCommand"), exports);
57
63
  tslib_1.__exportStar(require("./UpdateExportCommand"), exports);
58
64
  tslib_1.__exportStar(require("./UpdateIntentCommand"), exports);
59
65
  tslib_1.__exportStar(require("./UpdateResourcePolicyCommand"), exports);
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",