@aws-sdk/client-comprehendmedical 3.1075.0 → 3.1077.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/index.js CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultComprehendMedicalHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { DescribeEntitiesDetectionV2Job$, DescribeICD10CMInferenceJob$, DescribePHIDetectionJob$, DescribeRxNormInferenceJob$, DescribeSNOMEDCTInferenceJob$, DetectEntities$, DetectEntitiesV2$, DetectPHI$, InferICD10CM$, InferRxNorm$, InferSNOMEDCT$, ListEntitiesDetectionV2Jobs$, ListICD10CMInferenceJobs$, ListPHIDetectionJobs$, ListRxNormInferenceJobs$, ListSNOMEDCTInferenceJobs$, StartEntitiesDetectionV2Job$, StartICD10CMInferenceJob$, StartPHIDetectionJob$, StartRxNormInferenceJob$, StartSNOMEDCTInferenceJob$, StopEntitiesDetectionV2Job$, StopICD10CMInferenceJob$, StopPHIDetectionJob$, StopRxNormInferenceJob$, StopSNOMEDCTInferenceJob$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { ComprehendMedicalServiceException } = require("./models/ComprehendMedicalServiceException");
18
- exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultComprehendMedicalHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "comprehendmedical",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultComprehendMedicalHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,985 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ [k]: "UseDualStack" }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}", i],
95
+ [a, "FIPS is enabled but this partition does not support FIPS"],
96
+ ["https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
+ [a, "DualStack is enabled but this partition does not support DualStack"],
98
+ ["https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", i],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 12, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 10,
111
+ 5, r + 8, r + 9,
112
+ 4, 10, 9,
113
+ 6, r + 6, r + 7,
114
+ 5, 11, r + 5,
115
+ 6, r + 4, r + 5,
116
+ 3, r + 1, 13,
117
+ 4, r + 2, r + 3,
118
+ ]);
119
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
120
+
121
+ const cache = new EndpointCache({
122
+ size: 50,
123
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
124
+ });
125
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
126
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
127
+ endpointParams: endpointParams,
128
+ logger: context.logger,
129
+ }));
130
+ };
131
+ customEndpointFunctions.aws = awsEndpointFunctions;
132
+
133
+ class ComprehendMedicalServiceException extends ServiceException {
134
+ constructor(options) {
135
+ super(options);
136
+ Object.setPrototypeOf(this, ComprehendMedicalServiceException.prototype);
137
+ }
138
+ }
139
+
140
+ class InternalServerException extends ComprehendMedicalServiceException {
141
+ name = "InternalServerException";
142
+ $fault = "server";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "InternalServerException",
147
+ $fault: "server",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, InternalServerException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ class InvalidRequestException extends ComprehendMedicalServiceException {
155
+ name = "InvalidRequestException";
156
+ $fault = "client";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "InvalidRequestException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ class ResourceNotFoundException extends ComprehendMedicalServiceException {
169
+ name = "ResourceNotFoundException";
170
+ $fault = "client";
171
+ Message;
172
+ constructor(opts) {
173
+ super({
174
+ name: "ResourceNotFoundException",
175
+ $fault: "client",
176
+ ...opts,
177
+ });
178
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
179
+ this.Message = opts.Message;
180
+ }
181
+ }
182
+ class TooManyRequestsException extends ComprehendMedicalServiceException {
183
+ name = "TooManyRequestsException";
184
+ $fault = "client";
185
+ Message;
186
+ constructor(opts) {
187
+ super({
188
+ name: "TooManyRequestsException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
193
+ this.Message = opts.Message;
194
+ }
195
+ }
196
+ class InvalidEncodingException extends ComprehendMedicalServiceException {
197
+ name = "InvalidEncodingException";
198
+ $fault = "client";
199
+ Message;
200
+ constructor(opts) {
201
+ super({
202
+ name: "InvalidEncodingException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, InvalidEncodingException.prototype);
207
+ this.Message = opts.Message;
208
+ }
209
+ }
210
+ class ServiceUnavailableException extends ComprehendMedicalServiceException {
211
+ name = "ServiceUnavailableException";
212
+ $fault = "server";
213
+ Message;
214
+ constructor(opts) {
215
+ super({
216
+ name: "ServiceUnavailableException",
217
+ $fault: "server",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
221
+ this.Message = opts.Message;
222
+ }
223
+ }
224
+ class TextSizeLimitExceededException extends ComprehendMedicalServiceException {
225
+ name = "TextSizeLimitExceededException";
226
+ $fault = "client";
227
+ Message;
228
+ constructor(opts) {
229
+ super({
230
+ name: "TextSizeLimitExceededException",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
235
+ this.Message = opts.Message;
236
+ }
237
+ }
238
+ class ValidationException extends ComprehendMedicalServiceException {
239
+ name = "ValidationException";
240
+ $fault = "client";
241
+ Message;
242
+ constructor(opts) {
243
+ super({
244
+ name: "ValidationException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, ValidationException.prototype);
249
+ this.Message = opts.Message;
250
+ }
251
+ }
252
+
253
+ const _A = "Attribute";
254
+ const _AL = "AttributeList";
255
+ const _At = "Attributes";
256
+ const _BO = "BeginOffset";
257
+ const _C = "Category";
258
+ const _CMAJF = "ComprehendMedicalAsyncJobFilter";
259
+ const _CMAJP = "ComprehendMedicalAsyncJobProperties";
260
+ const _CMAJPL = "ComprehendMedicalAsyncJobPropertiesList";
261
+ const _CRT = "ClientRequestToken";
262
+ const _Ch = "Characters";
263
+ const _Co = "Code";
264
+ const _D = "Description";
265
+ const _DARA = "DataAccessRoleArn";
266
+ const _DE = "DetectEntities";
267
+ const _DEDVJ = "DescribeEntitiesDetectionV2Job";
268
+ const _DEDVJR = "DescribeEntitiesDetectionV2JobRequest";
269
+ const _DEDVJRe = "DescribeEntitiesDetectionV2JobResponse";
270
+ const _DER = "DetectEntitiesRequest";
271
+ const _DERe = "DetectEntitiesResponse";
272
+ const _DEV = "DetectEntitiesV2";
273
+ const _DEVR = "DetectEntitiesV2Request";
274
+ const _DEVRe = "DetectEntitiesV2Response";
275
+ const _DICDCMIJ = "DescribeICD10CMInferenceJob";
276
+ const _DICDCMIJR = "DescribeICD10CMInferenceJobRequest";
277
+ const _DICDCMIJRe = "DescribeICD10CMInferenceJobResponse";
278
+ const _DPHI = "DetectPHI";
279
+ const _DPHIDJ = "DescribePHIDetectionJob";
280
+ const _DPHIDJR = "DescribePHIDetectionJobRequest";
281
+ const _DPHIDJRe = "DescribePHIDetectionJobResponse";
282
+ const _DPHIR = "DetectPHIRequest";
283
+ const _DPHIRe = "DetectPHIResponse";
284
+ const _DRNIJ = "DescribeRxNormInferenceJob";
285
+ const _DRNIJR = "DescribeRxNormInferenceJobRequest";
286
+ const _DRNIJRe = "DescribeRxNormInferenceJobResponse";
287
+ const _DSNOMEDCTIJ = "DescribeSNOMEDCTInferenceJob";
288
+ const _DSNOMEDCTIJR = "DescribeSNOMEDCTInferenceJobRequest";
289
+ const _DSNOMEDCTIJRe = "DescribeSNOMEDCTInferenceJobResponse";
290
+ const _E = "Entities";
291
+ const _EL = "EntityList";
292
+ const _EO = "EndOffset";
293
+ const _ET = "EndTime";
294
+ const _ETx = "ExpirationTime";
295
+ const _Ed = "Edition";
296
+ const _En = "Entity";
297
+ const _F = "Filter";
298
+ const _I = "Id";
299
+ const _ICDCMA = "ICD10CMAttribute";
300
+ const _ICDCMAL = "ICD10CMAttributeList";
301
+ const _ICDCMC = "ICD10CMConcept";
302
+ const _ICDCMCL = "ICD10CMConceptList";
303
+ const _ICDCMCo = "ICD10CMConcepts";
304
+ const _ICDCME = "ICD10CMEntity";
305
+ const _ICDCMEL = "ICD10CMEntityList";
306
+ const _ICDCMT = "ICD10CMTrait";
307
+ const _ICDCMTL = "ICD10CMTraitList";
308
+ const _IDC = "InputDataConfig";
309
+ const _IEE = "InvalidEncodingException";
310
+ const _IICDCM = "InferICD10CM";
311
+ const _IICDCMR = "InferICD10CMRequest";
312
+ const _IICDCMRn = "InferICD10CMResponse";
313
+ const _IRE = "InvalidRequestException";
314
+ const _IRN = "InferRxNorm";
315
+ const _IRNR = "InferRxNormRequest";
316
+ const _IRNRn = "InferRxNormResponse";
317
+ const _ISE = "InternalServerException";
318
+ const _ISNOMEDCT = "InferSNOMEDCT";
319
+ const _ISNOMEDCTR = "InferSNOMEDCTRequest";
320
+ const _ISNOMEDCTRn = "InferSNOMEDCTResponse";
321
+ const _JI = "JobId";
322
+ const _JN = "JobName";
323
+ const _JS = "JobStatus";
324
+ const _KMSK = "KMSKey";
325
+ const _L = "Language";
326
+ const _LC = "LanguageCode";
327
+ const _LEDVJ = "ListEntitiesDetectionV2Jobs";
328
+ const _LEDVJR = "ListEntitiesDetectionV2JobsRequest";
329
+ const _LEDVJRi = "ListEntitiesDetectionV2JobsResponse";
330
+ const _LICDCMIJ = "ListICD10CMInferenceJobs";
331
+ const _LICDCMIJR = "ListICD10CMInferenceJobsRequest";
332
+ const _LICDCMIJRi = "ListICD10CMInferenceJobsResponse";
333
+ const _LPHIDJ = "ListPHIDetectionJobs";
334
+ const _LPHIDJR = "ListPHIDetectionJobsRequest";
335
+ const _LPHIDJRi = "ListPHIDetectionJobsResponse";
336
+ const _LRNIJ = "ListRxNormInferenceJobs";
337
+ const _LRNIJR = "ListRxNormInferenceJobsRequest";
338
+ const _LRNIJRi = "ListRxNormInferenceJobsResponse";
339
+ const _LSNOMEDCTIJ = "ListSNOMEDCTInferenceJobs";
340
+ const _LSNOMEDCTIJR = "ListSNOMEDCTInferenceJobsRequest";
341
+ const _LSNOMEDCTIJRi = "ListSNOMEDCTInferenceJobsResponse";
342
+ const _M = "Message";
343
+ const _MFP = "ManifestFilePath";
344
+ const _MR = "MaxResults";
345
+ const _MV = "ModelVersion";
346
+ const _N = "Name";
347
+ const _NT = "NextToken";
348
+ const _ODC = "OutputDataConfig";
349
+ const _OTC = "OriginalTextCharacters";
350
+ const _PT = "PaginationToken";
351
+ const _RNA = "RxNormAttribute";
352
+ const _RNAL = "RxNormAttributeList";
353
+ const _RNC = "RxNormConcept";
354
+ const _RNCL = "RxNormConceptList";
355
+ const _RNCx = "RxNormConcepts";
356
+ const _RNE = "RxNormEntity";
357
+ const _RNEL = "RxNormEntityList";
358
+ const _RNFE = "ResourceNotFoundException";
359
+ const _RNT = "RxNormTrait";
360
+ const _RNTL = "RxNormTraitList";
361
+ const _RS = "RelationshipScore";
362
+ const _RT = "RelationshipType";
363
+ const _S = "Score";
364
+ const _SB = "S3Bucket";
365
+ const _SEDVJ = "StartEntitiesDetectionV2Job";
366
+ const _SEDVJR = "StartEntitiesDetectionV2JobRequest";
367
+ const _SEDVJRt = "StartEntitiesDetectionV2JobResponse";
368
+ const _SEDVJRto = "StopEntitiesDetectionV2JobRequest";
369
+ const _SEDVJRtop = "StopEntitiesDetectionV2JobResponse";
370
+ const _SEDVJt = "StopEntitiesDetectionV2Job";
371
+ const _SICDCMIJ = "StartICD10CMInferenceJob";
372
+ const _SICDCMIJR = "StartICD10CMInferenceJobRequest";
373
+ const _SICDCMIJRt = "StartICD10CMInferenceJobResponse";
374
+ const _SICDCMIJRto = "StopICD10CMInferenceJobRequest";
375
+ const _SICDCMIJRtop = "StopICD10CMInferenceJobResponse";
376
+ const _SICDCMIJt = "StopICD10CMInferenceJob";
377
+ const _SK = "S3Key";
378
+ const _SNOMEDCTA = "SNOMEDCTAttribute";
379
+ const _SNOMEDCTAL = "SNOMEDCTAttributeList";
380
+ const _SNOMEDCTC = "SNOMEDCTConcepts";
381
+ const _SNOMEDCTCL = "SNOMEDCTConceptList";
382
+ const _SNOMEDCTCo = "SNOMEDCTConcept";
383
+ const _SNOMEDCTD = "SNOMEDCTDetails";
384
+ const _SNOMEDCTE = "SNOMEDCTEntity";
385
+ const _SNOMEDCTEL = "SNOMEDCTEntityList";
386
+ const _SNOMEDCTT = "SNOMEDCTTrait";
387
+ const _SNOMEDCTTL = "SNOMEDCTTraitList";
388
+ const _SPHIDJ = "StartPHIDetectionJob";
389
+ const _SPHIDJR = "StartPHIDetectionJobRequest";
390
+ const _SPHIDJRt = "StartPHIDetectionJobResponse";
391
+ const _SPHIDJRto = "StopPHIDetectionJobRequest";
392
+ const _SPHIDJRtop = "StopPHIDetectionJobResponse";
393
+ const _SPHIDJt = "StopPHIDetectionJob";
394
+ const _SRNIJ = "StartRxNormInferenceJob";
395
+ const _SRNIJR = "StartRxNormInferenceJobRequest";
396
+ const _SRNIJRt = "StartRxNormInferenceJobResponse";
397
+ const _SRNIJRto = "StopRxNormInferenceJobRequest";
398
+ const _SRNIJRtop = "StopRxNormInferenceJobResponse";
399
+ const _SRNIJt = "StopRxNormInferenceJob";
400
+ const _SSNOMEDCTIJ = "StartSNOMEDCTInferenceJob";
401
+ const _SSNOMEDCTIJR = "StartSNOMEDCTInferenceJobRequest";
402
+ const _SSNOMEDCTIJRt = "StartSNOMEDCTInferenceJobResponse";
403
+ const _SSNOMEDCTIJRto = "StopSNOMEDCTInferenceJobRequest";
404
+ const _SSNOMEDCTIJRtop = "StopSNOMEDCTInferenceJobResponse";
405
+ const _SSNOMEDCTIJt = "StopSNOMEDCTInferenceJob";
406
+ const _ST = "SubmitTime";
407
+ const _STA = "SubmitTimeAfter";
408
+ const _STB = "SubmitTimeBefore";
409
+ const _SUE = "ServiceUnavailableException";
410
+ const _T = "Type";
411
+ const _TL = "TraitList";
412
+ const _TMRE = "TooManyRequestsException";
413
+ const _TSLEE = "TextSizeLimitExceededException";
414
+ const _Te = "Text";
415
+ const _Tr = "Traits";
416
+ const _Tra = "Trait";
417
+ const _UA = "UnmappedAttributes";
418
+ const _UAL = "UnmappedAttributeList";
419
+ const _UAn = "UnmappedAttribute";
420
+ const _VD = "VersionDate";
421
+ const _VE = "ValidationException";
422
+ const _c = "client";
423
+ const _e = "error";
424
+ const _hE = "httpError";
425
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.comprehendmedical";
426
+ const _se = "server";
427
+ const n0 = "com.amazonaws.comprehendmedical";
428
+ const _s_registry = TypeRegistry.for(_s);
429
+ var ComprehendMedicalServiceException$ = [-3, _s, "ComprehendMedicalServiceException", 0, [], []];
430
+ _s_registry.registerError(ComprehendMedicalServiceException$, ComprehendMedicalServiceException);
431
+ const n0_registry = TypeRegistry.for(n0);
432
+ var InternalServerException$ = [-3, n0, _ISE,
433
+ { [_e]: _se, [_hE]: 500 },
434
+ [_M],
435
+ [0]
436
+ ];
437
+ n0_registry.registerError(InternalServerException$, InternalServerException);
438
+ var InvalidEncodingException$ = [-3, n0, _IEE,
439
+ { [_e]: _c, [_hE]: 400 },
440
+ [_M],
441
+ [0]
442
+ ];
443
+ n0_registry.registerError(InvalidEncodingException$, InvalidEncodingException);
444
+ var InvalidRequestException$ = [-3, n0, _IRE,
445
+ { [_e]: _c, [_hE]: 400 },
446
+ [_M],
447
+ [0]
448
+ ];
449
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
450
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
451
+ { [_e]: _c, [_hE]: 404 },
452
+ [_M],
453
+ [0]
454
+ ];
455
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
456
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
457
+ { [_e]: _se, [_hE]: 503 },
458
+ [_M],
459
+ [0]
460
+ ];
461
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
462
+ var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
463
+ { [_e]: _c, [_hE]: 400 },
464
+ [_M],
465
+ [0]
466
+ ];
467
+ n0_registry.registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
468
+ var TooManyRequestsException$ = [-3, n0, _TMRE,
469
+ { [_e]: _c, [_hE]: 429 },
470
+ [_M],
471
+ [0]
472
+ ];
473
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
474
+ var ValidationException$ = [-3, n0, _VE,
475
+ { [_e]: _c, [_hE]: 400 },
476
+ [_M],
477
+ [0]
478
+ ];
479
+ n0_registry.registerError(ValidationException$, ValidationException);
480
+ const errorTypeRegistries = [
481
+ _s_registry,
482
+ n0_registry,
483
+ ];
484
+ var Attribute$ = [3, n0, _A,
485
+ 0,
486
+ [_T, _S, _RS, _RT, _I, _BO, _EO, _Te, _C, _Tr],
487
+ [0, 1, 1, 0, 1, 1, 1, 0, 0, () => TraitList]
488
+ ];
489
+ var Characters$ = [3, n0, _Ch,
490
+ 0,
491
+ [_OTC],
492
+ [1]
493
+ ];
494
+ var ComprehendMedicalAsyncJobFilter$ = [3, n0, _CMAJF,
495
+ 0,
496
+ [_JN, _JS, _STB, _STA],
497
+ [0, 0, 4, 4]
498
+ ];
499
+ var ComprehendMedicalAsyncJobProperties$ = [3, n0, _CMAJP,
500
+ 0,
501
+ [_JI, _JN, _JS, _M, _ST, _ET, _ETx, _IDC, _ODC, _LC, _DARA, _MFP, _KMSK, _MV],
502
+ [0, 0, 0, 0, 4, 4, 4, () => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, 0, 0]
503
+ ];
504
+ var DescribeEntitiesDetectionV2JobRequest$ = [3, n0, _DEDVJR,
505
+ 0,
506
+ [_JI],
507
+ [0], 1
508
+ ];
509
+ var DescribeEntitiesDetectionV2JobResponse$ = [3, n0, _DEDVJRe,
510
+ 0,
511
+ [_CMAJP],
512
+ [() => ComprehendMedicalAsyncJobProperties$]
513
+ ];
514
+ var DescribeICD10CMInferenceJobRequest$ = [3, n0, _DICDCMIJR,
515
+ 0,
516
+ [_JI],
517
+ [0], 1
518
+ ];
519
+ var DescribeICD10CMInferenceJobResponse$ = [3, n0, _DICDCMIJRe,
520
+ 0,
521
+ [_CMAJP],
522
+ [() => ComprehendMedicalAsyncJobProperties$]
523
+ ];
524
+ var DescribePHIDetectionJobRequest$ = [3, n0, _DPHIDJR,
525
+ 0,
526
+ [_JI],
527
+ [0], 1
528
+ ];
529
+ var DescribePHIDetectionJobResponse$ = [3, n0, _DPHIDJRe,
530
+ 0,
531
+ [_CMAJP],
532
+ [() => ComprehendMedicalAsyncJobProperties$]
533
+ ];
534
+ var DescribeRxNormInferenceJobRequest$ = [3, n0, _DRNIJR,
535
+ 0,
536
+ [_JI],
537
+ [0], 1
538
+ ];
539
+ var DescribeRxNormInferenceJobResponse$ = [3, n0, _DRNIJRe,
540
+ 0,
541
+ [_CMAJP],
542
+ [() => ComprehendMedicalAsyncJobProperties$]
543
+ ];
544
+ var DescribeSNOMEDCTInferenceJobRequest$ = [3, n0, _DSNOMEDCTIJR,
545
+ 0,
546
+ [_JI],
547
+ [0], 1
548
+ ];
549
+ var DescribeSNOMEDCTInferenceJobResponse$ = [3, n0, _DSNOMEDCTIJRe,
550
+ 0,
551
+ [_CMAJP],
552
+ [() => ComprehendMedicalAsyncJobProperties$]
553
+ ];
554
+ var DetectEntitiesRequest$ = [3, n0, _DER,
555
+ 0,
556
+ [_Te],
557
+ [0], 1
558
+ ];
559
+ var DetectEntitiesResponse$ = [3, n0, _DERe,
560
+ 0,
561
+ [_E, _MV, _UA, _PT],
562
+ [() => EntityList, 0, () => UnmappedAttributeList, 0], 2
563
+ ];
564
+ var DetectEntitiesV2Request$ = [3, n0, _DEVR,
565
+ 0,
566
+ [_Te],
567
+ [0], 1
568
+ ];
569
+ var DetectEntitiesV2Response$ = [3, n0, _DEVRe,
570
+ 0,
571
+ [_E, _MV, _UA, _PT],
572
+ [() => EntityList, 0, () => UnmappedAttributeList, 0], 2
573
+ ];
574
+ var DetectPHIRequest$ = [3, n0, _DPHIR,
575
+ 0,
576
+ [_Te],
577
+ [0], 1
578
+ ];
579
+ var DetectPHIResponse$ = [3, n0, _DPHIRe,
580
+ 0,
581
+ [_E, _MV, _PT],
582
+ [() => EntityList, 0, 0], 2
583
+ ];
584
+ var Entity$ = [3, n0, _En,
585
+ 0,
586
+ [_I, _BO, _EO, _S, _Te, _C, _T, _Tr, _At],
587
+ [1, 1, 1, 1, 0, 0, 0, () => TraitList, () => AttributeList]
588
+ ];
589
+ var ICD10CMAttribute$ = [3, n0, _ICDCMA,
590
+ 0,
591
+ [_T, _S, _RS, _I, _BO, _EO, _Te, _Tr, _C, _RT],
592
+ [0, 1, 1, 1, 1, 1, 0, () => ICD10CMTraitList, 0, 0]
593
+ ];
594
+ var ICD10CMConcept$ = [3, n0, _ICDCMC,
595
+ 0,
596
+ [_D, _Co, _S],
597
+ [0, 0, 1]
598
+ ];
599
+ var ICD10CMEntity$ = [3, n0, _ICDCME,
600
+ 0,
601
+ [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _ICDCMCo],
602
+ [1, 0, 0, 0, 1, 1, 1, () => ICD10CMAttributeList, () => ICD10CMTraitList, () => ICD10CMConceptList]
603
+ ];
604
+ var ICD10CMTrait$ = [3, n0, _ICDCMT,
605
+ 0,
606
+ [_N, _S],
607
+ [0, 1]
608
+ ];
609
+ var InferICD10CMRequest$ = [3, n0, _IICDCMR,
610
+ 0,
611
+ [_Te],
612
+ [0], 1
613
+ ];
614
+ var InferICD10CMResponse$ = [3, n0, _IICDCMRn,
615
+ 0,
616
+ [_E, _PT, _MV],
617
+ [() => ICD10CMEntityList, 0, 0], 1
618
+ ];
619
+ var InferRxNormRequest$ = [3, n0, _IRNR,
620
+ 0,
621
+ [_Te],
622
+ [0], 1
623
+ ];
624
+ var InferRxNormResponse$ = [3, n0, _IRNRn,
625
+ 0,
626
+ [_E, _PT, _MV],
627
+ [() => RxNormEntityList, 0, 0], 1
628
+ ];
629
+ var InferSNOMEDCTRequest$ = [3, n0, _ISNOMEDCTR,
630
+ 0,
631
+ [_Te],
632
+ [0], 1
633
+ ];
634
+ var InferSNOMEDCTResponse$ = [3, n0, _ISNOMEDCTRn,
635
+ 0,
636
+ [_E, _PT, _MV, _SNOMEDCTD, _Ch],
637
+ [() => SNOMEDCTEntityList, 0, 0, () => SNOMEDCTDetails$, () => Characters$], 1
638
+ ];
639
+ var InputDataConfig$ = [3, n0, _IDC,
640
+ 0,
641
+ [_SB, _SK],
642
+ [0, 0], 1
643
+ ];
644
+ var ListEntitiesDetectionV2JobsRequest$ = [3, n0, _LEDVJR,
645
+ 0,
646
+ [_F, _NT, _MR],
647
+ [() => ComprehendMedicalAsyncJobFilter$, 0, 1]
648
+ ];
649
+ var ListEntitiesDetectionV2JobsResponse$ = [3, n0, _LEDVJRi,
650
+ 0,
651
+ [_CMAJPL, _NT],
652
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0]
653
+ ];
654
+ var ListICD10CMInferenceJobsRequest$ = [3, n0, _LICDCMIJR,
655
+ 0,
656
+ [_F, _NT, _MR],
657
+ [() => ComprehendMedicalAsyncJobFilter$, 0, 1]
658
+ ];
659
+ var ListICD10CMInferenceJobsResponse$ = [3, n0, _LICDCMIJRi,
660
+ 0,
661
+ [_CMAJPL, _NT],
662
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0]
663
+ ];
664
+ var ListPHIDetectionJobsRequest$ = [3, n0, _LPHIDJR,
665
+ 0,
666
+ [_F, _NT, _MR],
667
+ [() => ComprehendMedicalAsyncJobFilter$, 0, 1]
668
+ ];
669
+ var ListPHIDetectionJobsResponse$ = [3, n0, _LPHIDJRi,
670
+ 0,
671
+ [_CMAJPL, _NT],
672
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0]
673
+ ];
674
+ var ListRxNormInferenceJobsRequest$ = [3, n0, _LRNIJR,
675
+ 0,
676
+ [_F, _NT, _MR],
677
+ [() => ComprehendMedicalAsyncJobFilter$, 0, 1]
678
+ ];
679
+ var ListRxNormInferenceJobsResponse$ = [3, n0, _LRNIJRi,
680
+ 0,
681
+ [_CMAJPL, _NT],
682
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0]
683
+ ];
684
+ var ListSNOMEDCTInferenceJobsRequest$ = [3, n0, _LSNOMEDCTIJR,
685
+ 0,
686
+ [_F, _NT, _MR],
687
+ [() => ComprehendMedicalAsyncJobFilter$, 0, 1]
688
+ ];
689
+ var ListSNOMEDCTInferenceJobsResponse$ = [3, n0, _LSNOMEDCTIJRi,
690
+ 0,
691
+ [_CMAJPL, _NT],
692
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0]
693
+ ];
694
+ var OutputDataConfig$ = [3, n0, _ODC,
695
+ 0,
696
+ [_SB, _SK],
697
+ [0, 0], 1
698
+ ];
699
+ var RxNormAttribute$ = [3, n0, _RNA,
700
+ 0,
701
+ [_T, _S, _RS, _I, _BO, _EO, _Te, _Tr],
702
+ [0, 1, 1, 1, 1, 1, 0, () => RxNormTraitList]
703
+ ];
704
+ var RxNormConcept$ = [3, n0, _RNC,
705
+ 0,
706
+ [_D, _Co, _S],
707
+ [0, 0, 1]
708
+ ];
709
+ var RxNormEntity$ = [3, n0, _RNE,
710
+ 0,
711
+ [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _RNCx],
712
+ [1, 0, 0, 0, 1, 1, 1, () => RxNormAttributeList, () => RxNormTraitList, () => RxNormConceptList]
713
+ ];
714
+ var RxNormTrait$ = [3, n0, _RNT,
715
+ 0,
716
+ [_N, _S],
717
+ [0, 1]
718
+ ];
719
+ var SNOMEDCTAttribute$ = [3, n0, _SNOMEDCTA,
720
+ 0,
721
+ [_C, _T, _S, _RS, _RT, _I, _BO, _EO, _Te, _Tr, _SNOMEDCTC],
722
+ [0, 0, 1, 1, 0, 1, 1, 1, 0, () => SNOMEDCTTraitList, () => SNOMEDCTConceptList]
723
+ ];
724
+ var SNOMEDCTConcept$ = [3, n0, _SNOMEDCTCo,
725
+ 0,
726
+ [_D, _Co, _S],
727
+ [0, 0, 1]
728
+ ];
729
+ var SNOMEDCTDetails$ = [3, n0, _SNOMEDCTD,
730
+ 0,
731
+ [_Ed, _L, _VD],
732
+ [0, 0, 0]
733
+ ];
734
+ var SNOMEDCTEntity$ = [3, n0, _SNOMEDCTE,
735
+ 0,
736
+ [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _SNOMEDCTC],
737
+ [1, 0, 0, 0, 1, 1, 1, () => SNOMEDCTAttributeList, () => SNOMEDCTTraitList, () => SNOMEDCTConceptList]
738
+ ];
739
+ var SNOMEDCTTrait$ = [3, n0, _SNOMEDCTT,
740
+ 0,
741
+ [_N, _S],
742
+ [0, 1]
743
+ ];
744
+ var StartEntitiesDetectionV2JobRequest$ = [3, n0, _SEDVJR,
745
+ 0,
746
+ [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK],
747
+ [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4
748
+ ];
749
+ var StartEntitiesDetectionV2JobResponse$ = [3, n0, _SEDVJRt,
750
+ 0,
751
+ [_JI],
752
+ [0]
753
+ ];
754
+ var StartICD10CMInferenceJobRequest$ = [3, n0, _SICDCMIJR,
755
+ 0,
756
+ [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK],
757
+ [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4
758
+ ];
759
+ var StartICD10CMInferenceJobResponse$ = [3, n0, _SICDCMIJRt,
760
+ 0,
761
+ [_JI],
762
+ [0]
763
+ ];
764
+ var StartPHIDetectionJobRequest$ = [3, n0, _SPHIDJR,
765
+ 0,
766
+ [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK],
767
+ [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4
768
+ ];
769
+ var StartPHIDetectionJobResponse$ = [3, n0, _SPHIDJRt,
770
+ 0,
771
+ [_JI],
772
+ [0]
773
+ ];
774
+ var StartRxNormInferenceJobRequest$ = [3, n0, _SRNIJR,
775
+ 0,
776
+ [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK],
777
+ [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4
778
+ ];
779
+ var StartRxNormInferenceJobResponse$ = [3, n0, _SRNIJRt,
780
+ 0,
781
+ [_JI],
782
+ [0]
783
+ ];
784
+ var StartSNOMEDCTInferenceJobRequest$ = [3, n0, _SSNOMEDCTIJR,
785
+ 0,
786
+ [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK],
787
+ [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4
788
+ ];
789
+ var StartSNOMEDCTInferenceJobResponse$ = [3, n0, _SSNOMEDCTIJRt,
790
+ 0,
791
+ [_JI],
792
+ [0]
793
+ ];
794
+ var StopEntitiesDetectionV2JobRequest$ = [3, n0, _SEDVJRto,
795
+ 0,
796
+ [_JI],
797
+ [0], 1
798
+ ];
799
+ var StopEntitiesDetectionV2JobResponse$ = [3, n0, _SEDVJRtop,
800
+ 0,
801
+ [_JI],
802
+ [0]
803
+ ];
804
+ var StopICD10CMInferenceJobRequest$ = [3, n0, _SICDCMIJRto,
805
+ 0,
806
+ [_JI],
807
+ [0], 1
808
+ ];
809
+ var StopICD10CMInferenceJobResponse$ = [3, n0, _SICDCMIJRtop,
810
+ 0,
811
+ [_JI],
812
+ [0]
813
+ ];
814
+ var StopPHIDetectionJobRequest$ = [3, n0, _SPHIDJRto,
815
+ 0,
816
+ [_JI],
817
+ [0], 1
818
+ ];
819
+ var StopPHIDetectionJobResponse$ = [3, n0, _SPHIDJRtop,
820
+ 0,
821
+ [_JI],
822
+ [0]
823
+ ];
824
+ var StopRxNormInferenceJobRequest$ = [3, n0, _SRNIJRto,
825
+ 0,
826
+ [_JI],
827
+ [0], 1
828
+ ];
829
+ var StopRxNormInferenceJobResponse$ = [3, n0, _SRNIJRtop,
830
+ 0,
831
+ [_JI],
832
+ [0]
833
+ ];
834
+ var StopSNOMEDCTInferenceJobRequest$ = [3, n0, _SSNOMEDCTIJRto,
835
+ 0,
836
+ [_JI],
837
+ [0], 1
838
+ ];
839
+ var StopSNOMEDCTInferenceJobResponse$ = [3, n0, _SSNOMEDCTIJRtop,
840
+ 0,
841
+ [_JI],
842
+ [0]
843
+ ];
844
+ var Trait$ = [3, n0, _Tra,
845
+ 0,
846
+ [_N, _S],
847
+ [0, 1]
848
+ ];
849
+ var UnmappedAttribute$ = [3, n0, _UAn,
850
+ 0,
851
+ [_T, _A],
852
+ [0, () => Attribute$]
853
+ ];
854
+ var AttributeList = [1, n0, _AL,
855
+ 0, () => Attribute$
856
+ ];
857
+ var ComprehendMedicalAsyncJobPropertiesList = [1, n0, _CMAJPL,
858
+ 0, () => ComprehendMedicalAsyncJobProperties$
859
+ ];
860
+ var EntityList = [1, n0, _EL,
861
+ 0, () => Entity$
862
+ ];
863
+ var ICD10CMAttributeList = [1, n0, _ICDCMAL,
864
+ 0, () => ICD10CMAttribute$
865
+ ];
866
+ var ICD10CMConceptList = [1, n0, _ICDCMCL,
867
+ 0, () => ICD10CMConcept$
868
+ ];
869
+ var ICD10CMEntityList = [1, n0, _ICDCMEL,
870
+ 0, () => ICD10CMEntity$
871
+ ];
872
+ var ICD10CMTraitList = [1, n0, _ICDCMTL,
873
+ 0, () => ICD10CMTrait$
874
+ ];
875
+ var RxNormAttributeList = [1, n0, _RNAL,
876
+ 0, () => RxNormAttribute$
877
+ ];
878
+ var RxNormConceptList = [1, n0, _RNCL,
879
+ 0, () => RxNormConcept$
880
+ ];
881
+ var RxNormEntityList = [1, n0, _RNEL,
882
+ 0, () => RxNormEntity$
883
+ ];
884
+ var RxNormTraitList = [1, n0, _RNTL,
885
+ 0, () => RxNormTrait$
886
+ ];
887
+ var SNOMEDCTAttributeList = [1, n0, _SNOMEDCTAL,
888
+ 0, () => SNOMEDCTAttribute$
889
+ ];
890
+ var SNOMEDCTConceptList = [1, n0, _SNOMEDCTCL,
891
+ 0, () => SNOMEDCTConcept$
892
+ ];
893
+ var SNOMEDCTEntityList = [1, n0, _SNOMEDCTEL,
894
+ 0, () => SNOMEDCTEntity$
895
+ ];
896
+ var SNOMEDCTTraitList = [1, n0, _SNOMEDCTTL,
897
+ 0, () => SNOMEDCTTrait$
898
+ ];
899
+ var TraitList = [1, n0, _TL,
900
+ 0, () => Trait$
901
+ ];
902
+ var UnmappedAttributeList = [1, n0, _UAL,
903
+ 0, () => UnmappedAttribute$
904
+ ];
905
+ var DescribeEntitiesDetectionV2Job$ = [9, n0, _DEDVJ,
906
+ 0, () => DescribeEntitiesDetectionV2JobRequest$, () => DescribeEntitiesDetectionV2JobResponse$
907
+ ];
908
+ var DescribeICD10CMInferenceJob$ = [9, n0, _DICDCMIJ,
909
+ 0, () => DescribeICD10CMInferenceJobRequest$, () => DescribeICD10CMInferenceJobResponse$
910
+ ];
911
+ var DescribePHIDetectionJob$ = [9, n0, _DPHIDJ,
912
+ 0, () => DescribePHIDetectionJobRequest$, () => DescribePHIDetectionJobResponse$
913
+ ];
914
+ var DescribeRxNormInferenceJob$ = [9, n0, _DRNIJ,
915
+ 0, () => DescribeRxNormInferenceJobRequest$, () => DescribeRxNormInferenceJobResponse$
916
+ ];
917
+ var DescribeSNOMEDCTInferenceJob$ = [9, n0, _DSNOMEDCTIJ,
918
+ 0, () => DescribeSNOMEDCTInferenceJobRequest$, () => DescribeSNOMEDCTInferenceJobResponse$
919
+ ];
920
+ var DetectEntities$ = [9, n0, _DE,
921
+ 0, () => DetectEntitiesRequest$, () => DetectEntitiesResponse$
922
+ ];
923
+ var DetectEntitiesV2$ = [9, n0, _DEV,
924
+ 0, () => DetectEntitiesV2Request$, () => DetectEntitiesV2Response$
925
+ ];
926
+ var DetectPHI$ = [9, n0, _DPHI,
927
+ 0, () => DetectPHIRequest$, () => DetectPHIResponse$
928
+ ];
929
+ var InferICD10CM$ = [9, n0, _IICDCM,
930
+ 0, () => InferICD10CMRequest$, () => InferICD10CMResponse$
931
+ ];
932
+ var InferRxNorm$ = [9, n0, _IRN,
933
+ 0, () => InferRxNormRequest$, () => InferRxNormResponse$
934
+ ];
935
+ var InferSNOMEDCT$ = [9, n0, _ISNOMEDCT,
936
+ 0, () => InferSNOMEDCTRequest$, () => InferSNOMEDCTResponse$
937
+ ];
938
+ var ListEntitiesDetectionV2Jobs$ = [9, n0, _LEDVJ,
939
+ 0, () => ListEntitiesDetectionV2JobsRequest$, () => ListEntitiesDetectionV2JobsResponse$
940
+ ];
941
+ var ListICD10CMInferenceJobs$ = [9, n0, _LICDCMIJ,
942
+ 0, () => ListICD10CMInferenceJobsRequest$, () => ListICD10CMInferenceJobsResponse$
943
+ ];
944
+ var ListPHIDetectionJobs$ = [9, n0, _LPHIDJ,
945
+ 0, () => ListPHIDetectionJobsRequest$, () => ListPHIDetectionJobsResponse$
946
+ ];
947
+ var ListRxNormInferenceJobs$ = [9, n0, _LRNIJ,
948
+ 0, () => ListRxNormInferenceJobsRequest$, () => ListRxNormInferenceJobsResponse$
949
+ ];
950
+ var ListSNOMEDCTInferenceJobs$ = [9, n0, _LSNOMEDCTIJ,
951
+ 0, () => ListSNOMEDCTInferenceJobsRequest$, () => ListSNOMEDCTInferenceJobsResponse$
952
+ ];
953
+ var StartEntitiesDetectionV2Job$ = [9, n0, _SEDVJ,
954
+ 0, () => StartEntitiesDetectionV2JobRequest$, () => StartEntitiesDetectionV2JobResponse$
955
+ ];
956
+ var StartICD10CMInferenceJob$ = [9, n0, _SICDCMIJ,
957
+ 0, () => StartICD10CMInferenceJobRequest$, () => StartICD10CMInferenceJobResponse$
958
+ ];
959
+ var StartPHIDetectionJob$ = [9, n0, _SPHIDJ,
960
+ 0, () => StartPHIDetectionJobRequest$, () => StartPHIDetectionJobResponse$
961
+ ];
962
+ var StartRxNormInferenceJob$ = [9, n0, _SRNIJ,
963
+ 0, () => StartRxNormInferenceJobRequest$, () => StartRxNormInferenceJobResponse$
964
+ ];
965
+ var StartSNOMEDCTInferenceJob$ = [9, n0, _SSNOMEDCTIJ,
966
+ 0, () => StartSNOMEDCTInferenceJobRequest$, () => StartSNOMEDCTInferenceJobResponse$
967
+ ];
968
+ var StopEntitiesDetectionV2Job$ = [9, n0, _SEDVJt,
969
+ 0, () => StopEntitiesDetectionV2JobRequest$, () => StopEntitiesDetectionV2JobResponse$
970
+ ];
971
+ var StopICD10CMInferenceJob$ = [9, n0, _SICDCMIJt,
972
+ 0, () => StopICD10CMInferenceJobRequest$, () => StopICD10CMInferenceJobResponse$
973
+ ];
974
+ var StopPHIDetectionJob$ = [9, n0, _SPHIDJt,
975
+ 0, () => StopPHIDetectionJobRequest$, () => StopPHIDetectionJobResponse$
976
+ ];
977
+ var StopRxNormInferenceJob$ = [9, n0, _SRNIJt,
978
+ 0, () => StopRxNormInferenceJobRequest$, () => StopRxNormInferenceJobResponse$
979
+ ];
980
+ var StopSNOMEDCTInferenceJob$ = [9, n0, _SSNOMEDCTIJt,
981
+ 0, () => StopSNOMEDCTInferenceJobRequest$, () => StopSNOMEDCTInferenceJobResponse$
982
+ ];
983
+
984
+ const getRuntimeConfig$1 = (config) => {
985
+ return {
986
+ apiVersion: "2018-10-30",
987
+ base64Decoder: config?.base64Decoder ?? fromBase64,
988
+ base64Encoder: config?.base64Encoder ?? toBase64,
989
+ disableHostPrefix: config?.disableHostPrefix ?? false,
990
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
991
+ extensions: config?.extensions ?? [],
992
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultComprehendMedicalHttpAuthSchemeProvider,
993
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
994
+ {
995
+ schemeId: "aws.auth#sigv4",
996
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
997
+ signer: new AwsSdkSigV4Signer(),
998
+ },
999
+ ],
1000
+ logger: config?.logger ?? new NoOpLogger(),
1001
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
1002
+ protocolSettings: config?.protocolSettings ?? {
1003
+ defaultNamespace: "com.amazonaws.comprehendmedical",
1004
+ errorTypeRegistries,
1005
+ version: "2018-10-30",
1006
+ serviceTarget: "ComprehendMedical_20181030",
1007
+ },
1008
+ serviceId: config?.serviceId ?? "ComprehendMedical",
1009
+ sha256: config?.sha256 ?? Sha256,
1010
+ urlParser: config?.urlParser ?? parseUrl,
1011
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1012
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1013
+ };
1014
+ };
1015
+
1016
+ const getRuntimeConfig = (config) => {
1017
+ emitWarningIfUnsupportedVersion(process.version);
1018
+ const defaultsMode = resolveDefaultsModeConfig(config);
1019
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1020
+ const clientSharedValues = getRuntimeConfig$1(config);
1021
+ emitWarningIfUnsupportedVersion$1(process.version);
1022
+ const loaderConfig = {
1023
+ profile: config?.profile,
1024
+ logger: clientSharedValues.logger,
1025
+ };
1026
+ return {
1027
+ ...clientSharedValues,
1028
+ ...config,
1029
+ runtime: "node",
1030
+ defaultsMode,
1031
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1032
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1033
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1034
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1035
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1036
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1037
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1038
+ retryMode: config?.retryMode ??
1039
+ loadConfig({
1040
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1041
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1042
+ }, config),
1043
+ streamCollector: config?.streamCollector ?? streamCollector,
1044
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1045
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1046
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1047
+ };
1048
+ };
1049
+
34
1050
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1051
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1052
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -648,51 +1664,170 @@ const SNOMEDCTEntityType = {
648
1664
  TREATMENT_NAME: "TREATMENT_NAME",
649
1665
  };
650
1666
 
1667
+ exports.Attribute$ = Attribute$;
651
1668
  exports.AttributeName = AttributeName;
1669
+ exports.Characters$ = Characters$;
652
1670
  exports.ComprehendMedical = ComprehendMedical;
1671
+ exports.ComprehendMedicalAsyncJobFilter$ = ComprehendMedicalAsyncJobFilter$;
1672
+ exports.ComprehendMedicalAsyncJobProperties$ = ComprehendMedicalAsyncJobProperties$;
653
1673
  exports.ComprehendMedicalClient = ComprehendMedicalClient;
1674
+ exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException;
1675
+ exports.ComprehendMedicalServiceException$ = ComprehendMedicalServiceException$;
1676
+ exports.DescribeEntitiesDetectionV2Job$ = DescribeEntitiesDetectionV2Job$;
654
1677
  exports.DescribeEntitiesDetectionV2JobCommand = DescribeEntitiesDetectionV2JobCommand;
1678
+ exports.DescribeEntitiesDetectionV2JobRequest$ = DescribeEntitiesDetectionV2JobRequest$;
1679
+ exports.DescribeEntitiesDetectionV2JobResponse$ = DescribeEntitiesDetectionV2JobResponse$;
1680
+ exports.DescribeICD10CMInferenceJob$ = DescribeICD10CMInferenceJob$;
655
1681
  exports.DescribeICD10CMInferenceJobCommand = DescribeICD10CMInferenceJobCommand;
1682
+ exports.DescribeICD10CMInferenceJobRequest$ = DescribeICD10CMInferenceJobRequest$;
1683
+ exports.DescribeICD10CMInferenceJobResponse$ = DescribeICD10CMInferenceJobResponse$;
1684
+ exports.DescribePHIDetectionJob$ = DescribePHIDetectionJob$;
656
1685
  exports.DescribePHIDetectionJobCommand = DescribePHIDetectionJobCommand;
1686
+ exports.DescribePHIDetectionJobRequest$ = DescribePHIDetectionJobRequest$;
1687
+ exports.DescribePHIDetectionJobResponse$ = DescribePHIDetectionJobResponse$;
1688
+ exports.DescribeRxNormInferenceJob$ = DescribeRxNormInferenceJob$;
657
1689
  exports.DescribeRxNormInferenceJobCommand = DescribeRxNormInferenceJobCommand;
1690
+ exports.DescribeRxNormInferenceJobRequest$ = DescribeRxNormInferenceJobRequest$;
1691
+ exports.DescribeRxNormInferenceJobResponse$ = DescribeRxNormInferenceJobResponse$;
1692
+ exports.DescribeSNOMEDCTInferenceJob$ = DescribeSNOMEDCTInferenceJob$;
658
1693
  exports.DescribeSNOMEDCTInferenceJobCommand = DescribeSNOMEDCTInferenceJobCommand;
1694
+ exports.DescribeSNOMEDCTInferenceJobRequest$ = DescribeSNOMEDCTInferenceJobRequest$;
1695
+ exports.DescribeSNOMEDCTInferenceJobResponse$ = DescribeSNOMEDCTInferenceJobResponse$;
1696
+ exports.DetectEntities$ = DetectEntities$;
659
1697
  exports.DetectEntitiesCommand = DetectEntitiesCommand;
1698
+ exports.DetectEntitiesRequest$ = DetectEntitiesRequest$;
1699
+ exports.DetectEntitiesResponse$ = DetectEntitiesResponse$;
1700
+ exports.DetectEntitiesV2$ = DetectEntitiesV2$;
660
1701
  exports.DetectEntitiesV2Command = DetectEntitiesV2Command;
1702
+ exports.DetectEntitiesV2Request$ = DetectEntitiesV2Request$;
1703
+ exports.DetectEntitiesV2Response$ = DetectEntitiesV2Response$;
1704
+ exports.DetectPHI$ = DetectPHI$;
661
1705
  exports.DetectPHICommand = DetectPHICommand;
1706
+ exports.DetectPHIRequest$ = DetectPHIRequest$;
1707
+ exports.DetectPHIResponse$ = DetectPHIResponse$;
1708
+ exports.Entity$ = Entity$;
662
1709
  exports.EntitySubType = EntitySubType;
663
1710
  exports.EntityType = EntityType;
1711
+ exports.ICD10CMAttribute$ = ICD10CMAttribute$;
664
1712
  exports.ICD10CMAttributeType = ICD10CMAttributeType;
1713
+ exports.ICD10CMConcept$ = ICD10CMConcept$;
1714
+ exports.ICD10CMEntity$ = ICD10CMEntity$;
665
1715
  exports.ICD10CMEntityCategory = ICD10CMEntityCategory;
666
1716
  exports.ICD10CMEntityType = ICD10CMEntityType;
667
1717
  exports.ICD10CMRelationshipType = ICD10CMRelationshipType;
1718
+ exports.ICD10CMTrait$ = ICD10CMTrait$;
668
1719
  exports.ICD10CMTraitName = ICD10CMTraitName;
1720
+ exports.InferICD10CM$ = InferICD10CM$;
669
1721
  exports.InferICD10CMCommand = InferICD10CMCommand;
1722
+ exports.InferICD10CMRequest$ = InferICD10CMRequest$;
1723
+ exports.InferICD10CMResponse$ = InferICD10CMResponse$;
1724
+ exports.InferRxNorm$ = InferRxNorm$;
670
1725
  exports.InferRxNormCommand = InferRxNormCommand;
1726
+ exports.InferRxNormRequest$ = InferRxNormRequest$;
1727
+ exports.InferRxNormResponse$ = InferRxNormResponse$;
1728
+ exports.InferSNOMEDCT$ = InferSNOMEDCT$;
671
1729
  exports.InferSNOMEDCTCommand = InferSNOMEDCTCommand;
1730
+ exports.InferSNOMEDCTRequest$ = InferSNOMEDCTRequest$;
1731
+ exports.InferSNOMEDCTResponse$ = InferSNOMEDCTResponse$;
1732
+ exports.InputDataConfig$ = InputDataConfig$;
1733
+ exports.InternalServerException = InternalServerException;
1734
+ exports.InternalServerException$ = InternalServerException$;
1735
+ exports.InvalidEncodingException = InvalidEncodingException;
1736
+ exports.InvalidEncodingException$ = InvalidEncodingException$;
1737
+ exports.InvalidRequestException = InvalidRequestException;
1738
+ exports.InvalidRequestException$ = InvalidRequestException$;
672
1739
  exports.JobStatus = JobStatus;
673
1740
  exports.LanguageCode = LanguageCode;
1741
+ exports.ListEntitiesDetectionV2Jobs$ = ListEntitiesDetectionV2Jobs$;
674
1742
  exports.ListEntitiesDetectionV2JobsCommand = ListEntitiesDetectionV2JobsCommand;
1743
+ exports.ListEntitiesDetectionV2JobsRequest$ = ListEntitiesDetectionV2JobsRequest$;
1744
+ exports.ListEntitiesDetectionV2JobsResponse$ = ListEntitiesDetectionV2JobsResponse$;
1745
+ exports.ListICD10CMInferenceJobs$ = ListICD10CMInferenceJobs$;
675
1746
  exports.ListICD10CMInferenceJobsCommand = ListICD10CMInferenceJobsCommand;
1747
+ exports.ListICD10CMInferenceJobsRequest$ = ListICD10CMInferenceJobsRequest$;
1748
+ exports.ListICD10CMInferenceJobsResponse$ = ListICD10CMInferenceJobsResponse$;
1749
+ exports.ListPHIDetectionJobs$ = ListPHIDetectionJobs$;
676
1750
  exports.ListPHIDetectionJobsCommand = ListPHIDetectionJobsCommand;
1751
+ exports.ListPHIDetectionJobsRequest$ = ListPHIDetectionJobsRequest$;
1752
+ exports.ListPHIDetectionJobsResponse$ = ListPHIDetectionJobsResponse$;
1753
+ exports.ListRxNormInferenceJobs$ = ListRxNormInferenceJobs$;
677
1754
  exports.ListRxNormInferenceJobsCommand = ListRxNormInferenceJobsCommand;
1755
+ exports.ListRxNormInferenceJobsRequest$ = ListRxNormInferenceJobsRequest$;
1756
+ exports.ListRxNormInferenceJobsResponse$ = ListRxNormInferenceJobsResponse$;
1757
+ exports.ListSNOMEDCTInferenceJobs$ = ListSNOMEDCTInferenceJobs$;
678
1758
  exports.ListSNOMEDCTInferenceJobsCommand = ListSNOMEDCTInferenceJobsCommand;
1759
+ exports.ListSNOMEDCTInferenceJobsRequest$ = ListSNOMEDCTInferenceJobsRequest$;
1760
+ exports.ListSNOMEDCTInferenceJobsResponse$ = ListSNOMEDCTInferenceJobsResponse$;
1761
+ exports.OutputDataConfig$ = OutputDataConfig$;
679
1762
  exports.RelationshipType = RelationshipType;
1763
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1764
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1765
+ exports.RxNormAttribute$ = RxNormAttribute$;
680
1766
  exports.RxNormAttributeType = RxNormAttributeType;
1767
+ exports.RxNormConcept$ = RxNormConcept$;
1768
+ exports.RxNormEntity$ = RxNormEntity$;
681
1769
  exports.RxNormEntityCategory = RxNormEntityCategory;
682
1770
  exports.RxNormEntityType = RxNormEntityType;
1771
+ exports.RxNormTrait$ = RxNormTrait$;
683
1772
  exports.RxNormTraitName = RxNormTraitName;
1773
+ exports.SNOMEDCTAttribute$ = SNOMEDCTAttribute$;
684
1774
  exports.SNOMEDCTAttributeType = SNOMEDCTAttributeType;
1775
+ exports.SNOMEDCTConcept$ = SNOMEDCTConcept$;
1776
+ exports.SNOMEDCTDetails$ = SNOMEDCTDetails$;
1777
+ exports.SNOMEDCTEntity$ = SNOMEDCTEntity$;
685
1778
  exports.SNOMEDCTEntityCategory = SNOMEDCTEntityCategory;
686
1779
  exports.SNOMEDCTEntityType = SNOMEDCTEntityType;
687
1780
  exports.SNOMEDCTRelationshipType = SNOMEDCTRelationshipType;
1781
+ exports.SNOMEDCTTrait$ = SNOMEDCTTrait$;
688
1782
  exports.SNOMEDCTTraitName = SNOMEDCTTraitName;
1783
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1784
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1785
+ exports.StartEntitiesDetectionV2Job$ = StartEntitiesDetectionV2Job$;
689
1786
  exports.StartEntitiesDetectionV2JobCommand = StartEntitiesDetectionV2JobCommand;
1787
+ exports.StartEntitiesDetectionV2JobRequest$ = StartEntitiesDetectionV2JobRequest$;
1788
+ exports.StartEntitiesDetectionV2JobResponse$ = StartEntitiesDetectionV2JobResponse$;
1789
+ exports.StartICD10CMInferenceJob$ = StartICD10CMInferenceJob$;
690
1790
  exports.StartICD10CMInferenceJobCommand = StartICD10CMInferenceJobCommand;
1791
+ exports.StartICD10CMInferenceJobRequest$ = StartICD10CMInferenceJobRequest$;
1792
+ exports.StartICD10CMInferenceJobResponse$ = StartICD10CMInferenceJobResponse$;
1793
+ exports.StartPHIDetectionJob$ = StartPHIDetectionJob$;
691
1794
  exports.StartPHIDetectionJobCommand = StartPHIDetectionJobCommand;
1795
+ exports.StartPHIDetectionJobRequest$ = StartPHIDetectionJobRequest$;
1796
+ exports.StartPHIDetectionJobResponse$ = StartPHIDetectionJobResponse$;
1797
+ exports.StartRxNormInferenceJob$ = StartRxNormInferenceJob$;
692
1798
  exports.StartRxNormInferenceJobCommand = StartRxNormInferenceJobCommand;
1799
+ exports.StartRxNormInferenceJobRequest$ = StartRxNormInferenceJobRequest$;
1800
+ exports.StartRxNormInferenceJobResponse$ = StartRxNormInferenceJobResponse$;
1801
+ exports.StartSNOMEDCTInferenceJob$ = StartSNOMEDCTInferenceJob$;
693
1802
  exports.StartSNOMEDCTInferenceJobCommand = StartSNOMEDCTInferenceJobCommand;
1803
+ exports.StartSNOMEDCTInferenceJobRequest$ = StartSNOMEDCTInferenceJobRequest$;
1804
+ exports.StartSNOMEDCTInferenceJobResponse$ = StartSNOMEDCTInferenceJobResponse$;
1805
+ exports.StopEntitiesDetectionV2Job$ = StopEntitiesDetectionV2Job$;
694
1806
  exports.StopEntitiesDetectionV2JobCommand = StopEntitiesDetectionV2JobCommand;
1807
+ exports.StopEntitiesDetectionV2JobRequest$ = StopEntitiesDetectionV2JobRequest$;
1808
+ exports.StopEntitiesDetectionV2JobResponse$ = StopEntitiesDetectionV2JobResponse$;
1809
+ exports.StopICD10CMInferenceJob$ = StopICD10CMInferenceJob$;
695
1810
  exports.StopICD10CMInferenceJobCommand = StopICD10CMInferenceJobCommand;
1811
+ exports.StopICD10CMInferenceJobRequest$ = StopICD10CMInferenceJobRequest$;
1812
+ exports.StopICD10CMInferenceJobResponse$ = StopICD10CMInferenceJobResponse$;
1813
+ exports.StopPHIDetectionJob$ = StopPHIDetectionJob$;
696
1814
  exports.StopPHIDetectionJobCommand = StopPHIDetectionJobCommand;
1815
+ exports.StopPHIDetectionJobRequest$ = StopPHIDetectionJobRequest$;
1816
+ exports.StopPHIDetectionJobResponse$ = StopPHIDetectionJobResponse$;
1817
+ exports.StopRxNormInferenceJob$ = StopRxNormInferenceJob$;
697
1818
  exports.StopRxNormInferenceJobCommand = StopRxNormInferenceJobCommand;
1819
+ exports.StopRxNormInferenceJobRequest$ = StopRxNormInferenceJobRequest$;
1820
+ exports.StopRxNormInferenceJobResponse$ = StopRxNormInferenceJobResponse$;
1821
+ exports.StopSNOMEDCTInferenceJob$ = StopSNOMEDCTInferenceJob$;
698
1822
  exports.StopSNOMEDCTInferenceJobCommand = StopSNOMEDCTInferenceJobCommand;
1823
+ exports.StopSNOMEDCTInferenceJobRequest$ = StopSNOMEDCTInferenceJobRequest$;
1824
+ exports.StopSNOMEDCTInferenceJobResponse$ = StopSNOMEDCTInferenceJobResponse$;
1825
+ exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
1826
+ exports.TextSizeLimitExceededException$ = TextSizeLimitExceededException$;
1827
+ exports.TooManyRequestsException = TooManyRequestsException;
1828
+ exports.TooManyRequestsException$ = TooManyRequestsException$;
1829
+ exports.Trait$ = Trait$;
1830
+ exports.UnmappedAttribute$ = UnmappedAttribute$;
1831
+ exports.ValidationException = ValidationException;
1832
+ exports.ValidationException$ = ValidationException$;
1833
+ exports.errorTypeRegistries = errorTypeRegistries;