SecurityIncidentResponse / Client / create_case_comment
create_case_comment#
- SecurityIncidentResponse.Client.create_case_comment(**kwargs)#
- Grants permission to add a comment to an existing case. - See also: AWS API Documentation - Request Syntax- response = client.create_case_comment( caseId='string', clientToken='string', body='string' ) - Parameters:
- caseId (string) – - [REQUIRED] - Required element used in combination with CreateCaseComment to specify a case ID. 
- clientToken (string) – - An optional element used in combination with CreateCaseComment. - This field is autopopulated if not provided. 
- body (string) – - [REQUIRED] - Required element used in combination with CreateCaseComment to add content for the new comment. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'commentId': 'string' } - Response Structure- (dict) – - commentId (string) – - Response element indicating the new comment ID. 
 
 
 - Exceptions- SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException
- SecurityIncidentResponse.Client.exceptions.AccessDeniedException
- SecurityIncidentResponse.Client.exceptions.ValidationException
- SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
- SecurityIncidentResponse.Client.exceptions.InternalServerException
- SecurityIncidentResponse.Client.exceptions.ConflictException
- SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
- SecurityIncidentResponse.Client.exceptions.ThrottlingException
- SecurityIncidentResponse.Client.exceptions.InvalidTokenException