Skip to content

UpdatePullRequestStatusInput

Source code in docs_src/capo_codecommit/types/update_pull_request_status_input.py
class UpdatePullRequestStatusInput(TypedDict, closed=True):
    pull_request_id: "capo_codecommit.types.pull_request_id.PullRequestId"
    """<p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>"""
    pull_request_status: (
        "capo_codecommit.types.pull_request_status_enum.PullRequestStatusEnum"
    )
    """<p>The status of the pull request. The only valid operations are to update the status from <code>OPEN</code> to <code>OPEN</code>, <code>OPEN</code> to <code>CLOSED</code> or from <code>CLOSED</code> to <code>CLOSED</code>.</p>"""

pull_request_id instance-attribute

pull_request_id: PullRequestId

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

pull_request_status instance-attribute

pull_request_status: PullRequestStatusEnum

The status of the pull request. The only valid operations are to update the status from OPEN to OPEN, OPEN to CLOSED or from CLOSED to CLOSED.