HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/codecommit/get-pull-request-override-state.rst
**To get information about the override status of a pull request**

The following ``get-pull-request-override-state`` example returns the override state for the specified pull request. In this example, the approval rules for the pull request were overridden by a user named Mary Major, so the output returns a value of ``true``.::

    aws codecommit get-pull-request-override-state \
        --pull-request-id 34  \
        --revision-id 9f29d167EXAMPLE 

Output::

    {
        "overridden": true,
        "overrider": "arn:aws:iam::123456789012:user/Mary_Major"
    }

For more information, see `Override Approval Rules on a Pull Request <https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-override-approval-rules.html#get-override-status>`__ in the *AWS CodeCommit User Guide*.