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/update-comment.rst
**To update a comment on a commit**

This example demonstrates how to add the content ``"Fixed as requested. I'll update the pull request."`` to a comment with an ID of ``442b498bEXAMPLE5756813``. ::

    aws codecommit update-comment \
        --comment-id 442b498bEXAMPLE5756813 \
        --content "Fixed as requested. I'll update the pull request."

Output::

    {
        "comment": {
            "authorArn": "arn:aws:iam::111111111111:user/Li_Juan",
            "clientRequestToken": "",
            "commentId": "442b498bEXAMPLE5756813",
            "content": "Fixed as requested. I'll update the pull request.",
            "creationDate": 1508369929.783,
            "deleted": false,
            "lastModifiedDate": 1508369929.287,
            "callerReactions": [],
            "reactionCounts": 
                {
                    "THUMBSUP" : 2
                }
        }
    }