@aws-sdk/client-comprehendmedical 3.42.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/README.md +1 -1
- package/dist-cjs/ComprehendMedical.js +75 -0
- package/dist-cjs/commands/DescribeSNOMEDCTInferenceJobCommand.js +36 -0
- package/dist-cjs/commands/InferSNOMEDCTCommand.js +36 -0
- package/dist-cjs/commands/ListSNOMEDCTInferenceJobsCommand.js +36 -0
- package/dist-cjs/commands/StartSNOMEDCTInferenceJobCommand.js +36 -0
- package/dist-cjs/commands/StopSNOMEDCTInferenceJobCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoints.js +1 -16
- package/dist-cjs/models/models_0.js +141 -50
- package/dist-cjs/protocols/Aws_json1_1.js +646 -37
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/ComprehendMedical.js +75 -0
- package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +39 -0
- package/dist-es/commands/InferSNOMEDCTCommand.js +39 -0
- package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +39 -0
- package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +39 -0
- package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoints.js +1 -16
- package/dist-es/models/models_0.js +107 -32
- package/dist-es/protocols/Aws_json1_1.js +667 -27
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ComprehendMedical.d.ts +45 -1
- package/dist-types/ComprehendMedicalClient.d.ts +13 -4
- package/dist-types/commands/DescribeSNOMEDCTInferenceJobCommand.d.ts +37 -0
- package/dist-types/commands/InferSNOMEDCTCommand.d.ts +36 -0
- package/dist-types/commands/ListSNOMEDCTInferenceJobsCommand.d.ts +37 -0
- package/dist-types/commands/StartSNOMEDCTInferenceJobCommand.d.ts +37 -0
- package/dist-types/commands/StopSNOMEDCTInferenceJobCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +533 -74
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ComprehendMedical.d.ts +25 -0
- package/dist-types/ts3.4/ComprehendMedicalClient.d.ts +10 -3
- package/dist-types/ts3.4/commands/DescribeSNOMEDCTInferenceJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InferSNOMEDCTCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSNOMEDCTInferenceJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartSNOMEDCTInferenceJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopSNOMEDCTInferenceJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +246 -32
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -3,26 +3,31 @@ import { DescribeEntitiesDetectionV2JobCommandInput, DescribeEntitiesDetectionV2
|
|
|
3
3
|
import { DescribeICD10CMInferenceJobCommandInput, DescribeICD10CMInferenceJobCommandOutput } from "./commands/DescribeICD10CMInferenceJobCommand";
|
|
4
4
|
import { DescribePHIDetectionJobCommandInput, DescribePHIDetectionJobCommandOutput } from "./commands/DescribePHIDetectionJobCommand";
|
|
5
5
|
import { DescribeRxNormInferenceJobCommandInput, DescribeRxNormInferenceJobCommandOutput } from "./commands/DescribeRxNormInferenceJobCommand";
|
|
6
|
+
import { DescribeSNOMEDCTInferenceJobCommandInput, DescribeSNOMEDCTInferenceJobCommandOutput } from "./commands/DescribeSNOMEDCTInferenceJobCommand";
|
|
6
7
|
import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput } from "./commands/DetectEntitiesCommand";
|
|
7
8
|
import { DetectEntitiesV2CommandInput, DetectEntitiesV2CommandOutput } from "./commands/DetectEntitiesV2Command";
|
|
8
9
|
import { DetectPHICommandInput, DetectPHICommandOutput } from "./commands/DetectPHICommand";
|
|
9
10
|
import { InferICD10CMCommandInput, InferICD10CMCommandOutput } from "./commands/InferICD10CMCommand";
|
|
10
11
|
import { InferRxNormCommandInput, InferRxNormCommandOutput } from "./commands/InferRxNormCommand";
|
|
12
|
+
import { InferSNOMEDCTCommandInput, InferSNOMEDCTCommandOutput } from "./commands/InferSNOMEDCTCommand";
|
|
11
13
|
import { ListEntitiesDetectionV2JobsCommandInput, ListEntitiesDetectionV2JobsCommandOutput } from "./commands/ListEntitiesDetectionV2JobsCommand";
|
|
12
14
|
import { ListICD10CMInferenceJobsCommandInput, ListICD10CMInferenceJobsCommandOutput } from "./commands/ListICD10CMInferenceJobsCommand";
|
|
13
15
|
import { ListPHIDetectionJobsCommandInput, ListPHIDetectionJobsCommandOutput } from "./commands/ListPHIDetectionJobsCommand";
|
|
14
16
|
import { ListRxNormInferenceJobsCommandInput, ListRxNormInferenceJobsCommandOutput } from "./commands/ListRxNormInferenceJobsCommand";
|
|
17
|
+
import { ListSNOMEDCTInferenceJobsCommandInput, ListSNOMEDCTInferenceJobsCommandOutput } from "./commands/ListSNOMEDCTInferenceJobsCommand";
|
|
15
18
|
import { StartEntitiesDetectionV2JobCommandInput, StartEntitiesDetectionV2JobCommandOutput } from "./commands/StartEntitiesDetectionV2JobCommand";
|
|
16
19
|
import { StartICD10CMInferenceJobCommandInput, StartICD10CMInferenceJobCommandOutput } from "./commands/StartICD10CMInferenceJobCommand";
|
|
17
20
|
import { StartPHIDetectionJobCommandInput, StartPHIDetectionJobCommandOutput } from "./commands/StartPHIDetectionJobCommand";
|
|
18
21
|
import { StartRxNormInferenceJobCommandInput, StartRxNormInferenceJobCommandOutput } from "./commands/StartRxNormInferenceJobCommand";
|
|
22
|
+
import { StartSNOMEDCTInferenceJobCommandInput, StartSNOMEDCTInferenceJobCommandOutput } from "./commands/StartSNOMEDCTInferenceJobCommand";
|
|
19
23
|
import { StopEntitiesDetectionV2JobCommandInput, StopEntitiesDetectionV2JobCommandOutput } from "./commands/StopEntitiesDetectionV2JobCommand";
|
|
20
24
|
import { StopICD10CMInferenceJobCommandInput, StopICD10CMInferenceJobCommandOutput } from "./commands/StopICD10CMInferenceJobCommand";
|
|
21
25
|
import { StopPHIDetectionJobCommandInput, StopPHIDetectionJobCommandOutput } from "./commands/StopPHIDetectionJobCommand";
|
|
22
26
|
import { StopRxNormInferenceJobCommandInput, StopRxNormInferenceJobCommandOutput } from "./commands/StopRxNormInferenceJobCommand";
|
|
27
|
+
import { StopSNOMEDCTInferenceJobCommandInput, StopSNOMEDCTInferenceJobCommandOutput } from "./commands/StopSNOMEDCTInferenceJobCommand";
|
|
23
28
|
import { ComprehendMedicalClient } from "./ComprehendMedicalClient";
|
|
24
29
|
/**
|
|
25
|
-
* <p>
|
|
30
|
+
* <p> Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions
|
|
26
31
|
* to gain insight in your documents. </p>
|
|
27
32
|
*/
|
|
28
33
|
export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
@@ -54,6 +59,14 @@ export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
|
54
59
|
describeRxNormInferenceJob(args: DescribeRxNormInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRxNormInferenceJobCommandOutput>;
|
|
55
60
|
describeRxNormInferenceJob(args: DescribeRxNormInferenceJobCommandInput, cb: (err: any, data?: DescribeRxNormInferenceJobCommandOutput) => void): void;
|
|
56
61
|
describeRxNormInferenceJob(args: DescribeRxNormInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRxNormInferenceJobCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* <p>
|
|
64
|
+
* Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference job.
|
|
65
|
+
* </p>
|
|
66
|
+
*/
|
|
67
|
+
describeSNOMEDCTInferenceJob(args: DescribeSNOMEDCTInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSNOMEDCTInferenceJobCommandOutput>;
|
|
68
|
+
describeSNOMEDCTInferenceJob(args: DescribeSNOMEDCTInferenceJobCommandInput, cb: (err: any, data?: DescribeSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
69
|
+
describeSNOMEDCTInferenceJob(args: DescribeSNOMEDCTInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
57
70
|
/**
|
|
58
71
|
* @deprecated
|
|
59
72
|
*
|
|
@@ -105,6 +118,13 @@ export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
|
105
118
|
inferRxNorm(args: InferRxNormCommandInput, options?: __HttpHandlerOptions): Promise<InferRxNormCommandOutput>;
|
|
106
119
|
inferRxNorm(args: InferRxNormCommandInput, cb: (err: any, data?: InferRxNormCommandOutput) => void): void;
|
|
107
120
|
inferRxNorm(args: InferRxNormCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InferRxNormCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* <p>
|
|
123
|
+
* InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology</p>
|
|
124
|
+
*/
|
|
125
|
+
inferSNOMEDCT(args: InferSNOMEDCTCommandInput, options?: __HttpHandlerOptions): Promise<InferSNOMEDCTCommandOutput>;
|
|
126
|
+
inferSNOMEDCT(args: InferSNOMEDCTCommandInput, cb: (err: any, data?: InferSNOMEDCTCommandOutput) => void): void;
|
|
127
|
+
inferSNOMEDCT(args: InferSNOMEDCTCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InferSNOMEDCTCommandOutput) => void): void;
|
|
108
128
|
/**
|
|
109
129
|
* <p>Gets a list of medical entity detection jobs that you have submitted.</p>
|
|
110
130
|
*/
|
|
@@ -130,6 +150,14 @@ export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
|
130
150
|
listRxNormInferenceJobs(args: ListRxNormInferenceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListRxNormInferenceJobsCommandOutput>;
|
|
131
151
|
listRxNormInferenceJobs(args: ListRxNormInferenceJobsCommandInput, cb: (err: any, data?: ListRxNormInferenceJobsCommandOutput) => void): void;
|
|
132
152
|
listRxNormInferenceJobs(args: ListRxNormInferenceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRxNormInferenceJobsCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* <p>
|
|
155
|
+
* Gets a list of InferSNOMEDCT jobs a user has submitted.
|
|
156
|
+
* </p>
|
|
157
|
+
*/
|
|
158
|
+
listSNOMEDCTInferenceJobs(args: ListSNOMEDCTInferenceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListSNOMEDCTInferenceJobsCommandOutput>;
|
|
159
|
+
listSNOMEDCTInferenceJobs(args: ListSNOMEDCTInferenceJobsCommandInput, cb: (err: any, data?: ListSNOMEDCTInferenceJobsCommandOutput) => void): void;
|
|
160
|
+
listSNOMEDCTInferenceJobs(args: ListSNOMEDCTInferenceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSNOMEDCTInferenceJobsCommandOutput) => void): void;
|
|
133
161
|
/**
|
|
134
162
|
* <p>Starts an asynchronous medical entity detection job for a collection of documents. Use the
|
|
135
163
|
* <code>DescribeEntitiesDetectionV2Job</code> operation to track the status of a job.</p>
|
|
@@ -160,6 +188,14 @@ export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
|
160
188
|
startRxNormInferenceJob(args: StartRxNormInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StartRxNormInferenceJobCommandOutput>;
|
|
161
189
|
startRxNormInferenceJob(args: StartRxNormInferenceJobCommandInput, cb: (err: any, data?: StartRxNormInferenceJobCommandOutput) => void): void;
|
|
162
190
|
startRxNormInferenceJob(args: StartRxNormInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRxNormInferenceJobCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* <p>
|
|
193
|
+
* Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the DescribeSNOMEDCTInferenceJob operation to track the status of a job.
|
|
194
|
+
* </p>
|
|
195
|
+
*/
|
|
196
|
+
startSNOMEDCTInferenceJob(args: StartSNOMEDCTInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StartSNOMEDCTInferenceJobCommandOutput>;
|
|
197
|
+
startSNOMEDCTInferenceJob(args: StartSNOMEDCTInferenceJobCommandInput, cb: (err: any, data?: StartSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
198
|
+
startSNOMEDCTInferenceJob(args: StartSNOMEDCTInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
163
199
|
/**
|
|
164
200
|
* <p>Stops a medical entities detection job in progress.</p>
|
|
165
201
|
*/
|
|
@@ -184,4 +220,12 @@ export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
|
184
220
|
stopRxNormInferenceJob(args: StopRxNormInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StopRxNormInferenceJobCommandOutput>;
|
|
185
221
|
stopRxNormInferenceJob(args: StopRxNormInferenceJobCommandInput, cb: (err: any, data?: StopRxNormInferenceJobCommandOutput) => void): void;
|
|
186
222
|
stopRxNormInferenceJob(args: StopRxNormInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopRxNormInferenceJobCommandOutput) => void): void;
|
|
223
|
+
/**
|
|
224
|
+
* <p>
|
|
225
|
+
* Stops an InferSNOMEDCT inference job in progress.
|
|
226
|
+
* </p>
|
|
227
|
+
*/
|
|
228
|
+
stopSNOMEDCTInferenceJob(args: StopSNOMEDCTInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StopSNOMEDCTInferenceJobCommandOutput>;
|
|
229
|
+
stopSNOMEDCTInferenceJob(args: StopSNOMEDCTInferenceJobCommandInput, cb: (err: any, data?: StopSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
230
|
+
stopSNOMEDCTInferenceJob(args: StopSNOMEDCTInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
187
231
|
}
|
|
@@ -4,31 +4,36 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DescribeEntitiesDetectionV2JobCommandInput, DescribeEntitiesDetectionV2JobCommandOutput } from "./commands/DescribeEntitiesDetectionV2JobCommand";
|
|
10
10
|
import { DescribeICD10CMInferenceJobCommandInput, DescribeICD10CMInferenceJobCommandOutput } from "./commands/DescribeICD10CMInferenceJobCommand";
|
|
11
11
|
import { DescribePHIDetectionJobCommandInput, DescribePHIDetectionJobCommandOutput } from "./commands/DescribePHIDetectionJobCommand";
|
|
12
12
|
import { DescribeRxNormInferenceJobCommandInput, DescribeRxNormInferenceJobCommandOutput } from "./commands/DescribeRxNormInferenceJobCommand";
|
|
13
|
+
import { DescribeSNOMEDCTInferenceJobCommandInput, DescribeSNOMEDCTInferenceJobCommandOutput } from "./commands/DescribeSNOMEDCTInferenceJobCommand";
|
|
13
14
|
import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput } from "./commands/DetectEntitiesCommand";
|
|
14
15
|
import { DetectEntitiesV2CommandInput, DetectEntitiesV2CommandOutput } from "./commands/DetectEntitiesV2Command";
|
|
15
16
|
import { DetectPHICommandInput, DetectPHICommandOutput } from "./commands/DetectPHICommand";
|
|
16
17
|
import { InferICD10CMCommandInput, InferICD10CMCommandOutput } from "./commands/InferICD10CMCommand";
|
|
17
18
|
import { InferRxNormCommandInput, InferRxNormCommandOutput } from "./commands/InferRxNormCommand";
|
|
19
|
+
import { InferSNOMEDCTCommandInput, InferSNOMEDCTCommandOutput } from "./commands/InferSNOMEDCTCommand";
|
|
18
20
|
import { ListEntitiesDetectionV2JobsCommandInput, ListEntitiesDetectionV2JobsCommandOutput } from "./commands/ListEntitiesDetectionV2JobsCommand";
|
|
19
21
|
import { ListICD10CMInferenceJobsCommandInput, ListICD10CMInferenceJobsCommandOutput } from "./commands/ListICD10CMInferenceJobsCommand";
|
|
20
22
|
import { ListPHIDetectionJobsCommandInput, ListPHIDetectionJobsCommandOutput } from "./commands/ListPHIDetectionJobsCommand";
|
|
21
23
|
import { ListRxNormInferenceJobsCommandInput, ListRxNormInferenceJobsCommandOutput } from "./commands/ListRxNormInferenceJobsCommand";
|
|
24
|
+
import { ListSNOMEDCTInferenceJobsCommandInput, ListSNOMEDCTInferenceJobsCommandOutput } from "./commands/ListSNOMEDCTInferenceJobsCommand";
|
|
22
25
|
import { StartEntitiesDetectionV2JobCommandInput, StartEntitiesDetectionV2JobCommandOutput } from "./commands/StartEntitiesDetectionV2JobCommand";
|
|
23
26
|
import { StartICD10CMInferenceJobCommandInput, StartICD10CMInferenceJobCommandOutput } from "./commands/StartICD10CMInferenceJobCommand";
|
|
24
27
|
import { StartPHIDetectionJobCommandInput, StartPHIDetectionJobCommandOutput } from "./commands/StartPHIDetectionJobCommand";
|
|
25
28
|
import { StartRxNormInferenceJobCommandInput, StartRxNormInferenceJobCommandOutput } from "./commands/StartRxNormInferenceJobCommand";
|
|
29
|
+
import { StartSNOMEDCTInferenceJobCommandInput, StartSNOMEDCTInferenceJobCommandOutput } from "./commands/StartSNOMEDCTInferenceJobCommand";
|
|
26
30
|
import { StopEntitiesDetectionV2JobCommandInput, StopEntitiesDetectionV2JobCommandOutput } from "./commands/StopEntitiesDetectionV2JobCommand";
|
|
27
31
|
import { StopICD10CMInferenceJobCommandInput, StopICD10CMInferenceJobCommandOutput } from "./commands/StopICD10CMInferenceJobCommand";
|
|
28
32
|
import { StopPHIDetectionJobCommandInput, StopPHIDetectionJobCommandOutput } from "./commands/StopPHIDetectionJobCommand";
|
|
29
33
|
import { StopRxNormInferenceJobCommandInput, StopRxNormInferenceJobCommandOutput } from "./commands/StopRxNormInferenceJobCommand";
|
|
30
|
-
|
|
31
|
-
export declare type
|
|
34
|
+
import { StopSNOMEDCTInferenceJobCommandInput, StopSNOMEDCTInferenceJobCommandOutput } from "./commands/StopSNOMEDCTInferenceJobCommand";
|
|
35
|
+
export declare type ServiceInputTypes = DescribeEntitiesDetectionV2JobCommandInput | DescribeICD10CMInferenceJobCommandInput | DescribePHIDetectionJobCommandInput | DescribeRxNormInferenceJobCommandInput | DescribeSNOMEDCTInferenceJobCommandInput | DetectEntitiesCommandInput | DetectEntitiesV2CommandInput | DetectPHICommandInput | InferICD10CMCommandInput | InferRxNormCommandInput | InferSNOMEDCTCommandInput | ListEntitiesDetectionV2JobsCommandInput | ListICD10CMInferenceJobsCommandInput | ListPHIDetectionJobsCommandInput | ListRxNormInferenceJobsCommandInput | ListSNOMEDCTInferenceJobsCommandInput | StartEntitiesDetectionV2JobCommandInput | StartICD10CMInferenceJobCommandInput | StartPHIDetectionJobCommandInput | StartRxNormInferenceJobCommandInput | StartSNOMEDCTInferenceJobCommandInput | StopEntitiesDetectionV2JobCommandInput | StopICD10CMInferenceJobCommandInput | StopPHIDetectionJobCommandInput | StopRxNormInferenceJobCommandInput | StopSNOMEDCTInferenceJobCommandInput;
|
|
36
|
+
export declare type ServiceOutputTypes = DescribeEntitiesDetectionV2JobCommandOutput | DescribeICD10CMInferenceJobCommandOutput | DescribePHIDetectionJobCommandOutput | DescribeRxNormInferenceJobCommandOutput | DescribeSNOMEDCTInferenceJobCommandOutput | DetectEntitiesCommandOutput | DetectEntitiesV2CommandOutput | DetectPHICommandOutput | InferICD10CMCommandOutput | InferRxNormCommandOutput | InferSNOMEDCTCommandOutput | ListEntitiesDetectionV2JobsCommandOutput | ListICD10CMInferenceJobsCommandOutput | ListPHIDetectionJobsCommandOutput | ListRxNormInferenceJobsCommandOutput | ListSNOMEDCTInferenceJobsCommandOutput | StartEntitiesDetectionV2JobCommandOutput | StartICD10CMInferenceJobCommandOutput | StartPHIDetectionJobCommandOutput | StartRxNormInferenceJobCommandOutput | StartSNOMEDCTInferenceJobCommandOutput | StopEntitiesDetectionV2JobCommandOutput | StopICD10CMInferenceJobCommandOutput | StopPHIDetectionJobCommandOutput | StopRxNormInferenceJobCommandOutput | StopSNOMEDCTInferenceJobCommandOutput;
|
|
32
37
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
33
38
|
/**
|
|
34
39
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -129,6 +134,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
129
134
|
* @internal
|
|
130
135
|
*/
|
|
131
136
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
137
|
+
/**
|
|
138
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
139
|
+
*/
|
|
140
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
132
141
|
}
|
|
133
142
|
declare type ComprehendMedicalClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
134
143
|
/**
|
|
@@ -143,7 +152,7 @@ declare type ComprehendMedicalClientResolvedConfigType = __SmithyResolvedConfigu
|
|
|
143
152
|
export interface ComprehendMedicalClientResolvedConfig extends ComprehendMedicalClientResolvedConfigType {
|
|
144
153
|
}
|
|
145
154
|
/**
|
|
146
|
-
* <p>
|
|
155
|
+
* <p> Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions
|
|
147
156
|
* to gain insight in your documents. </p>
|
|
148
157
|
*/
|
|
149
158
|
export declare class ComprehendMedicalClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ComprehendMedicalClientResolvedConfig> {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
|
|
4
|
+
import { DescribeSNOMEDCTInferenceJobRequest, DescribeSNOMEDCTInferenceJobResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeSNOMEDCTInferenceJobCommandInput extends DescribeSNOMEDCTInferenceJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeSNOMEDCTInferenceJobCommandOutput extends DescribeSNOMEDCTInferenceJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference job.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ComprehendMedicalClient, DescribeSNOMEDCTInferenceJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
17
|
+
* // const { ComprehendMedicalClient, DescribeSNOMEDCTInferenceJobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
18
|
+
* const client = new ComprehendMedicalClient(config);
|
|
19
|
+
* const command = new DescribeSNOMEDCTInferenceJobCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DescribeSNOMEDCTInferenceJobCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DescribeSNOMEDCTInferenceJobCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DescribeSNOMEDCTInferenceJobCommand extends $Command<DescribeSNOMEDCTInferenceJobCommandInput, DescribeSNOMEDCTInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig> {
|
|
29
|
+
readonly input: DescribeSNOMEDCTInferenceJobCommandInput;
|
|
30
|
+
constructor(input: DescribeSNOMEDCTInferenceJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSNOMEDCTInferenceJobCommandInput, DescribeSNOMEDCTInferenceJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
|
|
4
|
+
import { InferSNOMEDCTRequest, InferSNOMEDCTResponse } from "../models/models_0";
|
|
5
|
+
export interface InferSNOMEDCTCommandInput extends InferSNOMEDCTRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface InferSNOMEDCTCommandOutput extends InferSNOMEDCTResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ComprehendMedicalClient, InferSNOMEDCTCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
16
|
+
* // const { ComprehendMedicalClient, InferSNOMEDCTCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
17
|
+
* const client = new ComprehendMedicalClient(config);
|
|
18
|
+
* const command = new InferSNOMEDCTCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link InferSNOMEDCTCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link InferSNOMEDCTCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class InferSNOMEDCTCommand extends $Command<InferSNOMEDCTCommandInput, InferSNOMEDCTCommandOutput, ComprehendMedicalClientResolvedConfig> {
|
|
28
|
+
readonly input: InferSNOMEDCTCommandInput;
|
|
29
|
+
constructor(input: InferSNOMEDCTCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InferSNOMEDCTCommandInput, InferSNOMEDCTCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
|
|
4
|
+
import { ListSNOMEDCTInferenceJobsRequest, ListSNOMEDCTInferenceJobsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListSNOMEDCTInferenceJobsCommandInput extends ListSNOMEDCTInferenceJobsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListSNOMEDCTInferenceJobsCommandOutput extends ListSNOMEDCTInferenceJobsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Gets a list of InferSNOMEDCT jobs a user has submitted.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ComprehendMedicalClient, ListSNOMEDCTInferenceJobsCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
17
|
+
* // const { ComprehendMedicalClient, ListSNOMEDCTInferenceJobsCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
18
|
+
* const client = new ComprehendMedicalClient(config);
|
|
19
|
+
* const command = new ListSNOMEDCTInferenceJobsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListSNOMEDCTInferenceJobsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListSNOMEDCTInferenceJobsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListSNOMEDCTInferenceJobsCommand extends $Command<ListSNOMEDCTInferenceJobsCommandInput, ListSNOMEDCTInferenceJobsCommandOutput, ComprehendMedicalClientResolvedConfig> {
|
|
29
|
+
readonly input: ListSNOMEDCTInferenceJobsCommandInput;
|
|
30
|
+
constructor(input: ListSNOMEDCTInferenceJobsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSNOMEDCTInferenceJobsCommandInput, ListSNOMEDCTInferenceJobsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
|
|
4
|
+
import { StartSNOMEDCTInferenceJobRequest, StartSNOMEDCTInferenceJobResponse } from "../models/models_0";
|
|
5
|
+
export interface StartSNOMEDCTInferenceJobCommandInput extends StartSNOMEDCTInferenceJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartSNOMEDCTInferenceJobCommandOutput extends StartSNOMEDCTInferenceJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the DescribeSNOMEDCTInferenceJob operation to track the status of a job.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ComprehendMedicalClient, StartSNOMEDCTInferenceJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
17
|
+
* // const { ComprehendMedicalClient, StartSNOMEDCTInferenceJobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
18
|
+
* const client = new ComprehendMedicalClient(config);
|
|
19
|
+
* const command = new StartSNOMEDCTInferenceJobCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link StartSNOMEDCTInferenceJobCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link StartSNOMEDCTInferenceJobCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class StartSNOMEDCTInferenceJobCommand extends $Command<StartSNOMEDCTInferenceJobCommandInput, StartSNOMEDCTInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig> {
|
|
29
|
+
readonly input: StartSNOMEDCTInferenceJobCommandInput;
|
|
30
|
+
constructor(input: StartSNOMEDCTInferenceJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSNOMEDCTInferenceJobCommandInput, StartSNOMEDCTInferenceJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
|
|
4
|
+
import { StopSNOMEDCTInferenceJobRequest, StopSNOMEDCTInferenceJobResponse } from "../models/models_0";
|
|
5
|
+
export interface StopSNOMEDCTInferenceJobCommandInput extends StopSNOMEDCTInferenceJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StopSNOMEDCTInferenceJobCommandOutput extends StopSNOMEDCTInferenceJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Stops an InferSNOMEDCT inference job in progress.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ComprehendMedicalClient, StopSNOMEDCTInferenceJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
17
|
+
* // const { ComprehendMedicalClient, StopSNOMEDCTInferenceJobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
18
|
+
* const client = new ComprehendMedicalClient(config);
|
|
19
|
+
* const command = new StopSNOMEDCTInferenceJobCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link StopSNOMEDCTInferenceJobCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link StopSNOMEDCTInferenceJobCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class StopSNOMEDCTInferenceJobCommand extends $Command<StopSNOMEDCTInferenceJobCommandInput, StopSNOMEDCTInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig> {
|
|
29
|
+
readonly input: StopSNOMEDCTInferenceJobCommandInput;
|
|
30
|
+
constructor(input: StopSNOMEDCTInferenceJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopSNOMEDCTInferenceJobCommandInput, StopSNOMEDCTInferenceJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -2,20 +2,25 @@ export * from "./DescribeEntitiesDetectionV2JobCommand";
|
|
|
2
2
|
export * from "./DescribeICD10CMInferenceJobCommand";
|
|
3
3
|
export * from "./DescribePHIDetectionJobCommand";
|
|
4
4
|
export * from "./DescribeRxNormInferenceJobCommand";
|
|
5
|
+
export * from "./DescribeSNOMEDCTInferenceJobCommand";
|
|
5
6
|
export * from "./DetectEntitiesCommand";
|
|
6
7
|
export * from "./DetectEntitiesV2Command";
|
|
7
8
|
export * from "./DetectPHICommand";
|
|
8
9
|
export * from "./InferICD10CMCommand";
|
|
9
10
|
export * from "./InferRxNormCommand";
|
|
11
|
+
export * from "./InferSNOMEDCTCommand";
|
|
10
12
|
export * from "./ListEntitiesDetectionV2JobsCommand";
|
|
11
13
|
export * from "./ListICD10CMInferenceJobsCommand";
|
|
12
14
|
export * from "./ListPHIDetectionJobsCommand";
|
|
13
15
|
export * from "./ListRxNormInferenceJobsCommand";
|
|
16
|
+
export * from "./ListSNOMEDCTInferenceJobsCommand";
|
|
14
17
|
export * from "./StartEntitiesDetectionV2JobCommand";
|
|
15
18
|
export * from "./StartICD10CMInferenceJobCommand";
|
|
16
19
|
export * from "./StartPHIDetectionJobCommand";
|
|
17
20
|
export * from "./StartRxNormInferenceJobCommand";
|
|
21
|
+
export * from "./StartSNOMEDCTInferenceJobCommand";
|
|
18
22
|
export * from "./StopEntitiesDetectionV2JobCommand";
|
|
19
23
|
export * from "./StopICD10CMInferenceJobCommand";
|
|
20
24
|
export * from "./StopPHIDetectionJobCommand";
|
|
21
25
|
export * from "./StopRxNormInferenceJobCommand";
|
|
26
|
+
export * from "./StopSNOMEDCTInferenceJobCommand";
|