Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The document you want to update.
- updateDocument :: Text -> Text -> UpdateDocument
- data UpdateDocument
- udDocumentVersion :: Lens' UpdateDocument (Maybe Text)
- udContent :: Lens' UpdateDocument Text
- udName :: Lens' UpdateDocument Text
- updateDocumentResponse :: Int -> UpdateDocumentResponse
- data UpdateDocumentResponse
- udrsDocumentDescription :: Lens' UpdateDocumentResponse (Maybe DocumentDescription)
- udrsResponseStatus :: Lens' UpdateDocumentResponse Int
Creating a Request
Creates a value of UpdateDocument
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udDocumentVersion
- The version of the document that you want to update.udContent
- The content in a document that you want to update.udName
- The name of the document that you want to update.
data UpdateDocument Source #
See: updateDocument
smart constructor.
Request Lenses
udDocumentVersion :: Lens' UpdateDocument (Maybe Text) Source #
The version of the document that you want to update.
Destructuring the Response
updateDocumentResponse Source #
Creates a value of UpdateDocumentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udrsDocumentDescription
- A description of the document that was updated.udrsResponseStatus
- -- | The response status code.
data UpdateDocumentResponse Source #
See: updateDocumentResponse
smart constructor.
Response Lenses
udrsDocumentDescription :: Lens' UpdateDocumentResponse (Maybe DocumentDescription) Source #
A description of the document that was updated.
udrsResponseStatus :: Lens' UpdateDocumentResponse Int Source #
- - | The response status code.