| 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.DeleteCommentContent
Description
Deletes the content of a comment made on a change, file, or commit in a repository.
Synopsis
- 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
Arguments
| :: Text | |
| -> DeleteCommentContent |
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, useGetCommentsForComparedCommitorGetCommentsForPullRequest.
data DeleteCommentContent Source #
See: deleteCommentContent smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> DeleteCommentContentResponse |
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.
Instances
Response Lenses
dccrsComment :: Lens' DeleteCommentContentResponse (Maybe Comment) Source #
Information about the comment you just deleted.
dccrsResponseStatus :: Lens' DeleteCommentContentResponse Int Source #
- - | The response status code.