Skip to content

CreatePullRequestInput

Source code in docs_src/capo_codecommit/types/create_pull_request_input.py
class CreatePullRequestInput(TypedDict, closed=True):
    title: "capo_codecommit.types.title.Title"
    """<p>The title of the pull request. This title is used to identify the pull request to other users in the repository.</p>"""
    description: NotRequired["capo_codecommit.types.description.Description"]
    """<p>A description of the pull request.</p>"""
    targets: "capo_codecommit.types.target_list.TargetList"
    """<p>The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).</p>"""
    client_request_token: NotRequired[
        "capo_codecommit.types.client_request_token.ClientRequestToken"
    ]
    """<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 Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.</p> </note>"""

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

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.

The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.

description instance-attribute

description: NotRequired[Description]

A description of the pull request.

targets instance-attribute

targets: TargetList

The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).

title instance-attribute

title: Title

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