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

**********************
update_resolver_config
**********************



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

  

  Updates 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/UpdateResolverConfig>`_  


  **Request Syntax**
  ::

    response = client.update_resolver_config(
        ResourceId='string',
        AutodefinedReverseFlag='ENABLE'|'DISABLE'|'USE_LOCAL_RESOURCE_SETTING'
    )
    
  :type ResourceId: string
  :param ResourceId: **[REQUIRED]** 

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

    

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

    Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see `ClassicLink <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html>`__ in the *Amazon EC2 guide*.

     

    .. warning::

       

      We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see `Migrate from EC2-Classic to a VPC <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html>`__ in the *Amazon EC2 guide* and the blog `EC2-Classic Networking is Retiring – Here’s How to Prepare <http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/>`__.

       

     

    .. note::

      

      It can take some time for the status change to be completed.

      

    

  
  
  :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) --* 

        An array that contains settings for the specified Resolver configuration.

        
        

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

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

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

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

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

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

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

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

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

  