:doc:`Route53 <../../route53>` / Client / get_query_logging_config

************************
get_query_logging_config
************************



.. py:method:: Route53.Client.get_query_logging_config(**kwargs)

  

  Gets information about a specified configuration for DNS query logging.

   

  For more information about DNS query logs, see `CreateQueryLoggingConfig <https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateQueryLoggingConfig.html>`__ and `Logging DNS Queries <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig>`_  


  **Request Syntax**
  ::

    response = client.get_query_logging_config(
        Id='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the configuration for DNS query logging that you want to get information about.

    

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

    
    ::

      {
          'QueryLoggingConfig': {
              'Id': 'string',
              'HostedZoneId': 'string',
              'CloudWatchLogsLogGroupArn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **QueryLoggingConfig** *(dict) --* 

        A complex type that contains information about the query logging configuration that you specified in a `GetQueryLoggingConfig <https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetQueryLoggingConfig.html>`__ request.

        
        

        - **Id** *(string) --* 

          The ID for a configuration for DNS query logging.

          
        

        - **HostedZoneId** *(string) --* 

          The ID of the hosted zone that CloudWatch Logs is logging queries for.

          
        

        - **CloudWatchLogsLogGroupArn** *(string) --* 

          The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.

          
    
  
  **Exceptions**
  
  *   :py:class:`Route53.Client.exceptions.NoSuchQueryLoggingConfig`

  
  *   :py:class:`Route53.Client.exceptions.InvalidInput`

  