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 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.
DeleteComment' | |
|
Instances
:: 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.
$sel:versionId:DeleteComment'
, deleteComment_versionId
- The ID of the document version.
$sel:commentId: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.
Instances
Eq DeleteCommentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteComment (==) :: DeleteCommentResponse -> DeleteCommentResponse -> Bool # (/=) :: DeleteCommentResponse -> DeleteCommentResponse -> Bool # | |
Read DeleteCommentResponse Source # | |
Show DeleteCommentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteComment showsPrec :: Int -> DeleteCommentResponse -> ShowS # show :: DeleteCommentResponse -> String # showList :: [DeleteCommentResponse] -> ShowS # | |
Generic DeleteCommentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteComment type Rep DeleteCommentResponse :: Type -> Type # | |
NFData DeleteCommentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteComment rnf :: DeleteCommentResponse -> () # | |
type Rep DeleteCommentResponse Source # | |
newDeleteCommentResponse :: DeleteCommentResponse Source #
Create a value of DeleteCommentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.