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 |
Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.
- enableDirectory :: Text -> EnableDirectory
- data EnableDirectory
- edDirectoryARN :: Lens' EnableDirectory Text
- enableDirectoryResponse :: Int -> Text -> EnableDirectoryResponse
- data EnableDirectoryResponse
- edrsResponseStatus :: Lens' EnableDirectoryResponse Int
- edrsDirectoryARN :: Lens' EnableDirectoryResponse Text
Creating a Request
Creates a value of EnableDirectory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edDirectoryARN
- The ARN of the directory to enable.
data EnableDirectory Source #
See: enableDirectory
smart constructor.
Request Lenses
edDirectoryARN :: Lens' EnableDirectory Text Source #
The ARN of the directory to enable.
Destructuring the Response
enableDirectoryResponse Source #
Creates a value of EnableDirectoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edrsResponseStatus
- -- | The response status code.edrsDirectoryARN
- The ARN of the enabled directory.
data EnableDirectoryResponse Source #
See: enableDirectoryResponse
smart constructor.
Response Lenses
edrsResponseStatus :: Lens' EnableDirectoryResponse Int Source #
- - | The response status code.
edrsDirectoryARN :: Lens' EnableDirectoryResponse Text Source #
The ARN of the enabled directory.