APIGateway / Client / reject_domain_name_access_association

reject_domain_name_access_association#

APIGateway.Client.reject_domain_name_access_association(**kwargs)#

Rejects a domain name access association with a private custom domain name.

To reject a domain name access association with an access association source in another AWS account, use this operation. To remove a domain name access association with an access association source in your own account, use the DeleteDomainNameAccessAssociation operation.

See also: AWS API Documentation

Request Syntax

response = client.reject_domain_name_access_association(
    domainNameAccessAssociationArn='string',
    domainNameArn='string'
)
Parameters:
  • domainNameAccessAssociationArn (string) –

    [REQUIRED]

    The ARN of the domain name access association resource.

  • domainNameArn (string) –

    [REQUIRED]

    The ARN of the domain name.

Returns:

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.ConflictException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException