:doc:`Route53Resolver <../../route53resolver>` / Client / get_resolver_config

*******************
get_resolver_config
*******************



.. py:method:: Route53Resolver.Client.get_resolver_config(**kwargs)

  

  Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfig>`_  


  **Request Syntax**
  ::

    response = client.get_resolver_config(
        ResourceId='string'
    )
    
  :type ResourceId: string
  :param ResourceId: **[REQUIRED]** 

    Resource ID of the Amazon VPC that you want to get information about.

    

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

    
    ::

      {
          'ResolverConfig': {
              'Id': 'string',
              'ResourceId': 'string',
              'OwnerId': 'string',
              'AutodefinedReverse': 'ENABLING'|'ENABLED'|'DISABLING'|'DISABLED'|'UPDATING_TO_USE_LOCAL_RESOURCE_SETTING'|'USE_LOCAL_RESOURCE_SETTING'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ResolverConfig** *(dict) --* 

        Information about the behavior configuration of Route 53 Resolver behavior for the VPC you specified in the ``GetResolverConfig`` request.

        
        

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

          ID for the Resolver configuration.

          
        

        - **ResourceId** *(string) --* 

          The ID of the Amazon Virtual Private Cloud VPC or a Route 53 Profile that you're configuring Resolver for.

          
        

        - **OwnerId** *(string) --* 

          The owner account ID of the Amazon Virtual Private Cloud VPC.

          
        

        - **AutodefinedReverse** *(string) --* 

          The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following:

           

          
          * **ENABLING:** Autodefined rules for reverse DNS lookups are being enabled but are not complete.
           
          * **ENABLED:** Autodefined rules for reverse DNS lookups are enabled.
           
          * **DISABLING:** Autodefined rules for reverse DNS lookups are being disabled but are not complete.
           
          * **DISABLED:** Autodefined rules for reverse DNS lookups are disabled.
          

          
    
  
  **Exceptions**
  
  *   :py:class:`Route53Resolver.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.InternalServiceErrorException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.AccessDeniedException`

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

  