aws-sdk 2.1391.0 → 2.1393.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 (35) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +1 -1
  3. package/apis/customer-profiles-2020-08-15.min.json +252 -52
  4. package/apis/customer-profiles-2020-08-15.paginators.json +6 -0
  5. package/apis/emr-containers-2020-10-01.min.json +31 -18
  6. package/apis/inspector2-2020-06-08.min.json +29 -12
  7. package/apis/iot-2015-05-28.min.json +714 -214
  8. package/apis/iot-2015-05-28.paginators.json +12 -0
  9. package/apis/logs-2014-03-28.min.json +99 -16
  10. package/apis/models.lex.v2-2020-08-07.min.json +1496 -286
  11. package/apis/models.lex.v2-2020-08-07.paginators.json +20 -0
  12. package/apis/quicksight-2018-04-01.min.json +625 -594
  13. package/apis/signer-2017-08-25.min.json +105 -16
  14. package/apis/sqs-2012-11-05.min.json +120 -31
  15. package/clients/cloudformation.d.ts +24 -24
  16. package/clients/cloudwatchlogs.d.ts +132 -18
  17. package/clients/connect.d.ts +3 -3
  18. package/clients/customerprofiles.d.ts +201 -0
  19. package/clients/directconnect.d.ts +6 -6
  20. package/clients/emr.d.ts +2 -2
  21. package/clients/emrcontainers.d.ts +16 -0
  22. package/clients/iam.d.ts +7 -7
  23. package/clients/inspector2.d.ts +20 -1
  24. package/clients/iot.d.ts +500 -3
  25. package/clients/iotdeviceadvisor.d.ts +2 -2
  26. package/clients/lexmodelsv2.d.ts +1516 -127
  27. package/clients/quicksight.d.ts +50 -14
  28. package/clients/signer.d.ts +90 -5
  29. package/clients/sqs.d.ts +151 -39
  30. package/dist/aws-sdk-core-react-native.js +1 -1
  31. package/dist/aws-sdk-react-native.js +13 -13
  32. package/dist/aws-sdk.js +948 -264
  33. package/dist/aws-sdk.min.js +48 -48
  34. package/lib/core.js +1 -1
  35. package/package.json +1 -1
@@ -123,6 +123,14 @@ declare class LexModelsV2 extends Service {
123
123
  * Creates a custom slot type To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.
124
124
  */
125
125
  createSlotType(callback?: (err: AWSError, data: LexModelsV2.Types.CreateSlotTypeResponse) => void): Request<LexModelsV2.Types.CreateSlotTypeResponse, AWSError>;
126
+ /**
127
+ * Create a report that describes the differences between the bot and the test set.
128
+ */
129
+ createTestSetDiscrepancyReport(params: LexModelsV2.Types.CreateTestSetDiscrepancyReportRequest, callback?: (err: AWSError, data: LexModelsV2.Types.CreateTestSetDiscrepancyReportResponse) => void): Request<LexModelsV2.Types.CreateTestSetDiscrepancyReportResponse, AWSError>;
130
+ /**
131
+ * Create a report that describes the differences between the bot and the test set.
132
+ */
133
+ createTestSetDiscrepancyReport(callback?: (err: AWSError, data: LexModelsV2.Types.CreateTestSetDiscrepancyReportResponse) => void): Request<LexModelsV2.Types.CreateTestSetDiscrepancyReportResponse, AWSError>;
126
134
  /**
127
135
  * Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
128
136
  */
@@ -227,6 +235,14 @@ declare class LexModelsV2 extends Service {
227
235
  * Deletes a slot type from a bot locale. If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.
228
236
  */
229
237
  deleteSlotType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
238
+ /**
239
+ * The action to delete the selected test set.
240
+ */
241
+ deleteTestSet(params: LexModelsV2.Types.DeleteTestSetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
242
+ /**
243
+ * The action to delete the selected test set.
244
+ */
245
+ deleteTestSet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
230
246
  /**
231
247
  * Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input.. Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.
232
248
  */
@@ -331,6 +347,46 @@ declare class LexModelsV2 extends Service {
331
347
  * Gets metadata information about a slot type.
332
348
  */
333
349
  describeSlotType(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeSlotTypeResponse) => void): Request<LexModelsV2.Types.DescribeSlotTypeResponse, AWSError>;
350
+ /**
351
+ * Gets metadata information about the test execution.
352
+ */
353
+ describeTestExecution(params: LexModelsV2.Types.DescribeTestExecutionRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestExecutionResponse) => void): Request<LexModelsV2.Types.DescribeTestExecutionResponse, AWSError>;
354
+ /**
355
+ * Gets metadata information about the test execution.
356
+ */
357
+ describeTestExecution(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestExecutionResponse) => void): Request<LexModelsV2.Types.DescribeTestExecutionResponse, AWSError>;
358
+ /**
359
+ * Gets metadata information about the test set.
360
+ */
361
+ describeTestSet(params: LexModelsV2.Types.DescribeTestSetRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestSetResponse) => void): Request<LexModelsV2.Types.DescribeTestSetResponse, AWSError>;
362
+ /**
363
+ * Gets metadata information about the test set.
364
+ */
365
+ describeTestSet(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestSetResponse) => void): Request<LexModelsV2.Types.DescribeTestSetResponse, AWSError>;
366
+ /**
367
+ * Gets metadata information about the test set discrepancy report.
368
+ */
369
+ describeTestSetDiscrepancyReport(params: LexModelsV2.Types.DescribeTestSetDiscrepancyReportRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestSetDiscrepancyReportResponse) => void): Request<LexModelsV2.Types.DescribeTestSetDiscrepancyReportResponse, AWSError>;
370
+ /**
371
+ * Gets metadata information about the test set discrepancy report.
372
+ */
373
+ describeTestSetDiscrepancyReport(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestSetDiscrepancyReportResponse) => void): Request<LexModelsV2.Types.DescribeTestSetDiscrepancyReportResponse, AWSError>;
374
+ /**
375
+ * Gets metadata information about the test set generation.
376
+ */
377
+ describeTestSetGeneration(params: LexModelsV2.Types.DescribeTestSetGenerationRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestSetGenerationResponse) => void): Request<LexModelsV2.Types.DescribeTestSetGenerationResponse, AWSError>;
378
+ /**
379
+ * Gets metadata information about the test set generation.
380
+ */
381
+ describeTestSetGeneration(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeTestSetGenerationResponse) => void): Request<LexModelsV2.Types.DescribeTestSetGenerationResponse, AWSError>;
382
+ /**
383
+ * The pre-signed Amazon S3 URL to download the test execution result artifacts.
384
+ */
385
+ getTestExecutionArtifactsUrl(params: LexModelsV2.Types.GetTestExecutionArtifactsUrlRequest, callback?: (err: AWSError, data: LexModelsV2.Types.GetTestExecutionArtifactsUrlResponse) => void): Request<LexModelsV2.Types.GetTestExecutionArtifactsUrlResponse, AWSError>;
386
+ /**
387
+ * The pre-signed Amazon S3 URL to download the test execution result artifacts.
388
+ */
389
+ getTestExecutionArtifactsUrl(callback?: (err: AWSError, data: LexModelsV2.Types.GetTestExecutionArtifactsUrlResponse) => void): Request<LexModelsV2.Types.GetTestExecutionArtifactsUrlResponse, AWSError>;
334
390
  /**
335
391
  * Provides a list of utterances that users have sent to the bot. Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response. You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent. Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time. Utterances statistics are not generated under the following conditions: The childDirected field was set to true when the bot was created. You are using slot obfuscation with one or more slots. You opted out of participating in improving Amazon Lex.
336
392
  */
@@ -459,6 +515,38 @@ declare class LexModelsV2 extends Service {
459
515
  * Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
460
516
  */
461
517
  listTagsForResource(callback?: (err: AWSError, data: LexModelsV2.Types.ListTagsForResourceResponse) => void): Request<LexModelsV2.Types.ListTagsForResourceResponse, AWSError>;
518
+ /**
519
+ * Gets a list of test execution result items.
520
+ */
521
+ listTestExecutionResultItems(params: LexModelsV2.Types.ListTestExecutionResultItemsRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListTestExecutionResultItemsResponse) => void): Request<LexModelsV2.Types.ListTestExecutionResultItemsResponse, AWSError>;
522
+ /**
523
+ * Gets a list of test execution result items.
524
+ */
525
+ listTestExecutionResultItems(callback?: (err: AWSError, data: LexModelsV2.Types.ListTestExecutionResultItemsResponse) => void): Request<LexModelsV2.Types.ListTestExecutionResultItemsResponse, AWSError>;
526
+ /**
527
+ * The list of test set executions.
528
+ */
529
+ listTestExecutions(params: LexModelsV2.Types.ListTestExecutionsRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListTestExecutionsResponse) => void): Request<LexModelsV2.Types.ListTestExecutionsResponse, AWSError>;
530
+ /**
531
+ * The list of test set executions.
532
+ */
533
+ listTestExecutions(callback?: (err: AWSError, data: LexModelsV2.Types.ListTestExecutionsResponse) => void): Request<LexModelsV2.Types.ListTestExecutionsResponse, AWSError>;
534
+ /**
535
+ * The list of test set records.
536
+ */
537
+ listTestSetRecords(params: LexModelsV2.Types.ListTestSetRecordsRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListTestSetRecordsResponse) => void): Request<LexModelsV2.Types.ListTestSetRecordsResponse, AWSError>;
538
+ /**
539
+ * The list of test set records.
540
+ */
541
+ listTestSetRecords(callback?: (err: AWSError, data: LexModelsV2.Types.ListTestSetRecordsResponse) => void): Request<LexModelsV2.Types.ListTestSetRecordsResponse, AWSError>;
542
+ /**
543
+ * The list of the test sets
544
+ */
545
+ listTestSets(params: LexModelsV2.Types.ListTestSetsRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListTestSetsResponse) => void): Request<LexModelsV2.Types.ListTestSetsResponse, AWSError>;
546
+ /**
547
+ * The list of the test sets
548
+ */
549
+ listTestSets(callback?: (err: AWSError, data: LexModelsV2.Types.ListTestSetsResponse) => void): Request<LexModelsV2.Types.ListTestSetsResponse, AWSError>;
462
550
  /**
463
551
  * Search for associated transcripts that meet the specified criteria.
464
552
  */
@@ -483,6 +571,22 @@ declare class LexModelsV2 extends Service {
483
571
  * Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
484
572
  */
485
573
  startImport(callback?: (err: AWSError, data: LexModelsV2.Types.StartImportResponse) => void): Request<LexModelsV2.Types.StartImportResponse, AWSError>;
574
+ /**
575
+ * The action to start test set execution.
576
+ */
577
+ startTestExecution(params: LexModelsV2.Types.StartTestExecutionRequest, callback?: (err: AWSError, data: LexModelsV2.Types.StartTestExecutionResponse) => void): Request<LexModelsV2.Types.StartTestExecutionResponse, AWSError>;
578
+ /**
579
+ * The action to start test set execution.
580
+ */
581
+ startTestExecution(callback?: (err: AWSError, data: LexModelsV2.Types.StartTestExecutionResponse) => void): Request<LexModelsV2.Types.StartTestExecutionResponse, AWSError>;
582
+ /**
583
+ * The action to start the generation of test set.
584
+ */
585
+ startTestSetGeneration(params: LexModelsV2.Types.StartTestSetGenerationRequest, callback?: (err: AWSError, data: LexModelsV2.Types.StartTestSetGenerationResponse) => void): Request<LexModelsV2.Types.StartTestSetGenerationResponse, AWSError>;
586
+ /**
587
+ * The action to start the generation of test set.
588
+ */
589
+ startTestSetGeneration(callback?: (err: AWSError, data: LexModelsV2.Types.StartTestSetGenerationResponse) => void): Request<LexModelsV2.Types.StartTestSetGenerationResponse, AWSError>;
486
590
  /**
487
591
  * Stop an already running Bot Recommendation request.
488
592
  */
@@ -579,14 +683,55 @@ declare class LexModelsV2 extends Service {
579
683
  * Updates the configuration of an existing slot type.
580
684
  */
581
685
  updateSlotType(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateSlotTypeResponse) => void): Request<LexModelsV2.Types.UpdateSlotTypeResponse, AWSError>;
686
+ /**
687
+ * The action to update the test set.
688
+ */
689
+ updateTestSet(params: LexModelsV2.Types.UpdateTestSetRequest, callback?: (err: AWSError, data: LexModelsV2.Types.UpdateTestSetResponse) => void): Request<LexModelsV2.Types.UpdateTestSetResponse, AWSError>;
690
+ /**
691
+ * The action to update the test set.
692
+ */
693
+ updateTestSet(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateTestSetResponse) => void): Request<LexModelsV2.Types.UpdateTestSetResponse, AWSError>;
582
694
  }
