v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Returns information about one or more pull request events.

post/#X-Amz-Target=CodeCommit_20150413.DescribePullRequestEvents

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'CodeCommit_20150413.DescribePullRequestEvents' required

Request body

pullRequestIdstring required

The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.

pullRequestEventType'PULL_REQUEST_CREATED' | 'PULL_REQUEST_STATUS_CHANGED' | 'PULL_REQUEST_SOURCE_REFERENCE_UPDATED' | 'PULL_REQUEST_MERGE_STATE_CHANGED' | 'PULL_REQUEST_APPROVAL_RULE_CREATED' | 'PULL_REQUEST_APPROVAL_RULE_UPDATED' | 'PULL_REQUEST_APPROVAL_RULE_DELETED' | 'PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN' | 'PULL_REQUEST_APPROVAL_STATE_CHANGED'

Optional. The pull request event type about which you want to return information.

actorArnstring

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.

nextTokenstring

An enumeration token that, when provided in a request, returns the next batch of the results.

maxResultsinteger

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

Response

Success

nextTokenstring

An enumeration token that can be used in a request to return the next batch of the results.