| 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.DeleteCommentContent
Description
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.
Constructors
| DeleteCommentContent' | |
Instances
newDeleteCommentContent Source #
Arguments
| :: Text | |
| -> DeleteCommentContent |
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:
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.
Constructors
| DeleteCommentContentResponse' | |
Fields
| |
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.