APIGateway / Client / delete_domain_name_access_association

delete_domain_name_access_association#

APIGateway.Client.delete_domain_name_access_association(**kwargs)#

Deletes the DomainNameAccessAssociation resource.

Only the AWS account that created the DomainNameAccessAssociation resource can delete it. To stop an access association source in another AWS account from accessing your private custom domain name, use the RejectDomainNameAccessAssociation operation.

See also: AWS API Documentation

Request Syntax

response = client.delete_domain_name_access_association(
    domainNameAccessAssociationArn='string'
)
Parameters:

domainNameAccessAssociationArn (string) –

[REQUIRED]

The ARN of the domain name access association resource.

Returns:

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.ConflictException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException