Copyright | (c) 2013-2021 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 |
Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.
Synopsis
- data DisableDirectory = DisableDirectory' {
- directoryArn :: Text
- newDisableDirectory :: Text -> DisableDirectory
- disableDirectory_directoryArn :: Lens' DisableDirectory Text
- data DisableDirectoryResponse = DisableDirectoryResponse' {
- httpStatus :: Int
- directoryArn :: Text
- newDisableDirectoryResponse :: Int -> Text -> DisableDirectoryResponse
- disableDirectoryResponse_httpStatus :: Lens' DisableDirectoryResponse Int
- disableDirectoryResponse_directoryArn :: Lens' DisableDirectoryResponse Text
Creating a Request
data DisableDirectory Source #
See: newDisableDirectory
smart constructor.
DisableDirectory' | |
|
Instances
Create a value of DisableDirectory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:directoryArn:DisableDirectory'
, disableDirectory_directoryArn
- The ARN of the directory to disable.
Request Lenses
disableDirectory_directoryArn :: Lens' DisableDirectory Text Source #
The ARN of the directory to disable.
Destructuring the Response
data DisableDirectoryResponse Source #
See: newDisableDirectoryResponse
smart constructor.
DisableDirectoryResponse' | |
|
Instances
newDisableDirectoryResponse Source #
:: Int | |
-> Text | |
-> DisableDirectoryResponse |
Create a value of DisableDirectoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DisableDirectoryResponse'
, disableDirectoryResponse_httpStatus
- The response's http status code.
$sel:directoryArn:DisableDirectory'
, disableDirectoryResponse_directoryArn
- The ARN of the directory that has been disabled.
Response Lenses
disableDirectoryResponse_httpStatus :: Lens' DisableDirectoryResponse Int Source #
The response's http status code.
disableDirectoryResponse_directoryArn :: Lens' DisableDirectoryResponse Text Source #
The ARN of the directory that has been disabled.