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 |
Permanently deletes the specified document and its associated metadata.
Creating a Request
Creates a value of DeleteDocument
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddAuthenticationToken
- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.ddDocumentId
- The ID of the document.
data DeleteDocument Source #
See: deleteDocument
smart constructor.
Request Lenses
ddAuthenticationToken :: Lens' DeleteDocument (Maybe Text) Source #
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
ddDocumentId :: Lens' DeleteDocument Text Source #
The ID of the document.
Destructuring the Response
deleteDocumentResponse :: DeleteDocumentResponse Source #
Creates a value of DeleteDocumentResponse
with the minimum fields required to make a request.
data DeleteDocumentResponse Source #
See: deleteDocumentResponse
smart constructor.