Smaws_Client_CodeCommit.GetCommentReturns the content of a comment made on a change, file, or commit in a repository.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CommentDeletedException of Types.comment_deleted_exception
| `CommentDoesNotExistException of Types.comment_does_not_exist_exception
| `CommentIdRequiredException of Types.comment_id_required_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `InvalidCommentIdException of Types.invalid_comment_id_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_comment_input ->
(Types.get_comment_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `CommentDeletedException of Types.comment_deleted_exception
| `CommentDoesNotExistException of Types.comment_does_not_exist_exception
| `CommentIdRequiredException of Types.comment_id_required_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of
Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of
Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `InvalidCommentIdException of Types.invalid_comment_id_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_comment_input ->
(Types.get_comment_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CommentDeletedException of Types.comment_deleted_exception
| `CommentDoesNotExistException of Types.comment_does_not_exist_exception
| `CommentIdRequiredException of Types.comment_id_required_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of
Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of
Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `InvalidCommentIdException of Types.invalid_comment_id_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result