:doc:`CodeCommit <../../codecommit>` / Client / disassociate_approval_rule_template_from_repository

***************************************************
disassociate_approval_rule_template_from_repository
***************************************************



.. py:method:: CodeCommit.Client.disassociate_approval_rule_template_from_repository(**kwargs)

  

  Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository>`_  


  **Request Syntax**
  ::

    response = client.disassociate_approval_rule_template_from_repository(
        approvalRuleTemplateName='string',
        repositoryName='string'
    )
    
  :type approvalRuleTemplateName: string
  :param approvalRuleTemplateName: **[REQUIRED]** 

    The name of the approval rule template to disassociate from a specified repository.

    

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

    The name of the repository you want to disassociate from the template.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CodeCommit.Client.exceptions.ApprovalRuleTemplateNameRequiredException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidApprovalRuleTemplateNameException`

  
  *   :py:class:`CodeCommit.Client.exceptions.ApprovalRuleTemplateDoesNotExistException`

  
  *   :py:class:`CodeCommit.Client.exceptions.RepositoryNameRequiredException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidRepositoryNameException`

  
  *   :py:class:`CodeCommit.Client.exceptions.RepositoryDoesNotExistException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionIntegrityChecksFailedException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyAccessDeniedException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyDisabledException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyNotFoundException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyUnavailableException`

  