@aws-sdk/client-lex-models-v2 3.344.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
@@ -1,5 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
3
+ export interface ActiveContext {
4
+ name: string | undefined;
5
+ }
3
6
  export declare const AudioRecognitionStrategy: {
4
7
  readonly UseSlotValuesAsCustomVocabulary: "UseSlotValuesAsCustomVocabulary";
5
8
  };
@@ -8,6 +11,20 @@ export type AudioRecognitionStrategy =
8
11
  export interface AdvancedRecognitionSetting {
9
12
  audioRecognitionStrategy?: AudioRecognitionStrategy | string;
10
13
  }
14
+ export interface ExecutionErrorDetails {
15
+ errorCode: string | undefined;
16
+ errorMessage: string | undefined;
17
+ }
18
+ export interface AgentTurnResult {
19
+ expectedAgentPrompt: string | undefined;
20
+ actualAgentPrompt?: string;
21
+ errorDetails?: ExecutionErrorDetails;
22
+ actualElicitedSlot?: string;
23
+ actualIntent?: string;
24
+ }
25
+ export interface AgentTurnSpecification {
26
+ agentPrompt: string | undefined;
27
+ }
11
28
  export declare const AggregatedUtterancesFilterName: {
12
29
  readonly Utterance: "Utterance";
13
30
  };
@@ -225,6 +242,11 @@ export interface BotAliasSummary {
225
242
  creationDateTime?: Date;
226
243
  lastUpdatedDateTime?: Date;
227
244
  }
