Values.PullRequestEventSourceReturns information about a pull request event.
type nonrec t = {pullRequestId : PullRequestId.t option;The system-generated ID of the pull request.
*)eventDate : EventDate.t option;The day and time of the pull request event, in timestamp format.
*)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)).
*)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.
*)pullRequestCreatedEventMetadata : PullRequestCreatedEventMetadata.t option;Information about the source and destination branches for the pull request.
*)pullRequestStatusChangedEventMetadata : PullRequestStatusChangedEventMetadata.t
option;Information about the change in status for the pull request event.
*)pullRequestSourceReferenceUpdatedEventMetadata : PullRequestSourceReferenceUpdatedEventMetadata.t
option;Information about the updated source branch for the pull request event.
*)pullRequestMergedStateChangedEventMetadata : PullRequestMergedStateChangedEventMetadata.t
option;Information about the change in mergability state for the pull request event.
*)approvalRuleEventMetadata : ApprovalRuleEventMetadata.t option;Information about a pull request event.
*)approvalStateChangedEventMetadata : ApprovalStateChangedEventMetadata.t option;Information about an approval state change for a pull request.
*)approvalRuleOverriddenEventMetadata : ApprovalRuleOverriddenEventMetadata.t
option;Information about an approval rule override event for a pull request.
*)}val make :
?pullRequestId:??? ->
?eventDate:??? ->
?pullRequestEventType:??? ->
?actorArn:??? ->
?pullRequestCreatedEventMetadata:??? ->
?pullRequestStatusChangedEventMetadata:??? ->
?pullRequestSourceReferenceUpdatedEventMetadata:??? ->
?pullRequestMergedStateChangedEventMetadata:??? ->
?approvalRuleEventMetadata:??? ->
?approvalStateChangedEventMetadata:??? ->
?approvalRuleOverriddenEventMetadata:??? ->
unit ->
tval 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 ]