Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about comments made on the comparison between two commits.
This operation returns paginated results.
- getCommentsForComparedCommit :: Text -> Text -> GetCommentsForComparedCommit
- data GetCommentsForComparedCommit
- gcfccNextToken :: Lens' GetCommentsForComparedCommit (Maybe Text)
- gcfccBeforeCommitId :: Lens' GetCommentsForComparedCommit (Maybe Text)
- gcfccMaxResults :: Lens' GetCommentsForComparedCommit (Maybe Int)
- gcfccRepositoryName :: Lens' GetCommentsForComparedCommit Text
- gcfccAfterCommitId :: Lens' GetCommentsForComparedCommit Text
- getCommentsForComparedCommitResponse :: Int -> GetCommentsForComparedCommitResponse
- data GetCommentsForComparedCommitResponse
- gcfccrsCommentsForComparedCommitData :: Lens' GetCommentsForComparedCommitResponse [CommentsForComparedCommit]
- gcfccrsNextToken :: Lens' GetCommentsForComparedCommitResponse (Maybe Text)
- gcfccrsResponseStatus :: Lens' GetCommentsForComparedCommitResponse Int
Creating a Request
getCommentsForComparedCommit Source #
Creates a value of GetCommentsForComparedCommit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcfccNextToken
- An enumeration token that when provided in a request, returns the next batch of the results.gcfccBeforeCommitId
- To establish the directionality of the comparison, the full commit ID of thebefore
commit.gcfccMaxResults
- A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.gcfccRepositoryName
- The name of the repository where you want to compare commits.gcfccAfterCommitId
- To establish the directionality of the comparison, the full commit ID of theafter
commit.
data GetCommentsForComparedCommit Source #
See: getCommentsForComparedCommit
smart constructor.
Request Lenses
gcfccNextToken :: Lens' GetCommentsForComparedCommit (Maybe Text) Source #
An enumeration token that when provided in a request, returns the next batch of the results.
gcfccBeforeCommitId :: Lens' GetCommentsForComparedCommit (Maybe Text) Source #
To establish the directionality of the comparison, the full commit ID of the before
commit.
gcfccMaxResults :: Lens' GetCommentsForComparedCommit (Maybe Int) Source #
A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.
gcfccRepositoryName :: Lens' GetCommentsForComparedCommit Text Source #
The name of the repository where you want to compare commits.
gcfccAfterCommitId :: Lens' GetCommentsForComparedCommit Text Source #
To establish the directionality of the comparison, the full commit ID of the after
commit.
Destructuring the Response
getCommentsForComparedCommitResponse Source #
Creates a value of GetCommentsForComparedCommitResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcfccrsCommentsForComparedCommitData
- A list of comment objects on the compared commit.gcfccrsNextToken
- An enumeration token that can be used in a request to return the next batch of the results.gcfccrsResponseStatus
- -- | The response status code.
data GetCommentsForComparedCommitResponse Source #
See: getCommentsForComparedCommitResponse
smart constructor.
Response Lenses
gcfccrsCommentsForComparedCommitData :: Lens' GetCommentsForComparedCommitResponse [CommentsForComparedCommit] Source #
A list of comment objects on the compared commit.
gcfccrsNextToken :: Lens' GetCommentsForComparedCommitResponse (Maybe Text) Source #
An enumeration token that can be used in a request to return the next batch of the results.
gcfccrsResponseStatus :: Lens' GetCommentsForComparedCommitResponse Int Source #
- - | The response status code.