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 |
Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.
Synopsis
- deleteDirectory :: Text -> DeleteDirectory
- data DeleteDirectory
- delDirectoryARN :: Lens' DeleteDirectory Text
- deleteDirectoryResponse :: Int -> Text -> DeleteDirectoryResponse
- data DeleteDirectoryResponse
- ddrsResponseStatus :: Lens' DeleteDirectoryResponse Int
- ddrsDirectoryARN :: Lens' DeleteDirectoryResponse Text
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:
delDirectoryARN
- The ARN of the directory to delete.
data DeleteDirectory Source #
See: deleteDirectory
smart constructor.
Instances
Request Lenses
delDirectoryARN :: Lens' DeleteDirectory Text Source #
The ARN 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:
ddrsResponseStatus
- -- | The response status code.ddrsDirectoryARN
- The ARN of the deleted directory.
data DeleteDirectoryResponse Source #
See: deleteDirectoryResponse
smart constructor.
Instances
Response Lenses
ddrsResponseStatus :: Lens' DeleteDirectoryResponse Int Source #
- - | The response status code.
ddrsDirectoryARN :: Lens' DeleteDirectoryResponse Text Source #
The ARN of the deleted directory.