code: @Override
      public DeleteDirectoryResult deleteDirectory(DeleteDirectoryRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteDirectory(request);
      }
docs: <p>
  Deletes an AWS Directory Service directory.
  </p>
  <p>
  Before you call <code>DeleteDirectory</code>, ensure that all of the required permissions have been explicitly
  granted through a policy. For details about what permissions are required to run the <code>DeleteDirectory</code>
  operation, see <a
  href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html"
  >AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference</a>.
  </p>
  
  @param deleteDirectoryRequest
  Contains the inputs for the <a>DeleteDirectory</a> operation.
  @return Result of the DeleteDirectory operation returned by the service.
  @throws EntityDoesNotExistException
  The specified entity could not be found.
  @throws ClientException
  A client exception has occurred.
  @throws ServiceException
  An exception has occurred in AWS Directory Service.
  @sample AWSDirectoryService.DeleteDirectory
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory" target="_top">AWS API
  Documentation</a>