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

*************************************
reject_domain_name_access_association
*************************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/RejectDomainNameAccessAssociation>`_  


  **Request Syntax**
  ::

    response = client.reject_domain_name_access_association(
        domainNameAccessAssociationArn='string',
        domainNameArn='string'
    )
    
  :type domainNameAccessAssociationArn: string
  :param domainNameAccessAssociationArn: **[REQUIRED]** 

    The ARN of the domain name access association resource.

    

  
  :type domainNameArn: string
  :param domainNameArn: **[REQUIRED]** 

    The ARN of the domain name.

    

  
  
  :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`

  