HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/codecommit/get-comment-reactions.rst
**To view emoji reactions to a comment**

The following ``get-comment-reactions`` example lists all emoji reactions to a comment with the ID of ``abcd1234EXAMPLEb5678efgh``. If the font for your shell supports displaying Emoji Version 1.0, then in the output for ``emoji`` the emoji is displayed. ::

    aws codecommit get-comment-reactions \
        --comment-id abcd1234EXAMPLEb5678efgh

Output::

    {
        "reactionsForComment": {
            [
               {
                   "reaction": {
                        "emoji:"??",
                        "shortCode": "thumbsup",
                        "unicode": "U+1F44D"
                    },
                    "users": [
                        "arn:aws:iam::123456789012:user/Li_Juan",
                        "arn:aws:iam::123456789012:user/Mary_Major",
                        "arn:aws:iam::123456789012:user/Jorge_Souza"
                    ]
                },
                {
                    "reaction": {
                        "emoji": "??",
                        "shortCode": "thumbsdown",
                        "unicode": "U+1F44E"
                    },
                    "users": [
                        "arn:aws:iam::123456789012:user/Nikhil_Jayashankar"
                    ]
                },
                {
                    "reaction": {
                        "emoji": "??",
                        "shortCode": "confused",
                        "unicode": "U+1F615"
                    },
                    "users": [
                        "arn:aws:iam::123456789012:user/Saanvi_Sarkar"
                    ]
                }
            ]
        }
    }

For more information, see `Comment on a commit in AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#how-to-commit-comment-cli-commit-emoji-view>`__ in the *AWS CodeCommit User Guide*.