UnAuthorizedAccessTokenException {
URL url = config.resolveURL(String.format("data/modules/%s", moduleName));
HttpResponse response = restClient.execute(HttpMethod.GET, url, config.getAccessToken(),
HttpURLConnection.HTTP_NOT_FOUND);
if (response.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) {
throw new DatasetModuleNotFoundException(moduleName);
}
return ObjectResponse.fromJsonBody(response, DatasetModuleMeta.class).getResponseObject();
}