Module Values.PullRequestEventSource

Returns information about a pull request event.

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

    The system-generated ID of the pull request.

    *)
  2. eventDate : EventDate.t option;
    (*

    The day and time of the pull request event, in timestamp format.

    *)
  3. pullRequestEventType : PullRequestEventType.t option;
    (*

    The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).

    *)
  4. actorArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.

    *)
  5. pullRequestCreatedEventMetadata : PullRequestCreatedEventMetadata.t option;
    (*

    Information about the source and destination branches for the pull request.

    *)
  6. pullRequestStatusChangedEventMetadata : PullRequestStatusChangedEventMetadata.t option;
    (*

    Information about the change in status for the pull request event.

    *)
  7. pullRequestSourceReferenceUpdatedEventMetadata : PullRequestSourceReferenceUpdatedEventMetadata.t option;
    (*

    Information about the updated source branch for the pull request event.

    *)
  8. pullRequestMergedStateChangedEventMetadata : PullRequestMergedStateChangedEventMetadata.t option;
    (*

    Information about the change in mergability state for the pull request event.

    *)
  9. approvalRuleEventMetadata : ApprovalRuleEventMetadata.t option;
    (*

    Information about a pull request event.

    *)
  10. approvalStateChangedEventMetadata : ApprovalStateChangedEventMetadata.t option;
    (*

    Information about an approval state change for a pull request.

    *)
  11. approvalRuleOverriddenEventMetadata : ApprovalRuleOverriddenEventMetadata.t option;
    (*

    Information about an approval rule override event for a pull request.

    *)
}
Sourceval make : ?pullRequestId:??? -> ?eventDate:??? -> ?pullRequestEventType:??? -> ?actorArn:??? -> ?pullRequestCreatedEventMetadata:??? -> ?pullRequestStatusChangedEventMetadata:??? -> ?pullRequestSourceReferenceUpdatedEventMetadata:??? -> ?pullRequestMergedStateChangedEventMetadata:??? -> ?approvalRuleEventMetadata:??? -> ?approvalStateChangedEventMetadata:??? -> ?approvalRuleOverriddenEventMetadata:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PullRequestId.t | `Structure of (string * [> `Enum of string | `String of RepositoryName.t | `Structure of (string * [> `Boolean of IsMerged.t | `Enum of string | `String of Arn.t ]) list ]) list | `Timestamp of EventDate.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