Module Values.MergePullRequestByFastForwardOutputSource

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.

Sourcetype nonrec t = {
  1. pullRequest : PullRequest.t option;
    (*

    Information about the specified pull request, including the merge.

    *)
}
Sourcetype nonrec error = [
  1. | `ConcurrentReferenceUpdateException of ConcurrentReferenceUpdateException.t
  2. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  3. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  4. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  5. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  6. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  7. | `InvalidCommitIdException of InvalidCommitIdException.t
  8. | `InvalidPullRequestIdException of InvalidPullRequestIdException.t
  9. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  10. | `ManualMergeRequiredException of ManualMergeRequiredException.t
  11. | `PullRequestAlreadyClosedException of PullRequestAlreadyClosedException.t
  12. | `PullRequestApprovalRulesNotSatisfiedException of PullRequestApprovalRulesNotSatisfiedException.t
  13. | `PullRequestDoesNotExistException of PullRequestDoesNotExistException.t
  14. | `PullRequestIdRequiredException of PullRequestIdRequiredException.t
  15. | `ReferenceDoesNotExistException of ReferenceDoesNotExistException.t
  16. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  17. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  18. | `RepositoryNotAssociatedWithPullRequestException of RepositoryNotAssociatedWithPullRequestException.t
  19. | `TipOfSourceReferenceIsDifferentException of TipOfSourceReferenceIsDifferentException.t
  20. | `Unknown_operation_error of string * string option
]
Sourceval make : ?pullRequest:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConcurrentReferenceUpdateException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidCommitIdException of unit | `InvalidPullRequestIdException of unit | `InvalidRepositoryNameException of unit | `ManualMergeRequiredException of unit | `PullRequestAlreadyClosedException of unit | `PullRequestApprovalRulesNotSatisfiedException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `ReferenceDoesNotExistException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `TipOfSourceReferenceIsDifferentException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConcurrentReferenceUpdateException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidCommitIdException of unit | `InvalidPullRequestIdException of unit | `InvalidRepositoryNameException of unit | `ManualMergeRequiredException of unit | `PullRequestAlreadyClosedException of unit | `PullRequestApprovalRulesNotSatisfiedException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `ReferenceDoesNotExistException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `TipOfSourceReferenceIsDifferentException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of RepositoryName.t | `Structure of (string * [> `Boolean of IsMerged.t | `Enum of string | `String of Arn.t ]) list | `Timestamp of LastModifiedDate.t ]) list ] list | `String of PullRequestId.t | `Timestamp of LastModifiedDate.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t