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

******************
post_comment_reply
******************



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

  

  Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

  

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


  **Request Syntax**
  ::

    response = client.post_comment_reply(
        inReplyTo='string',
        clientRequestToken='string',
        content='string'
    )
    
  :type inReplyTo: string
  :param inReplyTo: **[REQUIRED]** 

    The system-generated ID of the comment to which you want to reply. To get this ID, use  GetCommentsForComparedCommit or  GetCommentsForPullRequest.

    

  
  :type clientRequestToken: string
  :param clientRequestToken: 

    A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

    This field is autopopulated if not provided.

  
  :type content: string
  :param content: **[REQUIRED]** 

    The contents of your reply to a comment.

    

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

    
    ::

      {
          'comment': {
              'commentId': 'string',
              'content': 'string',
              'inReplyTo': 'string',
              'creationDate': datetime(2015, 1, 1),
              'lastModifiedDate': datetime(2015, 1, 1),
              'authorArn': 'string',
              'deleted': True|False,
              'clientRequestToken': 'string',
              'callerReactions': [
                  'string',
              ],
              'reactionCounts': {
                  'string': 123
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **comment** *(dict) --* 

        Information about the reply to a comment.

        
        

        - **commentId** *(string) --* 

          The system-generated comment ID.

          
        

        - **content** *(string) --* 

          The content of the comment.

          
        

        - **inReplyTo** *(string) --* 

          The ID of the comment for which this comment is a reply, if any.

          
        

        - **creationDate** *(datetime) --* 

          The date and time the comment was created, in timestamp format.

          
        

        - **lastModifiedDate** *(datetime) --* 

          The date and time the comment was most recently modified, in timestamp format.

          
        

        - **authorArn** *(string) --* 

          The Amazon Resource Name (ARN) of the person who posted the comment.

          
        

        - **deleted** *(boolean) --* 

          A Boolean value indicating whether the comment has been deleted.

          
        

        - **clientRequestToken** *(string) --* 

          A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

          
        

        - **callerReactions** *(list) --* 

          The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

          
          

          - *(string) --* 
      
        

        - **reactionCounts** *(dict) --* 

          A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

          
          

          - *(string) --* 
            

            - *(integer) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`CodeCommit.Client.exceptions.ClientRequestTokenRequiredException`

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

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

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

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

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

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

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

  