@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
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -3,23 +3,28 @@ import { DescribeEntitiesDetectionV2JobCommand, } from "./commands/DescribeEntit
|
|
|
3
3
|
import { DescribeICD10CMInferenceJobCommand, } from "./commands/DescribeICD10CMInferenceJobCommand";
|
|
4
4
|
import { DescribePHIDetectionJobCommand, } from "./commands/DescribePHIDetectionJobCommand";
|
|
5
5
|
import { DescribeRxNormInferenceJobCommand, } from "./commands/DescribeRxNormInferenceJobCommand";
|
|
6
|
+
import { DescribeSNOMEDCTInferenceJobCommand, } from "./commands/DescribeSNOMEDCTInferenceJobCommand";
|
|
6
7
|
import { DetectEntitiesCommand, } from "./commands/DetectEntitiesCommand";
|
|
7
8
|
import { DetectEntitiesV2Command, } from "./commands/DetectEntitiesV2Command";
|
|
8
9
|
import { DetectPHICommand } from "./commands/DetectPHICommand";
|
|
9
10
|
import { InferICD10CMCommand, } from "./commands/InferICD10CMCommand";
|
|
10
11
|
import { InferRxNormCommand } from "./commands/InferRxNormCommand";
|
|
12
|
+
import { InferSNOMEDCTCommand, } from "./commands/InferSNOMEDCTCommand";
|
|
11
13
|
import { ListEntitiesDetectionV2JobsCommand, } from "./commands/ListEntitiesDetectionV2JobsCommand";
|
|
12
14
|
import { ListICD10CMInferenceJobsCommand, } from "./commands/ListICD10CMInferenceJobsCommand";
|
|
13
15
|
import { ListPHIDetectionJobsCommand, } from "./commands/ListPHIDetectionJobsCommand";
|
|
14
16
|
import { ListRxNormInferenceJobsCommand, } from "./commands/ListRxNormInferenceJobsCommand";
|
|
17
|
+
import { ListSNOMEDCTInferenceJobsCommand, } from "./commands/ListSNOMEDCTInferenceJobsCommand";
|
|
15
18
|
import { StartEntitiesDetectionV2JobCommand, } from "./commands/StartEntitiesDetectionV2JobCommand";
|
|
16
19
|
import { StartICD10CMInferenceJobCommand, } from "./commands/StartICD10CMInferenceJobCommand";
|
|
17
20
|
import { StartPHIDetectionJobCommand, } from "./commands/StartPHIDetectionJobCommand";
|
|
18
21
|
import { StartRxNormInferenceJobCommand, } from "./commands/StartRxNormInferenceJobCommand";
|
|
22
|
+
import { StartSNOMEDCTInferenceJobCommand, } from "./commands/StartSNOMEDCTInferenceJobCommand";
|
|
19
23
|
import { StopEntitiesDetectionV2JobCommand, } from "./commands/StopEntitiesDetectionV2JobCommand";
|
|
20
24
|
import { StopICD10CMInferenceJobCommand, } from "./commands/StopICD10CMInferenceJobCommand";
|
|
21
25
|
import { StopPHIDetectionJobCommand, } from "./commands/StopPHIDetectionJobCommand";
|
|
22
26
|
import { StopRxNormInferenceJobCommand, } from "./commands/StopRxNormInferenceJobCommand";
|
|
27
|
+
import { StopSNOMEDCTInferenceJobCommand, } from "./commands/StopSNOMEDCTInferenceJobCommand";
|
|
23
28
|
import { ComprehendMedicalClient } from "./ComprehendMedicalClient";
|
|
24
29
|
var ComprehendMedical = (function (_super) {
|
|
25
30
|
__extends(ComprehendMedical, _super);
|
|
@@ -82,6 +87,20 @@ var ComprehendMedical = (function (_super) {
|
|
|
82
87
|
return this.send(command, optionsOrCb);
|
|
83
88
|
}
|
|
84
89
|
};
|
|
90
|
+
ComprehendMedical.prototype.describeSNOMEDCTInferenceJob = function (args, optionsOrCb, cb) {
|
|
91
|
+
var command = new DescribeSNOMEDCTInferenceJobCommand(args);
|
|
92
|
+
if (typeof optionsOrCb === "function") {
|
|
93
|
+
this.send(command, optionsOrCb);
|
|
94
|
+
}
|
|
95
|
+
else if (typeof cb === "function") {
|
|
96
|
+
if (typeof optionsOrCb !== "object")
|
|
97
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
98
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
return this.send(command, optionsOrCb);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
85
104
|
ComprehendMedical.prototype.detectEntities = function (args, optionsOrCb, cb) {
|
|
86
105
|
var command = new DetectEntitiesCommand(args);
|
|
87
106
|
if (typeof optionsOrCb === "function") {
|
|
@@ -152,6 +171,20 @@ var ComprehendMedical = (function (_super) {
|
|
|
152
171
|
return this.send(command, optionsOrCb);
|
|
153
172
|
}
|
|
154
173
|
};
|
|
174
|
+
ComprehendMedical.prototype.inferSNOMEDCT = function (args, optionsOrCb, cb) {
|
|
175
|
+
var command = new InferSNOMEDCTCommand(args);
|
|
176
|
+
if (typeof optionsOrCb === "function") {
|
|
177
|
+
this.send(command, optionsOrCb);
|
|
178
|
+
}
|
|
179
|
+
else if (typeof cb === "function") {
|
|
180
|
+
if (typeof optionsOrCb !== "object")
|
|
181
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
182
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
return this.send(command, optionsOrCb);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
155
188
|
ComprehendMedical.prototype.listEntitiesDetectionV2Jobs = function (args, optionsOrCb, cb) {
|
|
156
189
|
var command = new ListEntitiesDetectionV2JobsCommand(args);
|
|
157
190
|
if (typeof optionsOrCb === "function") {
|
|
@@ -208,6 +241,20 @@ var ComprehendMedical = (function (_super) {
|
|
|
208
241
|
return this.send(command, optionsOrCb);
|
|
209
242
|
}
|
|
210
243
|
};
|
|
244
|
+
ComprehendMedical.prototype.listSNOMEDCTInferenceJobs = function (args, optionsOrCb, cb) {
|
|
245
|
+
var command = new ListSNOMEDCTInferenceJobsCommand(args);
|
|
246
|
+
if (typeof optionsOrCb === "function") {
|
|
247
|
+
this.send(command, optionsOrCb);
|
|
248
|
+
}
|
|
249
|
+
else if (typeof cb === "function") {
|
|
250
|
+
if (typeof optionsOrCb !== "object")
|
|
251
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
252
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
253
|
+
}
|
|
254
|
+
else {
|
|
255
|
+
return this.send(command, optionsOrCb);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
211
258
|
ComprehendMedical.prototype.startEntitiesDetectionV2Job = function (args, optionsOrCb, cb) {
|
|
212
259
|
var command = new StartEntitiesDetectionV2JobCommand(args);
|
|
213
260
|
if (typeof optionsOrCb === "function") {
|
|
@@ -264,6 +311,20 @@ var ComprehendMedical = (function (_super) {
|
|
|
264
311
|
return this.send(command, optionsOrCb);
|
|
265
312
|
}
|
|
266
313
|
};
|
|
314
|
+
ComprehendMedical.prototype.startSNOMEDCTInferenceJob = function (args, optionsOrCb, cb) {
|
|
315
|
+
var command = new StartSNOMEDCTInferenceJobCommand(args);
|
|
316
|
+
if (typeof optionsOrCb === "function") {
|
|
317
|
+
this.send(command, optionsOrCb);
|
|
318
|
+
}
|
|
319
|
+
else if (typeof cb === "function") {
|
|
320
|
+
if (typeof optionsOrCb !== "object")
|
|
321
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
322
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
323
|
+
}
|
|
324
|
+
else {
|
|
325
|
+
return this.send(command, optionsOrCb);
|
|
326
|
+
}
|
|
327
|
+
};
|
|
267
328
|
ComprehendMedical.prototype.stopEntitiesDetectionV2Job = function (args, optionsOrCb, cb) {
|
|
268
329
|
var command = new StopEntitiesDetectionV2JobCommand(args);
|
|
269
330
|
if (typeof optionsOrCb === "function") {
|
|
@@ -320,6 +381,20 @@ var ComprehendMedical = (function (_super) {
|
|
|
320
381
|
return this.send(command, optionsOrCb);
|
|
321
382
|
}
|
|
322
383
|
};
|
|
384
|
+
ComprehendMedical.prototype.stopSNOMEDCTInferenceJob = function (args, optionsOrCb, cb) {
|
|
385
|
+
var command = new StopSNOMEDCTInferenceJobCommand(args);
|
|
386
|
+
if (typeof optionsOrCb === "function") {
|
|
387
|
+
this.send(command, optionsOrCb);
|
|
388
|
+
}
|
|
389
|
+
else if (typeof cb === "function") {
|
|
390
|
+
if (typeof optionsOrCb !== "object")
|
|
391
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
392
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
393
|
+
}
|
|
394
|
+
else {
|
|
395
|
+
return this.send(command, optionsOrCb);
|
|
396
|
+
}
|
|
397
|
+
};
|
|
323
398
|
return ComprehendMedical;
|
|
324
399
|
}(ComprehendMedicalClient));
|
|
325
400
|
export { ComprehendMedical };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeSNOMEDCTInferenceJobRequest, DescribeSNOMEDCTInferenceJobResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand, serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeSNOMEDCTInferenceJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeSNOMEDCTInferenceJobCommand, _super);
|
|
8
|
+
function DescribeSNOMEDCTInferenceJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeSNOMEDCTInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "DescribeSNOMEDCTInferenceJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeSNOMEDCTInferenceJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeSNOMEDCTInferenceJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeSNOMEDCTInferenceJobCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeSNOMEDCTInferenceJobCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeSNOMEDCTInferenceJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeSNOMEDCTInferenceJobCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { InferSNOMEDCTRequest, InferSNOMEDCTResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1InferSNOMEDCTCommand, serializeAws_json1_1InferSNOMEDCTCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var InferSNOMEDCTCommand = (function (_super) {
|
|
7
|
+
__extends(InferSNOMEDCTCommand, _super);
|
|
8
|
+
function InferSNOMEDCTCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
InferSNOMEDCTCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "InferSNOMEDCTCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: InferSNOMEDCTRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: InferSNOMEDCTResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
InferSNOMEDCTCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1InferSNOMEDCTCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
InferSNOMEDCTCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1InferSNOMEDCTCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return InferSNOMEDCTCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { InferSNOMEDCTCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListSNOMEDCTInferenceJobsRequest, ListSNOMEDCTInferenceJobsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand, serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListSNOMEDCTInferenceJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListSNOMEDCTInferenceJobsCommand, _super);
|
|
8
|
+
function ListSNOMEDCTInferenceJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListSNOMEDCTInferenceJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "ListSNOMEDCTInferenceJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListSNOMEDCTInferenceJobsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListSNOMEDCTInferenceJobsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSNOMEDCTInferenceJobsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListSNOMEDCTInferenceJobsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListSNOMEDCTInferenceJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSNOMEDCTInferenceJobsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartSNOMEDCTInferenceJobRequest, StartSNOMEDCTInferenceJobResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand, serializeAws_json1_1StartSNOMEDCTInferenceJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StartSNOMEDCTInferenceJobCommand = (function (_super) {
|
|
7
|
+
__extends(StartSNOMEDCTInferenceJobCommand, _super);
|
|
8
|
+
function StartSNOMEDCTInferenceJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartSNOMEDCTInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StartSNOMEDCTInferenceJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartSNOMEDCTInferenceJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartSNOMEDCTInferenceJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartSNOMEDCTInferenceJobCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StartSNOMEDCTInferenceJobCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartSNOMEDCTInferenceJobCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartSNOMEDCTInferenceJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartSNOMEDCTInferenceJobCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StopSNOMEDCTInferenceJobRequest, StopSNOMEDCTInferenceJobResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand, serializeAws_json1_1StopSNOMEDCTInferenceJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StopSNOMEDCTInferenceJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopSNOMEDCTInferenceJobCommand, _super);
|
|
8
|
+
function StopSNOMEDCTInferenceJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StopSNOMEDCTInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StopSNOMEDCTInferenceJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StopSNOMEDCTInferenceJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StopSNOMEDCTInferenceJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopSNOMEDCTInferenceJobCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StopSNOMEDCTInferenceJobCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StopSNOMEDCTInferenceJobCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StopSNOMEDCTInferenceJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopSNOMEDCTInferenceJobCommand };
|
|
@@ -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";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "comprehendmedical.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "comprehendmedical-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "comprehendmedical.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "comprehendmedical-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-west-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "comprehendmedical.us-gov-west-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "comprehendmedical-fips.us-gov-west-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-west-2": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "comprehendmedical.us-west-2.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "comprehendmedical-fips.us-west-2.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -61,6 +45,7 @@ var partitionHash = {
|
|
|
61
45
|
"ap-south-1",
|
|
62
46
|
"ap-southeast-1",
|
|
63
47
|
"ap-southeast-2",
|
|
48
|
+
"ap-southeast-3",
|
|
64
49
|
"ca-central-1",
|
|
65
50
|
"eu-central-1",
|
|
66
51
|
"eu-north-1",
|