Skip to content

PullRequest

Source code in docs_src/capo_codecommit/types/pull_request.py
class PullRequest(TypedDict, closed=True):
    pull_request_id: NotRequired["capo_codecommit.types.pull_request_id.PullRequestId"]
    """<p>The system-generated ID of the pull request. </p>"""
    title: NotRequired["capo_codecommit.types.title.Title"]
    """<p>The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.</p>"""
    description: NotRequired["capo_codecommit.types.description.Description"]
    """<p>The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.</p>"""
    last_activity_date: NotRequired[
        "capo_codecommit.types.last_modified_date.LastModifiedDate"
    ]
    """<p>The day and time of the last user or system activity on the pull request, in timestamp format.</p>"""
    creation_date: NotRequired["capo_codecommit.types.creation_date.CreationDate"]
    """<p>The date and time the pull request was originally created, in timestamp format.</p>"""
    pull_request_status: NotRequired[
        "capo_codecommit.types.pull_request_status_enum.PullRequestStatusEnum"
    ]
    """<p>The status of the pull request. Pull request status can only change from <code>OPEN</code> to <code>CLOSED</code>.</p>"""
    author_arn: NotRequired["capo_codecommit.types.arn.Arn"]
    """<p>The Amazon Resource Name (ARN) of the user who created the pull request.</p>"""
    pull_request_targets: NotRequired[
        "capo_codecommit.types.pull_request_target_list.PullRequestTargetList"
    ]
    """<p>The targets of the pull request, including the source branch and destination branch for the pull request.</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>"""
    revision_id: NotRequired["capo_codecommit.types.revision_id.RevisionId"]
    """<p>The system-generated revision ID for the pull request.</p>"""
    approval_rules: NotRequired[
        "capo_codecommit.types.approval_rules_list.ApprovalRulesList"
    ]
    """<p>The approval rules applied to the pull request.</p>"""

approval_rules instance-attribute

approval_rules: NotRequired[ApprovalRulesList]

The approval rules applied to the pull request.

author_arn instance-attribute

author_arn: NotRequired[Arn]

The Amazon Resource Name (ARN) of the user who created the pull request.

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.

creation_date instance-attribute

creation_date: NotRequired[CreationDate]

The date and time the pull request was originally created, in timestamp format.

description instance-attribute

description: NotRequired[Description]

The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.

last_activity_date instance-attribute

last_activity_date: NotRequired[LastModifiedDate]

The day and time of the last user or system activity on the pull request, in timestamp format.

pull_request_id instance-attribute

pull_request_id: NotRequired[PullRequestId]

The system-generated ID of the pull request.

pull_request_status instance-attribute

pull_request_status: NotRequired[PullRequestStatusEnum]

The status of the pull request. Pull request status can only change from OPEN to CLOSED.

pull_request_targets instance-attribute

pull_request_targets: NotRequired[PullRequestTargetList]

The targets of the pull request, including the source branch and destination branch for the pull request.

revision_id instance-attribute

revision_id: NotRequired[RevisionId]

The system-generated revision ID for the pull request.

title instance-attribute

title: NotRequired[Title]

The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.