| 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 |
Network.AWS.CloudDirectory.GetDirectory
Description
Retrieves metadata about a directory.
Creating a Request
Arguments
| :: Text | |
| -> GetDirectory |
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.
Instances
Request Lenses
gdDirectoryARN :: Lens' GetDirectory Text Source #
The ARN of the directory.
Destructuring the Response
Arguments
| :: Int | |
| -> Directory | |
| -> GetDirectoryResponse |
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.
Instances
Response Lenses
gdrsResponseStatus :: Lens' GetDirectoryResponse Int Source #
- - | The response status code.
gdrsDirectory :: Lens' GetDirectoryResponse Directory Source #
Metadata about the directory.