Module Values.PullRequestSource

Returns information about a pull request.

Sourcetype nonrec t = {
  1. pullRequestId : PullRequestId.t option;
    (*

    The system-generated ID of the pull request.

    *)
  2. title : Title.t option;
    (*

    The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.

    *)
  3. description : Description.t option;
    (*

    The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.

    *)
  4. lastActivityDate : LastModifiedDate.t option;
    (*

    The day and time of the last user or system activity on the pull request, in timestamp format.

    *)
  5. creationDate : CreationDate.t option;
    (*

    The date and time the pull request was originally created, in timestamp format.

    *)
  6. pullRequestStatus : PullRequestStatusEnum.t option;
    (*

    The status of the pull request. Pull request status can only change from OPEN to CLOSED.

    *)
  7. authorArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the user who created the pull request.

    *)
  8. pullRequestTargets : PullRequestTargetList.t option;
    (*

    The targets of the pull request, including the source branch and destination branch for the pull request.

    *)
  9. clientRequestToken : ClientRequestToken.t option;
    (*

    A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

    *)
  10. revisionId : RevisionId.t option;
    (*

    The system-generated revision ID for the pull request.

    *)
  11. approvalRules : ApprovalRulesList.t option;
    (*

    The approval rules applied to the pull request.

    *)
}
Sourceval make : ?pullRequestId:??? -> ?title:??? -> ?description:??? -> ?lastActivityDate:??? -> ?creationDate:??? -> ?pullRequestStatus:??? -> ?authorArn:??? -> ?pullRequestTargets:??? -> ?clientRequestToken:??? -> ?revisionId:??? -> ?approvalRules:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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