APIGateway / Client / delete_domain_name

delete_domain_name#

APIGateway.Client.delete_domain_name(**kwargs)#

Deletes the DomainName resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_domain_name(
    domainName='string',
    domainNameId='string'
)
Parameters:
  • domainName (string) –

    [REQUIRED]

    The name of the DomainName resource to be deleted.

  • domainNameId (string) – The identifier for the domain name resource. Supported only for private custom domain names.

Returns:

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.ConflictException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException