Module Values.GetCommentsForPullRequestOutputSource

Returns comments made on a pull request. 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.

Sourcetype nonrec t = {
  1. commentsForPullRequestData : CommentsForPullRequestData.t option;
    (*

    An array of comment objects on the pull request.

    *)
  2. nextToken : NextToken.t option;
    (*

    An enumeration token that can be used in a request to return the next batch of the results.

    *)
}
Sourcetype nonrec error = [
  1. | `CommitDoesNotExistException of CommitDoesNotExistException.t
  2. | `CommitIdRequiredException of CommitIdRequiredException.t
  3. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  4. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  5. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  6. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  7. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  8. | `InvalidCommitIdException of InvalidCommitIdException.t
  9. | `InvalidContinuationTokenException of InvalidContinuationTokenException.t
  10. | `InvalidMaxResultsException of InvalidMaxResultsException.t
  11. | `InvalidPullRequestIdException of InvalidPullRequestIdException.t
  12. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  13. | `PullRequestDoesNotExistException of PullRequestDoesNotExistException.t
  14. | `PullRequestIdRequiredException of PullRequestIdRequiredException.t
  15. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  16. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  17. | `RepositoryNotAssociatedWithPullRequestException of RepositoryNotAssociatedWithPullRequestException.t
  18. | `Unknown_operation_error of string * string option
]
Sourceval make : ?commentsForPullRequestData:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CommitDoesNotExistException of unit | `CommitIdRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidCommitIdException of unit | `InvalidContinuationTokenException of unit | `InvalidMaxResultsException of unit | `InvalidPullRequestIdException of unit | `InvalidRepositoryNameException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CommitDoesNotExistException of unit | `CommitIdRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidCommitIdException of unit | `InvalidContinuationTokenException of unit | `InvalidMaxResultsException of unit | `InvalidPullRequestIdException of unit | `InvalidRepositoryNameException of unit | `PullRequestDoesNotExistException of unit | `PullRequestIdRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `RepositoryNotAssociatedWithPullRequestException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of IsCommentDeleted.t | `List of [> `String of ReactionValue.t ] list | `Map of ([> `String of ReactionValue.t ] * [> `Integer of Count.t ]) list | `String of CommentId.t | `Timestamp of CreationDate.t ]) list ] list | `String of PullRequestId.t | `Structure of (string * [> `Enum of string | `Long of Position.t | `String of Path.t ]) list ]) list ] list | `String of NextToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t