Smaws_Client_DirectoryService.DeleteDirectoryDeletes 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `ServiceException of Types.service_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_directory_request ->
(Types.delete_directory_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `ServiceException of Types.service_exception ])
Stdlib.result