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 |
Retrieves metadata about a directory.
Creating a Request
Creates a value of GetDirectory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdDirectoryARN
- The ARN of the directory.
data GetDirectory Source #
See: getDirectory
smart constructor.
Request Lenses
gdDirectoryARN :: Lens' GetDirectory Text Source #
The ARN of the directory.
Destructuring the Response
Creates a value of GetDirectoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdrsResponseStatus
- -- | The response status code.gdrsDirectory
- Metadata about the directory.
data GetDirectoryResponse Source #
See: getDirectoryResponse
smart constructor.
Response Lenses
gdrsResponseStatus :: Lens' GetDirectoryResponse Int Source #
- - | The response status code.
gdrsDirectory :: Lens' GetDirectoryResponse Directory Source #
Metadata about the directory.