Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.
Synopsis
- data EnableDirectory = EnableDirectory' {
- directoryArn :: Text
- newEnableDirectory :: Text -> EnableDirectory
- enableDirectory_directoryArn :: Lens' EnableDirectory Text
- data EnableDirectoryResponse = EnableDirectoryResponse' {
- httpStatus :: Int
- directoryArn :: Text
- newEnableDirectoryResponse :: Int -> Text -> EnableDirectoryResponse
- enableDirectoryResponse_httpStatus :: Lens' EnableDirectoryResponse Int
- enableDirectoryResponse_directoryArn :: Lens' EnableDirectoryResponse Text
Creating a Request
data EnableDirectory Source #
See: newEnableDirectory
smart constructor.
EnableDirectory' | |
|
Instances
Create a value of EnableDirectory
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:
EnableDirectory
, enableDirectory_directoryArn
- The ARN of the directory to enable.
Request Lenses
enableDirectory_directoryArn :: Lens' EnableDirectory Text Source #
The ARN of the directory to enable.
Destructuring the Response
data EnableDirectoryResponse Source #
See: newEnableDirectoryResponse
smart constructor.
EnableDirectoryResponse' | |
|
Instances
newEnableDirectoryResponse Source #
Create a value of EnableDirectoryResponse
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:EnableDirectoryResponse'
, enableDirectoryResponse_httpStatus
- The response's http status code.
EnableDirectory
, enableDirectoryResponse_directoryArn
- The ARN of the enabled directory.
Response Lenses
enableDirectoryResponse_httpStatus :: Lens' EnableDirectoryResponse Int Source #
The response's http status code.
enableDirectoryResponse_directoryArn :: Lens' EnableDirectoryResponse Text Source #
The ARN of the enabled directory.