Module Smaws_Client_DirectoryService.DeleteDirectory

val request : Smaws_Lib.Context.t -> delete_directory_request -> (delete_directory_result, [> Smaws_Lib.Protocols.AwsJson.error | `ClientException of client_exception | `EntityDoesNotExistException of entity_does_not_exist_exception | `ServiceException of service_exception ]) Stdlib.result

Deletes an Directory Service directory.

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