Copyright | (c) 2013-2015 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 |
Gets the contents of the specified configuration document.
See: AWS API Reference for GetDocument.
- getDocument :: Text -> GetDocument
- data GetDocument
- gdName :: Lens' GetDocument Text
- getDocumentResponse :: Int -> GetDocumentResponse
- data GetDocumentResponse
- gdrsContent :: Lens' GetDocumentResponse (Maybe Text)
- gdrsName :: Lens' GetDocumentResponse (Maybe Text)
- gdrsStatus :: Lens' GetDocumentResponse Int
Creating a Request
:: Text | |
-> GetDocument |
Creates a value of GetDocument
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDocument Source
See: getDocument
smart constructor.
Request Lenses
gdName :: Lens' GetDocument Text Source
The name of the configuration document.
Destructuring the Response
Creates a value of GetDocumentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDocumentResponse Source
See: getDocumentResponse
smart constructor.
Response Lenses
gdrsContent :: Lens' GetDocumentResponse (Maybe Text) Source
The contents of the configuration document.
gdrsStatus :: Lens' GetDocumentResponse Int Source
The response status code.