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 |
The document you want to update.
- updateDocument :: Text -> Text -> UpdateDocument
- data UpdateDocument
- udTargetType :: Lens' UpdateDocument (Maybe Text)
- udDocumentFormat :: Lens' UpdateDocument (Maybe DocumentFormat)
- 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:
udTargetType
- Specify a new target type for the document.udDocumentFormat
- Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.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
udTargetType :: Lens' UpdateDocument (Maybe Text) Source #
Specify a new target type for the document.
udDocumentFormat :: Lens' UpdateDocument (Maybe DocumentFormat) Source #
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
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.