Copyright | (c) 2013-2016 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.
- deleteDirectory :: Text -> DeleteDirectory
- data DeleteDirectory
- dddDirectoryId :: Lens' DeleteDirectory Text
- deleteDirectoryResponse :: Int -> DeleteDirectoryResponse
- data DeleteDirectoryResponse
- delrsDirectoryId :: Lens' DeleteDirectoryResponse (Maybe Text)
- delrsResponseStatus :: Lens' DeleteDirectoryResponse Int
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
dddDirectoryId :: 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
delrsDirectoryId :: Lens' DeleteDirectoryResponse (Maybe Text) Source #
The directory identifier.
delrsResponseStatus :: Lens' DeleteDirectoryResponse Int Source #
The response status code.