@aws-sdk/client-comprehendmedical 3.315.0 → 3.319.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/dist-cjs/ComprehendMedical.js +30 -364
- package/dist-cjs/protocols/Aws_json1_1.js +5 -5
- package/dist-es/ComprehendMedical.js +30 -364
- package/dist-es/protocols/Aws_json1_1.js +5 -5
- package/dist-types/ComprehendMedical.d.ts +34 -99
- package/dist-types/ts3.4/ComprehendMedical.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ComprehendMedical = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const DescribeEntitiesDetectionV2JobCommand_1 = require("./commands/DescribeEntitiesDetectionV2JobCommand");
|
|
5
6
|
const DescribeICD10CMInferenceJobCommand_1 = require("./commands/DescribeICD10CMInferenceJobCommand");
|
|
6
7
|
const DescribePHIDetectionJobCommand_1 = require("./commands/DescribePHIDetectionJobCommand");
|
|
@@ -28,370 +29,35 @@ const StopPHIDetectionJobCommand_1 = require("./commands/StopPHIDetectionJobComm
|
|
|
28
29
|
const StopRxNormInferenceJobCommand_1 = require("./commands/StopRxNormInferenceJobCommand");
|
|
29
30
|
const StopSNOMEDCTInferenceJobCommand_1 = require("./commands/StopSNOMEDCTInferenceJobCommand");
|
|
30
31
|
const ComprehendMedicalClient_1 = require("./ComprehendMedicalClient");
|
|
32
|
+
const commands = {
|
|
33
|
+
DescribeEntitiesDetectionV2JobCommand: DescribeEntitiesDetectionV2JobCommand_1.DescribeEntitiesDetectionV2JobCommand,
|
|
34
|
+
DescribeICD10CMInferenceJobCommand: DescribeICD10CMInferenceJobCommand_1.DescribeICD10CMInferenceJobCommand,
|
|
35
|
+
DescribePHIDetectionJobCommand: DescribePHIDetectionJobCommand_1.DescribePHIDetectionJobCommand,
|
|
36
|
+
DescribeRxNormInferenceJobCommand: DescribeRxNormInferenceJobCommand_1.DescribeRxNormInferenceJobCommand,
|
|
37
|
+
DescribeSNOMEDCTInferenceJobCommand: DescribeSNOMEDCTInferenceJobCommand_1.DescribeSNOMEDCTInferenceJobCommand,
|
|
38
|
+
DetectEntitiesCommand: DetectEntitiesCommand_1.DetectEntitiesCommand,
|
|
39
|
+
DetectEntitiesV2Command: DetectEntitiesV2Command_1.DetectEntitiesV2Command,
|
|
40
|
+
DetectPHICommand: DetectPHICommand_1.DetectPHICommand,
|
|
41
|
+
InferICD10CMCommand: InferICD10CMCommand_1.InferICD10CMCommand,
|
|
42
|
+
InferRxNormCommand: InferRxNormCommand_1.InferRxNormCommand,
|
|
43
|
+
InferSNOMEDCTCommand: InferSNOMEDCTCommand_1.InferSNOMEDCTCommand,
|
|
44
|
+
ListEntitiesDetectionV2JobsCommand: ListEntitiesDetectionV2JobsCommand_1.ListEntitiesDetectionV2JobsCommand,
|
|
45
|
+
ListICD10CMInferenceJobsCommand: ListICD10CMInferenceJobsCommand_1.ListICD10CMInferenceJobsCommand,
|
|
46
|
+
ListPHIDetectionJobsCommand: ListPHIDetectionJobsCommand_1.ListPHIDetectionJobsCommand,
|
|
47
|
+
ListRxNormInferenceJobsCommand: ListRxNormInferenceJobsCommand_1.ListRxNormInferenceJobsCommand,
|
|
48
|
+
ListSNOMEDCTInferenceJobsCommand: ListSNOMEDCTInferenceJobsCommand_1.ListSNOMEDCTInferenceJobsCommand,
|
|
49
|
+
StartEntitiesDetectionV2JobCommand: StartEntitiesDetectionV2JobCommand_1.StartEntitiesDetectionV2JobCommand,
|
|
50
|
+
StartICD10CMInferenceJobCommand: StartICD10CMInferenceJobCommand_1.StartICD10CMInferenceJobCommand,
|
|
51
|
+
StartPHIDetectionJobCommand: StartPHIDetectionJobCommand_1.StartPHIDetectionJobCommand,
|
|
52
|
+
StartRxNormInferenceJobCommand: StartRxNormInferenceJobCommand_1.StartRxNormInferenceJobCommand,
|
|
53
|
+
StartSNOMEDCTInferenceJobCommand: StartSNOMEDCTInferenceJobCommand_1.StartSNOMEDCTInferenceJobCommand,
|
|
54
|
+
StopEntitiesDetectionV2JobCommand: StopEntitiesDetectionV2JobCommand_1.StopEntitiesDetectionV2JobCommand,
|
|
55
|
+
StopICD10CMInferenceJobCommand: StopICD10CMInferenceJobCommand_1.StopICD10CMInferenceJobCommand,
|
|
56
|
+
StopPHIDetectionJobCommand: StopPHIDetectionJobCommand_1.StopPHIDetectionJobCommand,
|
|
57
|
+
StopRxNormInferenceJobCommand: StopRxNormInferenceJobCommand_1.StopRxNormInferenceJobCommand,
|
|
58
|
+
StopSNOMEDCTInferenceJobCommand: StopSNOMEDCTInferenceJobCommand_1.StopSNOMEDCTInferenceJobCommand,
|
|
59
|
+
};
|
|
31
60
|
class ComprehendMedical extends ComprehendMedicalClient_1.ComprehendMedicalClient {
|
|
32
|
-
describeEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
33
|
-
const command = new DescribeEntitiesDetectionV2JobCommand_1.DescribeEntitiesDetectionV2JobCommand(args);
|
|
34
|
-
if (typeof optionsOrCb === "function") {
|
|
35
|
-
this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
else if (typeof cb === "function") {
|
|
38
|
-
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
40
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
describeICD10CMInferenceJob(args, optionsOrCb, cb) {
|
|
47
|
-
const command = new DescribeICD10CMInferenceJobCommand_1.DescribeICD10CMInferenceJobCommand(args);
|
|
48
|
-
if (typeof optionsOrCb === "function") {
|
|
49
|
-
this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
else if (typeof cb === "function") {
|
|
52
|
-
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
54
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
describePHIDetectionJob(args, optionsOrCb, cb) {
|
|
61
|
-
const command = new DescribePHIDetectionJobCommand_1.DescribePHIDetectionJobCommand(args);
|
|
62
|
-
if (typeof optionsOrCb === "function") {
|
|
63
|
-
this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
else if (typeof cb === "function") {
|
|
66
|
-
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
68
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
return this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
describeRxNormInferenceJob(args, optionsOrCb, cb) {
|
|
75
|
-
const command = new DescribeRxNormInferenceJobCommand_1.DescribeRxNormInferenceJobCommand(args);
|
|
76
|
-
if (typeof optionsOrCb === "function") {
|
|
77
|
-
this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
else if (typeof cb === "function") {
|
|
80
|
-
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
82
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
return this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
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
|
-
}
|
|
102
|
-
detectEntities(args, optionsOrCb, cb) {
|
|
103
|
-
const command = new DetectEntitiesCommand_1.DetectEntitiesCommand(args);
|
|
104
|
-
if (typeof optionsOrCb === "function") {
|
|
105
|
-
this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
else if (typeof cb === "function") {
|
|
108
|
-
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
return this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
detectEntitiesV2(args, optionsOrCb, cb) {
|
|
117
|
-
const command = new DetectEntitiesV2Command_1.DetectEntitiesV2Command(args);
|
|
118
|
-
if (typeof optionsOrCb === "function") {
|
|
119
|
-
this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
else if (typeof cb === "function") {
|
|
122
|
-
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
return this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
detectPHI(args, optionsOrCb, cb) {
|
|
131
|
-
const command = new DetectPHICommand_1.DetectPHICommand(args);
|
|
132
|
-
if (typeof optionsOrCb === "function") {
|
|
133
|
-
this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
else if (typeof cb === "function") {
|
|
136
|
-
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
return this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
inferICD10CM(args, optionsOrCb, cb) {
|
|
145
|
-
const command = new InferICD10CMCommand_1.InferICD10CMCommand(args);
|
|
146
|
-
if (typeof optionsOrCb === "function") {
|
|
147
|
-
this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
else if (typeof cb === "function") {
|
|
150
|
-
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
return this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
inferRxNorm(args, optionsOrCb, cb) {
|
|
159
|
-
const command = new InferRxNormCommand_1.InferRxNormCommand(args);
|
|
160
|
-
if (typeof optionsOrCb === "function") {
|
|
161
|
-
this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
else if (typeof cb === "function") {
|
|
164
|
-
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
return this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
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
|
-
}
|
|
186
|
-
listEntitiesDetectionV2Jobs(args, optionsOrCb, cb) {
|
|
187
|
-
const command = new ListEntitiesDetectionV2JobsCommand_1.ListEntitiesDetectionV2JobsCommand(args);
|
|
188
|
-
if (typeof optionsOrCb === "function") {
|
|
189
|
-
this.send(command, optionsOrCb);
|
|
190
|
-
}
|
|
191
|
-
else if (typeof cb === "function") {
|
|
192
|
-
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
194
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
return this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
listICD10CMInferenceJobs(args, optionsOrCb, cb) {
|
|
201
|
-
const command = new ListICD10CMInferenceJobsCommand_1.ListICD10CMInferenceJobsCommand(args);
|
|
202
|
-
if (typeof optionsOrCb === "function") {
|
|
203
|
-
this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
else if (typeof cb === "function") {
|
|
206
|
-
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
208
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
return this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
listPHIDetectionJobs(args, optionsOrCb, cb) {
|
|
215
|
-
const command = new ListPHIDetectionJobsCommand_1.ListPHIDetectionJobsCommand(args);
|
|
216
|
-
if (typeof optionsOrCb === "function") {
|
|
217
|
-
this.send(command, optionsOrCb);
|
|
218
|
-
}
|
|
219
|
-
else if (typeof cb === "function") {
|
|
220
|
-
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
222
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
return this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
listRxNormInferenceJobs(args, optionsOrCb, cb) {
|
|
229
|
-
const command = new ListRxNormInferenceJobsCommand_1.ListRxNormInferenceJobsCommand(args);
|
|
230
|
-
if (typeof optionsOrCb === "function") {
|
|
231
|
-
this.send(command, optionsOrCb);
|
|
232
|
-
}
|
|
233
|
-
else if (typeof cb === "function") {
|
|
234
|
-
if (typeof optionsOrCb !== "object")
|
|
235
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
236
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
237
|
-
}
|
|
238
|
-
else {
|
|
239
|
-
return this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
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
|
-
}
|
|
256
|
-
startEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
257
|
-
const command = new StartEntitiesDetectionV2JobCommand_1.StartEntitiesDetectionV2JobCommand(args);
|
|
258
|
-
if (typeof optionsOrCb === "function") {
|
|
259
|
-
this.send(command, optionsOrCb);
|
|
260
|
-
}
|
|
261
|
-
else if (typeof cb === "function") {
|
|
262
|
-
if (typeof optionsOrCb !== "object")
|
|
263
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
264
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
265
|
-
}
|
|
266
|
-
else {
|
|
267
|
-
return this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
startICD10CMInferenceJob(args, optionsOrCb, cb) {
|
|
271
|
-
const command = new StartICD10CMInferenceJobCommand_1.StartICD10CMInferenceJobCommand(args);
|
|
272
|
-
if (typeof optionsOrCb === "function") {
|
|
273
|
-
this.send(command, optionsOrCb);
|
|
274
|
-
}
|
|
275
|
-
else if (typeof cb === "function") {
|
|
276
|
-
if (typeof optionsOrCb !== "object")
|
|
277
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
278
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
279
|
-
}
|
|
280
|
-
else {
|
|
281
|
-
return this.send(command, optionsOrCb);
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
startPHIDetectionJob(args, optionsOrCb, cb) {
|
|
285
|
-
const command = new StartPHIDetectionJobCommand_1.StartPHIDetectionJobCommand(args);
|
|
286
|
-
if (typeof optionsOrCb === "function") {
|
|
287
|
-
this.send(command, optionsOrCb);
|
|
288
|
-
}
|
|
289
|
-
else if (typeof cb === "function") {
|
|
290
|
-
if (typeof optionsOrCb !== "object")
|
|
291
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
292
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
293
|
-
}
|
|
294
|
-
else {
|
|
295
|
-
return this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
startRxNormInferenceJob(args, optionsOrCb, cb) {
|
|
299
|
-
const command = new StartRxNormInferenceJobCommand_1.StartRxNormInferenceJobCommand(args);
|
|
300
|
-
if (typeof optionsOrCb === "function") {
|
|
301
|
-
this.send(command, optionsOrCb);
|
|
302
|
-
}
|
|
303
|
-
else if (typeof cb === "function") {
|
|
304
|
-
if (typeof optionsOrCb !== "object")
|
|
305
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
306
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
307
|
-
}
|
|
308
|
-
else {
|
|
309
|
-
return this.send(command, optionsOrCb);
|
|
310
|
-
}
|
|
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
|
-
}
|
|
326
|
-
stopEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
327
|
-
const command = new StopEntitiesDetectionV2JobCommand_1.StopEntitiesDetectionV2JobCommand(args);
|
|
328
|
-
if (typeof optionsOrCb === "function") {
|
|
329
|
-
this.send(command, optionsOrCb);
|
|
330
|
-
}
|
|
331
|
-
else if (typeof cb === "function") {
|
|
332
|
-
if (typeof optionsOrCb !== "object")
|
|
333
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
334
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
return this.send(command, optionsOrCb);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
stopICD10CMInferenceJob(args, optionsOrCb, cb) {
|
|
341
|
-
const command = new StopICD10CMInferenceJobCommand_1.StopICD10CMInferenceJobCommand(args);
|
|
342
|
-
if (typeof optionsOrCb === "function") {
|
|
343
|
-
this.send(command, optionsOrCb);
|
|
344
|
-
}
|
|
345
|
-
else if (typeof cb === "function") {
|
|
346
|
-
if (typeof optionsOrCb !== "object")
|
|
347
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
348
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
349
|
-
}
|
|
350
|
-
else {
|
|
351
|
-
return this.send(command, optionsOrCb);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
stopPHIDetectionJob(args, optionsOrCb, cb) {
|
|
355
|
-
const command = new StopPHIDetectionJobCommand_1.StopPHIDetectionJobCommand(args);
|
|
356
|
-
if (typeof optionsOrCb === "function") {
|
|
357
|
-
this.send(command, optionsOrCb);
|
|
358
|
-
}
|
|
359
|
-
else if (typeof cb === "function") {
|
|
360
|
-
if (typeof optionsOrCb !== "object")
|
|
361
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
362
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
363
|
-
}
|
|
364
|
-
else {
|
|
365
|
-
return this.send(command, optionsOrCb);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
stopRxNormInferenceJob(args, optionsOrCb, cb) {
|
|
369
|
-
const command = new StopRxNormInferenceJobCommand_1.StopRxNormInferenceJobCommand(args);
|
|
370
|
-
if (typeof optionsOrCb === "function") {
|
|
371
|
-
this.send(command, optionsOrCb);
|
|
372
|
-
}
|
|
373
|
-
else if (typeof cb === "function") {
|
|
374
|
-
if (typeof optionsOrCb !== "object")
|
|
375
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
376
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
377
|
-
}
|
|
378
|
-
else {
|
|
379
|
-
return this.send(command, optionsOrCb);
|
|
380
|
-
}
|
|
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
|
-
}
|
|
396
61
|
}
|
|
397
62
|
exports.ComprehendMedical = ComprehendMedical;
|
|
63
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ComprehendMedical);
|
|
@@ -1422,7 +1422,7 @@ const se_ListSNOMEDCTInferenceJobsRequest = (input, context) => {
|
|
|
1422
1422
|
};
|
|
1423
1423
|
const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
|
|
1424
1424
|
return (0, smithy_client_1.take)(input, {
|
|
1425
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1425
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1426
1426
|
DataAccessRoleArn: [],
|
|
1427
1427
|
InputDataConfig: smithy_client_1._json,
|
|
1428
1428
|
JobName: [],
|
|
@@ -1433,7 +1433,7 @@ const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
|
|
|
1433
1433
|
};
|
|
1434
1434
|
const se_StartICD10CMInferenceJobRequest = (input, context) => {
|
|
1435
1435
|
return (0, smithy_client_1.take)(input, {
|
|
1436
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1436
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1437
1437
|
DataAccessRoleArn: [],
|
|
1438
1438
|
InputDataConfig: smithy_client_1._json,
|
|
1439
1439
|
JobName: [],
|
|
@@ -1444,7 +1444,7 @@ const se_StartICD10CMInferenceJobRequest = (input, context) => {
|
|
|
1444
1444
|
};
|
|
1445
1445
|
const se_StartPHIDetectionJobRequest = (input, context) => {
|
|
1446
1446
|
return (0, smithy_client_1.take)(input, {
|
|
1447
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1447
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1448
1448
|
DataAccessRoleArn: [],
|
|
1449
1449
|
InputDataConfig: smithy_client_1._json,
|
|
1450
1450
|
JobName: [],
|
|
@@ -1455,7 +1455,7 @@ const se_StartPHIDetectionJobRequest = (input, context) => {
|
|
|
1455
1455
|
};
|
|
1456
1456
|
const se_StartRxNormInferenceJobRequest = (input, context) => {
|
|
1457
1457
|
return (0, smithy_client_1.take)(input, {
|
|
1458
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1458
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1459
1459
|
DataAccessRoleArn: [],
|
|
1460
1460
|
InputDataConfig: smithy_client_1._json,
|
|
1461
1461
|
JobName: [],
|
|
@@ -1466,7 +1466,7 @@ const se_StartRxNormInferenceJobRequest = (input, context) => {
|
|
|
1466
1466
|
};
|
|
1467
1467
|
const se_StartSNOMEDCTInferenceJobRequest = (input, context) => {
|
|
1468
1468
|
return (0, smithy_client_1.take)(input, {
|
|
1469
|
-
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1469
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1470
1470
|
DataAccessRoleArn: [],
|
|
1471
1471
|
InputDataConfig: smithy_client_1._json,
|
|
1472
1472
|
JobName: [],
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { DescribeEntitiesDetectionV2JobCommand, } from "./commands/DescribeEntitiesDetectionV2JobCommand";
|
|
2
3
|
import { DescribeICD10CMInferenceJobCommand, } from "./commands/DescribeICD10CMInferenceJobCommand";
|
|
3
4
|
import { DescribePHIDetectionJobCommand, } from "./commands/DescribePHIDetectionJobCommand";
|
|
@@ -25,369 +26,34 @@ import { StopPHIDetectionJobCommand, } from "./commands/StopPHIDetectionJobComma
|
|
|
25
26
|
import { StopRxNormInferenceJobCommand, } from "./commands/StopRxNormInferenceJobCommand";
|
|
26
27
|
import { StopSNOMEDCTInferenceJobCommand, } from "./commands/StopSNOMEDCTInferenceJobCommand";
|
|
27
28
|
import { ComprehendMedicalClient } from "./ComprehendMedicalClient";
|
|
29
|
+
const commands = {
|
|
30
|
+
DescribeEntitiesDetectionV2JobCommand,
|
|
31
|
+
DescribeICD10CMInferenceJobCommand,
|
|
32
|
+
DescribePHIDetectionJobCommand,
|
|
33
|
+
DescribeRxNormInferenceJobCommand,
|
|
34
|
+
DescribeSNOMEDCTInferenceJobCommand,
|
|
35
|
+
DetectEntitiesCommand,
|
|
36
|
+
DetectEntitiesV2Command,
|
|
37
|
+
DetectPHICommand,
|
|
38
|
+
InferICD10CMCommand,
|
|
39
|
+
InferRxNormCommand,
|
|
40
|
+
InferSNOMEDCTCommand,
|
|
41
|
+
ListEntitiesDetectionV2JobsCommand,
|
|
42
|
+
ListICD10CMInferenceJobsCommand,
|
|
43
|
+
ListPHIDetectionJobsCommand,
|
|
44
|
+
ListRxNormInferenceJobsCommand,
|
|
45
|
+
ListSNOMEDCTInferenceJobsCommand,
|
|
46
|
+
StartEntitiesDetectionV2JobCommand,
|
|
47
|
+
StartICD10CMInferenceJobCommand,
|
|
48
|
+
StartPHIDetectionJobCommand,
|
|
49
|
+
StartRxNormInferenceJobCommand,
|
|
50
|
+
StartSNOMEDCTInferenceJobCommand,
|
|
51
|
+
StopEntitiesDetectionV2JobCommand,
|
|
52
|
+
StopICD10CMInferenceJobCommand,
|
|
53
|
+
StopPHIDetectionJobCommand,
|
|
54
|
+
StopRxNormInferenceJobCommand,
|
|
55
|
+
StopSNOMEDCTInferenceJobCommand,
|
|
56
|
+
};
|
|
28
57
|
export class ComprehendMedical extends ComprehendMedicalClient {
|
|
29
|
-
describeEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
30
|
-
const command = new DescribeEntitiesDetectionV2JobCommand(args);
|
|
31
|
-
if (typeof optionsOrCb === "function") {
|
|
32
|
-
this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
else if (typeof cb === "function") {
|
|
35
|
-
if (typeof optionsOrCb !== "object")
|
|
36
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
37
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
describeICD10CMInferenceJob(args, optionsOrCb, cb) {
|
|
44
|
-
const command = new DescribeICD10CMInferenceJobCommand(args);
|
|
45
|
-
if (typeof optionsOrCb === "function") {
|
|
46
|
-
this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
else if (typeof cb === "function") {
|
|
49
|
-
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
return this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
describePHIDetectionJob(args, optionsOrCb, cb) {
|
|
58
|
-
const command = new DescribePHIDetectionJobCommand(args);
|
|
59
|
-
if (typeof optionsOrCb === "function") {
|
|
60
|
-
this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
else if (typeof cb === "function") {
|
|
63
|
-
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
return this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
describeRxNormInferenceJob(args, optionsOrCb, cb) {
|
|
72
|
-
const command = new DescribeRxNormInferenceJobCommand(args);
|
|
73
|
-
if (typeof optionsOrCb === "function") {
|
|
74
|
-
this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
else if (typeof cb === "function") {
|
|
77
|
-
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
return this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
describeSNOMEDCTInferenceJob(args, optionsOrCb, cb) {
|
|
86
|
-
const command = new DescribeSNOMEDCTInferenceJobCommand(args);
|
|
87
|
-
if (typeof optionsOrCb === "function") {
|
|
88
|
-
this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
else if (typeof cb === "function") {
|
|
91
|
-
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
detectEntities(args, optionsOrCb, cb) {
|
|
100
|
-
const command = new DetectEntitiesCommand(args);
|
|
101
|
-
if (typeof optionsOrCb === "function") {
|
|
102
|
-
this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
else if (typeof cb === "function") {
|
|
105
|
-
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
detectEntitiesV2(args, optionsOrCb, cb) {
|
|
114
|
-
const command = new DetectEntitiesV2Command(args);
|
|
115
|
-
if (typeof optionsOrCb === "function") {
|
|
116
|
-
this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
else if (typeof cb === "function") {
|
|
119
|
-
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
detectPHI(args, optionsOrCb, cb) {
|
|
128
|
-
const command = new DetectPHICommand(args);
|
|
129
|
-
if (typeof optionsOrCb === "function") {
|
|
130
|
-
this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
else if (typeof cb === "function") {
|
|
133
|
-
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
inferICD10CM(args, optionsOrCb, cb) {
|
|
142
|
-
const command = new InferICD10CMCommand(args);
|
|
143
|
-
if (typeof optionsOrCb === "function") {
|
|
144
|
-
this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
else if (typeof cb === "function") {
|
|
147
|
-
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
return this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
inferRxNorm(args, optionsOrCb, cb) {
|
|
156
|
-
const command = new InferRxNormCommand(args);
|
|
157
|
-
if (typeof optionsOrCb === "function") {
|
|
158
|
-
this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
else if (typeof cb === "function") {
|
|
161
|
-
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
inferSNOMEDCT(args, optionsOrCb, cb) {
|
|
170
|
-
const command = new InferSNOMEDCTCommand(args);
|
|
171
|
-
if (typeof optionsOrCb === "function") {
|
|
172
|
-
this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
listEntitiesDetectionV2Jobs(args, optionsOrCb, cb) {
|
|
184
|
-
const command = new ListEntitiesDetectionV2JobsCommand(args);
|
|
185
|
-
if (typeof optionsOrCb === "function") {
|
|
186
|
-
this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
else if (typeof cb === "function") {
|
|
189
|
-
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
listICD10CMInferenceJobs(args, optionsOrCb, cb) {
|
|
198
|
-
const command = new ListICD10CMInferenceJobsCommand(args);
|
|
199
|
-
if (typeof optionsOrCb === "function") {
|
|
200
|
-
this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
else if (typeof cb === "function") {
|
|
203
|
-
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
return this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
listPHIDetectionJobs(args, optionsOrCb, cb) {
|
|
212
|
-
const command = new ListPHIDetectionJobsCommand(args);
|
|
213
|
-
if (typeof optionsOrCb === "function") {
|
|
214
|
-
this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
else if (typeof cb === "function") {
|
|
217
|
-
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
return this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
listRxNormInferenceJobs(args, optionsOrCb, cb) {
|
|
226
|
-
const command = new ListRxNormInferenceJobsCommand(args);
|
|
227
|
-
if (typeof optionsOrCb === "function") {
|
|
228
|
-
this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
else if (typeof cb === "function") {
|
|
231
|
-
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
return this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
listSNOMEDCTInferenceJobs(args, optionsOrCb, cb) {
|
|
240
|
-
const command = new ListSNOMEDCTInferenceJobsCommand(args);
|
|
241
|
-
if (typeof optionsOrCb === "function") {
|
|
242
|
-
this.send(command, optionsOrCb);
|
|
243
|
-
}
|
|
244
|
-
else if (typeof cb === "function") {
|
|
245
|
-
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
startEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
254
|
-
const command = new StartEntitiesDetectionV2JobCommand(args);
|
|
255
|
-
if (typeof optionsOrCb === "function") {
|
|
256
|
-
this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
return this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
startICD10CMInferenceJob(args, optionsOrCb, cb) {
|
|
268
|
-
const command = new StartICD10CMInferenceJobCommand(args);
|
|
269
|
-
if (typeof optionsOrCb === "function") {
|
|
270
|
-
this.send(command, optionsOrCb);
|
|
271
|
-
}
|
|
272
|
-
else if (typeof cb === "function") {
|
|
273
|
-
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
return this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
startPHIDetectionJob(args, optionsOrCb, cb) {
|
|
282
|
-
const command = new StartPHIDetectionJobCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
}
|
|
286
|
-
else if (typeof cb === "function") {
|
|
287
|
-
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
return this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
startRxNormInferenceJob(args, optionsOrCb, cb) {
|
|
296
|
-
const command = new StartRxNormInferenceJobCommand(args);
|
|
297
|
-
if (typeof optionsOrCb === "function") {
|
|
298
|
-
this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
else if (typeof cb === "function") {
|
|
301
|
-
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
return this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
startSNOMEDCTInferenceJob(args, optionsOrCb, cb) {
|
|
310
|
-
const command = new StartSNOMEDCTInferenceJobCommand(args);
|
|
311
|
-
if (typeof optionsOrCb === "function") {
|
|
312
|
-
this.send(command, optionsOrCb);
|
|
313
|
-
}
|
|
314
|
-
else if (typeof cb === "function") {
|
|
315
|
-
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
stopEntitiesDetectionV2Job(args, optionsOrCb, cb) {
|
|
324
|
-
const command = new StopEntitiesDetectionV2JobCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
}
|
|
328
|
-
else if (typeof cb === "function") {
|
|
329
|
-
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
stopICD10CMInferenceJob(args, optionsOrCb, cb) {
|
|
338
|
-
const command = new StopICD10CMInferenceJobCommand(args);
|
|
339
|
-
if (typeof optionsOrCb === "function") {
|
|
340
|
-
this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
else if (typeof cb === "function") {
|
|
343
|
-
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
return this.send(command, optionsOrCb);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
stopPHIDetectionJob(args, optionsOrCb, cb) {
|
|
352
|
-
const command = new StopPHIDetectionJobCommand(args);
|
|
353
|
-
if (typeof optionsOrCb === "function") {
|
|
354
|
-
this.send(command, optionsOrCb);
|
|
355
|
-
}
|
|
356
|
-
else if (typeof cb === "function") {
|
|
357
|
-
if (typeof optionsOrCb !== "object")
|
|
358
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
359
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
360
|
-
}
|
|
361
|
-
else {
|
|
362
|
-
return this.send(command, optionsOrCb);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
stopRxNormInferenceJob(args, optionsOrCb, cb) {
|
|
366
|
-
const command = new StopRxNormInferenceJobCommand(args);
|
|
367
|
-
if (typeof optionsOrCb === "function") {
|
|
368
|
-
this.send(command, optionsOrCb);
|
|
369
|
-
}
|
|
370
|
-
else if (typeof cb === "function") {
|
|
371
|
-
if (typeof optionsOrCb !== "object")
|
|
372
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
-
}
|
|
375
|
-
else {
|
|
376
|
-
return this.send(command, optionsOrCb);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
stopSNOMEDCTInferenceJob(args, optionsOrCb, cb) {
|
|
380
|
-
const command = new StopSNOMEDCTInferenceJobCommand(args);
|
|
381
|
-
if (typeof optionsOrCb === "function") {
|
|
382
|
-
this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
else if (typeof cb === "function") {
|
|
385
|
-
if (typeof optionsOrCb !== "object")
|
|
386
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
387
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
return this.send(command, optionsOrCb);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
58
|
}
|
|
59
|
+
createAggregatedClient(commands, ComprehendMedical);
|
|
@@ -1366,7 +1366,7 @@ const se_ListSNOMEDCTInferenceJobsRequest = (input, context) => {
|
|
|
1366
1366
|
};
|
|
1367
1367
|
const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
|
|
1368
1368
|
return take(input, {
|
|
1369
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1369
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1370
1370
|
DataAccessRoleArn: [],
|
|
1371
1371
|
InputDataConfig: _json,
|
|
1372
1372
|
JobName: [],
|
|
@@ -1377,7 +1377,7 @@ const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
|
|
|
1377
1377
|
};
|
|
1378
1378
|
const se_StartICD10CMInferenceJobRequest = (input, context) => {
|
|
1379
1379
|
return take(input, {
|
|
1380
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1380
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1381
1381
|
DataAccessRoleArn: [],
|
|
1382
1382
|
InputDataConfig: _json,
|
|
1383
1383
|
JobName: [],
|
|
@@ -1388,7 +1388,7 @@ const se_StartICD10CMInferenceJobRequest = (input, context) => {
|
|
|
1388
1388
|
};
|
|
1389
1389
|
const se_StartPHIDetectionJobRequest = (input, context) => {
|
|
1390
1390
|
return take(input, {
|
|
1391
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1391
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1392
1392
|
DataAccessRoleArn: [],
|
|
1393
1393
|
InputDataConfig: _json,
|
|
1394
1394
|
JobName: [],
|
|
@@ -1399,7 +1399,7 @@ const se_StartPHIDetectionJobRequest = (input, context) => {
|
|
|
1399
1399
|
};
|
|
1400
1400
|
const se_StartRxNormInferenceJobRequest = (input, context) => {
|
|
1401
1401
|
return take(input, {
|
|
1402
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1402
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1403
1403
|
DataAccessRoleArn: [],
|
|
1404
1404
|
InputDataConfig: _json,
|
|
1405
1405
|
JobName: [],
|
|
@@ -1410,7 +1410,7 @@ const se_StartRxNormInferenceJobRequest = (input, context) => {
|
|
|
1410
1410
|
};
|
|
1411
1411
|
const se_StartSNOMEDCTInferenceJobRequest = (input, context) => {
|
|
1412
1412
|
return take(input, {
|
|
1413
|
-
ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1413
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1414
1414
|
DataAccessRoleArn: [],
|
|
1415
1415
|
InputDataConfig: _json,
|
|
1416
1416
|
JobName: [],
|
|
@@ -26,233 +26,168 @@ import { StopPHIDetectionJobCommandInput, StopPHIDetectionJobCommandOutput } fro
|
|
|
26
26
|
import { StopRxNormInferenceJobCommandInput, StopRxNormInferenceJobCommandOutput } from "./commands/StopRxNormInferenceJobCommand";
|
|
27
27
|
import { StopSNOMEDCTInferenceJobCommandInput, StopSNOMEDCTInferenceJobCommandOutput } from "./commands/StopSNOMEDCTInferenceJobCommand";
|
|
28
28
|
import { ComprehendMedicalClient } from "./ComprehendMedicalClient";
|
|
29
|
-
|
|
30
|
-
* @public
|
|
31
|
-
* <p> Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions
|
|
32
|
-
* to gain insight in your documents. </p>
|
|
33
|
-
*/
|
|
34
|
-
export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
29
|
+
export interface ComprehendMedical {
|
|
35
30
|
/**
|
|
36
|
-
* @
|
|
37
|
-
* <p>Gets the properties associated with a medical entities detection job. Use this operation
|
|
38
|
-
* to get the status of a detection job.</p>
|
|
31
|
+
* @see {@link DescribeEntitiesDetectionV2JobCommand}
|
|
39
32
|
*/
|
|
40
33
|
describeEntitiesDetectionV2Job(args: DescribeEntitiesDetectionV2JobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEntitiesDetectionV2JobCommandOutput>;
|
|
41
34
|
describeEntitiesDetectionV2Job(args: DescribeEntitiesDetectionV2JobCommandInput, cb: (err: any, data?: DescribeEntitiesDetectionV2JobCommandOutput) => void): void;
|
|
42
35
|
describeEntitiesDetectionV2Job(args: DescribeEntitiesDetectionV2JobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEntitiesDetectionV2JobCommandOutput) => void): void;
|
|
43
36
|
/**
|
|
44
|
-
* @
|
|
45
|
-
* <p>Gets the properties associated with an InferICD10CM job. Use this operation to get the
|
|
46
|
-
* status of an inference job.</p>
|
|
37
|
+
* @see {@link DescribeICD10CMInferenceJobCommand}
|
|
47
38
|
*/
|
|
48
39
|
describeICD10CMInferenceJob(args: DescribeICD10CMInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeICD10CMInferenceJobCommandOutput>;
|
|
49
40
|
describeICD10CMInferenceJob(args: DescribeICD10CMInferenceJobCommandInput, cb: (err: any, data?: DescribeICD10CMInferenceJobCommandOutput) => void): void;
|
|
50
41
|
describeICD10CMInferenceJob(args: DescribeICD10CMInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeICD10CMInferenceJobCommandOutput) => void): void;
|
|
51
42
|
/**
|
|
52
|
-
* @
|
|
53
|
-
* <p>Gets the properties associated with a protected health information (PHI) detection job.
|
|
54
|
-
* Use this operation to get the status of a detection job.</p>
|
|
43
|
+
* @see {@link DescribePHIDetectionJobCommand}
|
|
55
44
|
*/
|
|
56
45
|
describePHIDetectionJob(args: DescribePHIDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribePHIDetectionJobCommandOutput>;
|
|
57
46
|
describePHIDetectionJob(args: DescribePHIDetectionJobCommandInput, cb: (err: any, data?: DescribePHIDetectionJobCommandOutput) => void): void;
|
|
58
47
|
describePHIDetectionJob(args: DescribePHIDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePHIDetectionJobCommandOutput) => void): void;
|
|
59
48
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* <p>Gets the properties associated with an InferRxNorm job. Use this operation to get the
|
|
62
|
-
* status of an inference job.</p>
|
|
49
|
+
* @see {@link DescribeRxNormInferenceJobCommand}
|
|
63
50
|
*/
|
|
64
51
|
describeRxNormInferenceJob(args: DescribeRxNormInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRxNormInferenceJobCommandOutput>;
|
|
65
52
|
describeRxNormInferenceJob(args: DescribeRxNormInferenceJobCommandInput, cb: (err: any, data?: DescribeRxNormInferenceJobCommandOutput) => void): void;
|
|
66
53
|
describeRxNormInferenceJob(args: DescribeRxNormInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRxNormInferenceJobCommandOutput) => void): void;
|
|
67
54
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>
|
|
70
|
-
* Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference job.
|
|
71
|
-
* </p>
|
|
55
|
+
* @see {@link DescribeSNOMEDCTInferenceJobCommand}
|
|
72
56
|
*/
|
|
73
57
|
describeSNOMEDCTInferenceJob(args: DescribeSNOMEDCTInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSNOMEDCTInferenceJobCommandOutput>;
|
|
74
58
|
describeSNOMEDCTInferenceJob(args: DescribeSNOMEDCTInferenceJobCommandInput, cb: (err: any, data?: DescribeSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
75
59
|
describeSNOMEDCTInferenceJob(args: DescribeSNOMEDCTInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
76
60
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* @deprecated
|
|
79
|
-
*
|
|
80
|
-
* <p>The <code>DetectEntities</code> operation is deprecated. You should use the <a>DetectEntitiesV2</a> operation instead.</p>
|
|
81
|
-
* <p> Inspects the clinical text for a variety of medical entities and returns specific
|
|
82
|
-
* information about them such as entity category, location, and confidence score on that
|
|
83
|
-
* information .</p>
|
|
61
|
+
* @see {@link DetectEntitiesCommand}
|
|
84
62
|
*/
|
|
85
63
|
detectEntities(args: DetectEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<DetectEntitiesCommandOutput>;
|
|
86
64
|
detectEntities(args: DetectEntitiesCommandInput, cb: (err: any, data?: DetectEntitiesCommandOutput) => void): void;
|
|
87
65
|
detectEntities(args: DetectEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetectEntitiesCommandOutput) => void): void;
|
|
88
66
|
/**
|
|
89
|
-
* @
|
|
90
|
-
* <p>Inspects the clinical text for a variety of medical entities and returns specific
|
|
91
|
-
* information about them such as entity category, location, and confidence score on that
|
|
92
|
-
* information. Amazon Comprehend Medical only detects medical entities in English language
|
|
93
|
-
* texts.</p>
|
|
94
|
-
* <p>The <code>DetectEntitiesV2</code> operation replaces the <a>DetectEntities</a>
|
|
95
|
-
* operation. This new action uses a different model for determining the entities in your medical
|
|
96
|
-
* text and changes the way that some entities are returned in the output. You should use the
|
|
97
|
-
* <code>DetectEntitiesV2</code> operation in all new applications.</p>
|
|
98
|
-
* <p>The <code>DetectEntitiesV2</code> operation returns the <code>Acuity</code> and
|
|
99
|
-
* <code>Direction</code> entities as attributes instead of types. </p>
|
|
67
|
+
* @see {@link DetectEntitiesV2Command}
|
|
100
68
|
*/
|
|
101
69
|
detectEntitiesV2(args: DetectEntitiesV2CommandInput, options?: __HttpHandlerOptions): Promise<DetectEntitiesV2CommandOutput>;
|
|
102
70
|
detectEntitiesV2(args: DetectEntitiesV2CommandInput, cb: (err: any, data?: DetectEntitiesV2CommandOutput) => void): void;
|
|
103
71
|
detectEntitiesV2(args: DetectEntitiesV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetectEntitiesV2CommandOutput) => void): void;
|
|
104
72
|
/**
|
|
105
|
-
* @
|
|
106
|
-
* <p> Inspects the clinical text for protected health information (PHI) entities and returns
|
|
107
|
-
* the entity category, location, and confidence score for each entity. Amazon Comprehend Medical
|
|
108
|
-
* only detects entities in English language texts.</p>
|
|
73
|
+
* @see {@link DetectPHICommand}
|
|
109
74
|
*/
|
|
110
75
|
detectPHI(args: DetectPHICommandInput, options?: __HttpHandlerOptions): Promise<DetectPHICommandOutput>;
|
|
111
76
|
detectPHI(args: DetectPHICommandInput, cb: (err: any, data?: DetectPHICommandOutput) => void): void;
|
|
112
77
|
detectPHI(args: DetectPHICommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetectPHICommandOutput) => void): void;
|
|
113
78
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p>InferICD10CM detects medical conditions as entities listed in a patient record and links
|
|
116
|
-
* those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the
|
|
117
|
-
* Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in
|
|
118
|
-
* English language texts. </p>
|
|
79
|
+
* @see {@link InferICD10CMCommand}
|
|
119
80
|
*/
|
|
120
81
|
inferICD10CM(args: InferICD10CMCommandInput, options?: __HttpHandlerOptions): Promise<InferICD10CMCommandOutput>;
|
|
121
82
|
inferICD10CM(args: InferICD10CMCommandInput, cb: (err: any, data?: InferICD10CMCommandOutput) => void): void;
|
|
122
83
|
inferICD10CM(args: InferICD10CMCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InferICD10CMCommandOutput) => void): void;
|
|
123
84
|
/**
|
|
124
|
-
* @
|
|
125
|
-
* <p>InferRxNorm detects medications as entities listed in a patient record and links to the
|
|
126
|
-
* normalized concept identifiers in the RxNorm database from the National Library of Medicine.
|
|
127
|
-
* Amazon Comprehend Medical only detects medical entities in English language texts. </p>
|
|
85
|
+
* @see {@link InferRxNormCommand}
|
|
128
86
|
*/
|
|
129
87
|
inferRxNorm(args: InferRxNormCommandInput, options?: __HttpHandlerOptions): Promise<InferRxNormCommandOutput>;
|
|
130
88
|
inferRxNorm(args: InferRxNormCommandInput, cb: (err: any, data?: InferRxNormCommandOutput) => void): void;
|
|
131
89
|
inferRxNorm(args: InferRxNormCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InferRxNormCommandOutput) => void): void;
|
|
132
90
|
/**
|
|
133
|
-
* @
|
|
134
|
-
* <p>
|
|
135
|
-
* InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology</p>
|
|
91
|
+
* @see {@link InferSNOMEDCTCommand}
|
|
136
92
|
*/
|
|
137
93
|
inferSNOMEDCT(args: InferSNOMEDCTCommandInput, options?: __HttpHandlerOptions): Promise<InferSNOMEDCTCommandOutput>;
|
|
138
94
|
inferSNOMEDCT(args: InferSNOMEDCTCommandInput, cb: (err: any, data?: InferSNOMEDCTCommandOutput) => void): void;
|
|
139
95
|
inferSNOMEDCT(args: InferSNOMEDCTCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InferSNOMEDCTCommandOutput) => void): void;
|
|
140
96
|
/**
|
|
141
|
-
* @
|
|
142
|
-
* <p>Gets a list of medical entity detection jobs that you have submitted.</p>
|
|
97
|
+
* @see {@link ListEntitiesDetectionV2JobsCommand}
|
|
143
98
|
*/
|
|
144
99
|
listEntitiesDetectionV2Jobs(args: ListEntitiesDetectionV2JobsCommandInput, options?: __HttpHandlerOptions): Promise<ListEntitiesDetectionV2JobsCommandOutput>;
|
|
145
100
|
listEntitiesDetectionV2Jobs(args: ListEntitiesDetectionV2JobsCommandInput, cb: (err: any, data?: ListEntitiesDetectionV2JobsCommandOutput) => void): void;
|
|
146
101
|
listEntitiesDetectionV2Jobs(args: ListEntitiesDetectionV2JobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEntitiesDetectionV2JobsCommandOutput) => void): void;
|
|
147
102
|
/**
|
|
148
|
-
* @
|
|
149
|
-
* <p>Gets a list of InferICD10CM jobs that you have submitted.</p>
|
|
103
|
+
* @see {@link ListICD10CMInferenceJobsCommand}
|
|
150
104
|
*/
|
|
151
105
|
listICD10CMInferenceJobs(args: ListICD10CMInferenceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListICD10CMInferenceJobsCommandOutput>;
|
|
152
106
|
listICD10CMInferenceJobs(args: ListICD10CMInferenceJobsCommandInput, cb: (err: any, data?: ListICD10CMInferenceJobsCommandOutput) => void): void;
|
|
153
107
|
listICD10CMInferenceJobs(args: ListICD10CMInferenceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListICD10CMInferenceJobsCommandOutput) => void): void;
|
|
154
108
|
/**
|
|
155
|
-
* @
|
|
156
|
-
* <p>Gets a list of protected health information (PHI) detection jobs that you have
|
|
157
|
-
* submitted.</p>
|
|
109
|
+
* @see {@link ListPHIDetectionJobsCommand}
|
|
158
110
|
*/
|
|
159
111
|
listPHIDetectionJobs(args: ListPHIDetectionJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListPHIDetectionJobsCommandOutput>;
|
|
160
112
|
listPHIDetectionJobs(args: ListPHIDetectionJobsCommandInput, cb: (err: any, data?: ListPHIDetectionJobsCommandOutput) => void): void;
|
|
161
113
|
listPHIDetectionJobs(args: ListPHIDetectionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPHIDetectionJobsCommandOutput) => void): void;
|
|
162
114
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p>Gets a list of InferRxNorm jobs that you have submitted.</p>
|
|
115
|
+
* @see {@link ListRxNormInferenceJobsCommand}
|
|
165
116
|
*/
|
|
166
117
|
listRxNormInferenceJobs(args: ListRxNormInferenceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListRxNormInferenceJobsCommandOutput>;
|
|
167
118
|
listRxNormInferenceJobs(args: ListRxNormInferenceJobsCommandInput, cb: (err: any, data?: ListRxNormInferenceJobsCommandOutput) => void): void;
|
|
168
119
|
listRxNormInferenceJobs(args: ListRxNormInferenceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRxNormInferenceJobsCommandOutput) => void): void;
|
|
169
120
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p>
|
|
172
|
-
* Gets a list of InferSNOMEDCT jobs a user has submitted.
|
|
173
|
-
* </p>
|
|
121
|
+
* @see {@link ListSNOMEDCTInferenceJobsCommand}
|
|
174
122
|
*/
|
|
175
123
|
listSNOMEDCTInferenceJobs(args: ListSNOMEDCTInferenceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListSNOMEDCTInferenceJobsCommandOutput>;
|
|
176
124
|
listSNOMEDCTInferenceJobs(args: ListSNOMEDCTInferenceJobsCommandInput, cb: (err: any, data?: ListSNOMEDCTInferenceJobsCommandOutput) => void): void;
|
|
177
125
|
listSNOMEDCTInferenceJobs(args: ListSNOMEDCTInferenceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSNOMEDCTInferenceJobsCommandOutput) => void): void;
|
|
178
126
|
/**
|
|
179
|
-
* @
|
|
180
|
-
* <p>Starts an asynchronous medical entity detection job for a collection of documents. Use the
|
|
181
|
-
* <code>DescribeEntitiesDetectionV2Job</code> operation to track the status of a job.</p>
|
|
127
|
+
* @see {@link StartEntitiesDetectionV2JobCommand}
|
|
182
128
|
*/
|
|
183
129
|
startEntitiesDetectionV2Job(args: StartEntitiesDetectionV2JobCommandInput, options?: __HttpHandlerOptions): Promise<StartEntitiesDetectionV2JobCommandOutput>;
|
|
184
130
|
startEntitiesDetectionV2Job(args: StartEntitiesDetectionV2JobCommandInput, cb: (err: any, data?: StartEntitiesDetectionV2JobCommandOutput) => void): void;
|
|
185
131
|
startEntitiesDetectionV2Job(args: StartEntitiesDetectionV2JobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartEntitiesDetectionV2JobCommandOutput) => void): void;
|
|
186
132
|
/**
|
|
187
|
-
* @
|
|
188
|
-
* <p>Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM
|
|
189
|
-
* ontology. Use the <code>DescribeICD10CMInferenceJob</code> operation to track the status of a
|
|
190
|
-
* job.</p>
|
|
133
|
+
* @see {@link StartICD10CMInferenceJobCommand}
|
|
191
134
|
*/
|
|
192
135
|
startICD10CMInferenceJob(args: StartICD10CMInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StartICD10CMInferenceJobCommandOutput>;
|
|
193
136
|
startICD10CMInferenceJob(args: StartICD10CMInferenceJobCommandInput, cb: (err: any, data?: StartICD10CMInferenceJobCommandOutput) => void): void;
|
|
194
137
|
startICD10CMInferenceJob(args: StartICD10CMInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartICD10CMInferenceJobCommandOutput) => void): void;
|
|
195
138
|
/**
|
|
196
|
-
* @
|
|
197
|
-
* <p>Starts an asynchronous job to detect protected health information (PHI). Use the
|
|
198
|
-
* <code>DescribePHIDetectionJob</code> operation to track the status of a job.</p>
|
|
139
|
+
* @see {@link StartPHIDetectionJobCommand}
|
|
199
140
|
*/
|
|
200
141
|
startPHIDetectionJob(args: StartPHIDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<StartPHIDetectionJobCommandOutput>;
|
|
201
142
|
startPHIDetectionJob(args: StartPHIDetectionJobCommandInput, cb: (err: any, data?: StartPHIDetectionJobCommandOutput) => void): void;
|
|
202
143
|
startPHIDetectionJob(args: StartPHIDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPHIDetectionJobCommandOutput) => void): void;
|
|
203
144
|
/**
|
|
204
|
-
* @
|
|
205
|
-
* <p>Starts an asynchronous job to detect medication entities and link them to the RxNorm
|
|
206
|
-
* ontology. Use the <code>DescribeRxNormInferenceJob</code> operation to track the status of a
|
|
207
|
-
* job.</p>
|
|
145
|
+
* @see {@link StartRxNormInferenceJobCommand}
|
|
208
146
|
*/
|
|
209
147
|
startRxNormInferenceJob(args: StartRxNormInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StartRxNormInferenceJobCommandOutput>;
|
|
210
148
|
startRxNormInferenceJob(args: StartRxNormInferenceJobCommandInput, cb: (err: any, data?: StartRxNormInferenceJobCommandOutput) => void): void;
|
|
211
149
|
startRxNormInferenceJob(args: StartRxNormInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRxNormInferenceJobCommandOutput) => void): void;
|
|
212
150
|
/**
|
|
213
|
-
* @
|
|
214
|
-
* <p>
|
|
215
|
-
* Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the DescribeSNOMEDCTInferenceJob operation to track the status of a job.
|
|
216
|
-
* </p>
|
|
151
|
+
* @see {@link StartSNOMEDCTInferenceJobCommand}
|
|
217
152
|
*/
|
|
218
153
|
startSNOMEDCTInferenceJob(args: StartSNOMEDCTInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StartSNOMEDCTInferenceJobCommandOutput>;
|
|
219
154
|
startSNOMEDCTInferenceJob(args: StartSNOMEDCTInferenceJobCommandInput, cb: (err: any, data?: StartSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
220
155
|
startSNOMEDCTInferenceJob(args: StartSNOMEDCTInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
221
156
|
/**
|
|
222
|
-
* @
|
|
223
|
-
* <p>Stops a medical entities detection job in progress.</p>
|
|
157
|
+
* @see {@link StopEntitiesDetectionV2JobCommand}
|
|
224
158
|
*/
|
|
225
159
|
stopEntitiesDetectionV2Job(args: StopEntitiesDetectionV2JobCommandInput, options?: __HttpHandlerOptions): Promise<StopEntitiesDetectionV2JobCommandOutput>;
|
|
226
160
|
stopEntitiesDetectionV2Job(args: StopEntitiesDetectionV2JobCommandInput, cb: (err: any, data?: StopEntitiesDetectionV2JobCommandOutput) => void): void;
|
|
227
161
|
stopEntitiesDetectionV2Job(args: StopEntitiesDetectionV2JobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopEntitiesDetectionV2JobCommandOutput) => void): void;
|
|
228
162
|
/**
|
|
229
|
-
* @
|
|
230
|
-
* <p>Stops an InferICD10CM inference job in progress.</p>
|
|
163
|
+
* @see {@link StopICD10CMInferenceJobCommand}
|
|
231
164
|
*/
|
|
232
165
|
stopICD10CMInferenceJob(args: StopICD10CMInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StopICD10CMInferenceJobCommandOutput>;
|
|
233
166
|
stopICD10CMInferenceJob(args: StopICD10CMInferenceJobCommandInput, cb: (err: any, data?: StopICD10CMInferenceJobCommandOutput) => void): void;
|
|
234
167
|
stopICD10CMInferenceJob(args: StopICD10CMInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopICD10CMInferenceJobCommandOutput) => void): void;
|
|
235
168
|
/**
|
|
236
|
-
* @
|
|
237
|
-
* <p>Stops a protected health information (PHI) detection job in progress.</p>
|
|
169
|
+
* @see {@link StopPHIDetectionJobCommand}
|
|
238
170
|
*/
|
|
239
171
|
stopPHIDetectionJob(args: StopPHIDetectionJobCommandInput, options?: __HttpHandlerOptions): Promise<StopPHIDetectionJobCommandOutput>;
|
|
240
172
|
stopPHIDetectionJob(args: StopPHIDetectionJobCommandInput, cb: (err: any, data?: StopPHIDetectionJobCommandOutput) => void): void;
|
|
241
173
|
stopPHIDetectionJob(args: StopPHIDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPHIDetectionJobCommandOutput) => void): void;
|
|
242
174
|
/**
|
|
243
|
-
* @
|
|
244
|
-
* <p>Stops an InferRxNorm inference job in progress.</p>
|
|
175
|
+
* @see {@link StopRxNormInferenceJobCommand}
|
|
245
176
|
*/
|
|
246
177
|
stopRxNormInferenceJob(args: StopRxNormInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StopRxNormInferenceJobCommandOutput>;
|
|
247
178
|
stopRxNormInferenceJob(args: StopRxNormInferenceJobCommandInput, cb: (err: any, data?: StopRxNormInferenceJobCommandOutput) => void): void;
|
|
248
179
|
stopRxNormInferenceJob(args: StopRxNormInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopRxNormInferenceJobCommandOutput) => void): void;
|
|
249
180
|
/**
|
|
250
|
-
* @
|
|
251
|
-
* <p>
|
|
252
|
-
* Stops an InferSNOMEDCT inference job in progress.
|
|
253
|
-
* </p>
|
|
181
|
+
* @see {@link StopSNOMEDCTInferenceJobCommand}
|
|
254
182
|
*/
|
|
255
183
|
stopSNOMEDCTInferenceJob(args: StopSNOMEDCTInferenceJobCommandInput, options?: __HttpHandlerOptions): Promise<StopSNOMEDCTInferenceJobCommandOutput>;
|
|
256
184
|
stopSNOMEDCTInferenceJob(args: StopSNOMEDCTInferenceJobCommandInput, cb: (err: any, data?: StopSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
257
185
|
stopSNOMEDCTInferenceJob(args: StopSNOMEDCTInferenceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSNOMEDCTInferenceJobCommandOutput) => void): void;
|
|
258
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p> Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions
|
|
190
|
+
* to gain insight in your documents. </p>
|
|
191
|
+
*/
|
|
192
|
+
export declare class ComprehendMedical extends ComprehendMedicalClient implements ComprehendMedical {
|
|
193
|
+
}
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
StopSNOMEDCTInferenceJobCommandOutput,
|
|
105
105
|
} from "./commands/StopSNOMEDCTInferenceJobCommand";
|
|
106
106
|
import { ComprehendMedicalClient } from "./ComprehendMedicalClient";
|
|
107
|
-
export
|
|
107
|
+
export interface ComprehendMedical {
|
|
108
108
|
describeEntitiesDetectionV2Job(
|
|
109
109
|
args: DescribeEntitiesDetectionV2JobCommandInput,
|
|
110
110
|
options?: __HttpHandlerOptions
|
|
@@ -444,3 +444,6 @@ export declare class ComprehendMedical extends ComprehendMedicalClient {
|
|
|
444
444
|
cb: (err: any, data?: StopSNOMEDCTInferenceJobCommandOutput) => void
|
|
445
445
|
): void;
|
|
446
446
|
}
|
|
447
|
+
export declare class ComprehendMedical
|
|
448
|
+
extends ComprehendMedicalClient
|
|
449
|
+
implements ComprehendMedical {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-comprehendmedical",
|
|
3
3
|
"description": "AWS SDK for JavaScript Comprehendmedical Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|