Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.DirectoryService.DeleteDirectory
Description
Deletes an AWS Directory Service directory.
- deleteDirectory :: Text -> DeleteDirectory
- data DeleteDirectory
- delDirectoryId :: Lens' DeleteDirectory Text
- deleteDirectoryResponse :: Int -> DeleteDirectoryResponse
- data DeleteDirectoryResponse
- drsDirectoryId :: Lens' DeleteDirectoryResponse (Maybe Text)
- drsResponseStatus :: Lens' DeleteDirectoryResponse Int
Creating a Request
Arguments
:: Text | |
-> DeleteDirectory |
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.
Instances
Request Lenses
delDirectoryId :: Lens' DeleteDirectory Text Source
The identifier of the directory to delete.
Destructuring the Response
deleteDirectoryResponse Source
Arguments
:: Int | |
-> DeleteDirectoryResponse |
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.
drsResponseStatus :: Lens' DeleteDirectoryResponse Int Source
The response status code.