LexModelsV2 / Client / create_test_set_discrepancy_report
create_test_set_discrepancy_report¶
- LexModelsV2.Client.create_test_set_discrepancy_report(**kwargs)¶
- Create a report that describes the differences between the bot and the test set. - See also: AWS API Documentation - Request Syntax- response = client.create_test_set_discrepancy_report( testSetId='string', target={ 'botAliasTarget': { 'botId': 'string', 'botAliasId': 'string', 'localeId': 'string' } } ) - Parameters:
- testSetId (string) – - [REQUIRED] - The test set Id for the test set discrepancy report. 
- target (dict) – - [REQUIRED] - The target bot for the test set discrepancy report. - botAliasTarget (dict) – - Contains information about the bot alias used as the resource for the test set discrepancy report. - botId (string) – [REQUIRED] - The unique identifier for the bot alias. 
- botAliasId (string) – [REQUIRED] - The unique identifier for the bot associated with the bot alias. 
- localeId (string) – [REQUIRED] - The unique identifier of the locale associated with the bot alias. 
 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'testSetDiscrepancyReportId': 'string', 'creationDateTime': datetime(2015, 1, 1), 'testSetId': 'string', 'target': { 'botAliasTarget': { 'botId': 'string', 'botAliasId': 'string', 'localeId': 'string' } } } - Response Structure- (dict) – - testSetDiscrepancyReportId (string) – - The unique identifier of the test set discrepancy report to describe. 
- creationDateTime (datetime) – - The creation date and time for the test set discrepancy report. 
- testSetId (string) – - The test set Id for the test set discrepancy report. 
- target (dict) – - The target bot for the test set discrepancy report. - botAliasTarget (dict) – - Contains information about the bot alias used as the resource for the test set discrepancy report. - botId (string) – - The unique identifier for the bot alias. 
- botAliasId (string) – - The unique identifier for the bot associated with the bot alias. 
- localeId (string) – - The unique identifier of the locale associated with the bot alias. 
 
 
 
 
 - Exceptions- LexModelsV2.Client.exceptions.ThrottlingException
- LexModelsV2.Client.exceptions.ServiceQuotaExceededException
- LexModelsV2.Client.exceptions.ValidationException
- LexModelsV2.Client.exceptions.ConflictException
- LexModelsV2.Client.exceptions.InternalServerException
- LexModelsV2.Client.exceptions.ResourceNotFoundException