| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.CodeCommit.Types.CommentsForPullRequest
Description
Synopsis
- data CommentsForPullRequest = CommentsForPullRequest' {}
 - newCommentsForPullRequest :: CommentsForPullRequest
 - commentsForPullRequest_afterBlobId :: Lens' CommentsForPullRequest (Maybe Text)
 - commentsForPullRequest_afterCommitId :: Lens' CommentsForPullRequest (Maybe Text)
 - commentsForPullRequest_beforeBlobId :: Lens' CommentsForPullRequest (Maybe Text)
 - commentsForPullRequest_beforeCommitId :: Lens' CommentsForPullRequest (Maybe Text)
 - commentsForPullRequest_comments :: Lens' CommentsForPullRequest (Maybe [Comment])
 - commentsForPullRequest_location :: Lens' CommentsForPullRequest (Maybe Location)
 - commentsForPullRequest_pullRequestId :: Lens' CommentsForPullRequest (Maybe Text)
 - commentsForPullRequest_repositoryName :: Lens' CommentsForPullRequest (Maybe Text)
 
Documentation
data CommentsForPullRequest Source #
Returns information about comments on a pull request.
See: newCommentsForPullRequest smart constructor.
Constructors
| CommentsForPullRequest' | |
Fields 
  | |
Instances
newCommentsForPullRequest :: CommentsForPullRequest Source #
Create a value of CommentsForPullRequest with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:afterBlobId:CommentsForPullRequest', commentsForPullRequest_afterBlobId - The full blob ID of the file on which you want to comment on the source
 commit.
$sel:afterCommitId:CommentsForPullRequest', commentsForPullRequest_afterCommitId - The full commit ID of the commit that was the tip of the source branch
 at the time the comment was made.
$sel:beforeBlobId:CommentsForPullRequest', commentsForPullRequest_beforeBlobId - The full blob ID of the file on which you want to comment on the
 destination commit.
$sel:beforeCommitId:CommentsForPullRequest', commentsForPullRequest_beforeCommitId - The full commit ID of the commit that was the tip of the destination
 branch when the pull request was created. This commit is superceded by
 the after commit in the source branch when and if you merge the source
 branch into the destination branch.
$sel:comments:CommentsForPullRequest', commentsForPullRequest_comments - An array of comment objects. Each comment object contains information
 about a comment on the pull request.
$sel:location:CommentsForPullRequest', commentsForPullRequest_location - Location information about the comment on the pull request, including
 the file name, line number, and whether the version of the file where
 the comment was made is BEFORE (destination branch) or AFTER (source
 branch).
$sel:pullRequestId:CommentsForPullRequest', commentsForPullRequest_pullRequestId - The system-generated ID of the pull request.
$sel:repositoryName:CommentsForPullRequest', commentsForPullRequest_repositoryName - The name of the repository that contains the pull request.
commentsForPullRequest_afterBlobId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full blob ID of the file on which you want to comment on the source commit.
commentsForPullRequest_afterCommitId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full commit ID of the commit that was the tip of the source branch at the time the comment was made.
commentsForPullRequest_beforeBlobId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full blob ID of the file on which you want to comment on the destination commit.
commentsForPullRequest_beforeCommitId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.
commentsForPullRequest_comments :: Lens' CommentsForPullRequest (Maybe [Comment]) Source #
An array of comment objects. Each comment object contains information about a comment on the pull request.
commentsForPullRequest_location :: Lens' CommentsForPullRequest (Maybe Location) Source #
Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).
commentsForPullRequest_pullRequestId :: Lens' CommentsForPullRequest (Maybe Text) Source #
The system-generated ID of the pull request.
commentsForPullRequest_repositoryName :: Lens' CommentsForPullRequest (Maybe Text) Source #
The name of the repository that contains the pull request.