Smaws_Client_CodeCommit.PostCommentForPullRequestPosts a comment on a pull request.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BeforeCommitIdAndAfterCommitIdAreSameException of
Types.before_commit_id_and_after_commit_id_are_same_exception
| `ClientRequestTokenRequiredException of
Types.client_request_token_required_exception
| `CommentContentRequiredException of
Types.comment_content_required_exception
| `CommentContentSizeLimitExceededException of
Types.comment_content_size_limit_exceeded_exception
| `CommitDoesNotExistException of Types.commit_does_not_exist_exception
| `CommitIdRequiredException of Types.commit_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
| `IdempotencyParameterMismatchException of
Types.idempotency_parameter_mismatch_exception
| `InvalidClientRequestTokenException of
Types.invalid_client_request_token_exception
| `InvalidCommitIdException of Types.invalid_commit_id_exception
| `InvalidFileLocationException of Types.invalid_file_location_exception
| `InvalidFilePositionException of Types.invalid_file_position_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidRelativeFileVersionEnumException of
Types.invalid_relative_file_version_enum_exception
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `PathDoesNotExistException of Types.path_does_not_exist_exception
| `PathRequiredException of Types.path_required_exception
| `PullRequestDoesNotExistException of
Types.pull_request_does_not_exist_exception
| `PullRequestIdRequiredException of Types.pull_request_id_required_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `RepositoryNotAssociatedWithPullRequestException of
Types.repository_not_associated_with_pull_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.post_comment_for_pull_request_input ->
(Types.post_comment_for_pull_request_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `BeforeCommitIdAndAfterCommitIdAreSameException of
Types.before_commit_id_and_after_commit_id_are_same_exception
| `ClientRequestTokenRequiredException of
Types.client_request_token_required_exception
| `CommentContentRequiredException of
Types.comment_content_required_exception
| `CommentContentSizeLimitExceededException of
Types.comment_content_size_limit_exceeded_exception
| `CommitDoesNotExistException of Types.commit_does_not_exist_exception
| `CommitIdRequiredException of Types.commit_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
| `IdempotencyParameterMismatchException of
Types.idempotency_parameter_mismatch_exception
| `InvalidClientRequestTokenException of
Types.invalid_client_request_token_exception
| `InvalidCommitIdException of Types.invalid_commit_id_exception
| `InvalidFileLocationException of Types.invalid_file_location_exception
| `InvalidFilePositionException of Types.invalid_file_position_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidRelativeFileVersionEnumException of
Types.invalid_relative_file_version_enum_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `PathDoesNotExistException of Types.path_does_not_exist_exception
| `PathRequiredException of Types.path_required_exception
| `PullRequestDoesNotExistException of
Types.pull_request_does_not_exist_exception
| `PullRequestIdRequiredException of
Types.pull_request_id_required_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `RepositoryNotAssociatedWithPullRequestException of
Types.repository_not_associated_with_pull_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.post_comment_for_pull_request_input ->
(Types.post_comment_for_pull_request_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BeforeCommitIdAndAfterCommitIdAreSameException of
Types.before_commit_id_and_after_commit_id_are_same_exception
| `ClientRequestTokenRequiredException of
Types.client_request_token_required_exception
| `CommentContentRequiredException of
Types.comment_content_required_exception
| `CommentContentSizeLimitExceededException of
Types.comment_content_size_limit_exceeded_exception
| `CommitDoesNotExistException of Types.commit_does_not_exist_exception
| `CommitIdRequiredException of Types.commit_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
| `IdempotencyParameterMismatchException of
Types.idempotency_parameter_mismatch_exception
| `InvalidClientRequestTokenException of
Types.invalid_client_request_token_exception
| `InvalidCommitIdException of Types.invalid_commit_id_exception
| `InvalidFileLocationException of Types.invalid_file_location_exception
| `InvalidFilePositionException of Types.invalid_file_position_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidRelativeFileVersionEnumException of
Types.invalid_relative_file_version_enum_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `PathDoesNotExistException of Types.path_does_not_exist_exception
| `PathRequiredException of Types.path_required_exception
| `PullRequestDoesNotExistException of
Types.pull_request_does_not_exist_exception
| `PullRequestIdRequiredException of
Types.pull_request_id_required_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `RepositoryNotAssociatedWithPullRequestException of
Types.repository_not_associated_with_pull_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result