| 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 |
Network.AWS.CodeCommit.PostCommentReply
Description
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
Synopsis
- postCommentReply :: Text -> Text -> PostCommentReply
- data PostCommentReply
- pcrClientRequestToken :: Lens' PostCommentReply (Maybe Text)
- pcrInReplyTo :: Lens' PostCommentReply Text
- pcrContent :: Lens' PostCommentReply Text
- postCommentReplyResponse :: Int -> PostCommentReplyResponse
- data PostCommentReplyResponse
- pcrrsComment :: Lens' PostCommentReplyResponse (Maybe Comment)
- pcrrsResponseStatus :: Lens' PostCommentReplyResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> PostCommentReply |
Creates a value of PostCommentReply with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcrClientRequestToken- A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.pcrInReplyTo- The system-generated ID of the comment to which you want to reply. To get this ID, useGetCommentsForComparedCommitorGetCommentsForPullRequest.pcrContent- The contents of your reply to a comment.
data PostCommentReply Source #
See: postCommentReply smart constructor.
Instances
Request Lenses
pcrClientRequestToken :: Lens' PostCommentReply (Maybe Text) Source #
A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.
pcrInReplyTo :: Lens' PostCommentReply Text Source #
The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest .
pcrContent :: Lens' PostCommentReply Text Source #
The contents of your reply to a comment.
Destructuring the Response
postCommentReplyResponse Source #
Arguments
| :: Int | |
| -> PostCommentReplyResponse |
Creates a value of PostCommentReplyResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcrrsComment- Information about the reply to a comment.pcrrsResponseStatus- -- | The response status code.
data PostCommentReplyResponse Source #
See: postCommentReplyResponse smart constructor.
Instances
Response Lenses
pcrrsComment :: Lens' PostCommentReplyResponse (Maybe Comment) Source #
Information about the reply to a comment.
pcrrsResponseStatus :: Lens' PostCommentReplyResponse Int Source #
- - | The response status code.