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

***********************
update_firewall_domains
***********************



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

  

  Updates a DNS Firewall domain list from an array of specified domains.

  

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


  **Request Syntax**
  ::

    response = client.update_firewall_domains(
        domains=[
            'string',
        ],
        firewallDomainListId='string',
        operation='string'
    )
    
  :type domains: list
  :param domains: **[REQUIRED]** 

    A list of the domains. You can add up to 1000 domains per request.

    

  
    - *(string) --* 

    

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

    The ID of the DNS Firewall domain list to which you want to add the domains.

    

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

    The operation for updating the domain list. The allowed values are ADD, REMOVE, and REPLACE.

    

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

    
    ::

      {
          'id': 'string',
          'name': 'string',
          'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ID of the DNS Firewall domain list.

        
      

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

        The name of the domain list.

        
      

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

        The operational status of the domain list.

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

  