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

*****************************
update_resolver_dnssec_config
*****************************



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

  

  Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.

  

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


  **Request Syntax**
  ::

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

    The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.

    

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

    The new value that you are specifying for DNSSEC validation for the VPC. The value can be ``ENABLE`` or ``DISABLE``. Be aware that it can take time for a validation status change to be completed.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **ResolverDNSSECConfig** *(dict) --* 

        A complex type that contains settings for the specified DNSSEC configuration.

        
        

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

          The ID for a configuration for DNSSEC validation.

          
        

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

          The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.

          
        

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

          The ID of the virtual private cloud (VPC) that you're configuring the DNSSEC validation status for.

          
        

        - **ValidationStatus** *(string) --* 

          The validation status for a DNSSEC configuration. The status can be one of the following:

           

          
          * **ENABLING:** DNSSEC validation is being enabled but is not complete.
           
          * **ENABLED:** DNSSEC validation is enabled.
           
          * **DISABLING:** DNSSEC validation is being disabled but is not complete.
           
          * **DISABLED** DNSSEC validation is disabled.
          

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

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

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

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

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

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

  