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

************************
get_data_quality_ruleset
************************



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

  

  Returns an existing ruleset by identifier or name.

  

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


  **Request Syntax**
  ::

    response = client.get_data_quality_ruleset(
        Name='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the ruleset.

    

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

    
    ::

      {
          'Name': 'string',
          'Description': 'string',
          'Ruleset': 'string',
          'TargetTable': {
              'TableName': 'string',
              'DatabaseName': 'string',
              'CatalogId': 'string'
          },
          'CreatedOn': datetime(2015, 1, 1),
          'LastModifiedOn': datetime(2015, 1, 1),
          'RecommendationRunId': 'string',
          'DataQualitySecurityConfiguration': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Returns the data quality ruleset response.

      
      

      - **Name** *(string) --* 

        The name of the ruleset.

        
      

      - **Description** *(string) --* 

        A description of the ruleset.

        
      

      - **Ruleset** *(string) --* 

        A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide.

        
      

      - **TargetTable** *(dict) --* 

        The name and database name of the target table.

        
        

        - **TableName** *(string) --* 

          The name of the Glue table.

          
        

        - **DatabaseName** *(string) --* 

          The name of the database where the Glue table exists.

          
        

        - **CatalogId** *(string) --* 

          The catalog id where the Glue table exists.

          
    
      

      - **CreatedOn** *(datetime) --* 

        A timestamp. The time and date that this data quality ruleset was created.

        
      

      - **LastModifiedOn** *(datetime) --* 

        A timestamp. The last point in time when this data quality ruleset was modified.

        
      

      - **RecommendationRunId** *(string) --* 

        When a ruleset was created from a recommendation run, this run ID is generated to link the two together.

        
      

      - **DataQualitySecurityConfiguration** *(string) --* 

        The name of the security configuration created with the data quality encryption option.

        
  
  **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`

  