| 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 |
Network.AWS.CloudDirectory.DisableDirectory
Description
Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.
- disableDirectory :: Text -> DisableDirectory
- data DisableDirectory
- ddDirectoryARN :: Lens' DisableDirectory Text
- disableDirectoryResponse :: Int -> Text -> DisableDirectoryResponse
- data DisableDirectoryResponse
- drsResponseStatus :: Lens' DisableDirectoryResponse Int
- drsDirectoryARN :: Lens' DisableDirectoryResponse Text
Creating a Request
Arguments
| :: Text | |
| -> DisableDirectory |
Creates a value of DisableDirectory with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddDirectoryARN- The ARN of the directory to disable.
data DisableDirectory Source #
See: disableDirectory smart constructor.
Instances
Request Lenses
ddDirectoryARN :: Lens' DisableDirectory Text Source #
The ARN of the directory to disable.
Destructuring the Response
disableDirectoryResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> DisableDirectoryResponse |
Creates a value of DisableDirectoryResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsResponseStatus- -- | The response status code.drsDirectoryARN- The ARN of the directory that has been disabled.
data DisableDirectoryResponse Source #
See: disableDirectoryResponse smart constructor.
Response Lenses
drsResponseStatus :: Lens' DisableDirectoryResponse Int Source #
- - | The response status code.
drsDirectoryARN :: Lens' DisableDirectoryResponse Text Source #
The ARN of the directory that has been disabled.