HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/codecommit/get-pull-request-approval-states.rst
**To view approvals on a pull request**

The following ``get-pull-request-approval-states`` example returns approvals for the specified pull request. ::

    aws codecommit get-pull-request-approval-states \
        --pull-request-id 8 \
        --revision-id 9f29d167EXAMPLE 

Output::

    {
        "approvals": [
            {
                "userArn": "arn:aws:iam::123456789012:user/Mary_Major",
                "approvalState": "APPROVE"
            }
        ]
    }

For more information, see `View Pull Requests <https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-view-pull-request.html#get-pull-request-approval-state>`__ in the *AWS CodeCommit User Guide*.