:doc:`APIGateway <../../apigateway>` / Client / delete_domain_name

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



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

  

  Deletes the DomainName resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteDomainName>`_  


  **Request Syntax**
  ::

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

    The name of the DomainName resource to be deleted.

    

  
  :type domainNameId: string
  :param domainNameId: 

    The identifier for the domain name resource. Supported only for private custom domain names.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`APIGateway.Client.exceptions.BadRequestException`

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

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

  
  *   :py:class:`APIGateway.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`APIGateway.Client.exceptions.TooManyRequestsException`

  