Smaws_Client_DirectoryService.ConnectDirectory
Creates an AD Connector to connect to a self-managed directory.
Before you call ConnectDirectory
, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory
operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.
val request :
Smaws_Lib.Context.t ->
Types.connect_directory_request ->
(Types.connect_directory_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryLimitExceededException of
Types.directory_limit_exceeded_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception ])
Stdlib.result