:doc:`LexModelsV2 <../../lexv2-models>` / Client / create_test_set_discrepancy_report

**********************************
create_test_set_discrepancy_report
**********************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateTestSetDiscrepancyReport>`_  


  **Request Syntax**
  ::

    response = client.create_test_set_discrepancy_report(
        testSetId='string',
        target={
            'botAliasTarget': {
                'botId': 'string',
                'botAliasId': 'string',
                'localeId': 'string'
            }
        }
    )
    
  :type testSetId: string
  :param testSetId: **[REQUIRED]** 

    The test set Id for the test set discrepancy report.

    

  
  :type target: dict
  :param target: **[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.

        

      
    
  
  
  :rtype: 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**
  
  *   :py:class:`LexModelsV2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ValidationException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ConflictException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.InternalServerException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.ResourceNotFoundException`

  