v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Creates a pull request in the specified repository.

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

Headers

X-Amz-Target'CodeCommit_20150413.CreatePullRequest' required

Request body

titlestring required

The title of the pull request. This title is used to identify the pull request to other users in the repository.

descriptionstring

A description of the pull request.

clientRequestTokenstring
<p>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.</p> <note> <p>The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.</p> </note>

Response

Success