@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
28
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
46
|
+
|
|
47
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehendmedical
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @aws-sdk/client-comprehendmedical
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript ComprehendMedical Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<p>
|
|
10
|
+
<p> Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions
|
|
11
11
|
to gain insight in your documents. </p>
|
|
12
12
|
|
|
13
13
|
## Installing
|
|
@@ -5,23 +5,28 @@ const DescribeEntitiesDetectionV2JobCommand_1 = require("./commands/DescribeEnti
|
|
|
5
5
|
const DescribeICD10CMInferenceJobCommand_1 = require("./commands/DescribeICD10CMInferenceJobCommand");
|
|
6
6
|
const DescribePHIDetectionJobCommand_1 = require("./commands/DescribePHIDetectionJobCommand");
|
|
7
7
|
const DescribeRxNormInferenceJobCommand_1 = require("./commands/DescribeRxNormInferenceJobCommand");
|
|
8
|
+
const DescribeSNOMEDCTInferenceJobCommand_1 = require("./commands/DescribeSNOMEDCTInferenceJobCommand");
|
|
8
9
|
const DetectEntitiesCommand_1 = require("./commands/DetectEntitiesCommand");
|
|
9
10
|
const DetectEntitiesV2Command_1 = require("./commands/DetectEntitiesV2Command");
|
|
10
11
|
const DetectPHICommand_1 = require("./commands/DetectPHICommand");
|
|
11
12
|
const InferICD10CMCommand_1 = require("./commands/InferICD10CMCommand");
|
|
12
13
|
const InferRxNormCommand_1 = require("./commands/InferRxNormCommand");
|
|
14
|
+
const InferSNOMEDCTCommand_1 = require("./commands/InferSNOMEDCTCommand");
|
|
13
15
|
const ListEntitiesDetectionV2JobsCommand_1 = require("./commands/ListEntitiesDetectionV2JobsCommand");
|
|
14
16
|
const ListICD10CMInferenceJobsCommand_1 = require("./commands/ListICD10CMInferenceJobsCommand");
|
|
15
17
|
const ListPHIDetectionJobsCommand_1 = require("./commands/ListPHIDetectionJobsCommand");
|
|
16
18
|
const ListRxNormInferenceJobsCommand_1 = require("./commands/ListRxNormInferenceJobsCommand");
|
|
19
|
+
const ListSNOMEDCTInferenceJobsCommand_1 = require("./commands/ListSNOMEDCTInferenceJobsCommand");
|
|
17
20
|
const StartEntitiesDetectionV2JobCommand_1 = require("./commands/StartEntitiesDetectionV2JobCommand");
|
|
18
21
|
const StartICD10CMInferenceJobCommand_1 = require("./commands/StartICD10CMInferenceJobCommand");
|
|
19
22
|
const StartPHIDetectionJobCommand_1 = require("./commands/StartPHIDetectionJobCommand");
|
|
20
23
|
const StartRxNormInferenceJobCommand_1 = require("./commands/StartRxNormInferenceJobCommand");
|
|
24
|
+
const StartSNOMEDCTInferenceJobCommand_1 = require("./commands/StartSNOMEDCTInferenceJobCommand");
|
|
21
25
|
const StopEntitiesDetectionV2JobCommand_1 = require("./commands/StopEntitiesDetectionV2JobCommand");
|
|
22
26
|
const StopICD10CMInferenceJobCommand_1 = require("./commands/StopICD10CMInferenceJobCommand");
|
|
23
27
|
const StopPHIDetectionJobCommand_1 = require("./commands/StopPHIDetectionJobCommand");
|
|
24
28
|
const StopRxNormInferenceJobCommand_1 = require("./commands/StopRxNormInferenceJobCommand");
|
|
29
|
+
const StopSNOMEDCTInferenceJobCommand_1 = require("./commands/StopSNOMEDCTInferenceJobCommand");
|
|
25
30
|
const ComprehendMedicalClient_1 = require("./ComprehendMedicalClient");
|
|
26
31
|
class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClient {
|
|
27
32
|
describeEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
@@ -80,6 +85,20 @@ class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClien
|
|
|
80
85
|
return this.send(command, optionsOrCb);
|
|
81
86
|
}
|
|
82
87
|
}
|
|
88
|
+
describeSNOMEDCTInferenceJob(args, optionsOrCb, cb) {
|
|
89
|
+
const command = new DescribeSNOMEDCTInferenceJobCommand_1.DescribeSNOMEDCTInferenceJobCommand(args);
|
|
90
|
+
if (typeof optionsOrCb === "function") {
|
|
91
|
+
this.send(command, optionsOrCb);
|
|
92
|
+
}
|
|
93
|
+
else if (typeof cb === "function") {
|
|
94
|
+
if (typeof optionsOrCb !== "object")
|
|
95
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return this.send(command, optionsOrCb);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
83
102
|
detectEntities(args, optionsOrCb, cb) {
|
|
84
103
|
const command = new DetectEntitiesCommand_1.DetectEntitiesCommand(args);
|
|
85
104
|
if (typeof optionsOrCb === "function") {
|
|
@@ -150,6 +169,20 @@ class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClien
|
|
|
150
169
|
return this.send(command, optionsOrCb);
|
|
151
170
|
}
|
|
152
171
|
}
|
|
172
|
+
inferSNOMEDCT(args, optionsOrCb, cb) {
|
|
173
|
+
const command = new InferSNOMEDCTCommand_1.InferSNOMEDCTCommand(args);
|
|
174
|
+
if (typeof optionsOrCb === "function") {
|
|
175
|
+
this.send(command, optionsOrCb);
|
|
176
|
+
}
|
|
177
|
+
else if (typeof cb === "function") {
|
|
178
|
+
if (typeof optionsOrCb !== "object")
|
|
179
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
return this.send(command, optionsOrCb);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
153
186
|
listEntitiesDetectionV2Jobs(args, optionsOrCb, cb) {
|
|
154
187
|
const command = new ListEntitiesDetectionV2JobsCommand_1.ListEntitiesDetectionV2JobsCommand(args);
|
|
155
188
|
if (typeof optionsOrCb === "function") {
|
|
@@ -206,6 +239,20 @@ class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClien
|
|
|
206
239
|
return this.send(command, optionsOrCb);
|
|
207
240
|
}
|
|
208
241
|
}
|
|
242
|
+
listSNOMEDCTInferenceJobs(args, optionsOrCb, cb) {
|
|
243
|
+
const command = new ListSNOMEDCTInferenceJobsCommand_1.ListSNOMEDCTInferenceJobsCommand(args);
|
|
244
|
+
if (typeof optionsOrCb === "function") {
|
|
245
|
+
this.send(command, optionsOrCb);
|
|
246
|
+
}
|
|
247
|
+
else if (typeof cb === "function") {
|
|
248
|
+
if (typeof optionsOrCb !== "object")
|
|
249
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
250
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
return this.send(command, optionsOrCb);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
209
256
|
startEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
210
257
|
const command = new StartEntitiesDetectionV2JobCommand_1.StartEntitiesDetectionV2JobCommand(args);
|
|
211
258
|
if (typeof optionsOrCb === "function") {
|
|
@@ -262,6 +309,20 @@ class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClien
|
|
|
262
309
|
return this.send(command, optionsOrCb);
|
|
263
310
|
}
|
|
264
311
|
}
|
|
312
|
+
startSNOMEDCTInferenceJob(args, optionsOrCb, cb) {
|
|
313
|
+
const command = new StartSNOMEDCTInferenceJobCommand_1.StartSNOMEDCTInferenceJobCommand(args);
|
|
314
|
+
if (typeof optionsOrCb === "function") {
|
|
315
|
+
this.send(command, optionsOrCb);
|
|
316
|
+
}
|
|
317
|
+
else if (typeof cb === "function") {
|
|
318
|
+
if (typeof optionsOrCb !== "object")
|
|
319
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
320
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
321
|
+
}
|
|
322
|
+
else {
|
|
323
|
+
return this.send(command, optionsOrCb);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
265
326
|
stopEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
266
327
|
const command = new StopEntitiesDetectionV2JobCommand_1.StopEntitiesDetectionV2JobCommand(args);
|
|
267
328
|
if (typeof optionsOrCb === "function") {
|
|
@@ -318,5 +379,19 @@ class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClien
|
|
|
318
379
|
return this.send(command, optionsOrCb);
|
|
319
380
|
}
|
|
320
381
|
}
|
|
382
|
+
stopSNOMEDCTInferenceJob(args, optionsOrCb, cb) {
|
|
383
|
+
const command = new StopSNOMEDCTInferenceJobCommand_1.StopSNOMEDCTInferenceJobCommand(args);
|
|
384
|
+
if (typeof optionsOrCb === "function") {
|
|
385
|
+
this.send(command, optionsOrCb);
|
|
386
|
+
}
|
|
387
|
+
else if (typeof cb === "function") {
|
|
388
|
+
if (typeof optionsOrCb !== "object")
|
|
389
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
390
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
return this.send(command, optionsOrCb);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
321
396
|
}
|
|
322
397
|
exports.ComprehendMedical = ComprehendMedical;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeSNOMEDCTInferenceJobCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DescribeSNOMEDCTInferenceJobCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendMedicalClient";
|
|
18
|
+
const commandName = "DescribeSNOMEDCTInferenceJobCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeSNOMEDCTInferenceJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeSNOMEDCTInferenceJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeSNOMEDCTInferenceJobCommand = DescribeSNOMEDCTInferenceJobCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InferSNOMEDCTCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class InferSNOMEDCTCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendMedicalClient";
|
|
18
|
+
const commandName = "InferSNOMEDCTCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.InferSNOMEDCTRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.InferSNOMEDCTResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1InferSNOMEDCTCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1InferSNOMEDCTCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.InferSNOMEDCTCommand = InferSNOMEDCTCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListSNOMEDCTInferenceJobsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListSNOMEDCTInferenceJobsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendMedicalClient";
|
|
18
|
+
const commandName = "ListSNOMEDCTInferenceJobsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListSNOMEDCTInferenceJobsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListSNOMEDCTInferenceJobsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListSNOMEDCTInferenceJobsCommand = ListSNOMEDCTInferenceJobsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartSNOMEDCTInferenceJobCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class StartSNOMEDCTInferenceJobCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendMedicalClient";
|
|
18
|
+
const commandName = "StartSNOMEDCTInferenceJobCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StartSNOMEDCTInferenceJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StartSNOMEDCTInferenceJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1StartSNOMEDCTInferenceJobCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StartSNOMEDCTInferenceJobCommand = StartSNOMEDCTInferenceJobCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopSNOMEDCTInferenceJobCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class StopSNOMEDCTInferenceJobCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendMedicalClient";
|
|
18
|
+
const commandName = "StopSNOMEDCTInferenceJobCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StopSNOMEDCTInferenceJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StopSNOMEDCTInferenceJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1StopSNOMEDCTInferenceJobCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StopSNOMEDCTInferenceJobCommand = StopSNOMEDCTInferenceJobCommand;
|
|
@@ -5,20 +5,25 @@ tslib_1.__exportStar(require("./DescribeEntitiesDetectionV2JobCommand"), exports
|
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeICD10CMInferenceJobCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./DescribePHIDetectionJobCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./DescribeRxNormInferenceJobCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DescribeSNOMEDCTInferenceJobCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./DetectEntitiesCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./DetectEntitiesV2Command"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DetectPHICommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./InferICD10CMCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./InferRxNormCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./InferSNOMEDCTCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./ListEntitiesDetectionV2JobsCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./ListICD10CMInferenceJobsCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./ListPHIDetectionJobsCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./ListRxNormInferenceJobsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListSNOMEDCTInferenceJobsCommand"), exports);
|
|
17
20
|
tslib_1.__exportStar(require("./StartEntitiesDetectionV2JobCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./StartICD10CMInferenceJobCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./StartPHIDetectionJobCommand"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./StartRxNormInferenceJobCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./StartSNOMEDCTInferenceJobCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./StopEntitiesDetectionV2JobCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./StopICD10CMInferenceJobCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./StopPHIDetectionJobCommand"), exports);
|
|
24
28
|
tslib_1.__exportStar(require("./StopRxNormInferenceJobCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./StopSNOMEDCTInferenceJobCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "comprehendmedical.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "comprehendmedical-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "comprehendmedical.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "comprehendmedical-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-west-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "comprehendmedical.us-gov-west-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "comprehendmedical-fips.us-gov-west-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-west-2": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "comprehendmedical.us-west-2.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "comprehendmedical-fips.us-west-2.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -63,6 +47,7 @@ const partitionHash = {
|
|
|
63
47
|
"ap-south-1",
|
|
64
48
|
"ap-southeast-1",
|
|
65
49
|
"ap-southeast-2",
|
|
50
|
+
"ap-southeast-3",
|
|
66
51
|
"ca-central-1",
|
|
67
52
|
"eu-central-1",
|
|
68
53
|
"eu-north-1",
|