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 |
Permanently deletes the specified document and its associated metadata.
Synopsis
- data DeleteDocument = DeleteDocument' {}
- newDeleteDocument :: Text -> DeleteDocument
- deleteDocument_authenticationToken :: Lens' DeleteDocument (Maybe Text)
- deleteDocument_documentId :: Lens' DeleteDocument Text
- data DeleteDocumentResponse = DeleteDocumentResponse' {
- newDeleteDocumentResponse :: DeleteDocumentResponse
Creating a Request
data DeleteDocument Source #
See: newDeleteDocument
smart constructor.
DeleteDocument' | |
|
Instances
Create a value of DeleteDocument
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:DeleteDocument'
, deleteDocument_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:documentId:DeleteDocument'
, deleteDocument_documentId
- The ID of the document.
Request Lenses
deleteDocument_authenticationToken :: Lens' DeleteDocument (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deleteDocument_documentId :: Lens' DeleteDocument Text Source #
The ID of the document.
Destructuring the Response
data DeleteDocumentResponse Source #
See: newDeleteDocumentResponse
smart constructor.
Instances
Eq DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument | |
Read DeleteDocumentResponse Source # | |
Show DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument showsPrec :: Int -> DeleteDocumentResponse -> ShowS # show :: DeleteDocumentResponse -> String # showList :: [DeleteDocumentResponse] -> ShowS # | |
Generic DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument type Rep DeleteDocumentResponse :: Type -> Type # | |
NFData DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument rnf :: DeleteDocumentResponse -> () # | |
type Rep DeleteDocumentResponse Source # | |
newDeleteDocumentResponse :: DeleteDocumentResponse Source #
Create a value of DeleteDocumentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.