AWS CodeCommit
API Reference (API Version 2015-04-13)

PullRequestEvent

Returns information about a pull request event.

Contents

actorArn

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

Type: String

Required: No

eventDate

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

Type: Timestamp

Required: No

pullRequestCreatedEventMetadata

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

Type: PullRequestCreatedEventMetadata object

Required: No

pullRequestEventType

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).

Type: String

Valid Values: PULL_REQUEST_CREATED | PULL_REQUEST_STATUS_CHANGED | PULL_REQUEST_SOURCE_REFERENCE_UPDATED | PULL_REQUEST_MERGE_STATE_CHANGED

Required: No

pullRequestId

The system-generated ID of the pull request.

Type: String

Required: No

pullRequestMergedStateChangedEventMetadata

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

Type: PullRequestMergedStateChangedEventMetadata object

Required: No

pullRequestSourceReferenceUpdatedEventMetadata

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

Type: PullRequestSourceReferenceUpdatedEventMetadata object

Required: No

pullRequestStatusChangedEventMetadata

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

Type: PullRequestStatusChangedEventMetadata object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: