Smaws_Client_CodeCommit.EvaluatePullRequestApprovalRulesEvaluates whether a pull request has met all the conditions specified in its associated approval rules.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `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
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidRevisionIdException of Types.invalid_revision_id_exception
| `PullRequestDoesNotExistException of
Types.pull_request_does_not_exist_exception
| `PullRequestIdRequiredException of Types.pull_request_id_required_exception
| `RevisionIdRequiredException of Types.revision_id_required_exception
| `RevisionNotCurrentException of Types.revision_not_current_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.evaluate_pull_request_approval_rules_input ->
(Types.evaluate_pull_request_approval_rules_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `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
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidRevisionIdException of Types.invalid_revision_id_exception
| `PullRequestDoesNotExistException of
Types.pull_request_does_not_exist_exception
| `PullRequestIdRequiredException of
Types.pull_request_id_required_exception
| `RevisionIdRequiredException of Types.revision_id_required_exception
| `RevisionNotCurrentException of Types.revision_not_current_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.evaluate_pull_request_approval_rules_input ->
(Types.evaluate_pull_request_approval_rules_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `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
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidRevisionIdException of Types.invalid_revision_id_exception
| `PullRequestDoesNotExistException of
Types.pull_request_does_not_exist_exception
| `PullRequestIdRequiredException of
Types.pull_request_id_required_exception
| `RevisionIdRequiredException of Types.revision_id_required_exception
| `RevisionNotCurrentException of Types.revision_not_current_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result