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 |
Deletes an AWS Directory Service directory.
See: AWS API Reference for DeleteDirectory.
Creating a Request
Creates a value of DeleteDirectory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDirectory Source
Contains the inputs for the DeleteDirectory operation.
See: deleteDirectory
smart constructor.
Request Lenses
dDirectoryId :: Lens' DeleteDirectory Text Source
The identifier of the directory to delete.
Destructuring the Response
deleteDirectoryResponse Source
Creates a value of DeleteDirectoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDirectoryResponse Source
Contains the results of the DeleteDirectory operation.
See: deleteDirectoryResponse
smart constructor.
Response Lenses
drsDirectoryId :: Lens' DeleteDirectoryResponse (Maybe Text) Source
The directory identifier.
drsStatus :: Lens' DeleteDirectoryResponse Int Source
The response status code.