@aws-sdk/client-lex-models-v2 3.345.0 → 3.347.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 (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
@@ -13,6 +13,7 @@ import { CreateResourcePolicyCommand, } from "./commands/CreateResourcePolicyCom
13
13
  import { CreateResourcePolicyStatementCommand, } from "./commands/CreateResourcePolicyStatementCommand";
14
14
  import { CreateSlotCommand } from "./commands/CreateSlotCommand";
15
15
  import { CreateSlotTypeCommand, } from "./commands/CreateSlotTypeCommand";
16
+ import { CreateTestSetDiscrepancyReportCommand, } from "./commands/CreateTestSetDiscrepancyReportCommand";
16
17
  import { CreateUploadUrlCommand, } from "./commands/CreateUploadUrlCommand";
17
18
  import { DeleteBotAliasCommand, } from "./commands/DeleteBotAliasCommand";
18
19
  import { DeleteBotCommand } from "./commands/DeleteBotCommand";
@@ -26,6 +27,7 @@ import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCom
26
27
  import { DeleteResourcePolicyStatementCommand, } from "./commands/DeleteResourcePolicyStatementCommand";
27
28
  import { DeleteSlotCommand } from "./commands/DeleteSlotCommand";
28
29
  import { DeleteSlotTypeCommand, } from "./commands/DeleteSlotTypeCommand";
30
+ import { DeleteTestSetCommand, } from "./commands/DeleteTestSetCommand";
29
31
  import { DeleteUtterancesCommand, } from "./commands/DeleteUtterancesCommand";
30
32
  import { DescribeBotAliasCommand, } from "./commands/DescribeBotAliasCommand";
31
33
  import { DescribeBotCommand } from "./commands/DescribeBotCommand";
@@ -39,6 +41,11 @@ import { DescribeIntentCommand, } from "./commands/DescribeIntentCommand";
39
41
  import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
40
42
  import { DescribeSlotCommand, } from "./commands/DescribeSlotCommand";
41
43
  import { DescribeSlotTypeCommand, } from "./commands/DescribeSlotTypeCommand";
44
+ import { DescribeTestExecutionCommand, } from "./commands/DescribeTestExecutionCommand";
45
+ import { DescribeTestSetCommand, } from "./commands/DescribeTestSetCommand";
46
+ import { DescribeTestSetDiscrepancyReportCommand, } from "./commands/DescribeTestSetDiscrepancyReportCommand";
47
+ import { DescribeTestSetGenerationCommand, } from "./commands/DescribeTestSetGenerationCommand";
48
+ import { GetTestExecutionArtifactsUrlCommand, } from "./commands/GetTestExecutionArtifactsUrlCommand";
42
49
  import { ListAggregatedUtterancesCommand, } from "./commands/ListAggregatedUtterancesCommand";
43
50
  import { ListBotAliasesCommand, } from "./commands/ListBotAliasesCommand";
44
51
  import { ListBotLocalesCommand, } from "./commands/ListBotLocalesCommand";
@@ -55,9 +62,15 @@ import { ListRecommendedIntentsCommand, } from "./commands/ListRecommendedIntent
55
62
  import { ListSlotsCommand } from "./commands/ListSlotsCommand";
56
63
  import { ListSlotTypesCommand, } from "./commands/ListSlotTypesCommand";
57
64
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
65
+ import { ListTestExecutionResultItemsCommand, } from "./commands/ListTestExecutionResultItemsCommand";
66
+ import { ListTestExecutionsCommand, } from "./commands/ListTestExecutionsCommand";
67
+ import { ListTestSetRecordsCommand, } from "./commands/ListTestSetRecordsCommand";
68
+ import { ListTestSetsCommand, } from "./commands/ListTestSetsCommand";
58
69
  import { SearchAssociatedTranscriptsCommand, } from "./commands/SearchAssociatedTranscriptsCommand";
59
70
  import { StartBotRecommendationCommand, } from "./commands/StartBotRecommendationCommand";
60
71
  import { StartImportCommand } from "./commands/StartImportCommand";
72
+ import { StartTestExecutionCommand, } from "./commands/StartTestExecutionCommand";
73
+ import { StartTestSetGenerationCommand, } from "./commands/StartTestSetGenerationCommand";
61
74
  import { StopBotRecommendationCommand, } from "./commands/StopBotRecommendationCommand";
62
75
  import { TagResourceCommand } from "./commands/TagResourceCommand";
63
76
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -70,6 +83,7 @@ import { UpdateIntentCommand, } from "./commands/UpdateIntentCommand";
70
83
  import { UpdateResourcePolicyCommand, } from "./commands/UpdateResourcePolicyCommand";
71
84
  import { UpdateSlotCommand } from "./commands/UpdateSlotCommand";
72
85
  import { UpdateSlotTypeCommand, } from "./commands/UpdateSlotTypeCommand";
86
+ import { UpdateTestSetCommand, } from "./commands/UpdateTestSetCommand";
73
87
  import { LexModelsV2Client } from "./LexModelsV2Client";
74
88
  const commands = {
75
89
  BatchCreateCustomVocabularyItemCommand,
@@ -86,6 +100,7 @@ const commands = {
86
100
  CreateResourcePolicyStatementCommand,
87
101
  CreateSlotCommand,
88
102
  CreateSlotTypeCommand,
103
+ CreateTestSetDiscrepancyReportCommand,
89
104
  CreateUploadUrlCommand,
90
105
  DeleteBotCommand,
91
106
  DeleteBotAliasCommand,
@@ -99,6 +114,7 @@ const commands = {
99
114
  DeleteResourcePolicyStatementCommand,
100
115
  DeleteSlotCommand,
101
116
  DeleteSlotTypeCommand,
117
+ DeleteTestSetCommand,
102
118
  DeleteUtterancesCommand,
103
119
  DescribeBotCommand,
104
120
  DescribeBotAliasCommand,
@@ -112,6 +128,11 @@ const commands = {
112
128
  DescribeResourcePolicyCommand,
113
129
  DescribeSlotCommand,
114
130
  DescribeSlotTypeCommand,
131
+ DescribeTestExecutionCommand,
132
+ DescribeTestSetCommand,
133
+ DescribeTestSetDiscrepancyReportCommand,
134
+ DescribeTestSetGenerationCommand,
135
+ GetTestExecutionArtifactsUrlCommand,
115
136
  ListAggregatedUtterancesCommand,
116
137
  ListBotAliasesCommand,
117
138
  ListBotLocalesCommand,
@@ -128,9 +149,15 @@ const commands = {
128
149
  ListSlotsCommand,
129
150
  ListSlotTypesCommand,
130
151
  ListTagsForResourceCommand,
152
+ ListTestExecutionResultItemsCommand,
153
+ ListTestExecutionsCommand,
154
+ ListTestSetRecordsCommand,
155
+ ListTestSetsCommand,
131
156
  SearchAssociatedTranscriptsCommand,
132
157
  StartBotRecommendationCommand,
133
158
  StartImportCommand,
159
+ StartTestExecutionCommand,
160
+ StartTestSetGenerationCommand,
134
161
  StopBotRecommendationCommand,
135
162
  TagResourceCommand,
136
163
  UntagResourceCommand,
@@ -143,6 +170,7 @@ const commands = {
143
170
  UpdateResourcePolicyCommand,
144
171
  UpdateSlotCommand,
145
172
  UpdateSlotTypeCommand,
173
+ UpdateTestSetCommand,
146
174
  };
147
175
  export class LexModelsV2 extends LexModelsV2Client {
148
176
  }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_CreateTestSetDiscrepancyReportCommand, se_CreateTestSetDiscrepancyReportCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class CreateTestSetDiscrepancyReportCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateTestSetDiscrepancyReportCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "CreateTestSetDiscrepancyReportCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_CreateTestSetDiscrepancyReportCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_CreateTestSetDiscrepancyReportCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DeleteTestSetCommand, se_DeleteTestSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DeleteTestSetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteTestSetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "DeleteTestSetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DeleteTestSetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DeleteTestSetCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DescribeTestExecutionCommand, se_DescribeTestExecutionCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DescribeTestExecutionCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestExecutionCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "DescribeTestExecutionCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeTestExecutionCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeTestExecutionCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DescribeTestSetCommand, se_DescribeTestSetCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DescribeTestSetCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestSetCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "DescribeTestSetCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeTestSetCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeTestSetCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DescribeTestSetDiscrepancyReportCommand, se_DescribeTestSetDiscrepancyReportCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DescribeTestSetDiscrepancyReportCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestSetDiscrepancyReportCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "DescribeTestSetDiscrepancyReportCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeTestSetDiscrepancyReportCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeTestSetDiscrepancyReportCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DescribeTestSetGenerationCommand, se_DescribeTestSetGenerationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DescribeTestSetGenerationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTestSetGenerationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "DescribeTestSetGenerationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeTestSetGenerationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeTestSetGenerationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_GetTestExecutionArtifactsUrlCommand, se_GetTestExecutionArtifactsUrlCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class GetTestExecutionArtifactsUrlCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetTestExecutionArtifactsUrlCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "GetTestExecutionArtifactsUrlCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_GetTestExecutionArtifactsUrlCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_GetTestExecutionArtifactsUrlCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListTestExecutionResultItemsCommand, se_ListTestExecutionResultItemsCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTestExecutionResultItemsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTestExecutionResultItemsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "ListTestExecutionResultItemsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTestExecutionResultItemsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTestExecutionResultItemsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListTestExecutionsCommand, se_ListTestExecutionsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTestExecutionsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTestExecutionsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "ListTestExecutionsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTestExecutionsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTestExecutionsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListTestSetRecordsCommand, se_ListTestSetRecordsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTestSetRecordsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTestSetRecordsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "ListTestSetRecordsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTestSetRecordsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTestSetRecordsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_ListTestSetsCommand, se_ListTestSetsCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListTestSetsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTestSetsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "ListTestSetsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListTestSetsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListTestSetsCommand(output, context);
41
+ }
42
+ }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartBotRecommendationRequestFilterSensitiveLog, StartBotRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { StartBotRecommendationRequestFilterSensitiveLog, StartBotRecommendationResponseFilterSensitiveLog, } from "../models/models_1";
5
5
  import { de_StartBotRecommendationCommand, se_StartBotRecommendationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
7
  export class StartBotRecommendationCommand extends $Command {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartImportRequestFilterSensitiveLog } from "../models/models_0";
4
+ import { StartImportRequestFilterSensitiveLog } from "../models/models_1";
5
5
  import { de_StartImportCommand, se_StartImportCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
7
  export class StartImportCommand extends $Command {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_StartTestExecutionCommand, se_StartTestExecutionCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class StartTestExecutionCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartTestExecutionCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "LexModelsV2Client";
25
+ const commandName = "StartTestExecutionCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_StartTestExecutionCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_StartTestExecutionCommand(output, context);
41
+ }
42
+ }