createDirectory
inline suspend fun DirectoryClient.createDirectory(crossinline block: CreateDirectoryRequest.Builder.() -> Unit): CreateDirectoryResponse
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.