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 |
Network.AWS.SSM.UpdateDocument
Description
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
Arguments
:: Text | |
-> Text | |
-> UpdateDocument |
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 #
See: updateDocument
smart constructor.
Instances
Request Lenses
udDocumentVersion :: Lens' UpdateDocument (Maybe Text) #
The version of the document that you want to update.
udContent :: Lens' UpdateDocument Text #
The content in a document that you want to update.
udName :: Lens' UpdateDocument Text #
The name of the document that you want to update.
Destructuring the Response
Arguments
:: Int | |
-> UpdateDocumentResponse |
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 #
See: updateDocumentResponse
smart constructor.
Response Lenses
udrsDocumentDescription :: Lens' UpdateDocumentResponse (Maybe DocumentDescription) #
A description of the document that was updated.
udrsResponseStatus :: Lens' UpdateDocumentResponse Int #
- - | The response status code.