:doc:`DirectoryService <../../ds>` / Client / delete_conditional_forwarder

****************************
delete_conditional_forwarder
****************************



.. py:method:: DirectoryService.Client.delete_conditional_forwarder(**kwargs)

  

  Deletes a conditional forwarder that has been set up for your Amazon Web Services directory.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder>`_  


  **Request Syntax**
  ::

    response = client.delete_conditional_forwarder(
        DirectoryId='string',
        RemoteDomainName='string'
    )
    
  :type DirectoryId: string
  :param DirectoryId: **[REQUIRED]** 

    The directory ID for which you are deleting the conditional forwarder.

    

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

    The fully qualified domain name (FQDN) of the remote domain with which you are deleting the conditional forwarder.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      The result of a DeleteConditionalForwarder request.

      
  
  **Exceptions**
  
  *   :py:class:`DirectoryService.Client.exceptions.EntityDoesNotExistException`

  
  *   :py:class:`DirectoryService.Client.exceptions.DirectoryUnavailableException`

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

  
  *   :py:class:`DirectoryService.Client.exceptions.UnsupportedOperationException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ClientException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ServiceException`

  