CodeCommit.Client.
delete_approval_rule_template
(**kwargs)¶Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.
See also: AWS API Documentation
Request Syntax
response = client.delete_approval_rule_template(
approvalRuleTemplateName='string'
)
[REQUIRED]
The name of the approval rule template to delete.
{
'approvalRuleTemplateId': 'string'
}
Response Structure
The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.
Exceptions
CodeCommit.Client.exceptions.ApprovalRuleTemplateNameRequiredException
CodeCommit.Client.exceptions.InvalidApprovalRuleTemplateNameException
CodeCommit.Client.exceptions.ApprovalRuleTemplateInUseException