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 |
Creates an SSM document.
After you create an SSM document, you can use CreateAssociation to associate it with one or more running instances.
- createDocument :: Text -> Text -> CreateDocument
- data CreateDocument
- cdContent :: Lens' CreateDocument Text
- cdName :: Lens' CreateDocument Text
- createDocumentResponse :: Int -> CreateDocumentResponse
- data CreateDocumentResponse
- cdrsDocumentDescription :: Lens' CreateDocumentResponse (Maybe DocumentDescription)
- cdrsResponseStatus :: Lens' CreateDocumentResponse Int
Creating a Request
Creates a value of CreateDocument
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDocument Source #
See: createDocument
smart constructor.
Request Lenses
cdContent :: Lens' CreateDocument Text Source #
A valid JSON string. For more information about the contents of this string, see SSM Document.
Destructuring the Response
createDocumentResponse Source #
Creates a value of CreateDocumentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDocumentResponse Source #
See: createDocumentResponse
smart constructor.
Response Lenses
cdrsDocumentDescription :: Lens' CreateDocumentResponse (Maybe DocumentDescription) Source #
Information about the SSM document.
cdrsResponseStatus :: Lens' CreateDocumentResponse Int Source #
The response status code.