question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Comprehend Medical in Typescript

See original GitHub issue

Hi,

If I try to construct the ComprehendMedical service using the current npm package, I receive the following error: TypeError: aws_sdk__WEBPACK_IMPORTED_MODULE_4__.ComprehendMedical is not a constructor

I attempted to look for comprehend medical and found no reference to it in issues, I assume that this should be available as the docs for ComprehendMedical are listed on the SDK browser: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ComprehendMedical.html

In what npm package should comprehend medical be available?

I’ve tried importing the SDK by using both:

import { ComprehendMedical } from 'aws-sdk';

let comprehendmedical: ComprehendMedical = new ComprehendMedical();

and

import * as AWS from 'aws-sdk';

let comprehendmedical: AWS.ComprehendMedical = new AWS.ComprehendMedical();

NPM packages:

{
...
    "typescript": "^3.1.6",
    "aws-sdk": "^2.371.0"
...
}

Any info you can provide would be a massive help - thank you!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
srchasecommented, Feb 27, 2019

A change for this has been merged. It will be available with the next release of the SDK.

0reactions
lock[bot]commented, Sep 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Class: AWS.ComprehendMedical — AWS SDK for JavaScript
Comprehend Medical ; extracts structured information from unstructured clinical text. Use these actions to gain insight in your documents.
Read more >
How to Perform Sentiment Analysis with Amazon Comprehend
How to analyze the sentiments from a text using AWS services like Amazon Comprehend, AWS IAM, AWS Lambda, and Amazon S3.
Read more >
Peirce Medical History Excerpts Notes: Dates are arranged ...
Dates are arranged with year first, followed by month, followed by day. This format is used to facilitate computer sorting of materials by...
Read more >
Using Node Js to fetch Amazon Comprehend Medical API ...
Dabble Lab 279: In this video, Sohini writes code in Node JS to set up an Amazon Comprehend Medical API. This API will...
Read more >
aws_api@v0.3.0 | Deno
Module File size Approx check time accessanalyzer@2019‑11‑01 26 KiB 1.8 sec acm@2015‑12‑08 22 KiB 2.6 sec acmpca@2017‑08‑22 38 KiB 1.9 sec
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found