:doc:`Glue <../../glue>` / Client / get_data_quality_model

**********************
get_data_quality_model
**********************



.. py:method:: Glue.Client.get_data_quality_model(**kwargs)

  

  Retrieve the training status of the model along with more information (CompletedOn, StartedOn, FailureReason).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataQualityModel>`_  


  **Request Syntax**
  ::

    response = client.get_data_quality_model(
        StatisticId='string',
        ProfileId='string'
    )
    
  :type StatisticId: string
  :param StatisticId: 

    The Statistic ID.

    

  
  :type ProfileId: string
  :param ProfileId: **[REQUIRED]** 

    The Profile ID.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Status': 'RUNNING'|'SUCCEEDED'|'FAILED',
          'StartedOn': datetime(2015, 1, 1),
          'CompletedOn': datetime(2015, 1, 1),
          'FailureReason': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Status** *(string) --* 

        The training status of the data quality model.

        
      

      - **StartedOn** *(datetime) --* 

        The timestamp when the data quality model training started.

        
      

      - **CompletedOn** *(datetime) --* 

        The timestamp when the data quality model training completed.

        
      

      - **FailureReason** *(string) --* 

        The training failure reason.

        
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  