245
+ export interface BotAliasTestExecutionTarget {
246
+ botId: string | undefined;
247
+ botAliasId: string | undefined;
248
+ localeId: string | undefined;
249
+ }
228
250
  export interface BotExportSpecification {
229
251
  botId: string | undefined;
230
252
  botVersion: string | undefined;
@@ -545,6 +567,60 @@ export interface ResponseSpecification {
545
567
  messageGroups: MessageGroup[] | undefined;
546
568
  allowInterrupt?: boolean;
547
569
  }
570
+ export declare const TestResultMatchStatus: {
571
+ readonly ExecutionError: "ExecutionError";
572
+ readonly Matched: "Matched";
573
+ readonly Mismatched: "Mismatched";
574
+ };
575
+ export type TestResultMatchStatus =
576
+ (typeof TestResultMatchStatus)[keyof typeof TestResultMatchStatus];
577
+ export interface ConversationLevelIntentClassificationResultItem {
578
+ intentName: string | undefined;
579
+ matchResult: TestResultMatchStatus | string | undefined;
580
+ }
581
+ export interface ConversationLevelResultDetail {
582
+ endToEndResult: TestResultMatchStatus | string | undefined;
583
+ speechTranscriptionResult?: TestResultMatchStatus | string;
584
+ }
585
+ export interface ConversationLevelSlotResolutionResultItem {
586
+ intentName: string | undefined;
587
+ slotName: string | undefined;
588
+ matchResult: TestResultMatchStatus | string | undefined;
589
+ }
590
+ export interface ConversationLevelTestResultItem {
591
+ conversationId: string | undefined;
592
+ endToEndResult: TestResultMatchStatus | string | undefined;
593
+ speechTranscriptionResult?: TestResultMatchStatus | string;
594
+ intentClassificationResults:
595
+ | ConversationLevelIntentClassificationResultItem[]
596
+ | undefined;
597
+ slotResolutionResults:
598
+ | ConversationLevelSlotResolutionResultItem[]
599
+ | undefined;
600
+ }
601
+ export interface ConversationLevelTestResults {
602
+ items: ConversationLevelTestResultItem[] | undefined;
603
+ }
604
+ export interface ConversationLevelTestResultsFilterBy {
605
+ endToEndResult?: TestResultMatchStatus | string;
606
+ }
607
+ export declare const ConversationLogsInputModeFilter: {
608
+ readonly Speech: "Speech";
609
+ readonly Text: "Text";
610
+ };
611
+ export type ConversationLogsInputModeFilter =
612
+ (typeof ConversationLogsInputModeFilter)[keyof typeof ConversationLogsInputModeFilter];
613
+ export interface ConversationLogsDataSourceFilterBy {
614
+ startTime: Date | undefined;
615
+ endTime: Date | undefined;
616
+ inputMode: ConversationLogsInputModeFilter | string | undefined;
617
+ }
618
+ export interface ConversationLogsDataSource {
619
+ botId: string | undefined;
620
+ botAliasId: string | undefined;
621
+ localeId: string | undefined;
622
+ filter: ConversationLogsDataSourceFilterBy | undefined;
623
+ }
548
624
  export interface TextLogDestination {
549
625
  cloudWatch: CloudWatchLogGroupLogDestination | undefined;
550
626
  }
@@ -642,6 +718,7 @@ export interface CreateBotVersionResponse {
642
718
  creationDateTime?: Date;
643
719
  }
644
720
  export declare const ImportExportFileFormat: {
721
+ readonly CSV: "CSV";
645
722
  readonly LexJson: "LexJson";
646
723
  readonly TSV: "TSV";
647
724
  };
@@ -652,10 +729,14 @@ export interface CustomVocabularyExportSpecification {
652
729
  botVersion: string | undefined;
653
730
  localeId: string | undefined;
654
731
  }
732
+ export interface TestSetExportSpecification {
733
+ testSetId: string | undefined;
734
+ }
655
735
  export interface ExportResourceSpecification {
656
736
  botExportSpecification?: BotExportSpecification;
657
737
  botLocaleExportSpecification?: BotLocaleExportSpecification;
658
738
  customVocabularyExportSpecification?: CustomVocabularyExportSpecification;
739
+ testSetExportSpecification?: TestSetExportSpecification;
659
740
  }
660
741
  export interface CreateExportRequest {
661
742
  resourceSpecification: ExportResourceSpecification | undefined;
@@ -885,6 +966,24 @@ export interface CreateSlotTypeResponse {
885
966
  externalSourceSetting?: ExternalSourceSetting;
886
967
  compositeSlotTypeSetting?: CompositeSlotTypeSetting;
887
968
  }
969
+ export interface TestSetDiscrepancyReportBotAliasTarget {
970
+ botId: string | undefined;
971
+ botAliasId: string | undefined;
972
+ localeId: string | undefined;
973
+ }
974
+ export interface TestSetDiscrepancyReportResourceTarget {
975
+ botAliasTarget?: TestSetDiscrepancyReportBotAliasTarget;
976
+ }
977
+ export interface CreateTestSetDiscrepancyReportRequest {
978
+ testSetId: string | undefined;
979
+ target: TestSetDiscrepancyReportResourceTarget | undefined;
980
+ }
981
+ export interface CreateTestSetDiscrepancyReportResponse {
982
+ testSetDiscrepancyReportId?: string;
983
+ creationDateTime?: Date;
984
+ testSetId?: string;
985
+ target?: TestSetDiscrepancyReportResourceTarget;
986
+ }
888
987
  export interface CreateUploadUrlRequest {}
889
988
  export interface CreateUploadUrlResponse {
890
989
  importId?: string;
@@ -1016,6 +1115,9 @@ export interface DeleteSlotTypeRequest {
1016
1115
  localeId: string | undefined;
1017
1116
  skipResourceInUseCheck?: boolean;
1018
1117
  }
1118
+ export interface DeleteTestSetRequest {
1119
+ testSetId: string | undefined;
1120
+ }
1019
1121
  export interface DeleteUtterancesRequest {
1020
1122
  botId: string | undefined;
1021
1123
  localeId?: string;
@@ -1187,10 +1289,35 @@ export declare const MergeStrategy: {
1187
1289
  readonly Overwrite: "Overwrite";
1188
1290
  };
1189
1291
  export type MergeStrategy = (typeof MergeStrategy)[keyof typeof MergeStrategy];
1292
+ export interface TestSetImportInputLocation {
1293
+ s3BucketName: string | undefined;
1294
+ s3Path: string | undefined;
1295
+ }
1296
+ export declare const TestSetModality: {
1297
+ readonly Audio: "Audio";
1298
+ readonly Text: "Text";
1299
+ };
1300
+ export type TestSetModality =
1301
+ (typeof TestSetModality)[keyof typeof TestSetModality];
1302
+ export interface TestSetStorageLocation {
1303
+ s3BucketName: string | undefined;
1304
+ s3Path: string | undefined;
1305
+ kmsKeyArn?: string;
1306
+ }
1307
+ export interface TestSetImportResourceSpecification {
1308
+ testSetName: string | undefined;
1309
+ description?: string;
1310
+ roleArn: string | undefined;
1311
+ storageLocation: TestSetStorageLocation | undefined;
1312
+ importInputLocation: TestSetImportInputLocation | undefined;
1313
+ modality: TestSetModality | string | undefined;
1314
+ testSetTags?: Record<string, string>;
1315
+ }
1190
1316
  export interface ImportResourceSpecification {
1191
1317
  botImportSpecification?: BotImportSpecification;
1192
1318
  botLocaleImportSpecification?: BotLocaleImportSpecification;
1193
1319
  customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
1320
+ testSetImportResourceSpecification?: TestSetImportResourceSpecification;
1194
1321
  }
1195
1322
  export interface DescribeImportResponse {
1196
1323
  importId?: string;
@@ -1249,6 +1376,131 @@ export interface DescribeSlotTypeResponse {
1249
1376
  externalSourceSetting?: ExternalSourceSetting;
1250
1377
  compositeSlotTypeSetting?: CompositeSlotTypeSetting;
1251
1378
  }
1379
+ export interface DescribeTestExecutionRequest {
1380
+ testExecutionId: string | undefined;
1381
+ }
1382
+ export declare const TestExecutionApiMode: {
1383
+ readonly NonStreaming: "NonStreaming";
1384
+ readonly Streaming: "Streaming";
1385
+ };
1386
+ export type TestExecutionApiMode =
1387
+ (typeof TestExecutionApiMode)[keyof typeof TestExecutionApiMode];
1388
+ export interface TestExecutionTarget {
1389
+ botAliasTarget?: BotAliasTestExecutionTarget;
1390
+ }
1391
+ export declare const TestExecutionModality: {
1392
+ readonly Audio: "Audio";
1393
+ readonly Text: "Text";
1394
+ };
1395
+ export type TestExecutionModality =
1396
+ (typeof TestExecutionModality)[keyof typeof TestExecutionModality];
1397
+ export declare const TestExecutionStatus: {
1398
+ readonly Completed: "Completed";
1399
+ readonly Failed: "Failed";
1400
+ readonly InProgress: "InProgress";
1401
+ readonly Pending: "Pending";
1402
+ readonly Stopped: "Stopped";
1403
+ readonly Stopping: "Stopping";
1404
+ readonly Waiting: "Waiting";
1405
+ };
1406
+ export type TestExecutionStatus =
1407
+ (typeof TestExecutionStatus)[keyof typeof TestExecutionStatus];
1408
+ export interface DescribeTestExecutionResponse {
1409
+ testExecutionId?: string;
1410
+ creationDateTime?: Date;
1411
+ lastUpdatedDateTime?: Date;
1412
+ testExecutionStatus?: TestExecutionStatus | string;
1413
+ testSetId?: string;
1414
+ testSetName?: string;
1415
+ target?: TestExecutionTarget;
1416
+ apiMode?: TestExecutionApiMode | string;
1417
+ testExecutionModality?: TestExecutionModality | string;
1418
+ failureReasons?: string[];
1419
+ }
1420
+ export interface DescribeTestSetRequest {
1421
+ testSetId: string | undefined;
1422
+ }
1423
+ export declare const TestSetStatus: {
1424
+ readonly Deleting: "Deleting";
1425
+ readonly Importing: "Importing";
1426
+ readonly PendingAnnotation: "PendingAnnotation";
1427
+ readonly Ready: "Ready";
1428
+ readonly ValidationError: "ValidationError";
1429
+ };
1430
+ export type TestSetStatus = (typeof TestSetStatus)[keyof typeof TestSetStatus];
1431
+ export interface DescribeTestSetResponse {
1432
+ testSetId?: string;
1433
+ testSetName?: string;
1434
+ description?: string;
1435
+ modality?: TestSetModality | string;
1436
+ status?: TestSetStatus | string;
1437
+ roleArn?: string;
1438
+ numTurns?: number;
1439
+ storageLocation?: TestSetStorageLocation;
1440
+ creationDateTime?: Date;
1441
+ lastUpdatedDateTime?: Date;
1442
+ }
1443
+ export interface DescribeTestSetDiscrepancyReportRequest {
1444
+ testSetDiscrepancyReportId: string | undefined;
1445
+ }
1446
+ export declare const TestSetDiscrepancyReportStatus: {
1447
+ readonly Completed: "Completed";
1448
+ readonly Failed: "Failed";
1449
+ readonly InProgress: "InProgress";
1450
+ };
1451
+ export type TestSetDiscrepancyReportStatus =
1452
+ (typeof TestSetDiscrepancyReportStatus)[keyof typeof TestSetDiscrepancyReportStatus];
1453
+ export interface TestSetIntentDiscrepancyItem {
1454
+ intentName: string | undefined;
1455
+ errorMessage: string | undefined;
1456
+ }
1457
+ export interface TestSetSlotDiscrepancyItem {
1458
+ intentName: string | undefined;
1459
+ slotName: string | undefined;
1460
+ errorMessage: string | undefined;
1461
+ }
1462
+ export interface TestSetDiscrepancyErrors {
1463
+ intentDiscrepancies: TestSetIntentDiscrepancyItem[] | undefined;
1464
+ slotDiscrepancies: TestSetSlotDiscrepancyItem[] | undefined;
1465
+ }
1466
+ export interface DescribeTestSetDiscrepancyReportResponse {
1467
+ testSetDiscrepancyReportId?: string;
1468
+ testSetId?: string;
1469
+ creationDateTime?: Date;
1470
+ target?: TestSetDiscrepancyReportResourceTarget;
1471
+ testSetDiscrepancyReportStatus?: TestSetDiscrepancyReportStatus | string;
1472
+ lastUpdatedDataTime?: Date;
1473
+ testSetDiscrepancyTopErrors?: TestSetDiscrepancyErrors;
1474
+ testSetDiscrepancyRawOutputUrl?: string;
1475
+ failureReasons?: string[];
1476
+ }
1477
+ export interface DescribeTestSetGenerationRequest {
1478
+ testSetGenerationId: string | undefined;
1479
+ }
1480
+ export interface TestSetGenerationDataSource {
1481
+ conversationLogsDataSource?: ConversationLogsDataSource;
1482
+ }
1483
+ export declare const TestSetGenerationStatus: {
1484
+ readonly Failed: "Failed";
1485
+ readonly Generating: "Generating";
1486
+ readonly Pending: "Pending";
1487
+ readonly Ready: "Ready";
1488
+ };
1489
+ export type TestSetGenerationStatus =
1490
+ (typeof TestSetGenerationStatus)[keyof typeof TestSetGenerationStatus];
1491
+ export interface DescribeTestSetGenerationResponse {
1492
+ testSetGenerationId?: string;
1493
+ testSetGenerationStatus?: TestSetGenerationStatus | string;
1494
+ failureReasons?: string[];
1495
+ testSetId?: string;
1496
+ testSetName?: string;
1497
+ description?: string;
1498
+ storageLocation?: TestSetStorageLocation;
1499
+ generationDataSource?: TestSetGenerationDataSource;
1500
+ roleArn?: string;
1501
+ creationDateTime?: Date;
1502
+ lastUpdatedDateTime?: Date;
1503
+ }
1252
1504
  export declare const ExportFilterName: {
1253
1505
  readonly ExportResourceType: "ExportResourceType";
1254
1506
  };
@@ -1282,6 +1534,13 @@ export interface ExportSummary {
1282
1534
  creationDateTime?: Date;
1283
1535
  lastUpdatedDateTime?: Date;
1284
1536
  }
1537
+ export interface GetTestExecutionArtifactsUrlRequest {
1538
+ testExecutionId: string | undefined;
1539
+ }
1540
+ export interface GetTestExecutionArtifactsUrlResponse {
1541
+ testExecutionId?: string;
1542
+ downloadArtifactsUrl?: string;
1543
+ }
1285
1544
  export declare const ImportFilterName: {
1286
1545
  readonly ImportResourceType: "ImportResourceType";
1287
1546
  };
@@ -1302,6 +1561,7 @@ export declare const ImportResourceType: {
1302
1561
  readonly Bot: "Bot";
1303
1562
  readonly BotLocale: "BotLocale";
1304
1563
  readonly CustomVocabulary: "CustomVocabulary";
1564
+ readonly TestSet: "TestSet";
1305
1565
  };
1306
1566
  export type ImportResourceType =
1307
1567
  (typeof ImportResourceType)[keyof typeof ImportResourceType];
@@ -1324,6 +1584,22 @@ export interface ImportSummary {
1324
1584
  lastUpdatedDateTime?: Date;
1325
1585
  importedResourceType?: ImportResourceType | string;
1326
1586
  }
1587
+ export interface RuntimeHintValue {
1588
+ phrase: string | undefined;
1589
+ }
1590
+ export interface IntentClassificationTestResultItemCounts {
1591
+ totalResultCount: number | undefined;
1592
+ speechTranscriptionResultCounts?: Record<string, number>;
1593
+ intentMatchResultCounts: Record<string, number> | undefined;
1594
+ }
1595
+ export interface IntentClassificationTestResultItem {
1596
+ intentName: string | undefined;
1597
+ multiTurnConversation: boolean | undefined;
1598
+ resultCounts: IntentClassificationTestResultItemCounts | undefined;
1599
+ }
1600
+ export interface IntentClassificationTestResults {
1601
+ items: IntentClassificationTestResultItem[] | undefined;
1602
+ }
1327
1603
  export declare const IntentFilterName: {
1328
1604
  readonly IntentName: "IntentName";
1329
1605
  };
@@ -1340,6 +1616,23 @@ export interface IntentFilter {
1340
1616
  values: string[] | undefined;
1341
1617
  operator: IntentFilterOperator | string | undefined;
1342
1618
  }
1619
+ export interface SlotResolutionTestResultItemCounts {
1620
+ totalResultCount: number | undefined;
1621
+ speechTranscriptionResultCounts?: Record<string, number>;
1622
+ slotMatchResultCounts: Record<string, number> | undefined;
1623
+ }
1624
+ export interface SlotResolutionTestResultItem {
1625
+ slotName: string | undefined;
1626
+ resultCounts: SlotResolutionTestResultItemCounts | undefined;
1627
+ }
1628
+ export interface IntentLevelSlotResolutionTestResultItem {
1629
+ intentName: string | undefined;
1630
+ multiTurnConversation: boolean | undefined;
1631
+ slotResolutionResults: SlotResolutionTestResultItem[] | undefined;
1632
+ }
1633
+ export interface IntentLevelSlotResolutionTestResults {
1634
+ items: IntentLevelSlotResolutionTestResultItem[] | undefined;
1635
+ }
1343
1636
  export declare const IntentSortAttribute: {
1344
1637
  readonly IntentName: "IntentName";
1345
1638
  readonly LastUpdatedDateTime: "LastUpdatedDateTime";
@@ -1395,359 +1688,6 @@ export interface ListAggregatedUtterancesResponse {
1395
1688
  aggregatedUtterancesSummaries?: AggregatedUtterancesSummary[];
1396
1689
  nextToken?: string;
1397
1690
  }
1398
- export interface ListBotAliasesRequest {
1399
- botId: string | undefined;
1400
- maxResults?: number;
1401
- nextToken?: string;
1402
- }
1403
- export interface ListBotAliasesResponse {
1404
- botAliasSummaries?: BotAliasSummary[];
1405
- nextToken?: string;
1406
- botId?: string;
1407
- }
1408
- export interface ListBotLocalesRequest {
1409
- botId: string | undefined;
1410
- botVersion: string | undefined;
1411
- sortBy?: BotLocaleSortBy;
1412
- filters?: BotLocaleFilter[];
1413
- maxResults?: number;
1414
- nextToken?: string;
1415
- }
1416
- export interface ListBotLocalesResponse {
1417
- botId?: string;
1418
- botVersion?: string;
1419
- nextToken?: string;
1420
- botLocaleSummaries?: BotLocaleSummary[];
1421
- }
1422
- export interface ListBotRecommendationsRequest {
1423
- botId: string | undefined;
1424
- botVersion: string | undefined;
1425
- localeId: string | undefined;
1426
- maxResults?: number;
1427
- nextToken?: string;
1428
- }
1429
- export interface ListBotRecommendationsResponse {
1430
- botId?: string;
1431
- botVersion?: string;
1432
- localeId?: string;
1433
- botRecommendationSummaries?: BotRecommendationSummary[];
1434
- nextToken?: string;
1435
- }
1436
- export interface ListBotsRequest {
1437
- sortBy?: BotSortBy;
1438
- filters?: BotFilter[];
1439
- maxResults?: number;
1440
- nextToken?: string;
1441
- }
1442
- export interface ListBotsResponse {
1443
- botSummaries?: BotSummary[];
1444
- nextToken?: string;
1445
- }
1446
- export interface ListBotVersionsRequest {
1447
- botId: string | undefined;
1448
- sortBy?: BotVersionSortBy;
1449
- maxResults?: number;
1450
- nextToken?: string;
1451
- }
1452
- export interface ListBotVersionsResponse {
1453
- botId?: string;
1454
- botVersionSummaries?: BotVersionSummary[];
1455
- nextToken?: string;
1456
- }
1457
- export interface ListBuiltInIntentsRequest {
1458
- localeId: string | undefined;
1459
- sortBy?: BuiltInIntentSortBy;
1460
- maxResults?: number;
1461
- nextToken?: string;
1462
- }
1463
- export interface ListBuiltInIntentsResponse {
1464
- builtInIntentSummaries?: BuiltInIntentSummary[];
1465
- nextToken?: string;
1466
- localeId?: string;
1467
- }
1468
- export interface ListBuiltInSlotTypesRequest {
1469
- localeId: string | undefined;
1470
- sortBy?: BuiltInSlotTypeSortBy;
1471
- maxResults?: number;
1472
- nextToken?: string;
1473
- }
1474
- export interface ListBuiltInSlotTypesResponse {
1475
- builtInSlotTypeSummaries?: BuiltInSlotTypeSummary[];
1476
- nextToken?: string;
1477
- localeId?: string;
1478
- }
1479
- export interface ListCustomVocabularyItemsRequest {
1480
- botId: string | undefined;
1481
- botVersion: string | undefined;
1482
- localeId: string | undefined;
1483
- maxResults?: number;
1484
- nextToken?: string;
1485
- }
1486
- export interface ListCustomVocabularyItemsResponse {
1487
- botId?: string;
1488
- botVersion?: string;
1489
- localeId?: string;
1490
- customVocabularyItems?: CustomVocabularyItem[];
1491
- nextToken?: string;
1492
- }
1493
- export interface ListExportsRequest {
1494
- botId?: string;
1495
- botVersion?: string;
1496
- sortBy?: ExportSortBy;
1497
- filters?: ExportFilter[];
1498
- maxResults?: number;
1499
- nextToken?: string;
1500
- localeId?: string;
1501
- }
1502
- export interface ListExportsResponse {
1503
- botId?: string;
1504
- botVersion?: string;
1505
- exportSummaries?: ExportSummary[];
1506
- nextToken?: string;
1507
- localeId?: string;
1508
- }
1509
- export interface ListImportsRequest {
1510
- botId?: string;
1511
- botVersion?: string;
1512
- sortBy?: ImportSortBy;
1513
- filters?: ImportFilter[];
1514
- maxResults?: number;
1515
- nextToken?: string;
1516
- localeId?: string;
1517
- }
1518
- export interface ListImportsResponse {
1519
- botId?: string;
1520
- botVersion?: string;
1521
- importSummaries?: ImportSummary[];
1522
- nextToken?: string;
1523
- localeId?: string;
1524
- }
1525
- export interface ListIntentsRequest {
1526
- botId: string | undefined;
1527
- botVersion: string | undefined;
1528
- localeId: string | undefined;
1529
- sortBy?: IntentSortBy;
1530
- filters?: IntentFilter[];
1531
- maxResults?: number;
1532
- nextToken?: string;
1533
- }
1534
- export interface ListIntentsResponse {
1535
- botId?: string;
1536
- botVersion?: string;
1537
- localeId?: string;
1538
- intentSummaries?: IntentSummary[];
1539
- nextToken?: string;
1540
- }
1541
- export interface ListRecommendedIntentsRequest {
1542
- botId: string | undefined;
1543
- botVersion: string | undefined;
1544
- localeId: string | undefined;
1545
- botRecommendationId: string | undefined;
1546
- nextToken?: string;
1547
- maxResults?: number;
1548
- }
1549
- export interface RecommendedIntentSummary {
1550
- intentId?: string;
1551
- intentName?: string;
1552
- sampleUtterancesCount?: number;
1553
- }
1554
- export interface ListRecommendedIntentsResponse {
1555
- botId?: string;
1556
- botVersion?: string;
1557
- localeId?: string;
1558
- botRecommendationId?: string;
1559
- summaryList?: RecommendedIntentSummary[];
1560
- nextToken?: string;
1561
- }
1562
- export declare const SlotFilterName: {
1563
- readonly SlotName: "SlotName";
1564
- };
1565
- export type SlotFilterName =
1566
- (typeof SlotFilterName)[keyof typeof SlotFilterName];
1567
- export declare const SlotFilterOperator: {
1568
- readonly Contains: "CO";
1569
- readonly Equals: "EQ";
1570
- };
1571
- export type SlotFilterOperator =
1572
- (typeof SlotFilterOperator)[keyof typeof SlotFilterOperator];
1573
- export interface SlotFilter {
1574
- name: SlotFilterName | string | undefined;
1575
- values: string[] | undefined;
1576
- operator: SlotFilterOperator | string | undefined;
1577
- }
1578
- export declare const SlotSortAttribute: {
1579
- readonly LastUpdatedDateTime: "LastUpdatedDateTime";
1580
- readonly SlotName: "SlotName";
1581
- };
1582
- export type SlotSortAttribute =
1583
- (typeof SlotSortAttribute)[keyof typeof SlotSortAttribute];
1584
- export interface SlotSortBy {
1585
- attribute: SlotSortAttribute | string | undefined;
1586
- order: SortOrder | string | undefined;
1587
- }
1588
- export interface ListSlotsRequest {
1589
- botId: string | undefined;
1590
- botVersion: string | undefined;
1591
- localeId: string | undefined;
1592
- intentId: string | undefined;
1593
- sortBy?: SlotSortBy;
1594
- filters?: SlotFilter[];
1595
- maxResults?: number;
1596
- nextToken?: string;
1597
- }
1598
- export interface SlotSummary {
1599
- slotId?: string;
1600
- slotName?: string;
1601
- description?: string;
1602
- slotConstraint?: SlotConstraint | string;
1603
- slotTypeId?: string;
1604
- valueElicitationPromptSpecification?: PromptSpecification;
1605
- lastUpdatedDateTime?: Date;
1606
- }
1607
- export interface ListSlotsResponse {
1608
- botId?: string;
1609
- botVersion?: string;
1610
- localeId?: string;
1611
- intentId?: string;
1612
- slotSummaries?: SlotSummary[];
1613
- nextToken?: string;
1614
- }
1615
- export declare const SlotTypeFilterName: {
1616
- readonly ExternalSourceType: "ExternalSourceType";
1617
- readonly SlotTypeName: "SlotTypeName";
1618
- };
1619
- export type SlotTypeFilterName =
1620
- (typeof SlotTypeFilterName)[keyof typeof SlotTypeFilterName];
1621
- export declare const SlotTypeFilterOperator: {
1622
- readonly Contains: "CO";
1623
- readonly Equals: "EQ";
1624
- };
1625
- export type SlotTypeFilterOperator =
1626
- (typeof SlotTypeFilterOperator)[keyof typeof SlotTypeFilterOperator];
1627
- export interface SlotTypeFilter {
1628
- name: SlotTypeFilterName | string | undefined;
1629
- values: string[] | undefined;
1630
- operator: SlotTypeFilterOperator | string | undefined;
1631
- }
1632
- export declare const SlotTypeSortAttribute: {
1633
- readonly LastUpdatedDateTime: "LastUpdatedDateTime";
1634
- readonly SlotTypeName: "SlotTypeName";
1635
- };
1636
- export type SlotTypeSortAttribute =
1637
- (typeof SlotTypeSortAttribute)[keyof typeof SlotTypeSortAttribute];
1638
- export interface SlotTypeSortBy {
1639
- attribute: SlotTypeSortAttribute | string | undefined;
1640
- order: SortOrder | string | undefined;
1641
- }
1642
- export interface ListSlotTypesRequest {
1643
- botId: string | undefined;
1644
- botVersion: string | undefined;
1645
- localeId: string | undefined;
1646
- sortBy?: SlotTypeSortBy;
1647
- filters?: SlotTypeFilter[];
1648
- maxResults?: number;
1649
- nextToken?: string;
1650
- }
1651
- export declare const SlotTypeCategory: {
1652
- readonly Composite: "Composite";
1653
- readonly Custom: "Custom";
1654
- readonly Extended: "Extended";
1655
- readonly ExternalGrammar: "ExternalGrammar";
1656
- };
1657
- export type SlotTypeCategory =
1658
- (typeof SlotTypeCategory)[keyof typeof SlotTypeCategory];
1659
- export interface SlotTypeSummary {
1660
- slotTypeId?: string;
1661
- slotTypeName?: string;
1662
- description?: string;
1663
- parentSlotTypeSignature?: string;
1664
- lastUpdatedDateTime?: Date;
1665
- slotTypeCategory?: SlotTypeCategory | string;
1666
- }
1667
- export interface ListSlotTypesResponse {
1668
- botId?: string;
1669
- botVersion?: string;
1670
- localeId?: string;
1671
- slotTypeSummaries?: SlotTypeSummary[];
1672
- nextToken?: string;
1673
- }
1674
- export interface ListTagsForResourceRequest {
1675
- resourceARN: string | undefined;
1676
- }
1677
- export interface ListTagsForResourceResponse {
1678
- tags?: Record<string, string>;
1679
- }
1680
- export declare const SearchOrder: {
1681
- readonly Ascending: "Ascending";
1682
- readonly Descending: "Descending";
1683
- };
1684
- export type SearchOrder = (typeof SearchOrder)[keyof typeof SearchOrder];
1685
- export interface SearchAssociatedTranscriptsRequest {
1686
- botId: string | undefined;
1687
- botVersion: string | undefined;
1688
- localeId: string | undefined;
1689
- botRecommendationId: string | undefined;
1690
- searchOrder?: SearchOrder | string;
1691
- filters: AssociatedTranscriptFilter[] | undefined;
1692
- maxResults?: number;
1693
- nextIndex?: number;
1694
- }
1695
- export interface SearchAssociatedTranscriptsResponse {
1696
- botId?: string;
1697
- botVersion?: string;
1698
- localeId?: string;
1699
- botRecommendationId?: string;
1700
- nextIndex?: number;
1701
- associatedTranscripts?: AssociatedTranscript[];
1702
- totalResults?: number;
1703
- }
1704
- export interface StartBotRecommendationRequest {
1705
- botId: string | undefined;
1706
- botVersion: string | undefined;
1707
- localeId: string | undefined;
1708
- transcriptSourceSetting: TranscriptSourceSetting | undefined;
1709
- encryptionSetting?: EncryptionSetting;
1710
- }
1711
- export interface StartBotRecommendationResponse {
1712
- botId?: string;
1713
- botVersion?: string;
1714
- localeId?: string;
1715
- botRecommendationStatus?: BotRecommendationStatus | string;
1716
- botRecommendationId?: string;
1717
- creationDateTime?: Date;
1718
- transcriptSourceSetting?: TranscriptSourceSetting;
1719
- encryptionSetting?: EncryptionSetting;
1720
- }
1721
- export interface StartImportRequest {
1722
- importId: string | undefined;
1723
- resourceSpecification: ImportResourceSpecification | undefined;
1724
- mergeStrategy: MergeStrategy | string | undefined;
1725
- filePassword?: string;
1726
- }
1727
- export interface StartImportResponse {
1728
- importId?: string;
1729
- resourceSpecification?: ImportResourceSpecification;
1730
- mergeStrategy?: MergeStrategy | string;
1731
- importStatus?: ImportStatus | string;
1732
- creationDateTime?: Date;
1733
- }
1734
- export interface StopBotRecommendationRequest {
1735
- botId: string | undefined;
1736
- botVersion: string | undefined;
1737
- localeId: string | undefined;
1738
- botRecommendationId: string | undefined;
1739
- }
1740
- export interface StopBotRecommendationResponse {
1741
- botId?: string;
1742
- botVersion?: string;
1743
- localeId?: string;
1744
- botRecommendationStatus?: BotRecommendationStatus | string;
1745
- botRecommendationId?: string;
1746
- }
1747
- export interface TagResourceRequest {
1748
- resourceARN: string | undefined;
1749
- tags: Record<string, string> | undefined;
1750
- }
1751
1691
  export declare const CreateExportRequestFilterSensitiveLog: (
1752
1692
  obj: CreateExportRequest
1753
1693
  ) => any;
@@ -1757,12 +1697,3 @@ export declare const EncryptionSettingFilterSensitiveLog: (
1757
1697
  export declare const DescribeBotRecommendationResponseFilterSensitiveLog: (
1758
1698
  obj: DescribeBotRecommendationResponse
1759
1699
  ) => any;
1760
- export declare const StartBotRecommendationRequestFilterSensitiveLog: (
1761
- obj: StartBotRecommendationRequest
1762
- ) => any;
1763
- export declare const StartBotRecommendationResponseFilterSensitiveLog: (
1764
- obj: StartBotRecommendationResponse
1765
- ) => any;
1766
- export declare const StartImportRequestFilterSensitiveLog: (
1767
- obj: StartImportRequest
1768
- ) => any;