:doc:`AppSync <../../appsync>` / Client / delete_domain_name

******************
delete_domain_name
******************



.. py:method:: AppSync.Client.delete_domain_name(**kwargs)

  

  Deletes a custom ``DomainName`` object.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainName>`_  


  **Request Syntax**
  ::

    response = client.delete_domain_name(
        domainName='string'
    )
    
  :type domainName: string
  :param domainName: **[REQUIRED]** 

    The domain name.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppSync.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AppSync.Client.exceptions.BadRequestException`

  
  *   :py:class:`AppSync.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`AppSync.Client.exceptions.InternalFailureException`

  
  *   :py:class:`AppSync.Client.exceptions.NotFoundException`

  