CodeCommit / Client / update_pull_request_approval_state

update_pull_request_approval_state#

CodeCommit.Client.update_pull_request_approval_state(**kwargs)#

Updates the state of a user’s approval on a pull request. The user is derived from the signed-in account when the request is made.

See also: AWS API Documentation

Request Syntax

response = client.update_pull_request_approval_state(
    pullRequestId='string',
    revisionId='string',
    approvalState='APPROVE'|'REVOKE'
)
Parameters:
  • pullRequestId (string) –

    [REQUIRED]

    The system-generated ID of the pull request.

  • revisionId (string) –

    [REQUIRED]

    The system-generated ID of the revision.

  • approvalState (string) –

    [REQUIRED]

    The approval state to associate with the user on the pull request.

Returns:

None

Exceptions