| Server IP : 69.72.244.102 / Your IP : 216.73.217.142 Web Server : LiteSpeed System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : konzalta ( 1271) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.6/site-packages/awscli/examples/codecommit/ |
Upload File : |
**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*.