Smaws_Client_CodeCommit.DisassociateApprovalRuleTemplateFromRepositoryRemoves 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ApprovalRuleTemplateDoesNotExistException of
Types.approval_rule_template_does_not_exist_exception
| `ApprovalRuleTemplateNameRequiredException of
Types.approval_rule_template_name_required_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `InvalidApprovalRuleTemplateNameException of
Types.invalid_approval_rule_template_name_exception
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.disassociate_approval_rule_template_from_repository_input ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `ApprovalRuleTemplateDoesNotExistException of
Types.approval_rule_template_does_not_exist_exception
| `ApprovalRuleTemplateNameRequiredException of
Types.approval_rule_template_name_required_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of
Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of
Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `InvalidApprovalRuleTemplateNameException of
Types.invalid_approval_rule_template_name_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.disassociate_approval_rule_template_from_repository_input ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ApprovalRuleTemplateDoesNotExistException of
Types.approval_rule_template_does_not_exist_exception
| `ApprovalRuleTemplateNameRequiredException of
Types.approval_rule_template_name_required_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of
Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of
Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `InvalidApprovalRuleTemplateNameException of
Types.invalid_approval_rule_template_name_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result