Values.UpdatePullRequestApprovalRuleContentOutputSourceUpdates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.
type nonrec t = {approvalRule : ApprovalRule.t option;Information about the updated approval rule.
*)}type nonrec error = [ | `ApprovalRuleContentRequiredException of ApprovalRuleContentRequiredException.t| `ApprovalRuleDoesNotExistException of ApprovalRuleDoesNotExistException.t| `ApprovalRuleNameRequiredException of ApprovalRuleNameRequiredException.t| `CannotModifyApprovalRuleFromTemplateException of
CannotModifyApprovalRuleFromTemplateException.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| `InvalidRuleContentSha256Exception of InvalidRuleContentSha256Exception.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
| `ApprovalRuleDoesNotExistException of unit
| `ApprovalRuleNameRequiredException of unit
| `CannotModifyApprovalRuleFromTemplateException 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
| `InvalidRuleContentSha256Exception 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
| `ApprovalRuleDoesNotExistException of unit
| `ApprovalRuleNameRequiredException of unit
| `CannotModifyApprovalRuleFromTemplateException 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
| `InvalidRuleContentSha256Exception 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 ]