| Copyright | (c) 2013-2017 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.DirectoryService.DeleteDirectory
Description
Deletes an AWS Directory Service directory.
Before you call DeleteDirectory , ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference .
- 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
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:
dddDirectoryId- The identifier of the directory to delete.
data DeleteDirectory Source #
Contains the inputs for the DeleteDirectory operation.
See: deleteDirectory smart constructor.
Instances
Request Lenses
dddDirectoryId :: 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:
delrsDirectoryId- The directory identifier.delrsResponseStatus- -- | The response status code.
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.