@aws-sdk/client-comprehendmedical 3.43.0 → 3.45.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 +11 -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 -0
- package/dist-cjs/models/models_0.js +142 -2
- package/dist-cjs/protocols/Aws_json1_1.js +646 -37
- 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 -0
- package/dist-es/models/models_0.js +107 -0
- package/dist-es/protocols/Aws_json1_1.js +667 -27
- package/dist-types/ComprehendMedical.d.ts +45 -1
- package/dist-types/ComprehendMedicalClient.d.ts +8 -3
- 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 -26
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/ComprehendMedical.d.ts +25 -0
- package/dist-types/ts3.4/ComprehendMedicalClient.d.ts +7 -2
- 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 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +15 -0
- package/package.json +5 -5
|
@@ -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
|
@@ -25,6 +25,7 @@ export var RelationshipType;
|
|
|
25
25
|
RelationshipType["ROUTE_OR_MODE"] = "ROUTE_OR_MODE";
|
|
26
26
|
RelationshipType["STRENGTH"] = "STRENGTH";
|
|
27
27
|
RelationshipType["SYSTEM_ORGAN_SITE"] = "SYSTEM_ORGAN_SITE";
|
|
28
|
+
RelationshipType["TEST_UNIT"] = "TEST_UNIT";
|
|
28
29
|
RelationshipType["TEST_UNITS"] = "TEST_UNITS";
|
|
29
30
|
RelationshipType["TEST_VALUE"] = "TEST_VALUE";
|
|
30
31
|
RelationshipType["WITH_DOSAGE"] = "WITH_DOSAGE";
|
|
@@ -51,12 +52,15 @@ export var EntitySubType;
|
|
|
51
52
|
EntitySubType["DIRECTION"] = "DIRECTION";
|
|
52
53
|
EntitySubType["DOSAGE"] = "DOSAGE";
|
|
53
54
|
EntitySubType["DURATION"] = "DURATION";
|
|
55
|
+
EntitySubType["DX_NAME"] = "DX_NAME";
|
|
54
56
|
EntitySubType["EMAIL"] = "EMAIL";
|
|
55
57
|
EntitySubType["FORM"] = "FORM";
|
|
56
58
|
EntitySubType["FREQUENCY"] = "FREQUENCY";
|
|
57
59
|
EntitySubType["GENERIC_NAME"] = "GENERIC_NAME";
|
|
60
|
+
EntitySubType["ID"] = "ID";
|
|
58
61
|
EntitySubType["IDENTIFIER"] = "IDENTIFIER";
|
|
59
62
|
EntitySubType["NAME"] = "NAME";
|
|
63
|
+
EntitySubType["PHONE_OR_FAX"] = "PHONE_OR_FAX";
|
|
60
64
|
EntitySubType["PROCEDURE_NAME"] = "PROCEDURE_NAME";
|
|
61
65
|
EntitySubType["PROFESSION"] = "PROFESSION";
|
|
62
66
|
EntitySubType["QUALITY"] = "QUALITY";
|
|
@@ -66,6 +70,7 @@ export var EntitySubType;
|
|
|
66
70
|
EntitySubType["STRENGTH"] = "STRENGTH";
|
|
67
71
|
EntitySubType["SYSTEM_ORGAN_SITE"] = "SYSTEM_ORGAN_SITE";
|
|
68
72
|
EntitySubType["TEST_NAME"] = "TEST_NAME";
|
|
73
|
+
EntitySubType["TEST_UNIT"] = "TEST_UNIT";
|
|
69
74
|
EntitySubType["TEST_UNITS"] = "TEST_UNITS";
|
|
70
75
|
EntitySubType["TEST_VALUE"] = "TEST_VALUE";
|
|
71
76
|
EntitySubType["TIME_EXPRESSION"] = "TIME_EXPRESSION";
|
|
@@ -81,6 +86,10 @@ export var Attribute;
|
|
|
81
86
|
(function (Attribute) {
|
|
82
87
|
Attribute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
88
|
})(Attribute || (Attribute = {}));
|
|
89
|
+
export var Characters;
|
|
90
|
+
(function (Characters) {
|
|
91
|
+
Characters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
})(Characters || (Characters = {}));
|
|
84
93
|
export var DescribeEntitiesDetectionV2JobRequest;
|
|
85
94
|
(function (DescribeEntitiesDetectionV2JobRequest) {
|
|
86
95
|
DescribeEntitiesDetectionV2JobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -155,6 +164,14 @@ export var DescribeRxNormInferenceJobResponse;
|
|
|
155
164
|
(function (DescribeRxNormInferenceJobResponse) {
|
|
156
165
|
DescribeRxNormInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
166
|
})(DescribeRxNormInferenceJobResponse || (DescribeRxNormInferenceJobResponse = {}));
|
|
167
|
+
export var DescribeSNOMEDCTInferenceJobRequest;
|
|
168
|
+
(function (DescribeSNOMEDCTInferenceJobRequest) {
|
|
169
|
+
DescribeSNOMEDCTInferenceJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
+
})(DescribeSNOMEDCTInferenceJobRequest || (DescribeSNOMEDCTInferenceJobRequest = {}));
|
|
171
|
+
export var DescribeSNOMEDCTInferenceJobResponse;
|
|
172
|
+
(function (DescribeSNOMEDCTInferenceJobResponse) {
|
|
173
|
+
DescribeSNOMEDCTInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
})(DescribeSNOMEDCTInferenceJobResponse || (DescribeSNOMEDCTInferenceJobResponse = {}));
|
|
158
175
|
export var DetectEntitiesRequest;
|
|
159
176
|
(function (DetectEntitiesRequest) {
|
|
160
177
|
DetectEntitiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -301,6 +318,72 @@ export var InferRxNormResponse;
|
|
|
301
318
|
(function (InferRxNormResponse) {
|
|
302
319
|
InferRxNormResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
303
320
|
})(InferRxNormResponse || (InferRxNormResponse = {}));
|
|
321
|
+
export var InferSNOMEDCTRequest;
|
|
322
|
+
(function (InferSNOMEDCTRequest) {
|
|
323
|
+
InferSNOMEDCTRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
324
|
+
})(InferSNOMEDCTRequest || (InferSNOMEDCTRequest = {}));
|
|
325
|
+
export var SNOMEDCTEntityCategory;
|
|
326
|
+
(function (SNOMEDCTEntityCategory) {
|
|
327
|
+
SNOMEDCTEntityCategory["ANATOMY"] = "ANATOMY";
|
|
328
|
+
SNOMEDCTEntityCategory["MEDICAL_CONDITION"] = "MEDICAL_CONDITION";
|
|
329
|
+
SNOMEDCTEntityCategory["TEST_TREATMENT_PROCEDURE"] = "TEST_TREATMENT_PROCEDURE";
|
|
330
|
+
})(SNOMEDCTEntityCategory || (SNOMEDCTEntityCategory = {}));
|
|
331
|
+
export var SNOMEDCTRelationshipType;
|
|
332
|
+
(function (SNOMEDCTRelationshipType) {
|
|
333
|
+
SNOMEDCTRelationshipType["ACUITY"] = "ACUITY";
|
|
334
|
+
SNOMEDCTRelationshipType["DIRECTION"] = "DIRECTION";
|
|
335
|
+
SNOMEDCTRelationshipType["QUALITY"] = "QUALITY";
|
|
336
|
+
SNOMEDCTRelationshipType["SYSTEM_ORGAN_SITE"] = "SYSTEM_ORGAN_SITE";
|
|
337
|
+
SNOMEDCTRelationshipType["TEST_UNITS"] = "TEST_UNITS";
|
|
338
|
+
SNOMEDCTRelationshipType["TEST_VALUE"] = "TEST_VALUE";
|
|
339
|
+
})(SNOMEDCTRelationshipType || (SNOMEDCTRelationshipType = {}));
|
|
340
|
+
export var SNOMEDCTConcept;
|
|
341
|
+
(function (SNOMEDCTConcept) {
|
|
342
|
+
SNOMEDCTConcept.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
|
+
})(SNOMEDCTConcept || (SNOMEDCTConcept = {}));
|
|
344
|
+
export var SNOMEDCTTraitName;
|
|
345
|
+
(function (SNOMEDCTTraitName) {
|
|
346
|
+
SNOMEDCTTraitName["DIAGNOSIS"] = "DIAGNOSIS";
|
|
347
|
+
SNOMEDCTTraitName["NEGATION"] = "NEGATION";
|
|
348
|
+
SNOMEDCTTraitName["SIGN"] = "SIGN";
|
|
349
|
+
SNOMEDCTTraitName["SYMPTOM"] = "SYMPTOM";
|
|
350
|
+
})(SNOMEDCTTraitName || (SNOMEDCTTraitName = {}));
|
|
351
|
+
export var SNOMEDCTTrait;
|
|
352
|
+
(function (SNOMEDCTTrait) {
|
|
353
|
+
SNOMEDCTTrait.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
354
|
+
})(SNOMEDCTTrait || (SNOMEDCTTrait = {}));
|
|
355
|
+
export var SNOMEDCTAttributeType;
|
|
356
|
+
(function (SNOMEDCTAttributeType) {
|
|
357
|
+
SNOMEDCTAttributeType["ACUITY"] = "ACUITY";
|
|
358
|
+
SNOMEDCTAttributeType["DIRECTION"] = "DIRECTION";
|
|
359
|
+
SNOMEDCTAttributeType["QUALITY"] = "QUALITY";
|
|
360
|
+
SNOMEDCTAttributeType["SYSTEM_ORGAN_SITE"] = "SYSTEM_ORGAN_SITE";
|
|
361
|
+
SNOMEDCTAttributeType["TEST_UNIT"] = "TEST_UNIT";
|
|
362
|
+
SNOMEDCTAttributeType["TEST_VALUE"] = "TEST_VALUE";
|
|
363
|
+
})(SNOMEDCTAttributeType || (SNOMEDCTAttributeType = {}));
|
|
364
|
+
export var SNOMEDCTAttribute;
|
|
365
|
+
(function (SNOMEDCTAttribute) {
|
|
366
|
+
SNOMEDCTAttribute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
367
|
+
})(SNOMEDCTAttribute || (SNOMEDCTAttribute = {}));
|
|
368
|
+
export var SNOMEDCTEntityType;
|
|
369
|
+
(function (SNOMEDCTEntityType) {
|
|
370
|
+
SNOMEDCTEntityType["DX_NAME"] = "DX_NAME";
|
|
371
|
+
SNOMEDCTEntityType["PROCEDURE_NAME"] = "PROCEDURE_NAME";
|
|
372
|
+
SNOMEDCTEntityType["TEST_NAME"] = "TEST_NAME";
|
|
373
|
+
SNOMEDCTEntityType["TREATMENT_NAME"] = "TREATMENT_NAME";
|
|
374
|
+
})(SNOMEDCTEntityType || (SNOMEDCTEntityType = {}));
|
|
375
|
+
export var SNOMEDCTEntity;
|
|
376
|
+
(function (SNOMEDCTEntity) {
|
|
377
|
+
SNOMEDCTEntity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
378
|
+
})(SNOMEDCTEntity || (SNOMEDCTEntity = {}));
|
|
379
|
+
export var SNOMEDCTDetails;
|
|
380
|
+
(function (SNOMEDCTDetails) {
|
|
381
|
+
SNOMEDCTDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
382
|
+
})(SNOMEDCTDetails || (SNOMEDCTDetails = {}));
|
|
383
|
+
export var InferSNOMEDCTResponse;
|
|
384
|
+
(function (InferSNOMEDCTResponse) {
|
|
385
|
+
InferSNOMEDCTResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
386
|
+
})(InferSNOMEDCTResponse || (InferSNOMEDCTResponse = {}));
|
|
304
387
|
export var ComprehendMedicalAsyncJobFilter;
|
|
305
388
|
(function (ComprehendMedicalAsyncJobFilter) {
|
|
306
389
|
ComprehendMedicalAsyncJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -341,6 +424,14 @@ export var ListRxNormInferenceJobsResponse;
|
|
|
341
424
|
(function (ListRxNormInferenceJobsResponse) {
|
|
342
425
|
ListRxNormInferenceJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
426
|
})(ListRxNormInferenceJobsResponse || (ListRxNormInferenceJobsResponse = {}));
|
|
427
|
+
export var ListSNOMEDCTInferenceJobsRequest;
|
|
428
|
+
(function (ListSNOMEDCTInferenceJobsRequest) {
|
|
429
|
+
ListSNOMEDCTInferenceJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
430
|
+
})(ListSNOMEDCTInferenceJobsRequest || (ListSNOMEDCTInferenceJobsRequest = {}));
|
|
431
|
+
export var ListSNOMEDCTInferenceJobsResponse;
|
|
432
|
+
(function (ListSNOMEDCTInferenceJobsResponse) {
|
|
433
|
+
ListSNOMEDCTInferenceJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
434
|
+
})(ListSNOMEDCTInferenceJobsResponse || (ListSNOMEDCTInferenceJobsResponse = {}));
|
|
344
435
|
export var StartEntitiesDetectionV2JobRequest;
|
|
345
436
|
(function (StartEntitiesDetectionV2JobRequest) {
|
|
346
437
|
StartEntitiesDetectionV2JobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -373,6 +464,14 @@ export var StartRxNormInferenceJobResponse;
|
|
|
373
464
|
(function (StartRxNormInferenceJobResponse) {
|
|
374
465
|
StartRxNormInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
375
466
|
})(StartRxNormInferenceJobResponse || (StartRxNormInferenceJobResponse = {}));
|
|
467
|
+
export var StartSNOMEDCTInferenceJobRequest;
|
|
468
|
+
(function (StartSNOMEDCTInferenceJobRequest) {
|
|
469
|
+
StartSNOMEDCTInferenceJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
470
|
+
})(StartSNOMEDCTInferenceJobRequest || (StartSNOMEDCTInferenceJobRequest = {}));
|
|
471
|
+
export var StartSNOMEDCTInferenceJobResponse;
|
|
472
|
+
(function (StartSNOMEDCTInferenceJobResponse) {
|
|
473
|
+
StartSNOMEDCTInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
474
|
+
})(StartSNOMEDCTInferenceJobResponse || (StartSNOMEDCTInferenceJobResponse = {}));
|
|
376
475
|
export var StopEntitiesDetectionV2JobRequest;
|
|
377
476
|
(function (StopEntitiesDetectionV2JobRequest) {
|
|
378
477
|
StopEntitiesDetectionV2JobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -405,3 +504,11 @@ export var StopRxNormInferenceJobResponse;
|
|
|
405
504
|
(function (StopRxNormInferenceJobResponse) {
|
|
406
505
|
StopRxNormInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
407
506
|
})(StopRxNormInferenceJobResponse || (StopRxNormInferenceJobResponse = {}));
|
|
507
|
+
export var StopSNOMEDCTInferenceJobRequest;
|
|
508
|
+
(function (StopSNOMEDCTInferenceJobRequest) {
|
|
509
|
+
StopSNOMEDCTInferenceJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
510
|
+
})(StopSNOMEDCTInferenceJobRequest || (StopSNOMEDCTInferenceJobRequest = {}));
|
|
511
|
+
export var StopSNOMEDCTInferenceJobResponse;
|
|
512
|
+
(function (StopSNOMEDCTInferenceJobResponse) {
|
|
513
|
+
StopSNOMEDCTInferenceJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
514
|
+
})(StopSNOMEDCTInferenceJobResponse || (StopSNOMEDCTInferenceJobResponse = {}));
|