Smaws_Client_DirectoryService.DeleteDirectory
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.
val request :
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