:doc:`SecurityIncidentResponse <../../security-ir>` / Client / update_case_comment

*******************
update_case_comment
*******************



.. py:method:: SecurityIncidentResponse.Client.update_case_comment(**kwargs)

  

  Updates an existing case comment.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/security-ir-2018-05-10/UpdateCaseComment>`_  


  **Request Syntax**
  ::

    response = client.update_case_comment(
        caseId='string',
        commentId='string',
        body='string'
    )
    
  :type caseId: string
  :param caseId: **[REQUIRED]** 

    Required element for UpdateCaseComment to identify the case ID containing the comment to be updated.

    

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

    Required element for UpdateCaseComment to identify the case ID to be updated.

    

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

    Required element for UpdateCaseComment to identify the content for the comment to be updated.

    

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

    
    ::

      {
          'commentId': 'string',
          'body': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        Response element for UpdateCaseComment providing the updated comment ID.

        
      

      - **body** *(string) --* 

        Response element for UpdateCaseComment providing the updated comment content.

        
  
  **Exceptions**
  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.ValidationException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.InternalServerException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.ThrottlingException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.ConflictException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`SecurityIncidentResponse.Client.exceptions.InvalidTokenException`

  