| 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.WorkDocs.DeleteComment
Description
Deletes the specified comment from the document version.
Synopsis
- data DeleteComment = DeleteComment' {
- authenticationToken :: Maybe (Sensitive Text)
- documentId :: Text
- versionId :: Text
- commentId :: Text
- newDeleteComment :: Text -> Text -> Text -> DeleteComment
- deleteComment_authenticationToken :: Lens' DeleteComment (Maybe Text)
- deleteComment_documentId :: Lens' DeleteComment Text
- deleteComment_versionId :: Lens' DeleteComment Text
- deleteComment_commentId :: Lens' DeleteComment Text
- data DeleteCommentResponse = DeleteCommentResponse' {
- newDeleteCommentResponse :: DeleteCommentResponse
Creating a Request
data DeleteComment Source #
See: newDeleteComment smart constructor.
Constructors
| DeleteComment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteComment |
Create a value of DeleteComment 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:authenticationToken:DeleteComment', deleteComment_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:documentId:DeleteComment', deleteComment_documentId - The ID of the document.
DeleteComment, deleteComment_versionId - The ID of the document version.
DeleteComment, deleteComment_commentId - The ID of the comment.
Request Lenses
deleteComment_authenticationToken :: Lens' DeleteComment (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deleteComment_documentId :: Lens' DeleteComment Text Source #
The ID of the document.
deleteComment_versionId :: Lens' DeleteComment Text Source #
The ID of the document version.
deleteComment_commentId :: Lens' DeleteComment Text Source #
The ID of the comment.
Destructuring the Response
data DeleteCommentResponse Source #
See: newDeleteCommentResponse smart constructor.
Constructors
| DeleteCommentResponse' | |
Instances
newDeleteCommentResponse :: DeleteCommentResponse Source #
Create a value of DeleteCommentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.