| 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.DeleteDocument
Description
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.
Constructors
| DeleteDocument' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteDocument |
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.
Constructors
| DeleteDocumentResponse' | |
Instances
| Generic DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument Associated Types type Rep DeleteDocumentResponse :: Type -> Type # Methods from :: DeleteDocumentResponse -> Rep DeleteDocumentResponse x # to :: Rep DeleteDocumentResponse x -> DeleteDocumentResponse # | |
| Read DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument | |
| Show DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument Methods showsPrec :: Int -> DeleteDocumentResponse -> ShowS # show :: DeleteDocumentResponse -> String # showList :: [DeleteDocumentResponse] -> ShowS # | |
| NFData DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument Methods rnf :: DeleteDocumentResponse -> () # | |
| Eq DeleteDocumentResponse Source # | |
Defined in Amazonka.WorkDocs.DeleteDocument Methods (==) :: DeleteDocumentResponse -> DeleteDocumentResponse -> Bool # (/=) :: DeleteDocumentResponse -> DeleteDocumentResponse -> Bool # | |
| 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.