583
695
  declare namespace LexModelsV2 {
696
+ export interface ActiveContext {
697
+ /**
698
+ * The name of active context.
699
+ */
700
+ name: ActiveContextName;
701
+ }
702
+ export type ActiveContextList = ActiveContext[];
703
+ export type ActiveContextName = string;
584
704
  export interface AdvancedRecognitionSetting {
585
705
  /**
586
706
  * Enables using the slot values as a custom vocabulary for recognizing user utterances.
587
707
  */
588
708
  audioRecognitionStrategy?: AudioRecognitionStrategy;
589
709
  }
710
+ export interface AgentTurnResult {
711
+ /**
712
+ * The expected agent prompt for the agent turn in a test set execution.
713
+ */
714
+ expectedAgentPrompt: TestSetAgentPrompt;
715
+ /**
716
+ * The actual agent prompt for the agent turn in a test set execution.
717
+ */
718
+ actualAgentPrompt?: TestSetAgentPrompt;
719
+ errorDetails?: ExecutionErrorDetails;
720
+ /**
721
+ * The actual elicited slot for the agent turn in a test set execution.
722
+ */
723
+ actualElicitedSlot?: TestResultSlotName;
724
+ /**
725
+ * The actual intent for the agent turn in a test set execution.
726
+ */
727
+ actualIntent?: Name;
728
+ }
729
+ export interface AgentTurnSpecification {
730
+ /**
731
+ * The agent prompt for the agent turn in a test set.
732
+ */
733
+ agentPrompt: TestSetAgentPrompt;
734
+ }
590
735
  export interface AggregatedUtterancesFilter {
591
736
  /**
592
737
  * The name of the field to filter the utterance list.
@@ -688,6 +833,7 @@ declare namespace LexModelsV2 {
688
833
  */
689
834
  dtmfSpecification?: DTMFSpecification;
690
835
  }
836
+ export type AudioFileS3Location = string;
691
837
  export interface AudioLogDestination {
692
838
  /**
693
839
  * The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the roleArn parameter of the CreateBot operation must have permission to write to this bucket.
@@ -894,6 +1040,20 @@ declare namespace LexModelsV2 {
894
1040
  lastUpdatedDateTime?: Timestamp;
895
1041
  }
896
1042
  export type BotAliasSummaryList = BotAliasSummary[];
1043
+ export interface BotAliasTestExecutionTarget {
1044
+ /**
1045
+ * The bot Id of the bot alias used in the test set execution.
1046
+ */
1047
+ botId: Id;
1048
+ /**
1049
+ * The bot alias Id of the bot alias used in the test set execution.
1050
+ */
1051
+ botAliasId: BotAliasId;
1052
+ /**
1053
+ * The locale Id of the bot alias used in the test set execution.
1054
+ */
1055
+ localeId: LocaleId;
1056
+ }
897
1057
  export interface BotExportSpecification {
898
1058
  /**
899
1059
  * The identifier of the bot assigned by Amazon Lex.
@@ -1361,6 +1521,77 @@ declare namespace LexModelsV2 {
1361
1521
  export type ConfidenceThreshold = number;
1362
1522
  export type ContextTimeToLiveInSeconds = number;
1363
1523
  export type ContextTurnsToLive = number;
1524
+ export interface ConversationLevelIntentClassificationResultItem {
1525
+ /**
1526
+ * The intent name used in the evaluation of intent level success or failure.
1527
+ */
1528
+ intentName: Name;
1529
+ /**
1530
+ * The number of times the specific intent is used in the evaluation of intent level success or failure.
1531
+ */
1532
+ matchResult: TestResultMatchStatus;
1533
+ }
1534
+ export type ConversationLevelIntentClassificationResults = ConversationLevelIntentClassificationResultItem[];
1535
+ export interface ConversationLevelResultDetail {
1536
+ /**
1537
+ * The success or failure of the streaming of the conversation.
1538
+ */
1539
+ endToEndResult: TestResultMatchStatus;
1540
+ /**
1541
+ * The speech transcription success or failure details of the conversation.
1542
+ */
1543
+ speechTranscriptionResult?: TestResultMatchStatus;
1544
+ }
1545
+ export interface ConversationLevelSlotResolutionResultItem {
1546
+ /**
1547
+ * The intents used in the slots list for the slot resolution details.
1548
+ */
1549
+ intentName: Name;
1550
+ /**
1551
+ * The slot name in the slots list for the slot resolution details.
1552
+ */
1553
+ slotName: TestResultSlotName;
1554
+ /**
1555
+ * The number of matching slots used in the slots listings for the slot resolution evaluation.
1556
+ */
1557
+ matchResult: TestResultMatchStatus;
1558
+ }
1559
+ export type ConversationLevelSlotResolutionResults = ConversationLevelSlotResolutionResultItem[];
1560
+ export interface ConversationLevelTestResultItem {
1561
+ /**
1562
+ * The conversation Id of the test result evaluation item.
1563
+ */
1564
+ conversationId: TestSetConversationId;
1565
+ /**
1566
+ * The end-to-end success or failure of the test result evaluation item.
1567
+ */
1568
+ endToEndResult: TestResultMatchStatus;
1569
+ /**
1570
+ * The speech transcription success or failure of the test result evaluation item.
1571
+ */
1572
+ speechTranscriptionResult?: TestResultMatchStatus;
1573
+ /**
1574
+ * The intent classification of the test result evaluation item.
1575
+ */
1576
+ intentClassificationResults: ConversationLevelIntentClassificationResults;
1577
+ /**
1578
+ * The slot success or failure of the test result evaluation item.
1579
+ */
1580
+ slotResolutionResults: ConversationLevelSlotResolutionResults;
1581
+ }
1582
+ export type ConversationLevelTestResultItemList = ConversationLevelTestResultItem[];
1583
+ export interface ConversationLevelTestResults {
1584
+ /**
1585
+ * The item list in the test set results data at the conversation level.
1586
+ */
1587
+ items: ConversationLevelTestResultItemList;
1588
+ }
1589
+ export interface ConversationLevelTestResultsFilterBy {
1590
+ /**
1591
+ * The selection of matched or mismatched end-to-end status to filter test set results data at the conversation level.
1592
+ */
1593
+ endToEndResult?: TestResultMatchStatus;
1594
+ }
1364
1595
  export interface ConversationLogSettings {
1365
1596
  /**
1366
1597
  * The Amazon CloudWatch Logs settings for logging text and metadata.
@@ -1371,6 +1602,39 @@ declare namespace LexModelsV2 {
1371
1602
  */
1372
1603
  audioLogSettings?: AudioLogSettingsList;
1373
1604
  }
1605
+ export interface ConversationLogsDataSource {
1606
+ /**
1607
+ * The bot Id from the conversation logs.
1608
+ */
1609
+ botId: Id;
1610
+ /**
1611
+ * The bot alias Id from the conversation logs.
1612
+ */
1613
+ botAliasId: BotAliasId;
1614
+ /**
1615
+ * The locale Id of the conversation log.
1616
+ */
1617
+ localeId: LocaleId;
1618
+ /**
1619
+ * The filter for the data source of the conversation log.
1620
+ */
1621
+ filter: ConversationLogsDataSourceFilterBy;
1622
+ }
1623
+ export interface ConversationLogsDataSourceFilterBy {
1624
+ /**
1625
+ * The start time for the conversation log.
1626
+ */
1627
+ startTime: Timestamp;
1628
+ /**
1629
+ * The end time for the conversation log.
1630
+ */
1631
+ endTime: Timestamp;
1632
+ /**
1633
+ * The selection to filter by input mode for the conversation logs.
1634
+ */
1635
+ inputMode: ConversationLogsInputModeFilter;
1636
+ }
1637
+ export type ConversationLogsInputModeFilter = "Speech"|"Text"|string;
1374
1638
  export type Count = number;
1375
1639
  export interface CreateBotAliasRequest {
1376
1640
  /**
@@ -1725,7 +1989,7 @@ declare namespace LexModelsV2 {
1725
1989
  */
1726
1990
  botId: Id;
1727
1991
  /**
1728
- * The identifier of the version of the bot associated with this intent.
1992
+ * The version of the bot associated with this intent.
1729
1993
  */
1730
1994
  botVersion: DraftBotVersion;
1731
1995
  /**
@@ -1791,7 +2055,7 @@ declare namespace LexModelsV2 {
1791
2055
  */
1792
2056
  botId?: Id;
1793
2057
  /**
1794
- * The identifier of the version of the bot associated with the intent.
2058
+ * The version of the bot associated with the intent.
1795
2059
  */
1796
2060
  botVersion?: DraftBotVersion;
1797
2061
  /**
@@ -1841,7 +2105,7 @@ declare namespace LexModelsV2 {
1841
2105
  */
1842
2106
  effect: Effect;
1843
2107
  /**
1844
- * An IAM principal, such as an IAM users, IAM roles, or AWS services that is allowed or denied access to a resource. For more information, see AWS JSON policy elements: Principal.
2108
+ * An IAM principal, such as an IAM user, IAM role, or Amazon Web Services services that is allowed or denied access to a resource. For more information, see Amazon Web Services JSON policy elements: Principal.
1845
2109
  */
1846
2110
  principal: PrincipalList;
1847
2111
  /**
@@ -1969,7 +2233,7 @@ declare namespace LexModelsV2 {
1969
2233
  }
1970
2234
  export interface CreateSlotTypeRequest {
1971
2235
  /**
1972
- * The name for the slot. A slot type name must be unique within the account.
2236
+ * The name for the slot. A slot type name must be unique within the intent.
1973
2237
  */
1974
2238
  slotTypeName: Name;
1975
2239
  /**
@@ -1981,7 +2245,7 @@ declare namespace LexModelsV2 {
1981
2245
  */
1982
2246
  slotTypeValues?: SlotTypeValues;
1983
2247
  /**
1984
- * Determines the strategy that Amazon Lex uses to select a value from the list of possible values. The field can be set to one of the following values: OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value. TopResolution - If there is a resolution list for the slot, return the first value in the resolution list. If there is no resolution list, return null. If you don't specify the valueSelectionSetting parameter, the default is OriginalValue.
2248
+ * Determines the strategy that Amazon Lex uses to select a value from the list of possible values. The field can be set to one of the following values: ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to the slot value. TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list. If there is no resolution list, return null. If you don't specify the valueSelectionSetting parameter, the default is ORIGINAL_VALUE.
1985
2249
  */
1986
2250
  valueSelectionSetting?: SlotValueSelectionSetting;
1987
2251
  /**
@@ -2059,6 +2323,34 @@ declare namespace LexModelsV2 {
2059
2323
  */
2060
2324
  compositeSlotTypeSetting?: CompositeSlotTypeSetting;
2061
2325
  }
2326
+ export interface CreateTestSetDiscrepancyReportRequest {
2327
+ /**
2328
+ * The test set Id for the test set discrepancy report.
2329
+ */
2330
+ testSetId: Id;
2331
+ /**
2332
+ * The target bot for the test set discrepancy report.
2333
+ */
2334
+ target: TestSetDiscrepancyReportResourceTarget;
2335
+ }
2336
+ export interface CreateTestSetDiscrepancyReportResponse {
2337
+ /**
2338
+ * The unique identifier of the test set discrepancy report to describe.
2339
+ */
2340
+ testSetDiscrepancyReportId?: Id;
2341
+ /**
2342
+ * The creation date and time for the test set discrepancy report.
2343
+ */
2344
+ creationDateTime?: Timestamp;
2345
+ /**
2346
+ * The test set Id for the test set discrepancy report.
2347
+ */
2348
+ testSetId?: Id;
2349
+ /**
2350
+ * The target bot for the test set discrepancy report.
2351
+ */
2352
+ target?: TestSetDiscrepancyReportResourceTarget;
2353
+ }
2062
2354
  export interface CreateUploadUrlRequest {
2063
2355
  }
2064
2356
  export interface CreateUploadUrlResponse {
@@ -2453,6 +2745,12 @@ declare namespace LexModelsV2 {
2453
2745
  */
2454
2746
  skipResourceInUseCheck?: SkipResourceInUseCheck;
2455
2747
  }
2748
+ export interface DeleteTestSetRequest {
2749
+ /**
2750
+ * The test set Id of the test set to be deleted.
2751
+ */
2752
+ testSetId: Id;
2753
+ }
2456
2754
  export interface DeleteUtterancesRequest {
2457
2755
  /**
2458
2756
  * The unique identifier of the bot that contains the utterances.
@@ -2536,7 +2834,7 @@ declare namespace LexModelsV2 {
2536
2834
  */
2537
2835
  botId: Id;
2538
2836
  /**
2539
- * The identifier of the version of the bot associated with the locale.
2837
+ * The version of the bot associated with the locale.
2540
2838
  */
2541
2839
  botVersion: BotVersion;
2542
2840
  /**
@@ -2550,7 +2848,7 @@ declare namespace LexModelsV2 {
2550
2848
  */
2551
2849
  botId?: Id;
2552
2850
  /**
2553
- * The identifier of the version of the bot associated with the locale.
2851
+ * The version of the bot associated with the locale.
2554
2852
  */
2555
2853
  botVersion?: BotVersion;
2556
2854
  /**
@@ -3010,7 +3308,7 @@ declare namespace LexModelsV2 {
3010
3308
  */
3011
3309
  lastUpdatedDateTime?: Timestamp;
3012
3310
  /**
3013
- *
3311
+ * Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
3014
3312
  */
3015
3313
  initialResponseSetting?: InitialResponseSetting;
3016
3314
  }
@@ -3183,157 +3481,363 @@ declare namespace LexModelsV2 {
3183
3481
  */
3184
3482
  compositeSlotTypeSetting?: CompositeSlotTypeSetting;
3185
3483
  }
3186
- export type Description = string;
3187
- export interface DialogAction {
3484
+ export interface DescribeTestExecutionRequest {
3188
3485
  /**
3189
- * The action that the bot should execute.
3486
+ * The execution Id of the test set execution.
3190
3487
  */
3191
- type: DialogActionType;
3488
+ testExecutionId: Id;
3489
+ }
3490
+ export interface DescribeTestExecutionResponse {
3192
3491
  /**
3193
- * If the dialog action is ElicitSlot, defines the slot to elicit from the user.
3492
+ * The execution Id for the test set execution.
3194
3493
  */
3195
- slotToElicit?: Name;
3494
+ testExecutionId?: Id;
3196
3495
  /**
3197
- * When true the next message for the intent is not used.
3496
+ * The execution creation date and time for the test set execution.
3198
3497
  */
3199
- suppressNextMessage?: BoxedBoolean;
3200
- }
3201
- export type DialogActionType = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation"|string;
3202
- export interface DialogCodeHookInvocationSetting {
3498
+ creationDateTime?: Timestamp;
3203
3499
  /**
3204
- * Indicates whether a Lambda function should be invoked for the dialog.
3500
+ * The date and time of the last update for the execution.
3205
3501
  */
3206
- enableCodeHookInvocation: BoxedBoolean;
3502
+ lastUpdatedDateTime?: Timestamp;
3207
3503
  /**
3208
- * Determines whether a dialog code hook is used when the intent is activated.
3504
+ * The test execution status for the test execution.
3209
3505
  */
3210
- active: BoxedBoolean;
3506
+ testExecutionStatus?: TestExecutionStatus;
3211
3507
  /**
3212
- * A label that indicates the dialog step from which the dialog code hook is happening.
3508
+ * The test set Id for the test set execution.
3213
3509
  */
3214
- invocationLabel?: Name;
3510
+ testSetId?: Id;
3215
3511
  /**
3216
- * Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
3512
+ * The test set name of the test set execution.
3217
3513
  */
3218
- postCodeHookSpecification: PostDialogCodeHookInvocationSpecification;
3219
- }
3220
- export interface DialogCodeHookSettings {
3514
+ testSetName?: Name;
3221
3515
  /**
3222
- * Enables the dialog code hook so that it processes user requests.
3516
+ * The target bot for the test set execution details.
3223
3517
  */
3224
- enabled: Boolean;
3225
- }
3226
- export interface DialogState {
3227
- dialogAction?: DialogAction;
3228
- intent?: IntentOverride;
3518
+ target?: TestExecutionTarget;
3229
3519
  /**
3230
- * Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
3520
+ * Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.
3231
3521
  */
3232
- sessionAttributes?: StringMap;
3233
- }
3234
- export type DraftBotVersion = string;
3235
- export type Effect = "Allow"|"Deny"|string;
3236
- export interface ElicitationCodeHookInvocationSetting {
3522
+ apiMode?: TestExecutionApiMode;
3237
3523
  /**
3238
- * Indicates whether a Lambda function should be invoked for the dialog.
3524
+ * Indicates whether test set is audio or text.
3239
3525
  */
3240
- enableCodeHookInvocation: BoxedBoolean;
3526
+ testExecutionModality?: TestExecutionModality;
3241
3527
  /**
3242
- * A label that indicates the dialog step from which the dialog code hook is happening.
3528
+ * Reasons for the failure of the test set execution.
3243
3529
  */
3244
- invocationLabel?: Name;
3530
+ failureReasons?: FailureReasons;
3245
3531
  }
3246
- export interface EncryptionSetting {
3532
+ export interface DescribeTestSetDiscrepancyReportRequest {
3247
3533
  /**
3248
- * The KMS key ARN used to encrypt the metadata associated with the bot recommendation.
3534
+ * The unique identifier of the test set discrepancy report.
3249
3535
  */
3250
- kmsKeyArn?: KmsKeyArn;
3536
+ testSetDiscrepancyReportId: Id;
3537
+ }
3538
+ export interface DescribeTestSetDiscrepancyReportResponse {
3251
3539
  /**
3252
- * The password used to encrypt the recommended bot recommendation file.
3540
+ * The unique identifier of the test set discrepancy report to describe.
3253
3541
  */
3254
- botLocaleExportPassword?: FilePassword;
3542
+ testSetDiscrepancyReportId?: Id;
3255
3543
  /**
3256
- * The password used to encrypt the associated transcript file.
3544
+ * The test set Id for the test set discrepancy report.
3257
3545
  */
3258
- associatedTranscriptsPassword?: FilePassword;
3259
- }
3260
- export type ErrorCode = "DUPLICATE_INPUT"|"RESOURCE_DOES_NOT_EXIST"|"RESOURCE_ALREADY_EXISTS"|"INTERNAL_SERVER_FAILURE"|string;
3261
- export type ErrorMessage = string;
3262
- export interface ExportFilter {
3546
+ testSetId?: Id;
3263
3547
  /**
3264
- * The name of the field to use for filtering.
3548
+ * The time and date of creation for the test set discrepancy report.
3265
3549
  */
3266
- name: ExportFilterName;
3550
+ creationDateTime?: Timestamp;
3267
3551
  /**
3268
- * The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary.
3552
+ * The target bot location for the test set discrepancy report.
3269
3553
  */
3270
- values: FilterValues;
3554
+ target?: TestSetDiscrepancyReportResourceTarget;
3271
3555
  /**
3272
- * The operator to use for the filter. Specify EQ when the ListExports operation should return only resource types that equal the specified value. Specify CO when the ListExports operation should return resource types that contain the specified value.
3556
+ * The status for the test set discrepancy report.
3273
3557
  */
3274
- operator: ExportFilterOperator;
3275
- }
3276
- export type ExportFilterName = "ExportResourceType"|string;
3277
- export type ExportFilterOperator = "CO"|"EQ"|string;
3278
- export type ExportFilters = ExportFilter[];
3279
- export interface ExportResourceSpecification {
3558
+ testSetDiscrepancyReportStatus?: TestSetDiscrepancyReportStatus;
3280
3559
  /**
3281
- * Parameters for exporting a bot.
3560
+ * The date and time of the last update for the test set discrepancy report.
3282
3561
  */
3283
- botExportSpecification?: BotExportSpecification;
3562
+ lastUpdatedDataTime?: Timestamp;
3284
3563
  /**
3285
- * Parameters for exporting a bot locale.
3564
+ * The top 200 error results from the test set discrepancy report.
3286
3565
  */
3287
- botLocaleExportSpecification?: BotLocaleExportSpecification;
3566
+ testSetDiscrepancyTopErrors?: TestSetDiscrepancyErrors;
3288
3567
  /**
3289
- * The parameters required to export a custom vocabulary.
3568
+ * Pre-signed Amazon S3 URL to download the test set discrepancy report.
3290
3569
  */
3291
- customVocabularyExportSpecification?: CustomVocabularyExportSpecification;
3292
- }
3293
- export type ExportSortAttribute = "LastUpdatedDateTime"|string;
3294
- export interface ExportSortBy {
3570
+ testSetDiscrepancyRawOutputUrl?: PresignedS3Url;
3295
3571
  /**
3296
- * The export field to use for sorting.
3572
+ * The failure report for the test set discrepancy report generation action.
3297
3573
  */
3298
- attribute: ExportSortAttribute;
3574
+ failureReasons?: FailureReasons;
3575
+ }
3576
+ export interface DescribeTestSetGenerationRequest {
3299
3577
  /**
3300
- * The order to sort the list.
3578
+ * The unique identifier of the test set generation.
3301
3579
  */
3302
- order: SortOrder;
3580
+ testSetGenerationId: Id;
3303
3581
  }
3304
- export type ExportStatus = "InProgress"|"Completed"|"Failed"|"Deleting"|string;
3305
- export interface ExportSummary {
3582
+ export interface DescribeTestSetGenerationResponse {
3306
3583
  /**
3307
- * The unique identifier that Amazon Lex assigned to the export.
3584
+ * The unique identifier of the test set generation.
3308
3585
  */
3309
- exportId?: Id;
3586
+ testSetGenerationId?: Id;
3310
3587
  /**
3311
- * Information about the bot or bot locale that was exported.
3588
+ * The status for the test set generation.
3312
3589
  */
3313
- resourceSpecification?: ExportResourceSpecification;
3590
+ testSetGenerationStatus?: TestSetGenerationStatus;
3314
3591
  /**
3315
- * The file format used in the export files.
3592
+ * The reasons the test set generation failed.
3316
3593
  */
3317
- fileFormat?: ImportExportFileFormat;
3594
+ failureReasons?: FailureReasons;
3318
3595
  /**
3319
- * The status of the export. When the status is Completed the export is ready to download.
3596
+ * The unique identifier for the test set created for the generated test set.
3320
3597
  */
3321
- exportStatus?: ExportStatus;
3598
+ testSetId?: Id;
3322
3599
  /**
3323
- * The date and time that the export was created.
3600
+ * The test set name for the generated test set.
3324
3601
  */
3325
- creationDateTime?: Timestamp;
3602
+ testSetName?: Name;
3326
3603
  /**
3327
- * The date and time that the export was last updated.
3604
+ * The test set description for the test set generation.
3328
3605
  */
3329
- lastUpdatedDateTime?: Timestamp;
3330
- }
3331
- export type ExportSummaryList = ExportSummary[];
3332
- export interface ExternalSourceSetting {
3606
+ description?: Description;
3333
3607
  /**
3334
- * Settings required for a slot type based on a grammar that you provide.
3608
+ * The Amazon S3 storage location for the test set generation.
3335
3609
  */
3336
- grammarSlotTypeSetting?: GrammarSlotTypeSetting;
3610
+ storageLocation?: TestSetStorageLocation;
3611
+ /**
3612
+ * The data source of the test set used for the test set generation.
3613
+ */
3614
+ generationDataSource?: TestSetGenerationDataSource;
3615
+ /**
3616
+ * The roleARN of the test set used for the test set generation.
3617
+ */
3618
+ roleArn?: RoleArn;
3619
+ /**
3620
+ * The creation date and time for the test set generation.
3621
+ */
3622
+ creationDateTime?: Timestamp;
3623
+ /**
3624
+ * The date and time of the last update for the test set generation.
3625
+ */
3626
+ lastUpdatedDateTime?: Timestamp;
3627
+ }
3628
+ export interface DescribeTestSetRequest {
3629
+ /**
3630
+ * The test set Id for the test set request.
3631
+ */
3632
+ testSetId: Id;
3633
+ }
3634
+ export interface DescribeTestSetResponse {
3635
+ /**
3636
+ * The test set Id for the test set response.
3637
+ */
3638
+ testSetId?: Id;
3639
+ /**
3640
+ * The test set name of the test set.
3641
+ */
3642
+ testSetName?: Name;
3643
+ /**
3644
+ * The description of the test set.
3645
+ */
3646
+ description?: Description;
3647
+ /**
3648
+ * Indicates whether the test set is audio or text data.
3649
+ */
3650
+ modality?: TestSetModality;
3651
+ /**
3652
+ * The status of the test set.
3653
+ */
3654
+ status?: TestSetStatus;
3655
+ /**
3656
+ * The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
3657
+ */
3658
+ roleArn?: RoleArn;
3659
+ /**
3660
+ * The total number of agent and user turn in the test set.
3661
+ */
3662
+ numTurns?: Count;
3663
+ /**
3664
+ * The Amazon S3 storage location for the test set data.
3665
+ */
3666
+ storageLocation?: TestSetStorageLocation;
3667
+ /**
3668
+ * The creation date and time for the test set data.
3669
+ */
3670
+ creationDateTime?: Timestamp;
3671
+ /**
3672
+ * The date and time for the last update of the test set data.
3673
+ */
3674
+ lastUpdatedDateTime?: Timestamp;
3675
+ }
3676
+ export type Description = string;
3677
+ export interface DialogAction {
3678
+ /**
3679
+ * The action that the bot should execute.
3680
+ */
3681
+ type: DialogActionType;
3682
+ /**
3683
+ * If the dialog action is ElicitSlot, defines the slot to elicit from the user.
3684
+ */
3685
+ slotToElicit?: Name;
3686
+ /**
3687
+ * When true the next message for the intent is not used.
3688
+ */
3689
+ suppressNextMessage?: BoxedBoolean;
3690
+ }
3691
+ export type DialogActionType = "ElicitIntent"|"StartIntent"|"ElicitSlot"|"EvaluateConditional"|"InvokeDialogCodeHook"|"ConfirmIntent"|"FulfillIntent"|"CloseIntent"|"EndConversation"|string;
3692
+ export interface DialogCodeHookInvocationSetting {
3693
+ /**
3694
+ * Indicates whether a Lambda function should be invoked for the dialog.
3695
+ */
3696
+ enableCodeHookInvocation: BoxedBoolean;
3697
+ /**
3698
+ * Determines whether a dialog code hook is used when the intent is activated.
3699
+ */
3700
+ active: BoxedBoolean;
3701
+ /**
3702
+ * A label that indicates the dialog step from which the dialog code hook is happening.
3703
+ */
3704
+ invocationLabel?: Name;
3705
+ /**
3706
+ * Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
3707
+ */
3708
+ postCodeHookSpecification: PostDialogCodeHookInvocationSpecification;
3709
+ }
3710
+ export interface DialogCodeHookSettings {
3711
+ /**
3712
+ * Enables the dialog code hook so that it processes user requests.
3713
+ */
3714
+ enabled: Boolean;
3715
+ }
3716
+ export interface DialogState {
3717
+ dialogAction?: DialogAction;
3718
+ intent?: IntentOverride;
3719
+ /**
3720
+ * Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
3721
+ */
3722
+ sessionAttributes?: StringMap;
3723
+ }
3724
+ export type DraftBotVersion = string;
3725
+ export type Effect = "Allow"|"Deny"|string;
3726
+ export interface ElicitationCodeHookInvocationSetting {
3727
+ /**
3728
+ * Indicates whether a Lambda function should be invoked for the dialog.
3729
+ */
3730
+ enableCodeHookInvocation: BoxedBoolean;
3731
+ /**
3732
+ * A label that indicates the dialog step from which the dialog code hook is happening.
3733
+ */
3734
+ invocationLabel?: Name;
3735
+ }
3736
+ export interface EncryptionSetting {
3737
+ /**
3738
+ * The KMS key ARN used to encrypt the metadata associated with the bot recommendation.
3739
+ */
3740
+ kmsKeyArn?: KmsKeyArn;
3741
+ /**
3742
+ * The password used to encrypt the recommended bot recommendation file.
3743
+ */
3744
+ botLocaleExportPassword?: FilePassword;
3745
+ /**
3746
+ * The password used to encrypt the associated transcript file.
3747
+ */
3748
+ associatedTranscriptsPassword?: FilePassword;
3749
+ }
3750
+ export type ErrorCode = "DUPLICATE_INPUT"|"RESOURCE_DOES_NOT_EXIST"|"RESOURCE_ALREADY_EXISTS"|"INTERNAL_SERVER_FAILURE"|string;
3751
+ export type ErrorMessage = string;
3752
+ export interface ExecutionErrorDetails {
3753
+ /**
3754
+ * The error code for the error.
3755
+ */
3756
+ errorCode: NonEmptyString;
3757
+ /**
3758
+ * The message describing the error.
3759
+ */
3760
+ errorMessage: NonEmptyString;
3761
+ }
3762
+ export interface ExportFilter {
3763
+ /**
3764
+ * The name of the field to use for filtering.
3765
+ */
3766
+ name: ExportFilterName;
3767
+ /**
3768
+ * The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary.
3769
+ */
3770
+ values: FilterValues;
3771
+ /**
3772
+ * The operator to use for the filter. Specify EQ when the ListExports operation should return only resource types that equal the specified value. Specify CO when the ListExports operation should return resource types that contain the specified value.
3773
+ */
3774
+ operator: ExportFilterOperator;
3775
+ }
3776
+ export type ExportFilterName = "ExportResourceType"|string;
3777
+ export type ExportFilterOperator = "CO"|"EQ"|string;
3778
+ export type ExportFilters = ExportFilter[];
3779
+ export interface ExportResourceSpecification {
3780
+ /**
3781
+ * Parameters for exporting a bot.
3782
+ */
3783
+ botExportSpecification?: BotExportSpecification;
3784
+ /**
3785
+ * Parameters for exporting a bot locale.
3786
+ */
3787
+ botLocaleExportSpecification?: BotLocaleExportSpecification;
3788
+ /**
3789
+ * The parameters required to export a custom vocabulary.
3790
+ */
3791
+ customVocabularyExportSpecification?: CustomVocabularyExportSpecification;
3792
+ /**
3793
+ * Specifications for the test set that is exported as a resource.
3794
+ */
3795
+ testSetExportSpecification?: TestSetExportSpecification;
3796
+ }
3797
+ export type ExportSortAttribute = "LastUpdatedDateTime"|string;
3798
+ export interface ExportSortBy {
3799
+ /**
3800
+ * The export field to use for sorting.
3801
+ */
3802
+ attribute: ExportSortAttribute;
3803
+ /**
3804
+ * The order to sort the list.
3805
+ */
3806
+ order: SortOrder;
3807
+ }
3808
+ export type ExportStatus = "InProgress"|"Completed"|"Failed"|"Deleting"|string;
3809
+ export interface ExportSummary {
3810
+ /**
3811
+ * The unique identifier that Amazon Lex assigned to the export.
3812
+ */
3813
+ exportId?: Id;
3814
+ /**
3815
+ * Information about the bot or bot locale that was exported.
3816
+ */
3817
+ resourceSpecification?: ExportResourceSpecification;
3818
+ /**
3819
+ * The file format used in the export files.
3820
+ */
3821
+ fileFormat?: ImportExportFileFormat;
3822
+ /**
3823
+ * The status of the export. When the status is Completed the export is ready to download.
3824
+ */
3825
+ exportStatus?: ExportStatus;
3826
+ /**
3827
+ * The date and time that the export was created.
3828
+ */
3829
+ creationDateTime?: Timestamp;
3830
+ /**
3831
+ * The date and time that the export was last updated.
3832
+ */
3833
+ lastUpdatedDateTime?: Timestamp;
3834
+ }
3835
+ export type ExportSummaryList = ExportSummary[];
3836
+ export interface ExternalSourceSetting {
3837
+ /**
3838
+ * Settings required for a slot type based on a grammar that you provide.
3839
+ */
3840
+ grammarSlotTypeSetting?: GrammarSlotTypeSetting;
3337
3841
  }
3338
3842
  export interface FailedCustomVocabularyItem {
3339
3843
  /**
@@ -3380,7 +3884,7 @@ declare namespace LexModelsV2 {
3380
3884
  */
3381
3885
  delayInSeconds: FulfillmentStartResponseDelay;
3382
3886
  /**
3383
- * One to 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
3887
+ * 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
3384
3888
  */
3385
3889
  messageGroups: MessageGroupsList;
3386
3890
  /**
@@ -3396,7 +3900,7 @@ declare namespace LexModelsV2 {
3396
3900
  */
3397
3901
  frequencyInSeconds: FulfillmentUpdateResponseFrequency;
3398
3902
  /**
3399
- * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
3903
+ * 1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
3400
3904
  */
3401
3905
  messageGroups: MessageGroupsList;
3402
3906
  /**
@@ -3422,6 +3926,22 @@ declare namespace LexModelsV2 {
3422
3926
  */
3423
3927
  timeoutInSeconds?: FulfillmentTimeout;
3424
3928
  }
3929
+ export interface GetTestExecutionArtifactsUrlRequest {
3930
+ /**
3931
+ * The unique identifier of the completed test execution.
3932
+ */
3933
+ testExecutionId: Id;
3934
+ }
3935
+ export interface GetTestExecutionArtifactsUrlResponse {
3936
+ /**
3937
+ * The unique identifier of the completed test execution.
3938
+ */
3939
+ testExecutionId?: Id;
3940
+ /**
3941
+ * The pre-signed Amazon S3 URL to download completed test execution.
3942
+ */
3943
+ downloadArtifactsUrl?: PresignedS3Url;
3944
+ }
3425
3945
  export interface GrammarSlotTypeSetting {
3426
3946
  /**
3427
3947
  * The source of the grammar used to create the slot type.
@@ -3430,15 +3950,15 @@ declare namespace LexModelsV2 {
3430
3950
  }
3431
3951
  export interface GrammarSlotTypeSource {
3432
3952
  /**
3433
- * The name of the S3 bucket that contains the grammar source.
3953
+ * The name of the Amazon S3 bucket that contains the grammar source.
3434
3954
  */
3435
3955
  s3BucketName: S3BucketName;
3436
3956
  /**
3437
- * The path to the grammar in the S3 bucket.
3957
+ * The path to the grammar in the Amazon S3 bucket.
3438
3958
  */
3439
3959
  s3ObjectKey: S3ObjectPath;
3440
3960
  /**
3441
- * The Amazon KMS key required to decrypt the contents of the grammar, if any.
3961
+ * The KMS key required to decrypt the contents of the grammar, if any.
3442
3962
  */
3443
3963
  kmsKeyArn?: KmsKeyArn;
3444
3964
  }
@@ -3462,7 +3982,7 @@ declare namespace LexModelsV2 {
3462
3982
  */
3463
3983
  buttons?: ButtonsList;
3464
3984
  }
3465
- export type ImportExportFileFormat = "LexJson"|"TSV"|string;
3985
+ export type ImportExportFileFormat = "LexJson"|"TSV"|"CSV"|string;
3466
3986
  export type ImportExportFilePassword = string;
3467
3987
  export interface ImportFilter {
3468
3988
  /**
@@ -3491,8 +4011,12 @@ declare namespace LexModelsV2 {
3491
4011
  */
3492
4012
  botLocaleImportSpecification?: BotLocaleImportSpecification;
3493
4013
  customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
4014
+ /**
4015
+ * Specifications for the test set that is imported.
4016
+ */
4017
+ testSetImportResourceSpecification?: TestSetImportResourceSpecification;
3494
4018
  }
3495
- export type ImportResourceType = "Bot"|"BotLocale"|"CustomVocabulary"|string;
4019
+ export type ImportResourceType = "Bot"|"BotLocale"|"CustomVocabulary"|"TestSet"|string;
3496
4020
  export type ImportSortAttribute = "LastUpdatedDateTime"|string;
3497
4021
  export interface ImportSortBy {
3498
4022
  /**
@@ -3557,6 +4081,55 @@ declare namespace LexModelsV2 {
3557
4081
  name: Name;
3558
4082
  }
3559
4083
  export type InputContextsList = InputContext[];
4084
+ export interface InputSessionStateSpecification {
4085
+ /**
4086
+ * Session attributes for the session state.
4087
+ */
4088
+ sessionAttributes?: StringMap;
4089
+ /**
4090
+ * Active contexts for the session state.
4091
+ */
4092
+ activeContexts?: ActiveContextList;
4093
+ /**
4094
+ * Runtime hints for the session state.
4095
+ */
4096
+ runtimeHints?: RuntimeHints;
4097
+ }
4098
+ export interface IntentClassificationTestResultItem {
4099
+ /**
4100
+ * The name of the intent.
4101
+ */
4102
+ intentName: Name;
4103
+ /**
4104
+ * Indicates whether the conversation involves multiple turns or not.
4105
+ */
4106
+ multiTurnConversation: Boolean;
4107
+ /**
4108
+ * The result of the intent classification test.
4109
+ */
4110
+ resultCounts: IntentClassificationTestResultItemCounts;
4111
+ }
4112
+ export interface IntentClassificationTestResultItemCounts {
4113
+ /**
4114
+ * The total number of results in the intent classification test.
4115
+ */
4116
+ totalResultCount: Count;
4117
+ /**
4118
+ * The number of matched, mismatched, and execution error results for speech transcription for the intent.
4119
+ */
4120
+ speechTranscriptionResultCounts?: TestResultMatchStatusCountMap;
4121
+ /**
4122
+ * The number of matched and mismatched results for intent recognition for the intent.
4123
+ */
4124
+ intentMatchResultCounts: TestResultMatchStatusCountMap;
4125
+ }
4126
+ export type IntentClassificationTestResultItemList = IntentClassificationTestResultItem[];
4127
+ export interface IntentClassificationTestResults {
4128
+ /**
4129
+ * A list of the results for the intent classification test.
4130
+ */
4131
+ items: IntentClassificationTestResultItemList;
4132
+ }
3560
4133
  export interface IntentClosingSetting {
3561
4134
  /**
3562
4135
  * The response that Amazon Lex sends to the user when the intent is complete.
@@ -3637,13 +4210,34 @@ declare namespace LexModelsV2 {
3637
4210
  export type IntentFilterName = "IntentName"|string;
3638
4211
  export type IntentFilterOperator = "CO"|"EQ"|string;
3639
4212
  export type IntentFilters = IntentFilter[];
4213
+ export interface IntentLevelSlotResolutionTestResultItem {
4214
+ /**
4215
+ * The name of the intent that was recognized.
4216
+ */
4217
+ intentName: Name;
4218
+ /**
4219
+ * Indicates whether the conversation involves multiple turns or not.
4220
+ */
4221
+ multiTurnConversation: Boolean;
4222
+ /**
4223
+ * The results for the slot resolution in the test execution result.
4224
+ */
4225
+ slotResolutionResults: SlotResolutionTestResultItems;
4226
+ }
4227
+ export type IntentLevelSlotResolutionTestResultItemList = IntentLevelSlotResolutionTestResultItem[];
4228
+ export interface IntentLevelSlotResolutionTestResults {
4229
+ /**
4230
+ * Indicates the items for the slot level resolution for the intents.
4231
+ */
4232
+ items: IntentLevelSlotResolutionTestResultItemList;
4233
+ }
3640
4234
  export interface IntentOverride {
3641
4235
  /**
3642
4236
  * The name of the intent. Only required when you're switching intents.
3643
4237
  */
3644
4238
  name?: Name;
3645
4239
  /**
3646
- * A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.,
4240
+ * A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.
3647
4241
  */
3648
4242
  slots?: SlotValueOverrideMap;
3649
4243
  }
@@ -4426,19 +5020,119 @@ declare namespace LexModelsV2 {
4426
5020
  */
4427
5021
  tags?: TagMap;
4428
5022
  }
4429
- export type LocaleId = string;
4430
- export type LocaleName = string;
4431
- export type LogPrefix = string;
4432
- export type MaxResults = number;
4433
- export type MaxUtteranceDigits = number;
4434
- export type MergeStrategy = "Overwrite"|"FailOnConflict"|"Append"|string;
4435
- export interface Message {
5023
+ export interface ListTestExecutionResultItemsRequest {
4436
5024
  /**
4437
- * A message in plain text format.
5025
+ * The unique identifier of the test execution to list the result items.
4438
5026
  */
4439
- plainTextMessage?: PlainTextMessage;
5027
+ testExecutionId: Id;
4440
5028
  /**
4441
- * A message in a custom format defined by the client application.
5029
+ * The filter for the list of results from the test set execution.
5030
+ */
5031
+ resultFilterBy: TestExecutionResultFilterBy;
5032
+ /**
5033
+ * The maximum number of test execution result items to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
5034
+ */
5035
+ maxResults?: MaxResults;
5036
+ /**
5037
+ * If the response from the ListTestExecutionResultItems operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
5038
+ */
5039
+ nextToken?: NextToken;
5040
+ }
5041
+ export interface ListTestExecutionResultItemsResponse {
5042
+ /**
5043
+ * The list of results from the test execution.
5044
+ */
5045
+ testExecutionResults?: TestExecutionResultItems;
5046
+ /**
5047
+ * A token that indicates whether there are more results to return in a response to the ListTestExecutionResultItems operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestExecutionResultItems operation request to get the next page of results.
5048
+ */
5049
+ nextToken?: NextToken;
5050
+ }
5051
+ export interface ListTestExecutionsRequest {
5052
+ /**
5053
+ * The sort order of the test set executions.
5054
+ */
5055
+ sortBy?: TestExecutionSortBy;
5056
+ /**
5057
+ * The maximum number of test executions to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
5058
+ */
5059
+ maxResults?: MaxResults;
5060
+ /**
5061
+ * If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
5062
+ */
5063
+ nextToken?: NextToken;
5064
+ }
5065
+ export interface ListTestExecutionsResponse {
5066
+ /**
5067
+ * The list of test executions.
5068
+ */
5069
+ testExecutions?: TestExecutionSummaryList;
5070
+ /**
5071
+ * A token that indicates whether there are more results to return in a response to the ListTestExecutions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestExecutions operation request to get the next page of results.
5072
+ */
5073
+ nextToken?: NextToken;
5074
+ }
5075
+ export interface ListTestSetRecordsRequest {
5076
+ /**
5077
+ * The identifier of the test set to list its test set records.
5078
+ */
5079
+ testSetId: Id;
5080
+ /**
5081
+ * The maximum number of test set records to return in each page. If there are fewer records than the max page size, only the actual number of records are returned.
5082
+ */
5083
+ maxResults?: MaxResults;
5084
+ /**
5085
+ * If the response from the ListTestSetRecords operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
5086
+ */
5087
+ nextToken?: NextToken;
5088
+ }
5089
+ export interface ListTestSetRecordsResponse {
5090
+ /**
5091
+ * The list of records from the test set.
5092
+ */
5093
+ testSetRecords?: TestSetTurnRecordList;
5094
+ /**
5095
+ * A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.
5096
+ */
5097
+ nextToken?: NextToken;
5098
+ }
5099
+ export interface ListTestSetsRequest {
5100
+ /**
5101
+ * The sort order for the list of test sets.
5102
+ */
5103
+ sortBy?: TestSetSortBy;
5104
+ /**
5105
+ * The maximum number of test sets to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
5106
+ */
5107
+ maxResults?: MaxResults;
5108
+ /**
5109
+ * If the response from the ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
5110
+ */
5111
+ nextToken?: NextToken;
5112
+ }
5113
+ export interface ListTestSetsResponse {
5114
+ /**
5115
+ * The selected test sets in a list of test sets.
5116
+ */
5117
+ testSets?: TestSetSummaryList;
5118
+ /**
5119
+ * A token that indicates whether there are more results to return in a response to the ListTestSets operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSets operation request to get the next page of results.
5120
+ */
5121
+ nextToken?: NextToken;
5122
+ }
5123
+ export type LocaleId = string;
5124
+ export type LocaleName = string;
5125
+ export type LogPrefix = string;
5126
+ export type MaxResults = number;
5127
+ export type MaxUtteranceDigits = number;
5128
+ export type MergeStrategy = "Overwrite"|"FailOnConflict"|"Append"|string;
5129
+ export interface Message {
5130
+ /**
5131
+ * A message in plain text format.
5132
+ */
5133
+ plainTextMessage?: PlainTextMessage;
5134
+ /**
5135
+ * A message in a custom format defined by the client application.
4442
5136
  */
4443
5137
  customPayload?: CustomPayload;
4444
5138
  /**
@@ -4515,6 +5209,31 @@ declare namespace LexModelsV2 {
4515
5209
  turnsToLive: ContextTurnsToLive;
4516
5210
  }
4517
5211
  export type OutputContextsList = OutputContext[];
5212
+ export interface OverallTestResultItem {
5213
+ /**
5214
+ * Indicates whether the conversation contains multiple turns or not.
5215
+ */
5216
+ multiTurnConversation: Boolean;
5217
+ /**
5218
+ * The total number of overall results in the result of the test execution.
5219
+ */
5220
+ totalResultCount: Count;
5221
+ /**
5222
+ * The number of speech transcription results in the overall test.
5223
+ */
5224
+ speechTranscriptionResultCounts?: TestResultMatchStatusCountMap;
5225
+ /**
5226
+ * The number of results that succeeded.
5227
+ */
5228
+ endToEndResultCounts: TestResultMatchStatusCountMap;
5229
+ }
5230
+ export type OverallTestResultItemList = OverallTestResultItem[];
5231
+ export interface OverallTestResults {
5232
+ /**
5233
+ * A list of the overall test results.
5234
+ */
5235
+ items: OverallTestResultItemList;
5236
+ }
4518
5237
  export interface ParentBotNetwork {
4519
5238
  /**
4520
5239
  * The identifier of the network of bots assigned by Amazon Lex.
@@ -4602,7 +5321,7 @@ declare namespace LexModelsV2 {
4602
5321
  export type PresignedS3Url = string;
4603
5322
  export interface Principal {
4604
5323
  /**
4605
- * The name of the AWS service that should allowed or denied access to an Amazon Lex action.
5324
+ * The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.
4606
5325
  */
4607
5326
  service?: ServicePrincipal;
4608
5327
  /**
@@ -4674,6 +5393,7 @@ declare namespace LexModelsV2 {
4674
5393
  sampleUtterancesCount?: SampleUtterancesCount;
4675
5394
  }
4676
5395
  export type RecommendedIntentSummaryList = RecommendedIntentSummary[];
5396
+ export type RecordNumber = number;
4677
5397
  export type RegexPattern = string;
4678
5398
  export interface RelativeAggregationDuration {
4679
5399
  /**
@@ -4698,10 +5418,34 @@ declare namespace LexModelsV2 {
4698
5418
  }
4699
5419
  export type RevisionId = string;
4700
5420
  export type RoleArn = string;
5421
+ export interface RuntimeHintDetails {
5422
+ /**
5423
+ * One or more strings that Amazon Lex should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
5424
+ */
5425
+ runtimeHintValues?: RuntimeHintValuesList;
5426
+ /**
5427
+ * A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.
5428
+ */
5429
+ subSlotHints?: SlotHintsSlotMap;
5430
+ }
5431
+ export type RuntimeHintPhrase = string;
5432
+ export interface RuntimeHintValue {
5433
+ /**
5434
+ * The phrase that Amazon Lex should look for in the user's input to the bot.
5435
+ */
5436
+ phrase: RuntimeHintPhrase;
5437
+ }
5438
+ export type RuntimeHintValuesList = RuntimeHintValue[];
5439
+ export interface RuntimeHints {
5440
+ /**
5441
+ * A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot. The first level of the slotHints map is the name of the intent. The second level is the name of the slot within the intent. For more information, see Using hints to improve accuracy. The intent name and slot name must exist.
5442
+ */
5443
+ slotHints?: SlotHintsIntentMap;
5444
+ }
4701
5445
  export type S3BucketArn = string;
4702
5446
  export interface S3BucketLogDestination {
4703
5447
  /**
4704
- * The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
5448
+ * The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
4705
5449
  */
4706
5450
  kmsKeyArn?: KmsKeyArn;
4707
5451
  /**
@@ -4893,10 +5637,12 @@ declare namespace LexModelsV2 {
4893
5637
  export type SlotFilterName = "SlotName"|string;
4894
5638
  export type SlotFilterOperator = "CO"|"EQ"|string;
4895
5639
  export type SlotFilters = SlotFilter[];
5640
+ export type SlotHintsIntentMap = {[key: string]: SlotHintsSlotMap};
5641
+ export type SlotHintsSlotMap = {[key: string]: RuntimeHintDetails};
4896
5642
  export type SlotPrioritiesList = SlotPriority[];
4897
5643
  export interface SlotPriority {
4898
5644
  /**
4899
- * The priority that a slot should be elicited.
5645
+ * The priority that Amazon Lex should apply to the slot.
4900
5646
  */
4901
5647
  priority: PriorityValue;
4902
5648
  /**
@@ -4904,6 +5650,31 @@ declare namespace LexModelsV2 {
4904
5650
  */
4905
5651
  slotId: Id;
4906
5652
  }
5653
+ export interface SlotResolutionTestResultItem {
5654
+ /**
5655
+ * The name of the slot.
5656
+ */
5657
+ slotName: TestResultSlotName;
5658
+ /**
5659
+ * A result for slot resolution in the results of a test execution.
5660
+ */
5661
+ resultCounts: SlotResolutionTestResultItemCounts;
5662
+ }
5663
+ export interface SlotResolutionTestResultItemCounts {
5664
+ /**
5665
+ * The total number of results.
5666
+ */
5667
+ totalResultCount: Count;
5668
+ /**
5669
+ * The number of matched, mismatched and execution error results for speech transcription for the slot.
5670
+ */
5671
+ speechTranscriptionResultCounts?: TestResultMatchStatusCountMap;
5672
+ /**
5673
+ * The number of matched and mismatched results for slot resolution for the slot.
5674
+ */
5675
+ slotMatchResultCounts: TestResultMatchStatusCountMap;
5676
+ }
5677
+ export type SlotResolutionTestResultItems = SlotResolutionTestResultItem[];
4907
5678
  export type SlotShape = "Scalar"|"List"|string;
4908
5679
  export type SlotSortAttribute = "SlotName"|"LastUpdatedDateTime"|string;
4909
5680
  export interface SlotSortBy {
@@ -5005,7 +5776,7 @@ declare namespace LexModelsV2 {
5005
5776
  */
5006
5777
  lastUpdatedDateTime?: Timestamp;
5007
5778
  /**
5008
- * Indicates the type of the slot type. Custom - A slot type that you created using custom values. For more information, see Creating custom slot types. Extended - A slot type created by extending the AMAZON.AlphaNumeric built-in slot type. For more information, see AMAZON.AlphaNumeric. ExternalGrammar - A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
5779
+ * Indicates the type of the slot type. Custom - A slot type that you created using custom values. For more information, see Creating custom slot types. Extended - A slot type created by extending the AMAZON.AlphaNumeric built-in slot type. For more information, see AMAZON.AlphaNumeric . ExternalGrammar - A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
5009
5780
  */
5010
5781
  slotTypeCategory?: SlotTypeCategory;
5011
5782
  }
@@ -5067,14 +5838,14 @@ declare namespace LexModelsV2 {
5067
5838
  export type SlotValueOverrideMap = {[key: string]: SlotValueOverride};
5068
5839
  export interface SlotValueRegexFilter {
5069
5840
  /**
5070
- * A regular expression used to validate the value of a slot. Use a standard regular expression. Amazon Lex supports the following characters in the regular expression: A-Z, a-z 0-9 Unicode characters ("\ u&lt;Unicode&gt;") Represent Unicode characters with four digits, for example "\u0041" or "\u005A". The following regular expression operators are not supported: Infinite repeaters: *, +, or {x,} with no upper bound. Wild card (.)
5841
+ * A regular expression used to validate the value of a slot. Use a standard regular expression. Amazon Lex supports the following characters in the regular expression: A-Z, a-z 0-9 Unicode characters ("\⁠u&lt;Unicode&gt;") Represent Unicode characters with four digits, for example "\⁠u0041" or "\⁠u005A". The following regular expression operators are not supported: Infinite repeaters: *, +, or {x,} with no upper bound. Wild card (.)
5071
5842
  */
5072
5843
  pattern: RegexPattern;
5073
5844
  }
5074
5845
  export type SlotValueResolutionStrategy = "OriginalValue"|"TopResolution"|"Concatenation"|string;
5075
5846
  export interface SlotValueSelectionSetting {
5076
5847
  /**
5077
- * Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: OriginalValue - Returns the value entered by the user, if the user value is similar to the slot value. TopResolution - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. If you don't specify the valueSelectionStrategy, the default is OriginalValue.
5848
+ * Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to the slot value. TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. If you don't specify the valueSelectionStrategy, the default is ORIGINAL_VALUE.
5078
5849
  */
5079
5850
  resolutionStrategy: SlotValueResolutionStrategy;
5080
5851
  /**
@@ -5082,7 +5853,7 @@ declare namespace LexModelsV2 {
5082
5853
  */
5083
5854
  regexFilter?: SlotValueRegexFilter;
5084
5855
  /**
5085
- * Provides settings that enable advanced recognition settings for slot values.
5856
+ * Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
5086
5857
  */
5087
5858
  advancedRecognitionSetting?: AdvancedRecognitionSetting;
5088
5859
  }
@@ -5194,6 +5965,114 @@ declare namespace LexModelsV2 {
5194
5965
  */
5195
5966
  creationDateTime?: Timestamp;
5196
5967
  }
5968
+ export interface StartTestExecutionRequest {
5969
+ /**
5970
+ * The test set Id for the test set execution.
5971
+ */
5972
+ testSetId: Id;
5973
+ /**
5974
+ * The target bot for the test set execution.
5975
+ */
5976
+ target: TestExecutionTarget;
5977
+ /**
5978
+ * Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.
5979
+ */
5980
+ apiMode: TestExecutionApiMode;
5981
+ /**
5982
+ * Indicates whether audio or text is used.
5983
+ */
5984
+ testExecutionModality?: TestExecutionModality;
5985
+ }
5986
+ export interface StartTestExecutionResponse {
5987
+ /**
5988
+ * The unique identifier of the test set execution.
5989
+ */
5990
+ testExecutionId?: Id;
5991
+ /**
5992
+ * The creation date and time for the test set execution.
5993
+ */
5994
+ creationDateTime?: Timestamp;
5995
+ /**
5996
+ * The test set Id for the test set execution.
5997
+ */
5998
+ testSetId?: Id;
5999
+ /**
6000
+ * The target bot for the test set execution.
6001
+ */
6002
+ target?: TestExecutionTarget;
6003
+ /**
6004
+ * Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.
6005
+ */
6006
+ apiMode?: TestExecutionApiMode;
6007
+ /**
6008
+ * Indicates whether audio or text is used.
6009
+ */
6010
+ testExecutionModality?: TestExecutionModality;
6011
+ }
6012
+ export interface StartTestSetGenerationRequest {
6013
+ /**
6014
+ * The test set name for the test set generation request.
6015
+ */
6016
+ testSetName: Name;
6017
+ /**
6018
+ * The test set description for the test set generation request.
6019
+ */
6020
+ description?: Description;
6021
+ /**
6022
+ * The Amazon S3 storage location for the test set generation.
6023
+ */
6024
+ storageLocation: TestSetStorageLocation;
6025
+ /**
6026
+ * The data source for the test set generation.
6027
+ */
6028
+ generationDataSource: TestSetGenerationDataSource;
6029
+ /**
6030
+ * The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
6031
+ */
6032
+ roleArn: RoleArn;
6033
+ /**
6034
+ * A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
6035
+ */
6036
+ testSetTags?: TagMap;
6037
+ }
6038
+ export interface StartTestSetGenerationResponse {
6039
+ /**
6040
+ * The unique identifier of the test set generation to describe.
6041
+ */
6042
+ testSetGenerationId?: Id;
6043
+ /**
6044
+ * The creation date and time for the test set generation.
6045
+ */
6046
+ creationDateTime?: Timestamp;
6047
+ /**
6048
+ * The status for the test set generation.
6049
+ */
6050
+ testSetGenerationStatus?: TestSetGenerationStatus;
6051
+ /**
6052
+ * The test set name used for the test set generation.
6053
+ */
6054
+ testSetName?: Name;
6055
+ /**
6056
+ * The description used for the test set generation.
6057
+ */
6058
+ description?: Description;
6059
+ /**
6060
+ * The Amazon S3 storage location for the test set generation.
6061
+ */
6062
+ storageLocation?: TestSetStorageLocation;
6063
+ /**
6064
+ * The data source for the test set generation.
6065
+ */
6066
+ generationDataSource?: TestSetGenerationDataSource;
6067
+ /**
6068
+ * The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
6069
+ */
6070
+ roleArn?: RoleArn;
6071
+ /**
6072
+ * A list of tags that was used for the test set that is being generated.
6073
+ */
6074
+ testSetTags?: TagMap;
6075
+ }
5197
6076
  export type StillWaitingResponseFrequency = number;
5198
6077
  export interface StillWaitingResponseSpecification {
5199
6078
  /**
@@ -5305,6 +6184,313 @@ declare namespace LexModelsV2 {
5305
6184
  export interface TagResourceResponse {
5306
6185
  }
5307
6186
  export type TagValue = string;
6187
+ export type TestExecutionApiMode = "Streaming"|"NonStreaming"|string;
6188
+ export type TestExecutionModality = "Text"|"Audio"|string;
6189
+ export interface TestExecutionResultFilterBy {
6190
+ /**
6191
+ * Specifies which results to filter. See Test result details"&gt;Test results details for details about different types of results.
6192
+ */
6193
+ resultTypeFilter: TestResultTypeFilter;
6194
+ /**
6195
+ * Contains information about the method for filtering Conversation level test results.
6196
+ */
6197
+ conversationLevelTestResultsFilterBy?: ConversationLevelTestResultsFilterBy;
6198
+ }
6199
+ export interface TestExecutionResultItems {
6200
+ /**
6201
+ * Overall results for the test execution, including the breakdown of conversations and single-input utterances.
6202
+ */
6203
+ overallTestResults?: OverallTestResults;
6204
+ /**
6205
+ * Results related to conversations in the test set, including metrics about success and failure of conversations and intent and slot failures.
6206
+ */
6207
+ conversationLevelTestResults?: ConversationLevelTestResults;
6208
+ /**
6209
+ * Intent recognition results aggregated by intent name. The aggregated results contain success and failure rates of intent recognition, speech transcriptions, and end-to-end conversations.
6210
+ */
6211
+ intentClassificationTestResults?: IntentClassificationTestResults;
6212
+ /**
6213
+ * Slot resolution results aggregated by intent and slot name. The aggregated results contain success and failure rates of slot resolution, speech transcriptions, and end-to-end conversations
6214
+ */
6215
+ intentLevelSlotResolutionTestResults?: IntentLevelSlotResolutionTestResults;
6216
+ /**
6217
+ * Results related to utterances in the test set.
6218
+ */
6219
+ utteranceLevelTestResults?: UtteranceLevelTestResults;
6220
+ }
6221
+ export type TestExecutionSortAttribute = "TestSetName"|"CreationDateTime"|string;
6222
+ export interface TestExecutionSortBy {
6223
+ /**
6224
+ * Specifies whether to sort the test set executions by the date and time at which the test sets were created.
6225
+ */
6226
+ attribute: TestExecutionSortAttribute;
6227
+ /**
6228
+ * Specifies whether to sort in ascending or descending order.
6229
+ */
6230
+ order: SortOrder;
6231
+ }
6232
+ export type TestExecutionStatus = "Pending"|"Waiting"|"InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped"|string;
6233
+ export interface TestExecutionSummary {
6234
+ /**
6235
+ * The unique identifier of the test execution.
6236
+ */
6237
+ testExecutionId?: Id;
6238
+ /**
6239
+ * The date and time at which the test execution was created.
6240
+ */
6241
+ creationDateTime?: Timestamp;
6242
+ /**
6243
+ * The date and time at which the test execution was last updated.
6244
+ */
6245
+ lastUpdatedDateTime?: Timestamp;
6246
+ /**
6247
+ * The current status of the test execution.
6248
+ */
6249
+ testExecutionStatus?: TestExecutionStatus;
6250
+ /**
6251
+ * The unique identifier of the test set used in the test execution.
6252
+ */
6253
+ testSetId?: Id;
6254
+ /**
6255
+ * The name of the test set used in the test execution.
6256
+ */
6257
+ testSetName?: Name;
6258
+ /**
6259
+ * Contains information about the bot used for the test execution..
6260
+ */
6261
+ target?: TestExecutionTarget;
6262
+ /**
6263
+ * Specifies whether the API mode for the test execution is streaming or non-streaming.
6264
+ */
6265
+ apiMode?: TestExecutionApiMode;
6266
+ /**
6267
+ * Specifies whether the data used for the test execution is written or spoken.
6268
+ */
6269
+ testExecutionModality?: TestExecutionModality;
6270
+ }
6271
+ export type TestExecutionSummaryList = TestExecutionSummary[];
6272
+ export interface TestExecutionTarget {
6273
+ /**
6274
+ * Contains information about the bot alias used for the test execution.
6275
+ */
6276
+ botAliasTarget?: BotAliasTestExecutionTarget;
6277
+ }
6278
+ export type TestResultMatchStatus = "Matched"|"Mismatched"|"ExecutionError"|string;
6279
+ export type TestResultMatchStatusCountMap = {[key: string]: Count};
6280
+ export type TestResultSlotName = string;
6281
+ export type TestResultTypeFilter = "OverallTestResults"|"ConversationLevelTestResults"|"IntentClassificationTestResults"|"SlotResolutionTestResults"|"UtteranceLevelResults"|string;
6282
+ export type TestSetAgentPrompt = string;
6283
+ export type TestSetConversationId = string;
6284
+ export interface TestSetDiscrepancyErrors {
6285
+ /**
6286
+ * Contains information about discrepancies found for intents between the test set and the bot.
6287
+ */
6288
+ intentDiscrepancies: TestSetIntentDiscrepancyList;
6289
+ /**
6290
+ * Contains information about discrepancies found for slots between the test set and the bot.
6291
+ */
6292
+ slotDiscrepancies: TestSetSlotDiscrepancyList;
6293
+ }
6294
+ export interface TestSetDiscrepancyReportBotAliasTarget {
6295
+ /**
6296
+ * The unique identifier for the bot alias.
6297
+ */
6298
+ botId: Id;
6299
+ /**
6300
+ * The unique identifier for the bot associated with the bot alias.
6301
+ */
6302
+ botAliasId: BotAliasId;
6303
+ /**
6304
+ * The unique identifier of the locale associated with the bot alias.
6305
+ */
6306
+ localeId: LocaleId;
6307
+ }
6308
+ export interface TestSetDiscrepancyReportResourceTarget {
6309
+ /**
6310
+ * Contains information about the bot alias used as the resource for the test set discrepancy report.
6311
+ */
6312
+ botAliasTarget?: TestSetDiscrepancyReportBotAliasTarget;
6313
+ }
6314
+ export type TestSetDiscrepancyReportStatus = "InProgress"|"Completed"|"Failed"|string;
6315
+ export interface TestSetExportSpecification {
6316
+ /**
6317
+ * The unique identifier of the test set.
6318
+ */
6319
+ testSetId: Id;
6320
+ }
6321
+ export interface TestSetGenerationDataSource {
6322
+ /**
6323
+ * Contains information about the bot from which the conversation logs are sourced.
6324
+ */
6325
+ conversationLogsDataSource?: ConversationLogsDataSource;
6326
+ }
6327
+ export type TestSetGenerationStatus = "Generating"|"Ready"|"Failed"|"Pending"|string;
6328
+ export interface TestSetImportInputLocation {
6329
+ /**
6330
+ * The name of the Amazon S3 bucket.
6331
+ */
6332
+ s3BucketName: S3BucketName;
6333
+ /**
6334
+ * The path inside the Amazon S3 bucket pointing to the test-set CSV file.
6335
+ */
6336
+ s3Path: S3ObjectPath;
6337
+ }
6338
+ export interface TestSetImportResourceSpecification {
6339
+ /**
6340
+ * The name of the test set.
6341
+ */
6342
+ testSetName: Name;
6343
+ /**
6344
+ * The description of the test set.
6345
+ */
6346
+ description?: Description;
6347
+ /**
6348
+ * The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.
6349
+ */
6350
+ roleArn: RoleArn;
6351
+ /**
6352
+ * Contains information about the location that Amazon Lex uses to store the test-set.
6353
+ */
6354
+ storageLocation: TestSetStorageLocation;
6355
+ /**
6356
+ * Contains information about the input location from where test-set should be imported.
6357
+ */
6358
+ importInputLocation: TestSetImportInputLocation;
6359
+ /**
6360
+ * Specifies whether the test-set being imported contains written or spoken data.
6361
+ */
6362
+ modality: TestSetModality;
6363
+ /**
6364
+ * A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the UpdateTestSet operation to update tags. To update tags, use the TagResource operation.
6365
+ */
6366
+ testSetTags?: TagMap;
6367
+ }
6368
+ export interface TestSetIntentDiscrepancyItem {
6369
+ /**
6370
+ * The name of the intent in the discrepancy report.
6371
+ */
6372
+ intentName: Name;
6373
+ /**
6374
+ * The error message for a discrepancy for an intent between the test set and the bot.
6375
+ */
6376
+ errorMessage: String;
6377
+ }
6378
+ export type TestSetIntentDiscrepancyList = TestSetIntentDiscrepancyItem[];
6379
+ export type TestSetModality = "Text"|"Audio"|string;
6380
+ export interface TestSetSlotDiscrepancyItem {
6381
+ /**
6382
+ * The name of the intent associated with the slot in the discrepancy report.
6383
+ */
6384
+ intentName: Name;
6385
+ /**
6386
+ * The name of the slot in the discrepancy report.
6387
+ */
6388
+ slotName: Name;
6389
+ /**
6390
+ * The error message for a discrepancy for an intent between the test set and the bot.
6391
+ */
6392
+ errorMessage: String;
6393
+ }
6394
+ export type TestSetSlotDiscrepancyList = TestSetSlotDiscrepancyItem[];
6395
+ export type TestSetSortAttribute = "TestSetName"|"LastUpdatedDateTime"|string;
6396
+ export interface TestSetSortBy {
6397
+ /**
6398
+ * Specifies whether to sort the test sets by name or by the time they were last updated.
6399
+ */
6400
+ attribute: TestSetSortAttribute;
6401
+ /**
6402
+ * Specifies whether to sort in ascending or descending order.
6403
+ */
6404
+ order: SortOrder;
6405
+ }
6406
+ export type TestSetStatus = "Importing"|"PendingAnnotation"|"Deleting"|"ValidationError"|"Ready"|string;
6407
+ export interface TestSetStorageLocation {
6408
+ /**
6409
+ * The name of the Amazon S3 bucket in which the test set is stored.
6410
+ */
6411
+ s3BucketName: S3BucketName;
6412
+ /**
6413
+ * The path inside the Amazon S3 bucket where the test set is stored.
6414
+ */
6415
+ s3Path: S3ObjectPath;
6416
+ /**
6417
+ * The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting the test set.
6418
+ */
6419
+ kmsKeyArn?: KmsKeyArn;
6420
+ }
6421
+ export interface TestSetSummary {
6422
+ /**
6423
+ * The unique identifier of the test set.
6424
+ */
6425
+ testSetId?: Id;
6426
+ /**
6427
+ * The name of the test set.
6428
+ */
6429
+ testSetName?: Name;
6430
+ /**
6431
+ * The description of the test set.
6432
+ */
6433
+ description?: Description;
6434
+ /**
6435
+ * Specifies whether the test set contains written or spoken data.
6436
+ */
6437
+ modality?: TestSetModality;
6438
+ /**
6439
+ * The status of the test set.
6440
+ */
6441
+ status?: TestSetStatus;
6442
+ /**
6443
+ * The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.
6444
+ */
6445
+ roleArn?: RoleArn;
6446
+ /**
6447
+ * The number of turns in the test set.
6448
+ */
6449
+ numTurns?: Count;
6450
+ /**
6451
+ * Contains information about the location at which the test set is stored.
6452
+ */
6453
+ storageLocation?: TestSetStorageLocation;
6454
+ /**
6455
+ * The date and time at which the test set was created.
6456
+ */
6457
+ creationDateTime?: Timestamp;
6458
+ /**
6459
+ * The date and time at which the test set was last updated.
6460
+ */
6461
+ lastUpdatedDateTime?: Timestamp;
6462
+ }
6463
+ export type TestSetSummaryList = TestSetSummary[];
6464
+ export interface TestSetTurnRecord {
6465
+ /**
6466
+ * The record number associated with the turn.
6467
+ */
6468
+ recordNumber: RecordNumber;
6469
+ /**
6470
+ * The unique identifier for the conversation associated with the turn.
6471
+ */
6472
+ conversationId?: TestSetConversationId;
6473
+ /**
6474
+ * The number of turns that has elapsed up to that turn.
6475
+ */
6476
+ turnNumber?: TurnNumber;
6477
+ /**
6478
+ * Contains information about the agent or user turn depending upon type of turn.
6479
+ */
6480
+ turnSpecification: TurnSpecification;
6481
+ }
6482
+ export type TestSetTurnRecordList = TestSetTurnRecord[];
6483
+ export interface TestSetTurnResult {
6484
+ /**
6485
+ * Contains information about the agent messages in the turn.
6486
+ */
6487
+ agent?: AgentTurnResult;
6488
+ /**
6489
+ * Contains information about the user messages in the turn.
6490
+ */
6491
+ user?: UserTurnResult;
6492
+ }
6493
+ export type TestSetUtteranceText = string;
5308
6494
  export interface TextInputSpecification {
5309
6495
  /**
5310
6496
  * Time for which a bot waits before re-prompting a customer for text input.
@@ -5343,6 +6529,17 @@ declare namespace LexModelsV2 {
5343
6529
  */
5344
6530
  s3BucketTranscriptSource?: S3BucketTranscriptSource;
5345
6531
  }
6532
+ export type TurnNumber = number;
6533
+ export interface TurnSpecification {
6534
+ /**
6535
+ * Contains information about the agent messages in the turn.
6536
+ */
6537
+ agentTurn?: AgentTurnSpecification;
6538
+ /**
6539
+ * Contains information about the user messages in the turn.
6540
+ */
6541
+ userTurn?: UserTurnSpecification;
6542
+ }
5346
6543
  export interface UntagResourceRequest {
5347
6544
  /**
5348
6545
  * The Amazon Resource Name (ARN) of the resource to remove the tags from.
@@ -5748,7 +6945,7 @@ declare namespace LexModelsV2 {
5748
6945
  */
5749
6946
  localeId: LocaleId;
5750
6947
  /**
5751
- *
6948
+ * Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
5752
6949
  */
5753
6950
  initialResponseSetting?: InitialResponseSetting;
5754
6951
  }
@@ -5826,7 +7023,7 @@ declare namespace LexModelsV2 {
5826
7023
  */
5827
7024
  lastUpdatedDateTime?: Timestamp;
5828
7025
  /**
5829
- *
7026
+ * Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
5830
7027
  */
5831
7028
  initialResponseSetting?: InitialResponseSetting;
5832
7029
  }
@@ -5934,7 +7131,7 @@ declare namespace LexModelsV2 {
5934
7131
  */
5935
7132
  botId?: Id;
5936
7133
  /**
5937
- * The identifier of the slot version that contains the slot. Will always be DRAFT.
7134
+ * The version of the bot that contains the slot. Will always be DRAFT.
5938
7135
  */
5939
7136
  botVersion?: DraftBotVersion;
5940
7137
  /**
@@ -6056,6 +7253,161 @@ declare namespace LexModelsV2 {
6056
7253
  */
6057
7254
  compositeSlotTypeSetting?: CompositeSlotTypeSetting;
6058
7255
  }
7256
+ export interface UpdateTestSetRequest {
7257
+ /**
7258
+ * The test set Id for which update test operation to be performed.
7259
+ */
7260
+ testSetId: Id;
7261
+ /**
7262
+ * The new test set name.
7263
+ */
7264
+ testSetName: Name;
7265
+ /**
7266
+ * The new test set description.
7267
+ */
7268
+ description?: Description;
7269
+ }
7270
+ export interface UpdateTestSetResponse {
7271
+ /**
7272
+ * The test set Id for which update test operation to be performed.
7273
+ */
7274
+ testSetId?: Id;
7275
+ /**
7276
+ * The test set name for the updated test set.
7277
+ */
7278
+ testSetName?: Name;
7279
+ /**
7280
+ * The test set description for the updated test set.
7281
+ */
7282
+ description?: Description;
7283
+ /**
7284
+ * Indicates whether audio or text is used for the updated test set.
7285
+ */
7286
+ modality?: TestSetModality;
7287
+ /**
7288
+ * The status for the updated test set.
7289
+ */
7290
+ status?: TestSetStatus;
7291
+ /**
7292
+ * The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
7293
+ */
7294
+ roleArn?: RoleArn;
7295
+ /**
7296
+ * The number of conversation turns from the updated test set.
7297
+ */
7298
+ numTurns?: Count;
7299
+ /**
7300
+ * The Amazon S3 storage location for the updated test set.
7301
+ */
7302
+ storageLocation?: TestSetStorageLocation;
7303
+ /**
7304
+ * The creation date and time for the updated test set.
7305
+ */
7306
+ creationDateTime?: Timestamp;
7307
+ /**
7308
+ * The date and time of the last update for the updated test set.
7309
+ */
7310
+ lastUpdatedDateTime?: Timestamp;
7311
+ }
7312
+ export interface UserTurnInputSpecification {
7313
+ /**
7314
+ * The utterance input in the user turn.
7315
+ */
7316
+ utteranceInput: UtteranceInputSpecification;
7317
+ /**
7318
+ * Request attributes of the user turn.
7319
+ */
7320
+ requestAttributes?: StringMap;
7321
+ /**
7322
+ * Contains information about the session state in the input.
7323
+ */
7324
+ sessionState?: InputSessionStateSpecification;
7325
+ }
7326
+ export interface UserTurnIntentOutput {
7327
+ /**
7328
+ * The name of the intent.
7329
+ */
7330
+ name: Name;
7331
+ /**
7332
+ * The slots associated with the intent.
7333
+ */
7334
+ slots?: UserTurnSlotOutputMap;
7335
+ }
7336
+ export interface UserTurnOutputSpecification {
7337
+ /**
7338
+ * Contains information about the intent.
7339
+ */
7340
+ intent: UserTurnIntentOutput;
7341
+ /**
7342
+ * The contexts that are active in the turn.
7343
+ */
7344
+ activeContexts?: ActiveContextList;
7345
+ /**
7346
+ * The transcript that is output for the user turn by the test execution.
7347
+ */
7348
+ transcript?: TestSetUtteranceText;
7349
+ }
7350
+ export interface UserTurnResult {
7351
+ /**
7352
+ * Contains information about the user messages in the turn in the input.
7353
+ */
7354
+ input: UserTurnInputSpecification;
7355
+ /**
7356
+ * Contains information about the expected output for the user turn.
7357
+ */
7358
+ expectedOutput: UserTurnOutputSpecification;
7359
+ /**
7360
+ * Contains information about the actual output for the user turn.
7361
+ */
7362
+ actualOutput?: UserTurnOutputSpecification;
7363
+ errorDetails?: ExecutionErrorDetails;
7364
+ /**
7365
+ * Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
7366
+ */
7367
+ endToEndResult?: TestResultMatchStatus;
7368
+ /**
7369
+ * Specifies whether the expected and actual intents match or not.
7370
+ */
7371
+ intentMatchResult?: TestResultMatchStatus;
7372
+ /**
7373
+ * Specifies whether the expected and actual slots match or not.
7374
+ */
7375
+ slotMatchResult?: TestResultMatchStatus;
7376
+ /**
7377
+ * Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
7378
+ */
7379
+ speechTranscriptionResult?: TestResultMatchStatus;
7380
+ /**
7381
+ * Contains information about the results related to the conversation associated with the user turn.
7382
+ */
7383
+ conversationLevelResult?: ConversationLevelResultDetail;
7384
+ }
7385
+ export interface UserTurnSlotOutput {
7386
+ /**
7387
+ * The value output by the slot recognition.
7388
+ */
7389
+ value?: NonEmptyString;
7390
+ /**
7391
+ * Values that are output by the slot recognition.
7392
+ */
7393
+ values?: UserTurnSlotOutputList;
7394
+ /**
7395
+ * A list of items mapping the name of the subslots to information about those subslots.
7396
+ */
7397
+ subSlots?: UserTurnSlotOutputMap;
7398
+ }
7399
+ export type UserTurnSlotOutputList = UserTurnSlotOutput[];
7400
+ export type UserTurnSlotOutputMap = {[key: string]: UserTurnSlotOutput};
7401
+ export interface UserTurnSpecification {
7402
+ /**
7403
+ * Contains information about the user messages in the turn in the input.
7404
+ */
7405
+ input: UserTurnInputSpecification;
7406
+ /**
7407
+ * Contains results about the expected output for the user turn.
7408
+ */
7409
+ expected: UserTurnOutputSpecification;
7410
+ }
6059
7411
  export type Utterance = string;
6060
7412
  export interface UtteranceAggregationDuration {
6061
7413
  /**
@@ -6063,6 +7415,43 @@ declare namespace LexModelsV2 {
6063
7415
  */
6064
7416
  relativeAggregationDuration: RelativeAggregationDuration;
6065
7417
  }
7418
+ export interface UtteranceAudioInputSpecification {
7419
+ /**
7420
+ * Amazon S3 file pointing to the audio.
7421
+ */
7422
+ audioFileS3Location: AudioFileS3Location;
7423
+ }
7424
+ export interface UtteranceInputSpecification {
7425
+ /**
7426
+ * A text input transcription of the utterance. It is only applicable for test-sets containing text data.
7427
+ */
7428
+ textInput?: TestSetUtteranceText;
7429
+ /**
7430
+ * Contains information about the audio input for an utterance.
7431
+ */
7432
+ audioInput?: UtteranceAudioInputSpecification;
7433
+ }
7434
+ export interface UtteranceLevelTestResultItem {
7435
+ /**
7436
+ * The record number of the result.
7437
+ */
7438
+ recordNumber: RecordNumber;
7439
+ /**
7440
+ * The unique identifier for the conversation associated with the result.
7441
+ */
7442
+ conversationId?: TestSetConversationId;
7443
+ /**
7444
+ * Contains information about the turn associated with the result.
7445
+ */
7446
+ turnResult: TestSetTurnResult;
7447
+ }
7448
+ export type UtteranceLevelTestResultItemList = UtteranceLevelTestResultItem[];
7449
+ export interface UtteranceLevelTestResults {
7450
+ /**
7451
+ * Contains information about an utterance in the results of the test set execution.
7452
+ */
7453
+ items: UtteranceLevelTestResultItemList;
7454
+ }
6066
7455
  export type Value = string;
6067
7456
  export type VoiceEngine = "standard"|"neural"|string;
6068
7457
  export type VoiceId = string;