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 |
Deletes the content of a comment made on a change, file, or commit in a repository.
- deleteCommentContent :: Text -> DeleteCommentContent
- data DeleteCommentContent
- dccCommentId :: Lens' DeleteCommentContent Text
- deleteCommentContentResponse :: Int -> DeleteCommentContentResponse
- data DeleteCommentContentResponse
- dccrsComment :: Lens' DeleteCommentContentResponse (Maybe Comment)
- dccrsResponseStatus :: Lens' DeleteCommentContentResponse Int
Creating a Request
Creates a value of DeleteCommentContent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dccCommentId
- The unique, system-generated ID of the comment. To get this ID, useGetCommentsForComparedCommit
orGetCommentsForPullRequest
.
data DeleteCommentContent Source #
See: deleteCommentContent
smart constructor.
Request Lenses
dccCommentId :: Lens' DeleteCommentContent Text Source #
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit
or GetCommentsForPullRequest
.
Destructuring the Response
deleteCommentContentResponse Source #
Creates a value of DeleteCommentContentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dccrsComment
- Information about the comment you just deleted.dccrsResponseStatus
- -- | The response status code.
data DeleteCommentContentResponse Source #
See: deleteCommentContentResponse
smart constructor.
Response Lenses
dccrsComment :: Lens' DeleteCommentContentResponse (Maybe Comment) Source #
Information about the comment you just deleted.
dccrsResponseStatus :: Lens' DeleteCommentContentResponse Int Source #
- - | The response status code.