:doc:`CodeCommit <../../codecommit>` / Client / get_comment_reactions

*********************
get_comment_reactions
*********************



.. py:method:: CodeCommit.Client.get_comment_reactions(**kwargs)

  

  Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions>`_  


  **Request Syntax**
  ::

    response = client.get_comment_reactions(
        commentId='string',
        reactionUserArn='string',
        nextToken='string',
        maxResults=123
    )
    
  :type commentId: string
  :param commentId: **[REQUIRED]** 

    The ID of the comment for which you want to get reactions information.

    

  
  :type reactionUserArn: string
  :param reactionUserArn: 

    Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.

    

  
  :type nextToken: string
  :param nextToken: 

    An enumeration token that, when provided in a request, returns the next batch of the results.

    

  
  :type maxResults: integer
  :param maxResults: 

    A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'reactionsForComment': [
              {
                  'reaction': {
                      'emoji': 'string',
                      'shortCode': 'string',
                      'unicode': 'string'
                  },
                  'reactionUsers': [
                      'string',
                  ],
                  'reactionsFromDeletedUsersCount': 123
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **reactionsForComment** *(list) --* 

        An array of reactions to the specified comment.

        
        

        - *(dict) --* 

          Information about the reaction values provided by users on a comment.

          
          

          - **reaction** *(dict) --* 

            The reaction for a specified comment.

            
            

            - **emoji** *(string) --* 

              The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.

              
            

            - **shortCode** *(string) --* 

              The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.

              
            

            - **unicode** *(string) --* 

              The Unicode codepoint for the reaction.

              
        
          

          - **reactionUsers** *(list) --* 

            The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

            
            

            - *(string) --* 
        
          

          - **reactionsFromDeletedUsersCount** *(integer) --* 

            A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.

            
      
    
      

      - **nextToken** *(string) --* 

        An enumeration token that can be used in a request to return the next batch of the results.

        
  
  **Exceptions**
  
  *   :py:class:`CodeCommit.Client.exceptions.CommentDoesNotExistException`

  
  *   :py:class:`CodeCommit.Client.exceptions.CommentIdRequiredException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidCommentIdException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidReactionUserArnException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidMaxResultsException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidContinuationTokenException`

  
  *   :py:class:`CodeCommit.Client.exceptions.CommentDeletedException`

  