Module Smaws_Client_DirectoryService.CreateDirectory

val request : Smaws_Lib.Context.t -> create_directory_request -> (create_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 a Simple AD directory. For more information, see Simple Active Directory in the Directory Service Admin Guide.

Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.