Values.CreatePullRequestApprovalRuleOutputSourceCreates an approval rule for a pull request.
type nonrec t = {approvalRule : ApprovalRule.t option;Information about the created approval rule.
*)}type nonrec error = [ | `ApprovalRuleContentRequiredException of ApprovalRuleContentRequiredException.t| `ApprovalRuleNameAlreadyExistsException of
ApprovalRuleNameAlreadyExistsException.t| `ApprovalRuleNameRequiredException of ApprovalRuleNameRequiredException.t| `EncryptionIntegrityChecksFailedException of
EncryptionIntegrityChecksFailedException.t| `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t| `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t| `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t| `InvalidApprovalRuleContentException of InvalidApprovalRuleContentException.t| `InvalidApprovalRuleNameException of InvalidApprovalRuleNameException.t| `InvalidPullRequestIdException of InvalidPullRequestIdException.t| `NumberOfRulesExceededException of NumberOfRulesExceededException.t| `PullRequestAlreadyClosedException of PullRequestAlreadyClosedException.t| `PullRequestDoesNotExistException of PullRequestDoesNotExistException.t| `PullRequestIdRequiredException of PullRequestIdRequiredException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ApprovalRuleContentRequiredException of unit
| `ApprovalRuleNameAlreadyExistsException of unit
| `ApprovalRuleNameRequiredException of unit
| `EncryptionIntegrityChecksFailedException of unit
| `EncryptionKeyAccessDeniedException of unit
| `EncryptionKeyDisabledException of unit
| `EncryptionKeyNotFoundException of unit
| `EncryptionKeyUnavailableException of unit
| `InvalidApprovalRuleContentException of unit
| `InvalidApprovalRuleNameException of unit
| `InvalidPullRequestIdException of unit
| `NumberOfRulesExceededException of unit
| `PullRequestAlreadyClosedException of unit
| `PullRequestDoesNotExistException of unit
| `PullRequestIdRequiredException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ApprovalRuleContentRequiredException of unit
| `ApprovalRuleNameAlreadyExistsException of unit
| `ApprovalRuleNameRequiredException of unit
| `EncryptionIntegrityChecksFailedException of unit
| `EncryptionKeyAccessDeniedException of unit
| `EncryptionKeyDisabledException of unit
| `EncryptionKeyNotFoundException of unit
| `EncryptionKeyUnavailableException of unit
| `InvalidApprovalRuleContentException of unit
| `InvalidApprovalRuleNameException of unit
| `InvalidPullRequestIdException of unit
| `NumberOfRulesExceededException of unit
| `PullRequestAlreadyClosedException of unit
| `PullRequestDoesNotExistException of unit
| `PullRequestIdRequiredException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of ApprovalRuleId.t
| `Structure of
(string * [> `String of ApprovalRuleTemplateId.t ]) list
| `Timestamp of LastModifiedDate.t ])
list ])
list ]