@aws-sdk/client-lex-models-v2 3.345.0 → 3.347.1

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 (152) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/LexModelsV2.js +28 -0
  3. package/dist-cjs/commands/CreateTestSetDiscrepancyReportCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteTestSetCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeTestExecutionCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeTestSetCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeTestSetDiscrepancyReportCommand.js +46 -0
  8. package/dist-cjs/commands/DescribeTestSetGenerationCommand.js +46 -0
  9. package/dist-cjs/commands/GetTestExecutionArtifactsUrlCommand.js +46 -0
  10. package/dist-cjs/commands/ListTestExecutionResultItemsCommand.js +46 -0
  11. package/dist-cjs/commands/ListTestExecutionsCommand.js +46 -0
  12. package/dist-cjs/commands/ListTestSetRecordsCommand.js +46 -0
  13. package/dist-cjs/commands/ListTestSetsCommand.js +46 -0
  14. package/dist-cjs/commands/StartBotRecommendationCommand.js +3 -3
  15. package/dist-cjs/commands/StartImportCommand.js +2 -2
  16. package/dist-cjs/commands/StartTestExecutionCommand.js +46 -0
  17. package/dist-cjs/commands/StartTestSetGenerationCommand.js +46 -0
  18. package/dist-cjs/commands/UpdateTestSetCommand.js +46 -0
  19. package/dist-cjs/commands/index.js +14 -0
  20. package/dist-cjs/endpoint/ruleset.js +3 -3
  21. package/dist-cjs/models/models_0.js +52 -50
  22. package/dist-cjs/models/models_1.js +64 -1
  23. package/dist-cjs/pagination/ListTestExecutionResultItemsPaginator.js +29 -0
  24. package/dist-cjs/pagination/ListTestExecutionsPaginator.js +29 -0
  25. package/dist-cjs/pagination/ListTestSetRecordsPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListTestSetsPaginator.js +29 -0
  27. package/dist-cjs/pagination/index.js +4 -0
  28. package/dist-cjs/protocols/Aws_restJson1.js +1395 -146
  29. package/dist-es/LexModelsV2.js +28 -0
  30. package/dist-es/commands/CreateTestSetDiscrepancyReportCommand.js +42 -0
  31. package/dist-es/commands/DeleteTestSetCommand.js +42 -0
  32. package/dist-es/commands/DescribeTestExecutionCommand.js +42 -0
  33. package/dist-es/commands/DescribeTestSetCommand.js +42 -0
  34. package/dist-es/commands/DescribeTestSetDiscrepancyReportCommand.js +42 -0
  35. package/dist-es/commands/DescribeTestSetGenerationCommand.js +42 -0
  36. package/dist-es/commands/GetTestExecutionArtifactsUrlCommand.js +42 -0
  37. package/dist-es/commands/ListTestExecutionResultItemsCommand.js +42 -0
  38. package/dist-es/commands/ListTestExecutionsCommand.js +42 -0
  39. package/dist-es/commands/ListTestSetRecordsCommand.js +42 -0
  40. package/dist-es/commands/ListTestSetsCommand.js +42 -0
  41. package/dist-es/commands/StartBotRecommendationCommand.js +1 -1
  42. package/dist-es/commands/StartImportCommand.js +1 -1
  43. package/dist-es/commands/StartTestExecutionCommand.js +42 -0
  44. package/dist-es/commands/StartTestSetGenerationCommand.js +42 -0
  45. package/dist-es/commands/UpdateTestSetCommand.js +42 -0
  46. package/dist-es/commands/index.js +14 -0
  47. package/dist-es/endpoint/ruleset.js +3 -3
  48. package/dist-es/models/models_0.js +50 -45
  49. package/dist-es/models/models_1.js +60 -0
  50. package/dist-es/pagination/ListTestExecutionResultItemsPaginator.js +25 -0
  51. package/dist-es/pagination/ListTestExecutionsPaginator.js +25 -0
  52. package/dist-es/pagination/ListTestSetRecordsPaginator.js +25 -0
  53. package/dist-es/pagination/ListTestSetsPaginator.js +25 -0
  54. package/dist-es/pagination/index.js +4 -0
  55. package/dist-es/protocols/Aws_restJson1.js +1360 -140
  56. package/dist-types/LexModelsV2.d.ts +98 -0
  57. package/dist-types/LexModelsV2Client.d.ts +16 -2
  58. package/dist-types/commands/CreateExportCommand.d.ts +8 -2
  59. package/dist-types/commands/CreateTestSetDiscrepancyReportCommand.d.ts +113 -0
  60. package/dist-types/commands/DeleteTestSetCommand.d.ts +96 -0
  61. package/dist-types/commands/DescribeExportCommand.d.ts +4 -1
  62. package/dist-types/commands/DescribeImportCommand.d.ts +18 -0
  63. package/dist-types/commands/DescribeTestExecutionCommand.d.ts +109 -0
  64. package/dist-types/commands/DescribeTestSetCommand.d.ts +105 -0
  65. package/dist-types/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +122 -0
  66. package/dist-types/commands/DescribeTestSetGenerationCommand.d.ts +119 -0
  67. package/dist-types/commands/GetTestExecutionArtifactsUrlCommand.d.ts +93 -0
  68. package/dist-types/commands/ListBotAliasesCommand.d.ts +1 -1
  69. package/dist-types/commands/ListBotLocalesCommand.d.ts +1 -1
  70. package/dist-types/commands/ListBotRecommendationsCommand.d.ts +1 -1
  71. package/dist-types/commands/ListBotVersionsCommand.d.ts +1 -1
  72. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  73. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
  75. package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +1 -1
  76. package/dist-types/commands/ListExportsCommand.d.ts +5 -2
  77. package/dist-types/commands/ListImportsCommand.d.ts +2 -2
  78. package/dist-types/commands/ListIntentsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +1 -1
  80. package/dist-types/commands/ListSlotTypesCommand.d.ts +1 -1
  81. package/dist-types/commands/ListSlotsCommand.d.ts +1 -1
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  83. package/dist-types/commands/ListTestExecutionResultItemsCommand.d.ts +291 -0
  84. package/dist-types/commands/ListTestExecutionsCommand.d.ts +112 -0
  85. package/dist-types/commands/ListTestSetRecordsCommand.d.ts +180 -0
  86. package/dist-types/commands/ListTestSetsCommand.d.ts +111 -0
  87. package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +1 -1
  88. package/dist-types/commands/StartBotRecommendationCommand.d.ts +1 -1
  89. package/dist-types/commands/StartImportCommand.d.ts +37 -1
  90. package/dist-types/commands/StartTestExecutionCommand.d.ts +117 -0
  91. package/dist-types/commands/StartTestSetGenerationCommand.d.ts +144 -0
  92. package/dist-types/commands/StopBotRecommendationCommand.d.ts +1 -1
  93. package/dist-types/commands/TagResourceCommand.d.ts +1 -2
  94. package/dist-types/commands/UpdateExportCommand.d.ts +4 -1
  95. package/dist-types/commands/UpdateTestSetCommand.d.ts +113 -0
  96. package/dist-types/commands/index.d.ts +14 -0
  97. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  98. package/dist-types/models/models_0.d.ts +1054 -1714
  99. package/dist-types/models/models_1.d.ts +2465 -18
  100. package/dist-types/pagination/ListTestExecutionResultItemsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListTestExecutionsPaginator.d.ts +7 -0
  102. package/dist-types/pagination/ListTestSetRecordsPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListTestSetsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +4 -0
  105. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  106. package/dist-types/ts3.4/LexModelsV2.d.ts +238 -0
  107. package/dist-types/ts3.4/LexModelsV2Client.d.ts +86 -2
  108. package/dist-types/ts3.4/commands/CreateTestSetDiscrepancyReportCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/DeleteTestSetCommand.d.ts +33 -0
  110. package/dist-types/ts3.4/commands/DescribeTestExecutionCommand.d.ts +42 -0
  111. package/dist-types/ts3.4/commands/DescribeTestSetCommand.d.ts +38 -0
  112. package/dist-types/ts3.4/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +42 -0
  113. package/dist-types/ts3.4/commands/DescribeTestSetGenerationCommand.d.ts +42 -0
  114. package/dist-types/ts3.4/commands/GetTestExecutionArtifactsUrlCommand.d.ts +42 -0
  115. package/dist-types/ts3.4/commands/ListBotAliasesCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/ListBotLocalesCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/ListBotVersionsCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/ListBuiltInIntentsCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/ListCustomVocabularyItemsCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/ListIntentsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListSlotTypesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListSlotsCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ListTestExecutionResultItemsCommand.d.ts +42 -0
  131. package/dist-types/ts3.4/commands/ListTestExecutionsCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/ListTestSetRecordsCommand.d.ts +39 -0
  133. package/dist-types/ts3.4/commands/ListTestSetsCommand.d.ts +35 -0
  134. package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/StartTestExecutionCommand.d.ts +39 -0
  138. package/dist-types/ts3.4/commands/StartTestSetGenerationCommand.d.ts +42 -0
  139. package/dist-types/ts3.4/commands/StopBotRecommendationCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -2
  141. package/dist-types/ts3.4/commands/UpdateTestSetCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  143. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  144. package/dist-types/ts3.4/models/models_0.d.ts +293 -362
  145. package/dist-types/ts3.4/models/models_1.d.ts +646 -0
  146. package/dist-types/ts3.4/pagination/ListTestExecutionResultItemsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListTestExecutionsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListTestSetRecordsPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/ListTestSetsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  151. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  152. package/package.json +29 -29
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTestExecutionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListTestExecutionsCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTestExecutionsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LexModelsV2Client";
28
+ const commandName = "ListTestExecutionsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_ListTestExecutionsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_ListTestExecutionsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListTestExecutionsCommand = ListTestExecutionsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTestSetRecordsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListTestSetRecordsCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTestSetRecordsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LexModelsV2Client";
28
+ const commandName = "ListTestSetRecordsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_ListTestSetRecordsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_ListTestSetRecordsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListTestSetRecordsCommand = ListTestSetRecordsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTestSetsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListTestSetsCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTestSetsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LexModelsV2Client";
28
+ const commandName = "ListTestSetsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_ListTestSetsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_ListTestSetsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListTestSetsCommand = ListTestSetsCommand;
@@ -5,7 +5,7 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const models_0_1 = require("../models/models_0");
8
+ const models_1_1 = require("../models/models_1");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
10
  class StartBotRecommendationCommand extends smithy_client_1.Command {
11
11
  static getEndpointParameterInstructions() {
@@ -31,8 +31,8 @@ class StartBotRecommendationCommand extends smithy_client_1.Command {
31
31
  logger,
32
32
  clientName,
33
33
  commandName,
34
- inputFilterSensitiveLog: models_0_1.StartBotRecommendationRequestFilterSensitiveLog,
35
- outputFilterSensitiveLog: models_0_1.StartBotRecommendationResponseFilterSensitiveLog,
34
+ inputFilterSensitiveLog: models_1_1.StartBotRecommendationRequestFilterSensitiveLog,
35
+ outputFilterSensitiveLog: models_1_1.StartBotRecommendationResponseFilterSensitiveLog,
36
36
  };
37
37
  const { requestHandler } = configuration;
38
38
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,7 +5,7 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const models_0_1 = require("../models/models_0");
8
+ const models_1_1 = require("../models/models_1");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
10
  class StartImportCommand extends smithy_client_1.Command {
11
11
  static getEndpointParameterInstructions() {
@@ -31,7 +31,7 @@ class StartImportCommand extends smithy_client_1.Command {
31
31
  logger,
32
32
  clientName,
33
33
  commandName,
34
- inputFilterSensitiveLog: models_0_1.StartImportRequestFilterSensitiveLog,
34
+ inputFilterSensitiveLog: models_1_1.StartImportRequestFilterSensitiveLog,
35
35
  outputFilterSensitiveLog: (_) => _,
36
36
  };
37
37
  const { requestHandler } = configuration;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartTestExecutionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class StartTestExecutionCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartTestExecutionCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LexModelsV2Client";
28
+ const commandName = "StartTestExecutionCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_StartTestExecutionCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_StartTestExecutionCommand)(output, context);
44
+ }
45
+ }
46
+ exports.StartTestExecutionCommand = StartTestExecutionCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartTestSetGenerationCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class StartTestSetGenerationCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartTestSetGenerationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LexModelsV2Client";
28
+ const commandName = "StartTestSetGenerationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_StartTestSetGenerationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_StartTestSetGenerationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.StartTestSetGenerationCommand = StartTestSetGenerationCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTestSetCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateTestSetCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTestSetCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LexModelsV2Client";
28
+ const commandName = "UpdateTestSetCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_UpdateTestSetCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_UpdateTestSetCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateTestSetCommand = UpdateTestSetCommand;
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./CreateResourcePolicyCommand"), exports);
15
15
  tslib_1.__exportStar(require("./CreateResourcePolicyStatementCommand"), exports);
16
16
  tslib_1.__exportStar(require("./CreateSlotCommand"), exports);
17
17
  tslib_1.__exportStar(require("./CreateSlotTypeCommand"), exports);
18
+ tslib_1.__exportStar(require("./CreateTestSetDiscrepancyReportCommand"), exports);
18
19
  tslib_1.__exportStar(require("./CreateUploadUrlCommand"), exports);
19
20
  tslib_1.__exportStar(require("./DeleteBotAliasCommand"), exports);
20
21
  tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
@@ -28,6 +29,7 @@ tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
28
29
  tslib_1.__exportStar(require("./DeleteResourcePolicyStatementCommand"), exports);
29
30
  tslib_1.__exportStar(require("./DeleteSlotCommand"), exports);
30
31
  tslib_1.__exportStar(require("./DeleteSlotTypeCommand"), exports);
32
+ tslib_1.__exportStar(require("./DeleteTestSetCommand"), exports);
31
33
  tslib_1.__exportStar(require("./DeleteUtterancesCommand"), exports);
32
34
  tslib_1.__exportStar(require("./DescribeBotAliasCommand"), exports);
33
35
  tslib_1.__exportStar(require("./DescribeBotCommand"), exports);
@@ -41,6 +43,11 @@ tslib_1.__exportStar(require("./DescribeIntentCommand"), exports);
41
43
  tslib_1.__exportStar(require("./DescribeResourcePolicyCommand"), exports);
42
44
  tslib_1.__exportStar(require("./DescribeSlotCommand"), exports);
43
45
  tslib_1.__exportStar(require("./DescribeSlotTypeCommand"), exports);
46
+ tslib_1.__exportStar(require("./DescribeTestExecutionCommand"), exports);
47
+ tslib_1.__exportStar(require("./DescribeTestSetCommand"), exports);
48
+ tslib_1.__exportStar(require("./DescribeTestSetDiscrepancyReportCommand"), exports);
49
+ tslib_1.__exportStar(require("./DescribeTestSetGenerationCommand"), exports);
50
+ tslib_1.__exportStar(require("./GetTestExecutionArtifactsUrlCommand"), exports);
44
51
  tslib_1.__exportStar(require("./ListAggregatedUtterancesCommand"), exports);
45
52
  tslib_1.__exportStar(require("./ListBotAliasesCommand"), exports);
46
53
  tslib_1.__exportStar(require("./ListBotLocalesCommand"), exports);
@@ -57,9 +64,15 @@ tslib_1.__exportStar(require("./ListRecommendedIntentsCommand"), exports);
57
64
  tslib_1.__exportStar(require("./ListSlotTypesCommand"), exports);
58
65
  tslib_1.__exportStar(require("./ListSlotsCommand"), exports);
59
66
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
67
+ tslib_1.__exportStar(require("./ListTestExecutionResultItemsCommand"), exports);
68
+ tslib_1.__exportStar(require("./ListTestExecutionsCommand"), exports);
69
+ tslib_1.__exportStar(require("./ListTestSetRecordsCommand"), exports);
70
+ tslib_1.__exportStar(require("./ListTestSetsCommand"), exports);
60
71
  tslib_1.__exportStar(require("./SearchAssociatedTranscriptsCommand"), exports);
61
72
  tslib_1.__exportStar(require("./StartBotRecommendationCommand"), exports);
62
73
  tslib_1.__exportStar(require("./StartImportCommand"), exports);
74
+ tslib_1.__exportStar(require("./StartTestExecutionCommand"), exports);
75
+ tslib_1.__exportStar(require("./StartTestSetGenerationCommand"), exports);
63
76
  tslib_1.__exportStar(require("./StopBotRecommendationCommand"), exports);
64
77
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
65
78
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -72,3 +85,4 @@ tslib_1.__exportStar(require("./UpdateIntentCommand"), exports);
72
85
  tslib_1.__exportStar(require("./UpdateResourcePolicyCommand"), exports);
73
86
  tslib_1.__exportStar(require("./UpdateSlotCommand"), exports);
74
87
  tslib_1.__exportStar(require("./UpdateSlotTypeCommand"), exports);
88
+ tslib_1.__exportStar(require("./UpdateTestSetCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://models-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://models-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://models-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://models-v2-lex.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://models-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://models-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://models-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://models-v2-lex.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportSortAttribute = exports.ImportResourceType = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSortAttribute = exports.ExportFilterOperator = exports.ExportFilterName = exports.MergeStrategy = exports.TranscriptFormat = exports.ImportStatus = exports.CustomVocabularyStatus = exports.SlotValueResolutionStrategy = exports.SlotConstraint = exports.ObfuscationSettingType = exports.Effect = exports.PromptAttempt = exports.MessageSelectionStrategy = exports.ExportStatus = exports.ImportExportFileFormat = exports.SlotShape = exports.DialogActionType = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSortAttribute = exports.PreconditionFailedException = exports.ConflictException = exports.BotVersionSortAttribute = exports.BotType = exports.BotStatus = exports.BotSortAttribute = exports.BotRecommendationStatus = exports.BotLocaleStatus = exports.BotLocaleSortAttribute = exports.VoiceEngine = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotFilterOperator = exports.BotFilterName = exports.BotAliasStatus = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ErrorCode = exports.AssociatedTranscriptFilterName = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = exports.AudioRecognitionStrategy = void 0;
4
- exports.StartImportRequestFilterSensitiveLog = exports.StartBotRecommendationResponseFilterSensitiveLog = exports.StartBotRecommendationRequestFilterSensitiveLog = exports.DescribeBotRecommendationResponseFilterSensitiveLog = exports.EncryptionSettingFilterSensitiveLog = exports.CreateExportRequestFilterSensitiveLog = exports.SearchOrder = exports.SlotTypeCategory = exports.SlotTypeSortAttribute = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.SlotSortAttribute = exports.SlotFilterOperator = exports.SlotFilterName = exports.TimeDimension = exports.IntentSortAttribute = exports.IntentFilterOperator = exports.IntentFilterName = void 0;
3
+ exports.TestSetStatus = exports.TestExecutionStatus = exports.TestExecutionModality = exports.TestExecutionApiMode = exports.TestSetModality = exports.MergeStrategy = exports.TranscriptFormat = exports.ImportStatus = exports.CustomVocabularyStatus = exports.SlotValueResolutionStrategy = exports.SlotConstraint = exports.ObfuscationSettingType = exports.Effect = exports.PromptAttempt = exports.MessageSelectionStrategy = exports.ExportStatus = exports.ImportExportFileFormat = exports.ConversationLogsInputModeFilter = exports.TestResultMatchStatus = exports.SlotShape = exports.DialogActionType = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSortAttribute = exports.PreconditionFailedException = exports.ConflictException = exports.BotVersionSortAttribute = exports.BotType = exports.BotStatus = exports.BotSortAttribute = exports.BotRecommendationStatus = exports.BotLocaleStatus = exports.BotLocaleSortAttribute = exports.VoiceEngine = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotFilterOperator = exports.BotFilterName = exports.BotAliasStatus = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ErrorCode = exports.AssociatedTranscriptFilterName = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = exports.AudioRecognitionStrategy = void 0;
4
+ exports.DescribeBotRecommendationResponseFilterSensitiveLog = exports.EncryptionSettingFilterSensitiveLog = exports.CreateExportRequestFilterSensitiveLog = exports.TimeDimension = exports.IntentSortAttribute = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSortAttribute = exports.ImportResourceType = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSortAttribute = exports.ExportFilterOperator = exports.ExportFilterName = exports.TestSetGenerationStatus = exports.TestSetDiscrepancyReportStatus = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const LexModelsV2ServiceException_1 = require("./LexModelsV2ServiceException");
7
7
  exports.AudioRecognitionStrategy = {
@@ -216,7 +216,17 @@ exports.SlotShape = {
216
216
  List: "List",
217
217
  Scalar: "Scalar",
218
218
  };
219
+ exports.TestResultMatchStatus = {
220
+ ExecutionError: "ExecutionError",
221
+ Matched: "Matched",
222
+ Mismatched: "Mismatched",
223
+ };
224
+ exports.ConversationLogsInputModeFilter = {
225
+ Speech: "Speech",
226
+ Text: "Text",
227
+ };
219
228
  exports.ImportExportFileFormat = {
229
+ CSV: "CSV",
220
230
  LexJson: "LexJson",
221
231
  TSV: "TSV",
222
232
  };
@@ -276,6 +286,45 @@ exports.MergeStrategy = {
276
286
  FailOnConflict: "FailOnConflict",
277
287
  Overwrite: "Overwrite",
278
288
  };
289
+ exports.TestSetModality = {
290
+ Audio: "Audio",
291
+ Text: "Text",
292
+ };
293
+ exports.TestExecutionApiMode = {
294
+ NonStreaming: "NonStreaming",
295
+ Streaming: "Streaming",
296
+ };
297
+ exports.TestExecutionModality = {
298
+ Audio: "Audio",
299
+ Text: "Text",
300
+ };
301
+ exports.TestExecutionStatus = {
302
+ Completed: "Completed",
303
+ Failed: "Failed",
304
+ InProgress: "InProgress",
305
+ Pending: "Pending",
306
+ Stopped: "Stopped",
307
+ Stopping: "Stopping",
308
+ Waiting: "Waiting",
309
+ };
310
+ exports.TestSetStatus = {
311
+ Deleting: "Deleting",
312
+ Importing: "Importing",
313
+ PendingAnnotation: "PendingAnnotation",
314
+ Ready: "Ready",
315
+ ValidationError: "ValidationError",
316
+ };
317
+ exports.TestSetDiscrepancyReportStatus = {
318
+ Completed: "Completed",
319
+ Failed: "Failed",
320
+ InProgress: "InProgress",
321
+ };
322
+ exports.TestSetGenerationStatus = {
323
+ Failed: "Failed",
324
+ Generating: "Generating",
325
+ Pending: "Pending",
326
+ Ready: "Ready",
327
+ };
279
328
  exports.ExportFilterName = {
280
329
  ExportResourceType: "ExportResourceType",
281
330
  };
@@ -297,6 +346,7 @@ exports.ImportResourceType = {
297
346
  Bot: "Bot",
298
347
  BotLocale: "BotLocale",
299
348
  CustomVocabulary: "CustomVocabulary",
349
+ TestSet: "TestSet",
300
350
  };
301
351
  exports.ImportSortAttribute = {
302
352
  LastUpdatedDateTime: "LastUpdatedDateTime",
@@ -317,39 +367,6 @@ exports.TimeDimension = {
317
367
  Hours: "Hours",
318
368
  Weeks: "Weeks",
319
369
  };
320
- exports.SlotFilterName = {
321
- SlotName: "SlotName",
322
- };
323
- exports.SlotFilterOperator = {
324
- Contains: "CO",
325
- Equals: "EQ",
326
- };
327
- exports.SlotSortAttribute = {
328
- LastUpdatedDateTime: "LastUpdatedDateTime",
329
- SlotName: "SlotName",
330
- };
331
- exports.SlotTypeFilterName = {
332
- ExternalSourceType: "ExternalSourceType",
333
- SlotTypeName: "SlotTypeName",
334
- };
335
- exports.SlotTypeFilterOperator = {
336
- Contains: "CO",
337
- Equals: "EQ",
338
- };
339
- exports.SlotTypeSortAttribute = {
340
- LastUpdatedDateTime: "LastUpdatedDateTime",
341
- SlotTypeName: "SlotTypeName",
342
- };
343
- exports.SlotTypeCategory = {
344
- Composite: "Composite",
345
- Custom: "Custom",
346
- Extended: "Extended",
347
- ExternalGrammar: "ExternalGrammar",
348
- };
349
- exports.SearchOrder = {
350
- Ascending: "Ascending",
351
- Descending: "Descending",
352
- };
353
370
  const CreateExportRequestFilterSensitiveLog = (obj) => ({
354
371
  ...obj,
355
372
  ...(obj.filePassword && { filePassword: smithy_client_1.SENSITIVE_STRING }),
@@ -366,18 +383,3 @@ const DescribeBotRecommendationResponseFilterSensitiveLog = (obj) => ({
366
383
  ...(obj.encryptionSetting && { encryptionSetting: (0, exports.EncryptionSettingFilterSensitiveLog)(obj.encryptionSetting) }),
367
384
  });
368
385
  exports.DescribeBotRecommendationResponseFilterSensitiveLog = DescribeBotRecommendationResponseFilterSensitiveLog;
369
- const StartBotRecommendationRequestFilterSensitiveLog = (obj) => ({
370
- ...obj,
371
- ...(obj.encryptionSetting && { encryptionSetting: (0, exports.EncryptionSettingFilterSensitiveLog)(obj.encryptionSetting) }),
372
- });
373
- exports.StartBotRecommendationRequestFilterSensitiveLog = StartBotRecommendationRequestFilterSensitiveLog;
374
- const StartBotRecommendationResponseFilterSensitiveLog = (obj) => ({
375
- ...obj,
376
- ...(obj.encryptionSetting && { encryptionSetting: (0, exports.EncryptionSettingFilterSensitiveLog)(obj.encryptionSetting) }),
377
- });
378
- exports.StartBotRecommendationResponseFilterSensitiveLog = StartBotRecommendationResponseFilterSensitiveLog;
379
- const StartImportRequestFilterSensitiveLog = (obj) => ({
380
- ...obj,
381
- ...(obj.filePassword && { filePassword: smithy_client_1.SENSITIVE_STRING }),
382
- });
383
- exports.StartImportRequestFilterSensitiveLog = StartImportRequestFilterSensitiveLog;
@@ -1,8 +1,71 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateExportRequestFilterSensitiveLog = exports.UpdateBotRecommendationResponseFilterSensitiveLog = exports.UpdateBotRecommendationRequestFilterSensitiveLog = void 0;
3
+ exports.UpdateExportRequestFilterSensitiveLog = exports.UpdateBotRecommendationResponseFilterSensitiveLog = exports.UpdateBotRecommendationRequestFilterSensitiveLog = exports.StartImportRequestFilterSensitiveLog = exports.StartBotRecommendationResponseFilterSensitiveLog = exports.StartBotRecommendationRequestFilterSensitiveLog = exports.SearchOrder = exports.TestSetSortAttribute = exports.TestExecutionSortAttribute = exports.TestResultTypeFilter = exports.SlotTypeCategory = exports.SlotTypeSortAttribute = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.SlotSortAttribute = exports.SlotFilterOperator = exports.SlotFilterName = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const models_0_1 = require("./models_0");
6
+ exports.SlotFilterName = {
7
+ SlotName: "SlotName",
8
+ };
9
+ exports.SlotFilterOperator = {
10
+ Contains: "CO",
11
+ Equals: "EQ",
12
+ };
13
+ exports.SlotSortAttribute = {
14
+ LastUpdatedDateTime: "LastUpdatedDateTime",
15
+ SlotName: "SlotName",
16
+ };
17
+ exports.SlotTypeFilterName = {
18
+ ExternalSourceType: "ExternalSourceType",
19
+ SlotTypeName: "SlotTypeName",
20
+ };
21
+ exports.SlotTypeFilterOperator = {
22
+ Contains: "CO",
23
+ Equals: "EQ",
24
+ };
25
+ exports.SlotTypeSortAttribute = {
26
+ LastUpdatedDateTime: "LastUpdatedDateTime",
27
+ SlotTypeName: "SlotTypeName",
28
+ };
29
+ exports.SlotTypeCategory = {
30
+ Composite: "Composite",
31
+ Custom: "Custom",
32
+ Extended: "Extended",
33
+ ExternalGrammar: "ExternalGrammar",
34
+ };
35
+ exports.TestResultTypeFilter = {
36
+ ConversationLevelTestResults: "ConversationLevelTestResults",
37
+ IntentClassificationTestResults: "IntentClassificationTestResults",
38
+ OverallTestResults: "OverallTestResults",
39
+ SlotResolutionTestResults: "SlotResolutionTestResults",
40
+ UtteranceLevelResults: "UtteranceLevelResults",
41
+ };
42
+ exports.TestExecutionSortAttribute = {
43
+ CreationDateTime: "CreationDateTime",
44
+ TestSetName: "TestSetName",
45
+ };
46
+ exports.TestSetSortAttribute = {
47
+ LastUpdatedDateTime: "LastUpdatedDateTime",
48
+ TestSetName: "TestSetName",
49
+ };
50
+ exports.SearchOrder = {
51
+ Ascending: "Ascending",
52
+ Descending: "Descending",
53
+ };
54
+ const StartBotRecommendationRequestFilterSensitiveLog = (obj) => ({
55
+ ...obj,
56
+ ...(obj.encryptionSetting && { encryptionSetting: (0, models_0_1.EncryptionSettingFilterSensitiveLog)(obj.encryptionSetting) }),
57
+ });
58
+ exports.StartBotRecommendationRequestFilterSensitiveLog = StartBotRecommendationRequestFilterSensitiveLog;
59
+ const StartBotRecommendationResponseFilterSensitiveLog = (obj) => ({
60
+ ...obj,
61
+ ...(obj.encryptionSetting && { encryptionSetting: (0, models_0_1.EncryptionSettingFilterSensitiveLog)(obj.encryptionSetting) }),
62
+ });
63
+ exports.StartBotRecommendationResponseFilterSensitiveLog = StartBotRecommendationResponseFilterSensitiveLog;
64
+ const StartImportRequestFilterSensitiveLog = (obj) => ({
65
+ ...obj,
66
+ ...(obj.filePassword && { filePassword: smithy_client_1.SENSITIVE_STRING }),
67
+ });
68
+ exports.StartImportRequestFilterSensitiveLog = StartImportRequestFilterSensitiveLog;
6
69
  const UpdateBotRecommendationRequestFilterSensitiveLog = (obj) => ({
7
70
  ...obj,
8
71
  ...(obj.encryptionSetting && { encryptionSetting: (0, models_0_1.EncryptionSettingFilterSensitiveLog)(obj.encryptionSetting) }),
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListTestExecutionResultItems = void 0;
4
+ const ListTestExecutionResultItemsCommand_1 = require("../commands/ListTestExecutionResultItemsCommand");
5
+ const LexModelsV2Client_1 = require("../LexModelsV2Client");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListTestExecutionResultItemsCommand_1.ListTestExecutionResultItemsCommand(input), ...args);
8
+ };
9
+ async function* paginateListTestExecutionResultItems(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListTestExecutionResultItems = paginateListTestExecutionResultItems;