:doc:`Route53GlobalResolver <../../route53globalresolver>` / Client / disable_dns_view

****************
disable_dns_view
****************



.. py:method:: Route53GlobalResolver.Client.disable_dns_view(**kwargs)

  

  Disables a DNS view, preventing it from serving DNS queries.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53globalresolver-2022-09-27/DisableDNSView>`_  


  **Request Syntax**
  ::

    response = client.disable_dns_view(
        dnsViewId='string'
    )
    
  :type dnsViewId: string
  :param dnsViewId: **[REQUIRED]** 

    The unique identifier of the DNS view to disable.

    

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

    
    ::

      {
          'id': 'string',
          'arn': 'string',
          'clientToken': 'string',
          'dnssecValidation': 'ENABLED'|'DISABLED',
          'ednsClientSubnet': 'ENABLED'|'DISABLED',
          'firewallRulesFailOpen': 'ENABLED'|'DISABLED',
          'name': 'string',
          'description': 'string',
          'globalResolverId': 'string',
          'createdAt': datetime(2015, 1, 1),
          'updatedAt': datetime(2015, 1, 1),
          'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'ENABLING'|'DISABLING'|'DISABLED'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The unique identifier of the disabled DNS view.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the disabled DNS view.

        
      

      - **clientToken** *(string) --* 

        The unique string that identifies the request and ensures idempotency.

        
      

      - **dnssecValidation** *(string) --* 

        Whether DNSSEC validation is enabled for the disabled DNS view.

        
      

      - **ednsClientSubnet** *(string) --* 

        Whether EDNS Client Subnet injection is enabled for the disabled DNS view.

        
      

      - **firewallRulesFailOpen** *(string) --* 

        The firewall rules fail-open behavior configured for the disabled DNS view.

        
      

      - **name** *(string) --* 

        The name of the disabled DNS view.

        
      

      - **description** *(string) --* 

        The description of the disabled DNS view.

        
      

      - **globalResolverId** *(string) --* 

        The ID of the Route 53 Global Resolver that the disabled DNS view is associated with.

        
      

      - **createdAt** *(datetime) --* 

        The date and time when the DNS view was originally created.

        
      

      - **updatedAt** *(datetime) --* 

        The date and time when the DNS view was last updated.

        
      

      - **status** *(string) --* 

        The current status of the disabled DNS view.

        
  
  **Exceptions**
  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ConflictException`

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

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

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

  