Module Smaws_Client_DirectoryService.ConnectDirectory

val request : Smaws_Lib.Context.t -> connect_directory_request -> (connect_directory_result, [> Smaws_Lib.Protocols.AwsJson.error | `ClientException of client_exception | `DirectoryLimitExceededException of directory_limit_exceeded_exception | `InvalidParameterException of invalid_parameter_exception | `ServiceException of service_exception ]) Stdlib.result

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.