Copyright | (c) 2013-2021 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 |
Deletes the content of a comment made on a change, file, or commit in a repository.
Synopsis
- data DeleteCommentContent = DeleteCommentContent' {}
- newDeleteCommentContent :: Text -> DeleteCommentContent
- deleteCommentContent_commentId :: Lens' DeleteCommentContent Text
- data DeleteCommentContentResponse = DeleteCommentContentResponse' {
- comment :: Maybe Comment
- httpStatus :: Int
- newDeleteCommentContentResponse :: Int -> DeleteCommentContentResponse
- deleteCommentContentResponse_comment :: Lens' DeleteCommentContentResponse (Maybe Comment)
- deleteCommentContentResponse_httpStatus :: Lens' DeleteCommentContentResponse Int
Creating a Request
data DeleteCommentContent Source #
See: newDeleteCommentContent
smart constructor.
Instances
newDeleteCommentContent Source #
Create a value of DeleteCommentContent
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:commentId:DeleteCommentContent'
, deleteCommentContent_commentId
- The unique, system-generated ID of the comment. To get this ID, use
GetCommentsForComparedCommit or GetCommentsForPullRequest.
Request Lenses
deleteCommentContent_commentId :: Lens' DeleteCommentContent Text Source #
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
Destructuring the Response
data DeleteCommentContentResponse Source #
See: newDeleteCommentContentResponse
smart constructor.
DeleteCommentContentResponse' | |
|
Instances
newDeleteCommentContentResponse Source #
Create a value of DeleteCommentContentResponse
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:comment:DeleteCommentContentResponse'
, deleteCommentContentResponse_comment
- Information about the comment you just deleted.
$sel:httpStatus:DeleteCommentContentResponse'
, deleteCommentContentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteCommentContentResponse_comment :: Lens' DeleteCommentContentResponse (Maybe Comment) Source #
Information about the comment you just deleted.
deleteCommentContentResponse_httpStatus :: Lens' DeleteCommentContentResponse Int Source #
The response's http status code.