@aws-sdk/client-comprehendmedical 3.927.0 → 3.928.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.
Files changed (47) hide show
  1. package/dist-cjs/index.js +897 -1360
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ComprehendMedicalClient.js +2 -0
  4. package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +3 -9
  5. package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +3 -9
  6. package/dist-es/commands/DescribePHIDetectionJobCommand.js +3 -9
  7. package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +3 -9
  8. package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +3 -9
  9. package/dist-es/commands/DetectEntitiesCommand.js +3 -9
  10. package/dist-es/commands/DetectEntitiesV2Command.js +3 -9
  11. package/dist-es/commands/DetectPHICommand.js +3 -9
  12. package/dist-es/commands/InferICD10CMCommand.js +3 -9
  13. package/dist-es/commands/InferRxNormCommand.js +3 -9
  14. package/dist-es/commands/InferSNOMEDCTCommand.js +3 -9
  15. package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +3 -9
  16. package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +3 -9
  17. package/dist-es/commands/ListPHIDetectionJobsCommand.js +3 -9
  18. package/dist-es/commands/ListRxNormInferenceJobsCommand.js +3 -9
  19. package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +3 -9
  20. package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +3 -9
  21. package/dist-es/commands/StartICD10CMInferenceJobCommand.js +3 -9
  22. package/dist-es/commands/StartPHIDetectionJobCommand.js +3 -9
  23. package/dist-es/commands/StartRxNormInferenceJobCommand.js +3 -9
  24. package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +3 -9
  25. package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +3 -9
  26. package/dist-es/commands/StopICD10CMInferenceJobCommand.js +3 -9
  27. package/dist-es/commands/StopPHIDetectionJobCommand.js +3 -9
  28. package/dist-es/commands/StopRxNormInferenceJobCommand.js +3 -9
  29. package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +3 -9
  30. package/dist-es/runtimeConfig.shared.js +7 -0
  31. package/dist-es/schemas/schemas_0.js +820 -0
  32. package/dist-types/ComprehendMedicalClient.d.ts +10 -1
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  37. package/dist-types/schemas/schemas_0.d.ts +128 -0
  38. package/dist-types/ts3.4/ComprehendMedicalClient.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +133 -0
  44. package/package.json +5 -6
  45. package/dist-es/protocols/Aws_json1_1.js +0 -1158
  46. package/dist-types/protocols/Aws_json1_1.d.ts +0 -236
  47. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -317
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class ComprehendMedicalClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,12 +110,12 @@ class ComprehendMedicalClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class ComprehendMedicalServiceException extends smithyClient.ServiceException {
113
+ let ComprehendMedicalServiceException$1 = class ComprehendMedicalServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, ComprehendMedicalServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
120
  const EntityType = {
122
121
  ANATOMY: "ANATOMY",
@@ -221,7 +220,7 @@ const JobStatus = {
221
220
  const LanguageCode = {
222
221
  EN: "en",
223
222
  };
224
- class InternalServerException extends ComprehendMedicalServiceException {
223
+ let InternalServerException$1 = class InternalServerException extends ComprehendMedicalServiceException$1 {
225
224
  name = "InternalServerException";
226
225
  $fault = "server";
227
226
  Message;
@@ -234,8 +233,8 @@ class InternalServerException extends ComprehendMedicalServiceException {
234
233
  Object.setPrototypeOf(this, InternalServerException.prototype);
235
234
  this.Message = opts.Message;
236
235
  }
237
- }
238
- class InvalidRequestException extends ComprehendMedicalServiceException {
236
+ };
237
+ let InvalidRequestException$1 = class InvalidRequestException extends ComprehendMedicalServiceException$1 {
239
238
  name = "InvalidRequestException";
240
239
  $fault = "client";
241
240
  Message;
@@ -248,8 +247,8 @@ class InvalidRequestException extends ComprehendMedicalServiceException {
248
247
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
249
248
  this.Message = opts.Message;
250
249
  }
251
- }
252
- class ResourceNotFoundException extends ComprehendMedicalServiceException {
250
+ };
251
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ComprehendMedicalServiceException$1 {
253
252
  name = "ResourceNotFoundException";
254
253
  $fault = "client";
255
254
  Message;
@@ -262,8 +261,8 @@ class ResourceNotFoundException extends ComprehendMedicalServiceException {
262
261
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
263
262
  this.Message = opts.Message;
264
263
  }
265
- }
266
- class TooManyRequestsException extends ComprehendMedicalServiceException {
264
+ };
265
+ let TooManyRequestsException$1 = class TooManyRequestsException extends ComprehendMedicalServiceException$1 {
267
266
  name = "TooManyRequestsException";
268
267
  $fault = "client";
269
268
  Message;
@@ -276,8 +275,8 @@ class TooManyRequestsException extends ComprehendMedicalServiceException {
276
275
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
277
276
  this.Message = opts.Message;
278
277
  }
279
- }
280
- class InvalidEncodingException extends ComprehendMedicalServiceException {
278
+ };
279
+ let InvalidEncodingException$1 = class InvalidEncodingException extends ComprehendMedicalServiceException$1 {
281
280
  name = "InvalidEncodingException";
282
281
  $fault = "client";
283
282
  Message;
@@ -290,8 +289,8 @@ class InvalidEncodingException extends ComprehendMedicalServiceException {
290
289
  Object.setPrototypeOf(this, InvalidEncodingException.prototype);
291
290
  this.Message = opts.Message;
292
291
  }
293
- }
294
- class ServiceUnavailableException extends ComprehendMedicalServiceException {
292
+ };
293
+ let ServiceUnavailableException$1 = class ServiceUnavailableException extends ComprehendMedicalServiceException$1 {
295
294
  name = "ServiceUnavailableException";
296
295
  $fault = "server";
297
296
  Message;
@@ -304,8 +303,8 @@ class ServiceUnavailableException extends ComprehendMedicalServiceException {
304
303
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
305
304
  this.Message = opts.Message;
306
305
  }
307
- }
308
- class TextSizeLimitExceededException extends ComprehendMedicalServiceException {
306
+ };
307
+ let TextSizeLimitExceededException$1 = class TextSizeLimitExceededException extends ComprehendMedicalServiceException$1 {
309
308
  name = "TextSizeLimitExceededException";
310
309
  $fault = "client";
311
310
  Message;
@@ -318,7 +317,7 @@ class TextSizeLimitExceededException extends ComprehendMedicalServiceException {
318
317
  Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
319
318
  this.Message = opts.Message;
320
319
  }
321
- }
320
+ };
322
321
  const ICD10CMEntityType = {
323
322
  DX_NAME: "DX_NAME",
324
323
  TIME_EXPRESSION: "TIME_EXPRESSION",
@@ -408,7 +407,7 @@ const SNOMEDCTEntityType = {
408
407
  TEST_NAME: "TEST_NAME",
409
408
  TREATMENT_NAME: "TREATMENT_NAME",
410
409
  };
411
- class ValidationException extends ComprehendMedicalServiceException {
410
+ let ValidationException$1 = class ValidationException extends ComprehendMedicalServiceException$1 {
412
411
  name = "ValidationException";
413
412
  $fault = "client";
414
413
  Message;
@@ -421,1171 +420,834 @@ class ValidationException extends ComprehendMedicalServiceException {
421
420
  Object.setPrototypeOf(this, ValidationException.prototype);
422
421
  this.Message = opts.Message;
423
422
  }
424
- }
425
-
426
- const se_DescribeEntitiesDetectionV2JobCommand = async (input, context) => {
427
- const headers = sharedHeaders("DescribeEntitiesDetectionV2Job");
428
- let body;
429
- body = JSON.stringify(smithyClient._json(input));
430
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
431
- };
432
- const se_DescribeICD10CMInferenceJobCommand = async (input, context) => {
433
- const headers = sharedHeaders("DescribeICD10CMInferenceJob");
434
- let body;
435
- body = JSON.stringify(smithyClient._json(input));
436
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
437
- };
438
- const se_DescribePHIDetectionJobCommand = async (input, context) => {
439
- const headers = sharedHeaders("DescribePHIDetectionJob");
440
- let body;
441
- body = JSON.stringify(smithyClient._json(input));
442
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
443
- };
444
- const se_DescribeRxNormInferenceJobCommand = async (input, context) => {
445
- const headers = sharedHeaders("DescribeRxNormInferenceJob");
446
- let body;
447
- body = JSON.stringify(smithyClient._json(input));
448
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
449
- };
450
- const se_DescribeSNOMEDCTInferenceJobCommand = async (input, context) => {
451
- const headers = sharedHeaders("DescribeSNOMEDCTInferenceJob");
452
- let body;
453
- body = JSON.stringify(smithyClient._json(input));
454
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
455
- };
456
- const se_DetectEntitiesCommand = async (input, context) => {
457
- const headers = sharedHeaders("DetectEntities");
458
- let body;
459
- body = JSON.stringify(smithyClient._json(input));
460
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
461
- };
462
- const se_DetectEntitiesV2Command = async (input, context) => {
463
- const headers = sharedHeaders("DetectEntitiesV2");
464
- let body;
465
- body = JSON.stringify(smithyClient._json(input));
466
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
467
- };
468
- const se_DetectPHICommand = async (input, context) => {
469
- const headers = sharedHeaders("DetectPHI");
470
- let body;
471
- body = JSON.stringify(smithyClient._json(input));
472
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
473
- };
474
- const se_InferICD10CMCommand = async (input, context) => {
475
- const headers = sharedHeaders("InferICD10CM");
476
- let body;
477
- body = JSON.stringify(smithyClient._json(input));
478
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
479
- };
480
- const se_InferRxNormCommand = async (input, context) => {
481
- const headers = sharedHeaders("InferRxNorm");
482
- let body;
483
- body = JSON.stringify(smithyClient._json(input));
484
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
485
- };
486
- const se_InferSNOMEDCTCommand = async (input, context) => {
487
- const headers = sharedHeaders("InferSNOMEDCT");
488
- let body;
489
- body = JSON.stringify(smithyClient._json(input));
490
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
491
- };
492
- const se_ListEntitiesDetectionV2JobsCommand = async (input, context) => {
493
- const headers = sharedHeaders("ListEntitiesDetectionV2Jobs");
494
- let body;
495
- body = JSON.stringify(se_ListEntitiesDetectionV2JobsRequest(input));
496
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
497
- };
498
- const se_ListICD10CMInferenceJobsCommand = async (input, context) => {
499
- const headers = sharedHeaders("ListICD10CMInferenceJobs");
500
- let body;
501
- body = JSON.stringify(se_ListICD10CMInferenceJobsRequest(input));
502
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
503
- };
504
- const se_ListPHIDetectionJobsCommand = async (input, context) => {
505
- const headers = sharedHeaders("ListPHIDetectionJobs");
506
- let body;
507
- body = JSON.stringify(se_ListPHIDetectionJobsRequest(input));
508
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
509
- };
510
- const se_ListRxNormInferenceJobsCommand = async (input, context) => {
511
- const headers = sharedHeaders("ListRxNormInferenceJobs");
512
- let body;
513
- body = JSON.stringify(se_ListRxNormInferenceJobsRequest(input));
514
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
515
- };
516
- const se_ListSNOMEDCTInferenceJobsCommand = async (input, context) => {
517
- const headers = sharedHeaders("ListSNOMEDCTInferenceJobs");
518
- let body;
519
- body = JSON.stringify(se_ListSNOMEDCTInferenceJobsRequest(input));
520
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
521
- };
522
- const se_StartEntitiesDetectionV2JobCommand = async (input, context) => {
523
- const headers = sharedHeaders("StartEntitiesDetectionV2Job");
524
- let body;
525
- body = JSON.stringify(se_StartEntitiesDetectionV2JobRequest(input));
526
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
527
- };
528
- const se_StartICD10CMInferenceJobCommand = async (input, context) => {
529
- const headers = sharedHeaders("StartICD10CMInferenceJob");
530
- let body;
531
- body = JSON.stringify(se_StartICD10CMInferenceJobRequest(input));
532
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
533
- };
534
- const se_StartPHIDetectionJobCommand = async (input, context) => {
535
- const headers = sharedHeaders("StartPHIDetectionJob");
536
- let body;
537
- body = JSON.stringify(se_StartPHIDetectionJobRequest(input));
538
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
539
- };
540
- const se_StartRxNormInferenceJobCommand = async (input, context) => {
541
- const headers = sharedHeaders("StartRxNormInferenceJob");
542
- let body;
543
- body = JSON.stringify(se_StartRxNormInferenceJobRequest(input));
544
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
545
- };
546
- const se_StartSNOMEDCTInferenceJobCommand = async (input, context) => {
547
- const headers = sharedHeaders("StartSNOMEDCTInferenceJob");
548
- let body;
549
- body = JSON.stringify(se_StartSNOMEDCTInferenceJobRequest(input));
550
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
551
- };
552
- const se_StopEntitiesDetectionV2JobCommand = async (input, context) => {
553
- const headers = sharedHeaders("StopEntitiesDetectionV2Job");
554
- let body;
555
- body = JSON.stringify(smithyClient._json(input));
556
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
557
- };
558
- const se_StopICD10CMInferenceJobCommand = async (input, context) => {
559
- const headers = sharedHeaders("StopICD10CMInferenceJob");
560
- let body;
561
- body = JSON.stringify(smithyClient._json(input));
562
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
563
- };
564
- const se_StopPHIDetectionJobCommand = async (input, context) => {
565
- const headers = sharedHeaders("StopPHIDetectionJob");
566
- let body;
567
- body = JSON.stringify(smithyClient._json(input));
568
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
569
- };
570
- const se_StopRxNormInferenceJobCommand = async (input, context) => {
571
- const headers = sharedHeaders("StopRxNormInferenceJob");
572
- let body;
573
- body = JSON.stringify(smithyClient._json(input));
574
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
575
- };
576
- const se_StopSNOMEDCTInferenceJobCommand = async (input, context) => {
577
- const headers = sharedHeaders("StopSNOMEDCTInferenceJob");
578
- let body;
579
- body = JSON.stringify(smithyClient._json(input));
580
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
581
- };
582
- const de_DescribeEntitiesDetectionV2JobCommand = async (output, context) => {
583
- if (output.statusCode >= 300) {
584
- return de_CommandError(output, context);
585
- }
586
- const data = await core$1.parseJsonBody(output.body, context);
587
- let contents = {};
588
- contents = de_DescribeEntitiesDetectionV2JobResponse(data);
589
- const response = {
590
- $metadata: deserializeMetadata(output),
591
- ...contents,
592
- };
593
- return response;
594
- };
595
- const de_DescribeICD10CMInferenceJobCommand = async (output, context) => {
596
- if (output.statusCode >= 300) {
597
- return de_CommandError(output, context);
598
- }
599
- const data = await core$1.parseJsonBody(output.body, context);
600
- let contents = {};
601
- contents = de_DescribeICD10CMInferenceJobResponse(data);
602
- const response = {
603
- $metadata: deserializeMetadata(output),
604
- ...contents,
605
- };
606
- return response;
607
- };
608
- const de_DescribePHIDetectionJobCommand = async (output, context) => {
609
- if (output.statusCode >= 300) {
610
- return de_CommandError(output, context);
611
- }
612
- const data = await core$1.parseJsonBody(output.body, context);
613
- let contents = {};
614
- contents = de_DescribePHIDetectionJobResponse(data);
615
- const response = {
616
- $metadata: deserializeMetadata(output),
617
- ...contents,
618
- };
619
- return response;
620
- };
621
- const de_DescribeRxNormInferenceJobCommand = async (output, context) => {
622
- if (output.statusCode >= 300) {
623
- return de_CommandError(output, context);
624
- }
625
- const data = await core$1.parseJsonBody(output.body, context);
626
- let contents = {};
627
- contents = de_DescribeRxNormInferenceJobResponse(data);
628
- const response = {
629
- $metadata: deserializeMetadata(output),
630
- ...contents,
631
- };
632
- return response;
633
- };
634
- const de_DescribeSNOMEDCTInferenceJobCommand = async (output, context) => {
635
- if (output.statusCode >= 300) {
636
- return de_CommandError(output, context);
637
- }
638
- const data = await core$1.parseJsonBody(output.body, context);
639
- let contents = {};
640
- contents = de_DescribeSNOMEDCTInferenceJobResponse(data);
641
- const response = {
642
- $metadata: deserializeMetadata(output),
643
- ...contents,
644
- };
645
- return response;
646
- };
647
- const de_DetectEntitiesCommand = async (output, context) => {
648
- if (output.statusCode >= 300) {
649
- return de_CommandError(output, context);
650
- }
651
- const data = await core$1.parseJsonBody(output.body, context);
652
- let contents = {};
653
- contents = de_DetectEntitiesResponse(data);
654
- const response = {
655
- $metadata: deserializeMetadata(output),
656
- ...contents,
657
- };
658
- return response;
659
- };
660
- const de_DetectEntitiesV2Command = async (output, context) => {
661
- if (output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const data = await core$1.parseJsonBody(output.body, context);
665
- let contents = {};
666
- contents = de_DetectEntitiesV2Response(data);
667
- const response = {
668
- $metadata: deserializeMetadata(output),
669
- ...contents,
670
- };
671
- return response;
672
- };
673
- const de_DetectPHICommand = async (output, context) => {
674
- if (output.statusCode >= 300) {
675
- return de_CommandError(output, context);
676
- }
677
- const data = await core$1.parseJsonBody(output.body, context);
678
- let contents = {};
679
- contents = de_DetectPHIResponse(data);
680
- const response = {
681
- $metadata: deserializeMetadata(output),
682
- ...contents,
683
- };
684
- return response;
685
- };
686
- const de_InferICD10CMCommand = async (output, context) => {
687
- if (output.statusCode >= 300) {
688
- return de_CommandError(output, context);
689
- }
690
- const data = await core$1.parseJsonBody(output.body, context);
691
- let contents = {};
692
- contents = de_InferICD10CMResponse(data);
693
- const response = {
694
- $metadata: deserializeMetadata(output),
695
- ...contents,
696
- };
697
- return response;
698
- };
699
- const de_InferRxNormCommand = async (output, context) => {
700
- if (output.statusCode >= 300) {
701
- return de_CommandError(output, context);
702
- }
703
- const data = await core$1.parseJsonBody(output.body, context);
704
- let contents = {};
705
- contents = de_InferRxNormResponse(data);
706
- const response = {
707
- $metadata: deserializeMetadata(output),
708
- ...contents,
709
- };
710
- return response;
711
- };
712
- const de_InferSNOMEDCTCommand = async (output, context) => {
713
- if (output.statusCode >= 300) {
714
- return de_CommandError(output, context);
715
- }
716
- const data = await core$1.parseJsonBody(output.body, context);
717
- let contents = {};
718
- contents = de_InferSNOMEDCTResponse(data);
719
- const response = {
720
- $metadata: deserializeMetadata(output),
721
- ...contents,
722
- };
723
- return response;
724
- };
725
- const de_ListEntitiesDetectionV2JobsCommand = async (output, context) => {
726
- if (output.statusCode >= 300) {
727
- return de_CommandError(output, context);
728
- }
729
- const data = await core$1.parseJsonBody(output.body, context);
730
- let contents = {};
731
- contents = de_ListEntitiesDetectionV2JobsResponse(data);
732
- const response = {
733
- $metadata: deserializeMetadata(output),
734
- ...contents,
735
- };
736
- return response;
737
- };
738
- const de_ListICD10CMInferenceJobsCommand = async (output, context) => {
739
- if (output.statusCode >= 300) {
740
- return de_CommandError(output, context);
741
- }
742
- const data = await core$1.parseJsonBody(output.body, context);
743
- let contents = {};
744
- contents = de_ListICD10CMInferenceJobsResponse(data);
745
- const response = {
746
- $metadata: deserializeMetadata(output),
747
- ...contents,
748
- };
749
- return response;
750
- };
751
- const de_ListPHIDetectionJobsCommand = async (output, context) => {
752
- if (output.statusCode >= 300) {
753
- return de_CommandError(output, context);
754
- }
755
- const data = await core$1.parseJsonBody(output.body, context);
756
- let contents = {};
757
- contents = de_ListPHIDetectionJobsResponse(data);
758
- const response = {
759
- $metadata: deserializeMetadata(output),
760
- ...contents,
761
- };
762
- return response;
763
- };
764
- const de_ListRxNormInferenceJobsCommand = async (output, context) => {
765
- if (output.statusCode >= 300) {
766
- return de_CommandError(output, context);
767
- }
768
- const data = await core$1.parseJsonBody(output.body, context);
769
- let contents = {};
770
- contents = de_ListRxNormInferenceJobsResponse(data);
771
- const response = {
772
- $metadata: deserializeMetadata(output),
773
- ...contents,
774
- };
775
- return response;
776
- };
777
- const de_ListSNOMEDCTInferenceJobsCommand = async (output, context) => {
778
- if (output.statusCode >= 300) {
779
- return de_CommandError(output, context);
780
- }
781
- const data = await core$1.parseJsonBody(output.body, context);
782
- let contents = {};
783
- contents = de_ListSNOMEDCTInferenceJobsResponse(data);
784
- const response = {
785
- $metadata: deserializeMetadata(output),
786
- ...contents,
787
- };
788
- return response;
789
- };
790
- const de_StartEntitiesDetectionV2JobCommand = async (output, context) => {
791
- if (output.statusCode >= 300) {
792
- return de_CommandError(output, context);
793
- }
794
- const data = await core$1.parseJsonBody(output.body, context);
795
- let contents = {};
796
- contents = smithyClient._json(data);
797
- const response = {
798
- $metadata: deserializeMetadata(output),
799
- ...contents,
800
- };
801
- return response;
802
- };
803
- const de_StartICD10CMInferenceJobCommand = async (output, context) => {
804
- if (output.statusCode >= 300) {
805
- return de_CommandError(output, context);
806
- }
807
- const data = await core$1.parseJsonBody(output.body, context);
808
- let contents = {};
809
- contents = smithyClient._json(data);
810
- const response = {
811
- $metadata: deserializeMetadata(output),
812
- ...contents,
813
- };
814
- return response;
815
- };
816
- const de_StartPHIDetectionJobCommand = async (output, context) => {
817
- if (output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const data = await core$1.parseJsonBody(output.body, context);
821
- let contents = {};
822
- contents = smithyClient._json(data);
823
- const response = {
824
- $metadata: deserializeMetadata(output),
825
- ...contents,
826
- };
827
- return response;
828
- };
829
- const de_StartRxNormInferenceJobCommand = async (output, context) => {
830
- if (output.statusCode >= 300) {
831
- return de_CommandError(output, context);
832
- }
833
- const data = await core$1.parseJsonBody(output.body, context);
834
- let contents = {};
835
- contents = smithyClient._json(data);
836
- const response = {
837
- $metadata: deserializeMetadata(output),
838
- ...contents,
839
- };
840
- return response;
841
- };
842
- const de_StartSNOMEDCTInferenceJobCommand = async (output, context) => {
843
- if (output.statusCode >= 300) {
844
- return de_CommandError(output, context);
845
- }
846
- const data = await core$1.parseJsonBody(output.body, context);
847
- let contents = {};
848
- contents = smithyClient._json(data);
849
- const response = {
850
- $metadata: deserializeMetadata(output),
851
- ...contents,
852
- };
853
- return response;
854
- };
855
- const de_StopEntitiesDetectionV2JobCommand = async (output, context) => {
856
- if (output.statusCode >= 300) {
857
- return de_CommandError(output, context);
858
- }
859
- const data = await core$1.parseJsonBody(output.body, context);
860
- let contents = {};
861
- contents = smithyClient._json(data);
862
- const response = {
863
- $metadata: deserializeMetadata(output),
864
- ...contents,
865
- };
866
- return response;
867
- };
868
- const de_StopICD10CMInferenceJobCommand = async (output, context) => {
869
- if (output.statusCode >= 300) {
870
- return de_CommandError(output, context);
871
- }
872
- const data = await core$1.parseJsonBody(output.body, context);
873
- let contents = {};
874
- contents = smithyClient._json(data);
875
- const response = {
876
- $metadata: deserializeMetadata(output),
877
- ...contents,
878
- };
879
- return response;
880
- };
881
- const de_StopPHIDetectionJobCommand = async (output, context) => {
882
- if (output.statusCode >= 300) {
883
- return de_CommandError(output, context);
884
- }
885
- const data = await core$1.parseJsonBody(output.body, context);
886
- let contents = {};
887
- contents = smithyClient._json(data);
888
- const response = {
889
- $metadata: deserializeMetadata(output),
890
- ...contents,
891
- };
892
- return response;
893
- };
894
- const de_StopRxNormInferenceJobCommand = async (output, context) => {
895
- if (output.statusCode >= 300) {
896
- return de_CommandError(output, context);
897
- }
898
- const data = await core$1.parseJsonBody(output.body, context);
899
- let contents = {};
900
- contents = smithyClient._json(data);
901
- const response = {
902
- $metadata: deserializeMetadata(output),
903
- ...contents,
904
- };
905
- return response;
906
- };
907
- const de_StopSNOMEDCTInferenceJobCommand = async (output, context) => {
908
- if (output.statusCode >= 300) {
909
- return de_CommandError(output, context);
910
- }
911
- const data = await core$1.parseJsonBody(output.body, context);
912
- let contents = {};
913
- contents = smithyClient._json(data);
914
- const response = {
915
- $metadata: deserializeMetadata(output),
916
- ...contents,
917
- };
918
- return response;
919
- };
920
- const de_CommandError = async (output, context) => {
921
- const parsedOutput = {
922
- ...output,
923
- body: await core$1.parseJsonErrorBody(output.body, context),
924
- };
925
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
926
- switch (errorCode) {
927
- case "InternalServerException":
928
- case "com.amazonaws.comprehendmedical#InternalServerException":
929
- throw await de_InternalServerExceptionRes(parsedOutput);
930
- case "InvalidRequestException":
931
- case "com.amazonaws.comprehendmedical#InvalidRequestException":
932
- throw await de_InvalidRequestExceptionRes(parsedOutput);
933
- case "ResourceNotFoundException":
934
- case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
935
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
936
- case "TooManyRequestsException":
937
- case "com.amazonaws.comprehendmedical#TooManyRequestsException":
938
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
939
- case "InvalidEncodingException":
940
- case "com.amazonaws.comprehendmedical#InvalidEncodingException":
941
- throw await de_InvalidEncodingExceptionRes(parsedOutput);
942
- case "ServiceUnavailableException":
943
- case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
944
- throw await de_ServiceUnavailableExceptionRes(parsedOutput);
945
- case "TextSizeLimitExceededException":
946
- case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
947
- throw await de_TextSizeLimitExceededExceptionRes(parsedOutput);
948
- case "ValidationException":
949
- case "com.amazonaws.comprehendmedical#ValidationException":
950
- throw await de_ValidationExceptionRes(parsedOutput);
951
- default:
952
- const parsedBody = parsedOutput.body;
953
- return throwDefaultError({
954
- output,
955
- parsedBody,
956
- errorCode,
957
- });
958
- }
959
- };
960
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
961
- const body = parsedOutput.body;
962
- const deserialized = smithyClient._json(body);
963
- const exception = new InternalServerException({
964
- $metadata: deserializeMetadata(parsedOutput),
965
- ...deserialized,
966
- });
967
- return smithyClient.decorateServiceException(exception, body);
968
- };
969
- const de_InvalidEncodingExceptionRes = async (parsedOutput, context) => {
970
- const body = parsedOutput.body;
971
- const deserialized = smithyClient._json(body);
972
- const exception = new InvalidEncodingException({
973
- $metadata: deserializeMetadata(parsedOutput),
974
- ...deserialized,
975
- });
976
- return smithyClient.decorateServiceException(exception, body);
977
- };
978
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
979
- const body = parsedOutput.body;
980
- const deserialized = smithyClient._json(body);
981
- const exception = new InvalidRequestException({
982
- $metadata: deserializeMetadata(parsedOutput),
983
- ...deserialized,
984
- });
985
- return smithyClient.decorateServiceException(exception, body);
986
- };
987
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
988
- const body = parsedOutput.body;
989
- const deserialized = smithyClient._json(body);
990
- const exception = new ResourceNotFoundException({
991
- $metadata: deserializeMetadata(parsedOutput),
992
- ...deserialized,
993
- });
994
- return smithyClient.decorateServiceException(exception, body);
995
- };
996
- const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
997
- const body = parsedOutput.body;
998
- const deserialized = smithyClient._json(body);
999
- const exception = new ServiceUnavailableException({
1000
- $metadata: deserializeMetadata(parsedOutput),
1001
- ...deserialized,
1002
- });
1003
- return smithyClient.decorateServiceException(exception, body);
1004
- };
1005
- const de_TextSizeLimitExceededExceptionRes = async (parsedOutput, context) => {
1006
- const body = parsedOutput.body;
1007
- const deserialized = smithyClient._json(body);
1008
- const exception = new TextSizeLimitExceededException({
1009
- $metadata: deserializeMetadata(parsedOutput),
1010
- ...deserialized,
1011
- });
1012
- return smithyClient.decorateServiceException(exception, body);
1013
- };
1014
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1015
- const body = parsedOutput.body;
1016
- const deserialized = smithyClient._json(body);
1017
- const exception = new TooManyRequestsException({
1018
- $metadata: deserializeMetadata(parsedOutput),
1019
- ...deserialized,
1020
- });
1021
- return smithyClient.decorateServiceException(exception, body);
1022
- };
1023
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1024
- const body = parsedOutput.body;
1025
- const deserialized = smithyClient._json(body);
1026
- const exception = new ValidationException({
1027
- $metadata: deserializeMetadata(parsedOutput),
1028
- ...deserialized,
1029
- });
1030
- return smithyClient.decorateServiceException(exception, body);
1031
- };
1032
- const se_ComprehendMedicalAsyncJobFilter = (input, context) => {
1033
- return smithyClient.take(input, {
1034
- JobName: [],
1035
- JobStatus: [],
1036
- SubmitTimeAfter: (_) => _.getTime() / 1_000,
1037
- SubmitTimeBefore: (_) => _.getTime() / 1_000,
1038
- });
1039
- };
1040
- const se_ListEntitiesDetectionV2JobsRequest = (input, context) => {
1041
- return smithyClient.take(input, {
1042
- Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
1043
- MaxResults: [],
1044
- NextToken: [],
1045
- });
1046
- };
1047
- const se_ListICD10CMInferenceJobsRequest = (input, context) => {
1048
- return smithyClient.take(input, {
1049
- Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
1050
- MaxResults: [],
1051
- NextToken: [],
1052
- });
1053
- };
1054
- const se_ListPHIDetectionJobsRequest = (input, context) => {
1055
- return smithyClient.take(input, {
1056
- Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
1057
- MaxResults: [],
1058
- NextToken: [],
1059
- });
1060
- };
1061
- const se_ListRxNormInferenceJobsRequest = (input, context) => {
1062
- return smithyClient.take(input, {
1063
- Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
1064
- MaxResults: [],
1065
- NextToken: [],
1066
- });
1067
- };
1068
- const se_ListSNOMEDCTInferenceJobsRequest = (input, context) => {
1069
- return smithyClient.take(input, {
1070
- Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
1071
- MaxResults: [],
1072
- NextToken: [],
1073
- });
1074
- };
1075
- const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
1076
- return smithyClient.take(input, {
1077
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
1078
- DataAccessRoleArn: [],
1079
- InputDataConfig: smithyClient._json,
1080
- JobName: [],
1081
- KMSKey: [],
1082
- LanguageCode: [],
1083
- OutputDataConfig: smithyClient._json,
1084
- });
1085
- };
1086
- const se_StartICD10CMInferenceJobRequest = (input, context) => {
1087
- return smithyClient.take(input, {
1088
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
1089
- DataAccessRoleArn: [],
1090
- InputDataConfig: smithyClient._json,
1091
- JobName: [],
1092
- KMSKey: [],
1093
- LanguageCode: [],
1094
- OutputDataConfig: smithyClient._json,
1095
- });
1096
- };
1097
- const se_StartPHIDetectionJobRequest = (input, context) => {
1098
- return smithyClient.take(input, {
1099
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
1100
- DataAccessRoleArn: [],
1101
- InputDataConfig: smithyClient._json,
1102
- JobName: [],
1103
- KMSKey: [],
1104
- LanguageCode: [],
1105
- OutputDataConfig: smithyClient._json,
1106
- });
1107
- };
1108
- const se_StartRxNormInferenceJobRequest = (input, context) => {
1109
- return smithyClient.take(input, {
1110
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
1111
- DataAccessRoleArn: [],
1112
- InputDataConfig: smithyClient._json,
1113
- JobName: [],
1114
- KMSKey: [],
1115
- LanguageCode: [],
1116
- OutputDataConfig: smithyClient._json,
1117
- });
1118
- };
1119
- const se_StartSNOMEDCTInferenceJobRequest = (input, context) => {
1120
- return smithyClient.take(input, {
1121
- ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
1122
- DataAccessRoleArn: [],
1123
- InputDataConfig: smithyClient._json,
1124
- JobName: [],
1125
- KMSKey: [],
1126
- LanguageCode: [],
1127
- OutputDataConfig: smithyClient._json,
1128
- });
1129
- };
1130
- const de_Attribute = (output, context) => {
1131
- return smithyClient.take(output, {
1132
- BeginOffset: smithyClient.expectInt32,
1133
- Category: smithyClient.expectString,
1134
- EndOffset: smithyClient.expectInt32,
1135
- Id: smithyClient.expectInt32,
1136
- RelationshipScore: smithyClient.limitedParseFloat32,
1137
- RelationshipType: smithyClient.expectString,
1138
- Score: smithyClient.limitedParseFloat32,
1139
- Text: smithyClient.expectString,
1140
- Traits: (_) => de_TraitList(_),
1141
- Type: smithyClient.expectString,
1142
- });
1143
- };
1144
- const de_AttributeList = (output, context) => {
1145
- const retVal = (output || [])
1146
- .filter((e) => e != null)
1147
- .map((entry) => {
1148
- return de_Attribute(entry);
1149
- });
1150
- return retVal;
1151
- };
1152
- const de_ComprehendMedicalAsyncJobProperties = (output, context) => {
1153
- return smithyClient.take(output, {
1154
- DataAccessRoleArn: smithyClient.expectString,
1155
- EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1156
- ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1157
- InputDataConfig: smithyClient._json,
1158
- JobId: smithyClient.expectString,
1159
- JobName: smithyClient.expectString,
1160
- JobStatus: smithyClient.expectString,
1161
- KMSKey: smithyClient.expectString,
1162
- LanguageCode: smithyClient.expectString,
1163
- ManifestFilePath: smithyClient.expectString,
1164
- Message: smithyClient.expectString,
1165
- ModelVersion: smithyClient.expectString,
1166
- OutputDataConfig: smithyClient._json,
1167
- SubmitTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1168
- });
1169
- };
1170
- const de_ComprehendMedicalAsyncJobPropertiesList = (output, context) => {
1171
- const retVal = (output || [])
1172
- .filter((e) => e != null)
1173
- .map((entry) => {
1174
- return de_ComprehendMedicalAsyncJobProperties(entry);
1175
- });
1176
- return retVal;
1177
- };
1178
- const de_DescribeEntitiesDetectionV2JobResponse = (output, context) => {
1179
- return smithyClient.take(output, {
1180
- ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
1181
- });
1182
- };
1183
- const de_DescribeICD10CMInferenceJobResponse = (output, context) => {
1184
- return smithyClient.take(output, {
1185
- ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
1186
- });
1187
- };
1188
- const de_DescribePHIDetectionJobResponse = (output, context) => {
1189
- return smithyClient.take(output, {
1190
- ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
1191
- });
1192
- };
1193
- const de_DescribeRxNormInferenceJobResponse = (output, context) => {
1194
- return smithyClient.take(output, {
1195
- ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
1196
- });
1197
- };
1198
- const de_DescribeSNOMEDCTInferenceJobResponse = (output, context) => {
1199
- return smithyClient.take(output, {
1200
- ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
1201
- });
1202
- };
1203
- const de_DetectEntitiesResponse = (output, context) => {
1204
- return smithyClient.take(output, {
1205
- Entities: (_) => de_EntityList(_),
1206
- ModelVersion: smithyClient.expectString,
1207
- PaginationToken: smithyClient.expectString,
1208
- UnmappedAttributes: (_) => de_UnmappedAttributeList(_),
1209
- });
1210
- };
1211
- const de_DetectEntitiesV2Response = (output, context) => {
1212
- return smithyClient.take(output, {
1213
- Entities: (_) => de_EntityList(_),
1214
- ModelVersion: smithyClient.expectString,
1215
- PaginationToken: smithyClient.expectString,
1216
- UnmappedAttributes: (_) => de_UnmappedAttributeList(_),
1217
- });
1218
- };
1219
- const de_DetectPHIResponse = (output, context) => {
1220
- return smithyClient.take(output, {
1221
- Entities: (_) => de_EntityList(_),
1222
- ModelVersion: smithyClient.expectString,
1223
- PaginationToken: smithyClient.expectString,
1224
- });
1225
- };
1226
- const de_Entity = (output, context) => {
1227
- return smithyClient.take(output, {
1228
- Attributes: (_) => de_AttributeList(_),
1229
- BeginOffset: smithyClient.expectInt32,
1230
- Category: smithyClient.expectString,
1231
- EndOffset: smithyClient.expectInt32,
1232
- Id: smithyClient.expectInt32,
1233
- Score: smithyClient.limitedParseFloat32,
1234
- Text: smithyClient.expectString,
1235
- Traits: (_) => de_TraitList(_),
1236
- Type: smithyClient.expectString,
1237
- });
1238
- };
1239
- const de_EntityList = (output, context) => {
1240
- const retVal = (output || [])
1241
- .filter((e) => e != null)
1242
- .map((entry) => {
1243
- return de_Entity(entry);
1244
- });
1245
- return retVal;
1246
- };
1247
- const de_ICD10CMAttribute = (output, context) => {
1248
- return smithyClient.take(output, {
1249
- BeginOffset: smithyClient.expectInt32,
1250
- Category: smithyClient.expectString,
1251
- EndOffset: smithyClient.expectInt32,
1252
- Id: smithyClient.expectInt32,
1253
- RelationshipScore: smithyClient.limitedParseFloat32,
1254
- RelationshipType: smithyClient.expectString,
1255
- Score: smithyClient.limitedParseFloat32,
1256
- Text: smithyClient.expectString,
1257
- Traits: (_) => de_ICD10CMTraitList(_),
1258
- Type: smithyClient.expectString,
1259
- });
1260
- };
1261
- const de_ICD10CMAttributeList = (output, context) => {
1262
- const retVal = (output || [])
1263
- .filter((e) => e != null)
1264
- .map((entry) => {
1265
- return de_ICD10CMAttribute(entry);
1266
- });
1267
- return retVal;
1268
- };
1269
- const de_ICD10CMConcept = (output, context) => {
1270
- return smithyClient.take(output, {
1271
- Code: smithyClient.expectString,
1272
- Description: smithyClient.expectString,
1273
- Score: smithyClient.limitedParseFloat32,
1274
- });
1275
- };
1276
- const de_ICD10CMConceptList = (output, context) => {
1277
- const retVal = (output || [])
1278
- .filter((e) => e != null)
1279
- .map((entry) => {
1280
- return de_ICD10CMConcept(entry);
1281
- });
1282
- return retVal;
1283
- };
1284
- const de_ICD10CMEntity = (output, context) => {
1285
- return smithyClient.take(output, {
1286
- Attributes: (_) => de_ICD10CMAttributeList(_),
1287
- BeginOffset: smithyClient.expectInt32,
1288
- Category: smithyClient.expectString,
1289
- EndOffset: smithyClient.expectInt32,
1290
- ICD10CMConcepts: (_) => de_ICD10CMConceptList(_),
1291
- Id: smithyClient.expectInt32,
1292
- Score: smithyClient.limitedParseFloat32,
1293
- Text: smithyClient.expectString,
1294
- Traits: (_) => de_ICD10CMTraitList(_),
1295
- Type: smithyClient.expectString,
1296
- });
1297
- };
1298
- const de_ICD10CMEntityList = (output, context) => {
1299
- const retVal = (output || [])
1300
- .filter((e) => e != null)
1301
- .map((entry) => {
1302
- return de_ICD10CMEntity(entry);
1303
- });
1304
- return retVal;
1305
- };
1306
- const de_ICD10CMTrait = (output, context) => {
1307
- return smithyClient.take(output, {
1308
- Name: smithyClient.expectString,
1309
- Score: smithyClient.limitedParseFloat32,
1310
- });
1311
- };
1312
- const de_ICD10CMTraitList = (output, context) => {
1313
- const retVal = (output || [])
1314
- .filter((e) => e != null)
1315
- .map((entry) => {
1316
- return de_ICD10CMTrait(entry);
1317
- });
1318
- return retVal;
1319
- };
1320
- const de_InferICD10CMResponse = (output, context) => {
1321
- return smithyClient.take(output, {
1322
- Entities: (_) => de_ICD10CMEntityList(_),
1323
- ModelVersion: smithyClient.expectString,
1324
- PaginationToken: smithyClient.expectString,
1325
- });
1326
- };
1327
- const de_InferRxNormResponse = (output, context) => {
1328
- return smithyClient.take(output, {
1329
- Entities: (_) => de_RxNormEntityList(_),
1330
- ModelVersion: smithyClient.expectString,
1331
- PaginationToken: smithyClient.expectString,
1332
- });
1333
- };
1334
- const de_InferSNOMEDCTResponse = (output, context) => {
1335
- return smithyClient.take(output, {
1336
- Characters: smithyClient._json,
1337
- Entities: (_) => de_SNOMEDCTEntityList(_),
1338
- ModelVersion: smithyClient.expectString,
1339
- PaginationToken: smithyClient.expectString,
1340
- SNOMEDCTDetails: smithyClient._json,
1341
- });
1342
- };
1343
- const de_ListEntitiesDetectionV2JobsResponse = (output, context) => {
1344
- return smithyClient.take(output, {
1345
- ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
1346
- NextToken: smithyClient.expectString,
1347
- });
1348
- };
1349
- const de_ListICD10CMInferenceJobsResponse = (output, context) => {
1350
- return smithyClient.take(output, {
1351
- ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
1352
- NextToken: smithyClient.expectString,
1353
- });
1354
- };
1355
- const de_ListPHIDetectionJobsResponse = (output, context) => {
1356
- return smithyClient.take(output, {
1357
- ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
1358
- NextToken: smithyClient.expectString,
1359
- });
1360
- };
1361
- const de_ListRxNormInferenceJobsResponse = (output, context) => {
1362
- return smithyClient.take(output, {
1363
- ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
1364
- NextToken: smithyClient.expectString,
1365
- });
1366
- };
1367
- const de_ListSNOMEDCTInferenceJobsResponse = (output, context) => {
1368
- return smithyClient.take(output, {
1369
- ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
1370
- NextToken: smithyClient.expectString,
1371
- });
1372
- };
1373
- const de_RxNormAttribute = (output, context) => {
1374
- return smithyClient.take(output, {
1375
- BeginOffset: smithyClient.expectInt32,
1376
- EndOffset: smithyClient.expectInt32,
1377
- Id: smithyClient.expectInt32,
1378
- RelationshipScore: smithyClient.limitedParseFloat32,
1379
- Score: smithyClient.limitedParseFloat32,
1380
- Text: smithyClient.expectString,
1381
- Traits: (_) => de_RxNormTraitList(_),
1382
- Type: smithyClient.expectString,
1383
- });
1384
- };
1385
- const de_RxNormAttributeList = (output, context) => {
1386
- const retVal = (output || [])
1387
- .filter((e) => e != null)
1388
- .map((entry) => {
1389
- return de_RxNormAttribute(entry);
1390
- });
1391
- return retVal;
1392
- };
1393
- const de_RxNormConcept = (output, context) => {
1394
- return smithyClient.take(output, {
1395
- Code: smithyClient.expectString,
1396
- Description: smithyClient.expectString,
1397
- Score: smithyClient.limitedParseFloat32,
1398
- });
1399
- };
1400
- const de_RxNormConceptList = (output, context) => {
1401
- const retVal = (output || [])
1402
- .filter((e) => e != null)
1403
- .map((entry) => {
1404
- return de_RxNormConcept(entry);
1405
- });
1406
- return retVal;
1407
- };
1408
- const de_RxNormEntity = (output, context) => {
1409
- return smithyClient.take(output, {
1410
- Attributes: (_) => de_RxNormAttributeList(_),
1411
- BeginOffset: smithyClient.expectInt32,
1412
- Category: smithyClient.expectString,
1413
- EndOffset: smithyClient.expectInt32,
1414
- Id: smithyClient.expectInt32,
1415
- RxNormConcepts: (_) => de_RxNormConceptList(_),
1416
- Score: smithyClient.limitedParseFloat32,
1417
- Text: smithyClient.expectString,
1418
- Traits: (_) => de_RxNormTraitList(_),
1419
- Type: smithyClient.expectString,
1420
- });
1421
- };
1422
- const de_RxNormEntityList = (output, context) => {
1423
- const retVal = (output || [])
1424
- .filter((e) => e != null)
1425
- .map((entry) => {
1426
- return de_RxNormEntity(entry);
1427
- });
1428
- return retVal;
1429
- };
1430
- const de_RxNormTrait = (output, context) => {
1431
- return smithyClient.take(output, {
1432
- Name: smithyClient.expectString,
1433
- Score: smithyClient.limitedParseFloat32,
1434
- });
1435
- };
1436
- const de_RxNormTraitList = (output, context) => {
1437
- const retVal = (output || [])
1438
- .filter((e) => e != null)
1439
- .map((entry) => {
1440
- return de_RxNormTrait(entry);
1441
- });
1442
- return retVal;
1443
- };
1444
- const de_SNOMEDCTAttribute = (output, context) => {
1445
- return smithyClient.take(output, {
1446
- BeginOffset: smithyClient.expectInt32,
1447
- Category: smithyClient.expectString,
1448
- EndOffset: smithyClient.expectInt32,
1449
- Id: smithyClient.expectInt32,
1450
- RelationshipScore: smithyClient.limitedParseFloat32,
1451
- RelationshipType: smithyClient.expectString,
1452
- SNOMEDCTConcepts: (_) => de_SNOMEDCTConceptList(_),
1453
- Score: smithyClient.limitedParseFloat32,
1454
- Text: smithyClient.expectString,
1455
- Traits: (_) => de_SNOMEDCTTraitList(_),
1456
- Type: smithyClient.expectString,
1457
- });
1458
- };
1459
- const de_SNOMEDCTAttributeList = (output, context) => {
1460
- const retVal = (output || [])
1461
- .filter((e) => e != null)
1462
- .map((entry) => {
1463
- return de_SNOMEDCTAttribute(entry);
1464
- });
1465
- return retVal;
1466
- };
1467
- const de_SNOMEDCTConcept = (output, context) => {
1468
- return smithyClient.take(output, {
1469
- Code: smithyClient.expectString,
1470
- Description: smithyClient.expectString,
1471
- Score: smithyClient.limitedParseFloat32,
1472
- });
1473
- };
1474
- const de_SNOMEDCTConceptList = (output, context) => {
1475
- const retVal = (output || [])
1476
- .filter((e) => e != null)
1477
- .map((entry) => {
1478
- return de_SNOMEDCTConcept(entry);
1479
- });
1480
- return retVal;
1481
- };
1482
- const de_SNOMEDCTEntity = (output, context) => {
1483
- return smithyClient.take(output, {
1484
- Attributes: (_) => de_SNOMEDCTAttributeList(_),
1485
- BeginOffset: smithyClient.expectInt32,
1486
- Category: smithyClient.expectString,
1487
- EndOffset: smithyClient.expectInt32,
1488
- Id: smithyClient.expectInt32,
1489
- SNOMEDCTConcepts: (_) => de_SNOMEDCTConceptList(_),
1490
- Score: smithyClient.limitedParseFloat32,
1491
- Text: smithyClient.expectString,
1492
- Traits: (_) => de_SNOMEDCTTraitList(_),
1493
- Type: smithyClient.expectString,
1494
- });
1495
- };
1496
- const de_SNOMEDCTEntityList = (output, context) => {
1497
- const retVal = (output || [])
1498
- .filter((e) => e != null)
1499
- .map((entry) => {
1500
- return de_SNOMEDCTEntity(entry);
1501
- });
1502
- return retVal;
1503
- };
1504
- const de_SNOMEDCTTrait = (output, context) => {
1505
- return smithyClient.take(output, {
1506
- Name: smithyClient.expectString,
1507
- Score: smithyClient.limitedParseFloat32,
1508
- });
1509
- };
1510
- const de_SNOMEDCTTraitList = (output, context) => {
1511
- const retVal = (output || [])
1512
- .filter((e) => e != null)
1513
- .map((entry) => {
1514
- return de_SNOMEDCTTrait(entry);
1515
- });
1516
- return retVal;
1517
- };
1518
- const de_Trait = (output, context) => {
1519
- return smithyClient.take(output, {
1520
- Name: smithyClient.expectString,
1521
- Score: smithyClient.limitedParseFloat32,
1522
- });
1523
- };
1524
- const de_TraitList = (output, context) => {
1525
- const retVal = (output || [])
1526
- .filter((e) => e != null)
1527
- .map((entry) => {
1528
- return de_Trait(entry);
1529
- });
1530
- return retVal;
1531
- };
1532
- const de_UnmappedAttribute = (output, context) => {
1533
- return smithyClient.take(output, {
1534
- Attribute: (_) => de_Attribute(_),
1535
- Type: smithyClient.expectString,
1536
- });
1537
- };
1538
- const de_UnmappedAttributeList = (output, context) => {
1539
- const retVal = (output || [])
1540
- .filter((e) => e != null)
1541
- .map((entry) => {
1542
- return de_UnmappedAttribute(entry);
1543
- });
1544
- return retVal;
1545
- };
1546
- const deserializeMetadata = (output) => ({
1547
- httpStatusCode: output.statusCode,
1548
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1549
- extendedRequestId: output.headers["x-amz-id-2"],
1550
- cfId: output.headers["x-amz-cf-id"],
1551
- });
1552
- const throwDefaultError = smithyClient.withBaseException(ComprehendMedicalServiceException);
1553
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1554
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1555
- const contents = {
1556
- protocol,
1557
- hostname,
1558
- port,
1559
- method: "POST",
1560
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1561
- headers,
1562
- };
1563
- if (body !== undefined) {
1564
- contents.body = body;
1565
- }
1566
- return new protocolHttp.HttpRequest(contents);
1567
423
  };
1568
- function sharedHeaders(operation) {
1569
- return {
1570
- "content-type": "application/x-amz-json-1.1",
1571
- "x-amz-target": `ComprehendMedical_20181030.${operation}`,
1572
- };
1573
- }
424
+
425
+ const _A = "Attribute";
426
+ const _AL = "AttributeList";
427
+ const _At = "Attributes";
428
+ const _BO = "BeginOffset";
429
+ const _C = "Category";
430
+ const _CMAJF = "ComprehendMedicalAsyncJobFilter";
431
+ const _CMAJP = "ComprehendMedicalAsyncJobProperties";
432
+ const _CMAJPL = "ComprehendMedicalAsyncJobPropertiesList";
433
+ const _CRT = "ClientRequestToken";
434
+ const _Ch = "Characters";
435
+ const _Co = "Code";
436
+ const _D = "Description";
437
+ const _DARA = "DataAccessRoleArn";
438
+ const _DE = "DetectEntities";
439
+ const _DEDVJ = "DescribeEntitiesDetectionV2Job";
440
+ const _DEDVJR = "DescribeEntitiesDetectionV2JobRequest";
441
+ const _DEDVJRe = "DescribeEntitiesDetectionV2JobResponse";
442
+ const _DER = "DetectEntitiesRequest";
443
+ const _DERe = "DetectEntitiesResponse";
444
+ const _DEV = "DetectEntitiesV2";
445
+ const _DEVR = "DetectEntitiesV2Request";
446
+ const _DEVRe = "DetectEntitiesV2Response";
447
+ const _DICDCMIJ = "DescribeICD10CMInferenceJob";
448
+ const _DICDCMIJR = "DescribeICD10CMInferenceJobRequest";
449
+ const _DICDCMIJRe = "DescribeICD10CMInferenceJobResponse";
450
+ const _DPHI = "DetectPHI";
451
+ const _DPHIDJ = "DescribePHIDetectionJob";
452
+ const _DPHIDJR = "DescribePHIDetectionJobRequest";
453
+ const _DPHIDJRe = "DescribePHIDetectionJobResponse";
454
+ const _DPHIR = "DetectPHIRequest";
455
+ const _DPHIRe = "DetectPHIResponse";
456
+ const _DRNIJ = "DescribeRxNormInferenceJob";
457
+ const _DRNIJR = "DescribeRxNormInferenceJobRequest";
458
+ const _DRNIJRe = "DescribeRxNormInferenceJobResponse";
459
+ const _DSNOMEDCTIJ = "DescribeSNOMEDCTInferenceJob";
460
+ const _DSNOMEDCTIJR = "DescribeSNOMEDCTInferenceJobRequest";
461
+ const _DSNOMEDCTIJRe = "DescribeSNOMEDCTInferenceJobResponse";
462
+ const _E = "Entities";
463
+ const _EL = "EntityList";
464
+ const _EO = "EndOffset";
465
+ const _ET = "EndTime";
466
+ const _ETx = "ExpirationTime";
467
+ const _Ed = "Edition";
468
+ const _En = "Entity";
469
+ const _F = "Filter";
470
+ const _I = "Id";
471
+ const _ICDCMA = "ICD10CMAttribute";
472
+ const _ICDCMAL = "ICD10CMAttributeList";
473
+ const _ICDCMC = "ICD10CMConcept";
474
+ const _ICDCMCL = "ICD10CMConceptList";
475
+ const _ICDCMCo = "ICD10CMConcepts";
476
+ const _ICDCME = "ICD10CMEntity";
477
+ const _ICDCMEL = "ICD10CMEntityList";
478
+ const _ICDCMT = "ICD10CMTrait";
479
+ const _ICDCMTL = "ICD10CMTraitList";
480
+ const _IDC = "InputDataConfig";
481
+ const _IEE = "InvalidEncodingException";
482
+ const _IICDCM = "InferICD10CM";
483
+ const _IICDCMR = "InferICD10CMRequest";
484
+ const _IICDCMRn = "InferICD10CMResponse";
485
+ const _IRE = "InvalidRequestException";
486
+ const _IRN = "InferRxNorm";
487
+ const _IRNR = "InferRxNormRequest";
488
+ const _IRNRn = "InferRxNormResponse";
489
+ const _ISE = "InternalServerException";
490
+ const _ISNOMEDCT = "InferSNOMEDCT";
491
+ const _ISNOMEDCTR = "InferSNOMEDCTRequest";
492
+ const _ISNOMEDCTRn = "InferSNOMEDCTResponse";
493
+ const _JI = "JobId";
494
+ const _JN = "JobName";
495
+ const _JS = "JobStatus";
496
+ const _KMSK = "KMSKey";
497
+ const _L = "Language";
498
+ const _LC = "LanguageCode";
499
+ const _LEDVJ = "ListEntitiesDetectionV2Jobs";
500
+ const _LEDVJR = "ListEntitiesDetectionV2JobsRequest";
501
+ const _LEDVJRi = "ListEntitiesDetectionV2JobsResponse";
502
+ const _LICDCMIJ = "ListICD10CMInferenceJobs";
503
+ const _LICDCMIJR = "ListICD10CMInferenceJobsRequest";
504
+ const _LICDCMIJRi = "ListICD10CMInferenceJobsResponse";
505
+ const _LPHIDJ = "ListPHIDetectionJobs";
506
+ const _LPHIDJR = "ListPHIDetectionJobsRequest";
507
+ const _LPHIDJRi = "ListPHIDetectionJobsResponse";
508
+ const _LRNIJ = "ListRxNormInferenceJobs";
509
+ const _LRNIJR = "ListRxNormInferenceJobsRequest";
510
+ const _LRNIJRi = "ListRxNormInferenceJobsResponse";
511
+ const _LSNOMEDCTIJ = "ListSNOMEDCTInferenceJobs";
512
+ const _LSNOMEDCTIJR = "ListSNOMEDCTInferenceJobsRequest";
513
+ const _LSNOMEDCTIJRi = "ListSNOMEDCTInferenceJobsResponse";
514
+ const _M = "Message";
515
+ const _MFP = "ManifestFilePath";
516
+ const _MR = "MaxResults";
517
+ const _MV = "ModelVersion";
518
+ const _N = "Name";
519
+ const _NT = "NextToken";
520
+ const _ODC = "OutputDataConfig";
521
+ const _OTC = "OriginalTextCharacters";
522
+ const _PT = "PaginationToken";
523
+ const _RNA = "RxNormAttribute";
524
+ const _RNAL = "RxNormAttributeList";
525
+ const _RNC = "RxNormConcept";
526
+ const _RNCL = "RxNormConceptList";
527
+ const _RNCx = "RxNormConcepts";
528
+ const _RNE = "RxNormEntity";
529
+ const _RNEL = "RxNormEntityList";
530
+ const _RNFE = "ResourceNotFoundException";
531
+ const _RNT = "RxNormTrait";
532
+ const _RNTL = "RxNormTraitList";
533
+ const _RS = "RelationshipScore";
534
+ const _RT = "RelationshipType";
535
+ const _S = "Score";
536
+ const _SB = "S3Bucket";
537
+ const _SEDVJ = "StartEntitiesDetectionV2Job";
538
+ const _SEDVJR = "StartEntitiesDetectionV2JobRequest";
539
+ const _SEDVJRt = "StartEntitiesDetectionV2JobResponse";
540
+ const _SEDVJRto = "StopEntitiesDetectionV2JobRequest";
541
+ const _SEDVJRtop = "StopEntitiesDetectionV2JobResponse";
542
+ const _SEDVJt = "StopEntitiesDetectionV2Job";
543
+ const _SICDCMIJ = "StartICD10CMInferenceJob";
544
+ const _SICDCMIJR = "StartICD10CMInferenceJobRequest";
545
+ const _SICDCMIJRt = "StartICD10CMInferenceJobResponse";
546
+ const _SICDCMIJRto = "StopICD10CMInferenceJobRequest";
547
+ const _SICDCMIJRtop = "StopICD10CMInferenceJobResponse";
548
+ const _SICDCMIJt = "StopICD10CMInferenceJob";
549
+ const _SK = "S3Key";
550
+ const _SNOMEDCTA = "SNOMEDCTAttribute";
551
+ const _SNOMEDCTAL = "SNOMEDCTAttributeList";
552
+ const _SNOMEDCTC = "SNOMEDCTConcepts";
553
+ const _SNOMEDCTCL = "SNOMEDCTConceptList";
554
+ const _SNOMEDCTCo = "SNOMEDCTConcept";
555
+ const _SNOMEDCTD = "SNOMEDCTDetails";
556
+ const _SNOMEDCTE = "SNOMEDCTEntity";
557
+ const _SNOMEDCTEL = "SNOMEDCTEntityList";
558
+ const _SNOMEDCTT = "SNOMEDCTTrait";
559
+ const _SNOMEDCTTL = "SNOMEDCTTraitList";
560
+ const _SPHIDJ = "StartPHIDetectionJob";
561
+ const _SPHIDJR = "StartPHIDetectionJobRequest";
562
+ const _SPHIDJRt = "StartPHIDetectionJobResponse";
563
+ const _SPHIDJRto = "StopPHIDetectionJobRequest";
564
+ const _SPHIDJRtop = "StopPHIDetectionJobResponse";
565
+ const _SPHIDJt = "StopPHIDetectionJob";
566
+ const _SRNIJ = "StartRxNormInferenceJob";
567
+ const _SRNIJR = "StartRxNormInferenceJobRequest";
568
+ const _SRNIJRt = "StartRxNormInferenceJobResponse";
569
+ const _SRNIJRto = "StopRxNormInferenceJobRequest";
570
+ const _SRNIJRtop = "StopRxNormInferenceJobResponse";
571
+ const _SRNIJt = "StopRxNormInferenceJob";
572
+ const _SSNOMEDCTIJ = "StartSNOMEDCTInferenceJob";
573
+ const _SSNOMEDCTIJR = "StartSNOMEDCTInferenceJobRequest";
574
+ const _SSNOMEDCTIJRt = "StartSNOMEDCTInferenceJobResponse";
575
+ const _SSNOMEDCTIJRto = "StopSNOMEDCTInferenceJobRequest";
576
+ const _SSNOMEDCTIJRtop = "StopSNOMEDCTInferenceJobResponse";
577
+ const _SSNOMEDCTIJt = "StopSNOMEDCTInferenceJob";
578
+ const _ST = "SubmitTime";
579
+ const _STA = "SubmitTimeAfter";
580
+ const _STB = "SubmitTimeBefore";
581
+ const _SUE = "ServiceUnavailableException";
582
+ const _T = "Type";
583
+ const _TL = "TraitList";
584
+ const _TMRE = "TooManyRequestsException";
585
+ const _TSLEE = "TextSizeLimitExceededException";
586
+ const _Te = "Text";
587
+ const _Tr = "Traits";
588
+ const _Tra = "Trait";
589
+ const _UA = "UnmappedAttributes";
590
+ const _UAL = "UnmappedAttributeList";
591
+ const _UAn = "UnmappedAttribute";
592
+ const _VD = "VersionDate";
593
+ const _VE = "ValidationException";
594
+ const _c = "client";
595
+ const _e = "error";
596
+ const _hE = "httpError";
597
+ const _s = "server";
598
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.comprehendmedical";
599
+ const n0 = "com.amazonaws.comprehendmedical";
600
+ var Attribute = [
601
+ 3,
602
+ n0,
603
+ _A,
604
+ 0,
605
+ [_T, _S, _RS, _RT, _I, _BO, _EO, _Te, _C, _Tr],
606
+ [0, 1, 1, 0, 1, 1, 1, 0, 0, () => TraitList],
607
+ ];
608
+ var Characters = [3, n0, _Ch, 0, [_OTC], [1]];
609
+ var ComprehendMedicalAsyncJobFilter = [
610
+ 3,
611
+ n0,
612
+ _CMAJF,
613
+ 0,
614
+ [_JN, _JS, _STB, _STA],
615
+ [0, 0, 4, 4],
616
+ ];
617
+ var ComprehendMedicalAsyncJobProperties = [
618
+ 3,
619
+ n0,
620
+ _CMAJP,
621
+ 0,
622
+ [_JI, _JN, _JS, _M, _ST, _ET, _ETx, _IDC, _ODC, _LC, _DARA, _MFP, _KMSK, _MV],
623
+ [0, 0, 0, 0, 4, 4, 4, () => InputDataConfig, () => OutputDataConfig, 0, 0, 0, 0, 0],
624
+ ];
625
+ var DescribeEntitiesDetectionV2JobRequest = [3, n0, _DEDVJR, 0, [_JI], [0]];
626
+ var DescribeEntitiesDetectionV2JobResponse = [
627
+ 3,
628
+ n0,
629
+ _DEDVJRe,
630
+ 0,
631
+ [_CMAJP],
632
+ [() => ComprehendMedicalAsyncJobProperties],
633
+ ];
634
+ var DescribeICD10CMInferenceJobRequest = [3, n0, _DICDCMIJR, 0, [_JI], [0]];
635
+ var DescribeICD10CMInferenceJobResponse = [
636
+ 3,
637
+ n0,
638
+ _DICDCMIJRe,
639
+ 0,
640
+ [_CMAJP],
641
+ [() => ComprehendMedicalAsyncJobProperties],
642
+ ];
643
+ var DescribePHIDetectionJobRequest = [3, n0, _DPHIDJR, 0, [_JI], [0]];
644
+ var DescribePHIDetectionJobResponse = [
645
+ 3,
646
+ n0,
647
+ _DPHIDJRe,
648
+ 0,
649
+ [_CMAJP],
650
+ [() => ComprehendMedicalAsyncJobProperties],
651
+ ];
652
+ var DescribeRxNormInferenceJobRequest = [3, n0, _DRNIJR, 0, [_JI], [0]];
653
+ var DescribeRxNormInferenceJobResponse = [
654
+ 3,
655
+ n0,
656
+ _DRNIJRe,
657
+ 0,
658
+ [_CMAJP],
659
+ [() => ComprehendMedicalAsyncJobProperties],
660
+ ];
661
+ var DescribeSNOMEDCTInferenceJobRequest = [3, n0, _DSNOMEDCTIJR, 0, [_JI], [0]];
662
+ var DescribeSNOMEDCTInferenceJobResponse = [
663
+ 3,
664
+ n0,
665
+ _DSNOMEDCTIJRe,
666
+ 0,
667
+ [_CMAJP],
668
+ [() => ComprehendMedicalAsyncJobProperties],
669
+ ];
670
+ var DetectEntitiesRequest = [3, n0, _DER, 0, [_Te], [0]];
671
+ var DetectEntitiesResponse = [
672
+ 3,
673
+ n0,
674
+ _DERe,
675
+ 0,
676
+ [_E, _UA, _PT, _MV],
677
+ [() => EntityList, () => UnmappedAttributeList, 0, 0],
678
+ ];
679
+ var DetectEntitiesV2Request = [3, n0, _DEVR, 0, [_Te], [0]];
680
+ var DetectEntitiesV2Response = [
681
+ 3,
682
+ n0,
683
+ _DEVRe,
684
+ 0,
685
+ [_E, _UA, _PT, _MV],
686
+ [() => EntityList, () => UnmappedAttributeList, 0, 0],
687
+ ];
688
+ var DetectPHIRequest = [3, n0, _DPHIR, 0, [_Te], [0]];
689
+ var DetectPHIResponse = [3, n0, _DPHIRe, 0, [_E, _PT, _MV], [() => EntityList, 0, 0]];
690
+ var Entity = [
691
+ 3,
692
+ n0,
693
+ _En,
694
+ 0,
695
+ [_I, _BO, _EO, _S, _Te, _C, _T, _Tr, _At],
696
+ [1, 1, 1, 1, 0, 0, 0, () => TraitList, () => AttributeList],
697
+ ];
698
+ var ICD10CMAttribute = [
699
+ 3,
700
+ n0,
701
+ _ICDCMA,
702
+ 0,
703
+ [_T, _S, _RS, _I, _BO, _EO, _Te, _Tr, _C, _RT],
704
+ [0, 1, 1, 1, 1, 1, 0, () => ICD10CMTraitList, 0, 0],
705
+ ];
706
+ var ICD10CMConcept = [3, n0, _ICDCMC, 0, [_D, _Co, _S], [0, 0, 1]];
707
+ var ICD10CMEntity = [
708
+ 3,
709
+ n0,
710
+ _ICDCME,
711
+ 0,
712
+ [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _ICDCMCo],
713
+ [1, 0, 0, 0, 1, 1, 1, () => ICD10CMAttributeList, () => ICD10CMTraitList, () => ICD10CMConceptList],
714
+ ];
715
+ var ICD10CMTrait = [3, n0, _ICDCMT, 0, [_N, _S], [0, 1]];
716
+ var InferICD10CMRequest = [3, n0, _IICDCMR, 0, [_Te], [0]];
717
+ var InferICD10CMResponse = [
718
+ 3,
719
+ n0,
720
+ _IICDCMRn,
721
+ 0,
722
+ [_E, _PT, _MV],
723
+ [() => ICD10CMEntityList, 0, 0],
724
+ ];
725
+ var InferRxNormRequest = [3, n0, _IRNR, 0, [_Te], [0]];
726
+ var InferRxNormResponse = [
727
+ 3,
728
+ n0,
729
+ _IRNRn,
730
+ 0,
731
+ [_E, _PT, _MV],
732
+ [() => RxNormEntityList, 0, 0],
733
+ ];
734
+ var InferSNOMEDCTRequest = [3, n0, _ISNOMEDCTR, 0, [_Te], [0]];
735
+ var InferSNOMEDCTResponse = [
736
+ 3,
737
+ n0,
738
+ _ISNOMEDCTRn,
739
+ 0,
740
+ [_E, _PT, _MV, _SNOMEDCTD, _Ch],
741
+ [() => SNOMEDCTEntityList, 0, 0, () => SNOMEDCTDetails, () => Characters],
742
+ ];
743
+ var InputDataConfig = [3, n0, _IDC, 0, [_SB, _SK], [0, 0]];
744
+ var InternalServerException = [
745
+ -3,
746
+ n0,
747
+ _ISE,
748
+ {
749
+ [_e]: _s,
750
+ [_hE]: 500,
751
+ },
752
+ [_M],
753
+ [0],
754
+ ];
755
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
756
+ var InvalidEncodingException = [
757
+ -3,
758
+ n0,
759
+ _IEE,
760
+ {
761
+ [_e]: _c,
762
+ [_hE]: 400,
763
+ },
764
+ [_M],
765
+ [0],
766
+ ];
767
+ schema.TypeRegistry.for(n0).registerError(InvalidEncodingException, InvalidEncodingException$1);
768
+ var InvalidRequestException = [
769
+ -3,
770
+ n0,
771
+ _IRE,
772
+ {
773
+ [_e]: _c,
774
+ [_hE]: 400,
775
+ },
776
+ [_M],
777
+ [0],
778
+ ];
779
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
780
+ var ListEntitiesDetectionV2JobsRequest = [
781
+ 3,
782
+ n0,
783
+ _LEDVJR,
784
+ 0,
785
+ [_F, _NT, _MR],
786
+ [() => ComprehendMedicalAsyncJobFilter, 0, 1],
787
+ ];
788
+ var ListEntitiesDetectionV2JobsResponse = [
789
+ 3,
790
+ n0,
791
+ _LEDVJRi,
792
+ 0,
793
+ [_CMAJPL, _NT],
794
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0],
795
+ ];
796
+ var ListICD10CMInferenceJobsRequest = [
797
+ 3,
798
+ n0,
799
+ _LICDCMIJR,
800
+ 0,
801
+ [_F, _NT, _MR],
802
+ [() => ComprehendMedicalAsyncJobFilter, 0, 1],
803
+ ];
804
+ var ListICD10CMInferenceJobsResponse = [
805
+ 3,
806
+ n0,
807
+ _LICDCMIJRi,
808
+ 0,
809
+ [_CMAJPL, _NT],
810
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0],
811
+ ];
812
+ var ListPHIDetectionJobsRequest = [
813
+ 3,
814
+ n0,
815
+ _LPHIDJR,
816
+ 0,
817
+ [_F, _NT, _MR],
818
+ [() => ComprehendMedicalAsyncJobFilter, 0, 1],
819
+ ];
820
+ var ListPHIDetectionJobsResponse = [
821
+ 3,
822
+ n0,
823
+ _LPHIDJRi,
824
+ 0,
825
+ [_CMAJPL, _NT],
826
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0],
827
+ ];
828
+ var ListRxNormInferenceJobsRequest = [
829
+ 3,
830
+ n0,
831
+ _LRNIJR,
832
+ 0,
833
+ [_F, _NT, _MR],
834
+ [() => ComprehendMedicalAsyncJobFilter, 0, 1],
835
+ ];
836
+ var ListRxNormInferenceJobsResponse = [
837
+ 3,
838
+ n0,
839
+ _LRNIJRi,
840
+ 0,
841
+ [_CMAJPL, _NT],
842
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0],
843
+ ];
844
+ var ListSNOMEDCTInferenceJobsRequest = [
845
+ 3,
846
+ n0,
847
+ _LSNOMEDCTIJR,
848
+ 0,
849
+ [_F, _NT, _MR],
850
+ [() => ComprehendMedicalAsyncJobFilter, 0, 1],
851
+ ];
852
+ var ListSNOMEDCTInferenceJobsResponse = [
853
+ 3,
854
+ n0,
855
+ _LSNOMEDCTIJRi,
856
+ 0,
857
+ [_CMAJPL, _NT],
858
+ [() => ComprehendMedicalAsyncJobPropertiesList, 0],
859
+ ];
860
+ var OutputDataConfig = [3, n0, _ODC, 0, [_SB, _SK], [0, 0]];
861
+ var ResourceNotFoundException = [
862
+ -3,
863
+ n0,
864
+ _RNFE,
865
+ {
866
+ [_e]: _c,
867
+ [_hE]: 404,
868
+ },
869
+ [_M],
870
+ [0],
871
+ ];
872
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
873
+ var RxNormAttribute = [
874
+ 3,
875
+ n0,
876
+ _RNA,
877
+ 0,
878
+ [_T, _S, _RS, _I, _BO, _EO, _Te, _Tr],
879
+ [0, 1, 1, 1, 1, 1, 0, () => RxNormTraitList],
880
+ ];
881
+ var RxNormConcept = [3, n0, _RNC, 0, [_D, _Co, _S], [0, 0, 1]];
882
+ var RxNormEntity = [
883
+ 3,
884
+ n0,
885
+ _RNE,
886
+ 0,
887
+ [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _RNCx],
888
+ [1, 0, 0, 0, 1, 1, 1, () => RxNormAttributeList, () => RxNormTraitList, () => RxNormConceptList],
889
+ ];
890
+ var RxNormTrait = [3, n0, _RNT, 0, [_N, _S], [0, 1]];
891
+ var ServiceUnavailableException = [
892
+ -3,
893
+ n0,
894
+ _SUE,
895
+ {
896
+ [_e]: _s,
897
+ [_hE]: 503,
898
+ },
899
+ [_M],
900
+ [0],
901
+ ];
902
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
903
+ var SNOMEDCTAttribute = [
904
+ 3,
905
+ n0,
906
+ _SNOMEDCTA,
907
+ 0,
908
+ [_C, _T, _S, _RS, _RT, _I, _BO, _EO, _Te, _Tr, _SNOMEDCTC],
909
+ [0, 0, 1, 1, 0, 1, 1, 1, 0, () => SNOMEDCTTraitList, () => SNOMEDCTConceptList],
910
+ ];
911
+ var SNOMEDCTConcept = [3, n0, _SNOMEDCTCo, 0, [_D, _Co, _S], [0, 0, 1]];
912
+ var SNOMEDCTDetails = [3, n0, _SNOMEDCTD, 0, [_Ed, _L, _VD], [0, 0, 0]];
913
+ var SNOMEDCTEntity = [
914
+ 3,
915
+ n0,
916
+ _SNOMEDCTE,
917
+ 0,
918
+ [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _SNOMEDCTC],
919
+ [1, 0, 0, 0, 1, 1, 1, () => SNOMEDCTAttributeList, () => SNOMEDCTTraitList, () => SNOMEDCTConceptList],
920
+ ];
921
+ var SNOMEDCTTrait = [3, n0, _SNOMEDCTT, 0, [_N, _S], [0, 1]];
922
+ var StartEntitiesDetectionV2JobRequest = [
923
+ 3,
924
+ n0,
925
+ _SEDVJR,
926
+ 0,
927
+ [_IDC, _ODC, _DARA, _JN, _CRT, _KMSK, _LC],
928
+ [() => InputDataConfig, () => OutputDataConfig, 0, 0, [0, 4], 0, 0],
929
+ ];
930
+ var StartEntitiesDetectionV2JobResponse = [3, n0, _SEDVJRt, 0, [_JI], [0]];
931
+ var StartICD10CMInferenceJobRequest = [
932
+ 3,
933
+ n0,
934
+ _SICDCMIJR,
935
+ 0,
936
+ [_IDC, _ODC, _DARA, _JN, _CRT, _KMSK, _LC],
937
+ [() => InputDataConfig, () => OutputDataConfig, 0, 0, [0, 4], 0, 0],
938
+ ];
939
+ var StartICD10CMInferenceJobResponse = [3, n0, _SICDCMIJRt, 0, [_JI], [0]];
940
+ var StartPHIDetectionJobRequest = [
941
+ 3,
942
+ n0,
943
+ _SPHIDJR,
944
+ 0,
945
+ [_IDC, _ODC, _DARA, _JN, _CRT, _KMSK, _LC],
946
+ [() => InputDataConfig, () => OutputDataConfig, 0, 0, [0, 4], 0, 0],
947
+ ];
948
+ var StartPHIDetectionJobResponse = [3, n0, _SPHIDJRt, 0, [_JI], [0]];
949
+ var StartRxNormInferenceJobRequest = [
950
+ 3,
951
+ n0,
952
+ _SRNIJR,
953
+ 0,
954
+ [_IDC, _ODC, _DARA, _JN, _CRT, _KMSK, _LC],
955
+ [() => InputDataConfig, () => OutputDataConfig, 0, 0, [0, 4], 0, 0],
956
+ ];
957
+ var StartRxNormInferenceJobResponse = [3, n0, _SRNIJRt, 0, [_JI], [0]];
958
+ var StartSNOMEDCTInferenceJobRequest = [
959
+ 3,
960
+ n0,
961
+ _SSNOMEDCTIJR,
962
+ 0,
963
+ [_IDC, _ODC, _DARA, _JN, _CRT, _KMSK, _LC],
964
+ [() => InputDataConfig, () => OutputDataConfig, 0, 0, [0, 4], 0, 0],
965
+ ];
966
+ var StartSNOMEDCTInferenceJobResponse = [3, n0, _SSNOMEDCTIJRt, 0, [_JI], [0]];
967
+ var StopEntitiesDetectionV2JobRequest = [3, n0, _SEDVJRto, 0, [_JI], [0]];
968
+ var StopEntitiesDetectionV2JobResponse = [3, n0, _SEDVJRtop, 0, [_JI], [0]];
969
+ var StopICD10CMInferenceJobRequest = [3, n0, _SICDCMIJRto, 0, [_JI], [0]];
970
+ var StopICD10CMInferenceJobResponse = [3, n0, _SICDCMIJRtop, 0, [_JI], [0]];
971
+ var StopPHIDetectionJobRequest = [3, n0, _SPHIDJRto, 0, [_JI], [0]];
972
+ var StopPHIDetectionJobResponse = [3, n0, _SPHIDJRtop, 0, [_JI], [0]];
973
+ var StopRxNormInferenceJobRequest = [3, n0, _SRNIJRto, 0, [_JI], [0]];
974
+ var StopRxNormInferenceJobResponse = [3, n0, _SRNIJRtop, 0, [_JI], [0]];
975
+ var StopSNOMEDCTInferenceJobRequest = [3, n0, _SSNOMEDCTIJRto, 0, [_JI], [0]];
976
+ var StopSNOMEDCTInferenceJobResponse = [3, n0, _SSNOMEDCTIJRtop, 0, [_JI], [0]];
977
+ var TextSizeLimitExceededException = [
978
+ -3,
979
+ n0,
980
+ _TSLEE,
981
+ {
982
+ [_e]: _c,
983
+ [_hE]: 400,
984
+ },
985
+ [_M],
986
+ [0],
987
+ ];
988
+ schema.TypeRegistry.for(n0).registerError(TextSizeLimitExceededException, TextSizeLimitExceededException$1);
989
+ var TooManyRequestsException = [
990
+ -3,
991
+ n0,
992
+ _TMRE,
993
+ {
994
+ [_e]: _c,
995
+ [_hE]: 429,
996
+ },
997
+ [_M],
998
+ [0],
999
+ ];
1000
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
1001
+ var Trait = [3, n0, _Tra, 0, [_N, _S], [0, 1]];
1002
+ var UnmappedAttribute = [3, n0, _UAn, 0, [_T, _A], [0, () => Attribute]];
1003
+ var ValidationException = [
1004
+ -3,
1005
+ n0,
1006
+ _VE,
1007
+ {
1008
+ [_e]: _c,
1009
+ [_hE]: 400,
1010
+ },
1011
+ [_M],
1012
+ [0],
1013
+ ];
1014
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1015
+ var ComprehendMedicalServiceException = [
1016
+ -3,
1017
+ _sm,
1018
+ "ComprehendMedicalServiceException",
1019
+ 0,
1020
+ [],
1021
+ [],
1022
+ ];
1023
+ schema.TypeRegistry.for(_sm).registerError(ComprehendMedicalServiceException, ComprehendMedicalServiceException$1);
1024
+ var AttributeList = [1, n0, _AL, 0, () => Attribute];
1025
+ var ComprehendMedicalAsyncJobPropertiesList = [
1026
+ 1,
1027
+ n0,
1028
+ _CMAJPL,
1029
+ 0,
1030
+ () => ComprehendMedicalAsyncJobProperties,
1031
+ ];
1032
+ var EntityList = [1, n0, _EL, 0, () => Entity];
1033
+ var ICD10CMAttributeList = [1, n0, _ICDCMAL, 0, () => ICD10CMAttribute];
1034
+ var ICD10CMConceptList = [1, n0, _ICDCMCL, 0, () => ICD10CMConcept];
1035
+ var ICD10CMEntityList = [1, n0, _ICDCMEL, 0, () => ICD10CMEntity];
1036
+ var ICD10CMTraitList = [1, n0, _ICDCMTL, 0, () => ICD10CMTrait];
1037
+ var RxNormAttributeList = [1, n0, _RNAL, 0, () => RxNormAttribute];
1038
+ var RxNormConceptList = [1, n0, _RNCL, 0, () => RxNormConcept];
1039
+ var RxNormEntityList = [1, n0, _RNEL, 0, () => RxNormEntity];
1040
+ var RxNormTraitList = [1, n0, _RNTL, 0, () => RxNormTrait];
1041
+ var SNOMEDCTAttributeList = [1, n0, _SNOMEDCTAL, 0, () => SNOMEDCTAttribute];
1042
+ var SNOMEDCTConceptList = [1, n0, _SNOMEDCTCL, 0, () => SNOMEDCTConcept];
1043
+ var SNOMEDCTEntityList = [1, n0, _SNOMEDCTEL, 0, () => SNOMEDCTEntity];
1044
+ var SNOMEDCTTraitList = [1, n0, _SNOMEDCTTL, 0, () => SNOMEDCTTrait];
1045
+ var TraitList = [1, n0, _TL, 0, () => Trait];
1046
+ var UnmappedAttributeList = [1, n0, _UAL, 0, () => UnmappedAttribute];
1047
+ var DescribeEntitiesDetectionV2Job = [
1048
+ 9,
1049
+ n0,
1050
+ _DEDVJ,
1051
+ 0,
1052
+ () => DescribeEntitiesDetectionV2JobRequest,
1053
+ () => DescribeEntitiesDetectionV2JobResponse,
1054
+ ];
1055
+ var DescribeICD10CMInferenceJob = [
1056
+ 9,
1057
+ n0,
1058
+ _DICDCMIJ,
1059
+ 0,
1060
+ () => DescribeICD10CMInferenceJobRequest,
1061
+ () => DescribeICD10CMInferenceJobResponse,
1062
+ ];
1063
+ var DescribePHIDetectionJob = [
1064
+ 9,
1065
+ n0,
1066
+ _DPHIDJ,
1067
+ 0,
1068
+ () => DescribePHIDetectionJobRequest,
1069
+ () => DescribePHIDetectionJobResponse,
1070
+ ];
1071
+ var DescribeRxNormInferenceJob = [
1072
+ 9,
1073
+ n0,
1074
+ _DRNIJ,
1075
+ 0,
1076
+ () => DescribeRxNormInferenceJobRequest,
1077
+ () => DescribeRxNormInferenceJobResponse,
1078
+ ];
1079
+ var DescribeSNOMEDCTInferenceJob = [
1080
+ 9,
1081
+ n0,
1082
+ _DSNOMEDCTIJ,
1083
+ 0,
1084
+ () => DescribeSNOMEDCTInferenceJobRequest,
1085
+ () => DescribeSNOMEDCTInferenceJobResponse,
1086
+ ];
1087
+ var DetectEntities = [
1088
+ 9,
1089
+ n0,
1090
+ _DE,
1091
+ 0,
1092
+ () => DetectEntitiesRequest,
1093
+ () => DetectEntitiesResponse,
1094
+ ];
1095
+ var DetectEntitiesV2 = [
1096
+ 9,
1097
+ n0,
1098
+ _DEV,
1099
+ 0,
1100
+ () => DetectEntitiesV2Request,
1101
+ () => DetectEntitiesV2Response,
1102
+ ];
1103
+ var DetectPHI = [9, n0, _DPHI, 0, () => DetectPHIRequest, () => DetectPHIResponse];
1104
+ var InferICD10CM = [
1105
+ 9,
1106
+ n0,
1107
+ _IICDCM,
1108
+ 0,
1109
+ () => InferICD10CMRequest,
1110
+ () => InferICD10CMResponse,
1111
+ ];
1112
+ var InferRxNorm = [9, n0, _IRN, 0, () => InferRxNormRequest, () => InferRxNormResponse];
1113
+ var InferSNOMEDCT = [
1114
+ 9,
1115
+ n0,
1116
+ _ISNOMEDCT,
1117
+ 0,
1118
+ () => InferSNOMEDCTRequest,
1119
+ () => InferSNOMEDCTResponse,
1120
+ ];
1121
+ var ListEntitiesDetectionV2Jobs = [
1122
+ 9,
1123
+ n0,
1124
+ _LEDVJ,
1125
+ 0,
1126
+ () => ListEntitiesDetectionV2JobsRequest,
1127
+ () => ListEntitiesDetectionV2JobsResponse,
1128
+ ];
1129
+ var ListICD10CMInferenceJobs = [
1130
+ 9,
1131
+ n0,
1132
+ _LICDCMIJ,
1133
+ 0,
1134
+ () => ListICD10CMInferenceJobsRequest,
1135
+ () => ListICD10CMInferenceJobsResponse,
1136
+ ];
1137
+ var ListPHIDetectionJobs = [
1138
+ 9,
1139
+ n0,
1140
+ _LPHIDJ,
1141
+ 0,
1142
+ () => ListPHIDetectionJobsRequest,
1143
+ () => ListPHIDetectionJobsResponse,
1144
+ ];
1145
+ var ListRxNormInferenceJobs = [
1146
+ 9,
1147
+ n0,
1148
+ _LRNIJ,
1149
+ 0,
1150
+ () => ListRxNormInferenceJobsRequest,
1151
+ () => ListRxNormInferenceJobsResponse,
1152
+ ];
1153
+ var ListSNOMEDCTInferenceJobs = [
1154
+ 9,
1155
+ n0,
1156
+ _LSNOMEDCTIJ,
1157
+ 0,
1158
+ () => ListSNOMEDCTInferenceJobsRequest,
1159
+ () => ListSNOMEDCTInferenceJobsResponse,
1160
+ ];
1161
+ var StartEntitiesDetectionV2Job = [
1162
+ 9,
1163
+ n0,
1164
+ _SEDVJ,
1165
+ 0,
1166
+ () => StartEntitiesDetectionV2JobRequest,
1167
+ () => StartEntitiesDetectionV2JobResponse,
1168
+ ];
1169
+ var StartICD10CMInferenceJob = [
1170
+ 9,
1171
+ n0,
1172
+ _SICDCMIJ,
1173
+ 0,
1174
+ () => StartICD10CMInferenceJobRequest,
1175
+ () => StartICD10CMInferenceJobResponse,
1176
+ ];
1177
+ var StartPHIDetectionJob = [
1178
+ 9,
1179
+ n0,
1180
+ _SPHIDJ,
1181
+ 0,
1182
+ () => StartPHIDetectionJobRequest,
1183
+ () => StartPHIDetectionJobResponse,
1184
+ ];
1185
+ var StartRxNormInferenceJob = [
1186
+ 9,
1187
+ n0,
1188
+ _SRNIJ,
1189
+ 0,
1190
+ () => StartRxNormInferenceJobRequest,
1191
+ () => StartRxNormInferenceJobResponse,
1192
+ ];
1193
+ var StartSNOMEDCTInferenceJob = [
1194
+ 9,
1195
+ n0,
1196
+ _SSNOMEDCTIJ,
1197
+ 0,
1198
+ () => StartSNOMEDCTInferenceJobRequest,
1199
+ () => StartSNOMEDCTInferenceJobResponse,
1200
+ ];
1201
+ var StopEntitiesDetectionV2Job = [
1202
+ 9,
1203
+ n0,
1204
+ _SEDVJt,
1205
+ 0,
1206
+ () => StopEntitiesDetectionV2JobRequest,
1207
+ () => StopEntitiesDetectionV2JobResponse,
1208
+ ];
1209
+ var StopICD10CMInferenceJob = [
1210
+ 9,
1211
+ n0,
1212
+ _SICDCMIJt,
1213
+ 0,
1214
+ () => StopICD10CMInferenceJobRequest,
1215
+ () => StopICD10CMInferenceJobResponse,
1216
+ ];
1217
+ var StopPHIDetectionJob = [
1218
+ 9,
1219
+ n0,
1220
+ _SPHIDJt,
1221
+ 0,
1222
+ () => StopPHIDetectionJobRequest,
1223
+ () => StopPHIDetectionJobResponse,
1224
+ ];
1225
+ var StopRxNormInferenceJob = [
1226
+ 9,
1227
+ n0,
1228
+ _SRNIJt,
1229
+ 0,
1230
+ () => StopRxNormInferenceJobRequest,
1231
+ () => StopRxNormInferenceJobResponse,
1232
+ ];
1233
+ var StopSNOMEDCTInferenceJob = [
1234
+ 9,
1235
+ n0,
1236
+ _SSNOMEDCTIJt,
1237
+ 0,
1238
+ () => StopSNOMEDCTInferenceJobRequest,
1239
+ () => StopSNOMEDCTInferenceJobResponse,
1240
+ ];
1574
1241
 
1575
1242
  class DescribeEntitiesDetectionV2JobCommand extends smithyClient.Command
1576
1243
  .classBuilder()
1577
1244
  .ep(commonParams)
1578
1245
  .m(function (Command, cs, config, o) {
1579
- return [
1580
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1581
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1582
- ];
1246
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
1247
  })
1584
1248
  .s("ComprehendMedical_20181030", "DescribeEntitiesDetectionV2Job", {})
1585
1249
  .n("ComprehendMedicalClient", "DescribeEntitiesDetectionV2JobCommand")
1586
- .f(void 0, void 0)
1587
- .ser(se_DescribeEntitiesDetectionV2JobCommand)
1588
- .de(de_DescribeEntitiesDetectionV2JobCommand)
1250
+ .sc(DescribeEntitiesDetectionV2Job)
1589
1251
  .build() {
1590
1252
  }
1591
1253
 
@@ -1593,16 +1255,11 @@ class DescribeICD10CMInferenceJobCommand extends smithyClient.Command
1593
1255
  .classBuilder()
1594
1256
  .ep(commonParams)
1595
1257
  .m(function (Command, cs, config, o) {
1596
- return [
1597
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1598
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1599
- ];
1258
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1600
1259
  })
1601
1260
  .s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {})
1602
1261
  .n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand")
1603
- .f(void 0, void 0)
1604
- .ser(se_DescribeICD10CMInferenceJobCommand)
1605
- .de(de_DescribeICD10CMInferenceJobCommand)
1262
+ .sc(DescribeICD10CMInferenceJob)
1606
1263
  .build() {
1607
1264
  }
1608
1265
 
@@ -1610,16 +1267,11 @@ class DescribePHIDetectionJobCommand extends smithyClient.Command
1610
1267
  .classBuilder()
1611
1268
  .ep(commonParams)
1612
1269
  .m(function (Command, cs, config, o) {
1613
- return [
1614
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1615
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1616
- ];
1270
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
1271
  })
1618
1272
  .s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {})
1619
1273
  .n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand")
1620
- .f(void 0, void 0)
1621
- .ser(se_DescribePHIDetectionJobCommand)
1622
- .de(de_DescribePHIDetectionJobCommand)
1274
+ .sc(DescribePHIDetectionJob)
1623
1275
  .build() {
1624
1276
  }
1625
1277
 
@@ -1627,16 +1279,11 @@ class DescribeRxNormInferenceJobCommand extends smithyClient.Command
1627
1279
  .classBuilder()
1628
1280
  .ep(commonParams)
1629
1281
  .m(function (Command, cs, config, o) {
1630
- return [
1631
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1632
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1633
- ];
1282
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1634
1283
  })
1635
1284
  .s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {})
1636
1285
  .n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand")
1637
- .f(void 0, void 0)
1638
- .ser(se_DescribeRxNormInferenceJobCommand)
1639
- .de(de_DescribeRxNormInferenceJobCommand)
1286
+ .sc(DescribeRxNormInferenceJob)
1640
1287
  .build() {
1641
1288
  }
1642
1289
 
@@ -1644,16 +1291,11 @@ class DescribeSNOMEDCTInferenceJobCommand extends smithyClient.Command
1644
1291
  .classBuilder()
1645
1292
  .ep(commonParams)
1646
1293
  .m(function (Command, cs, config, o) {
1647
- return [
1648
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1649
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1650
- ];
1294
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1651
1295
  })
1652
1296
  .s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {})
1653
1297
  .n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand")
1654
- .f(void 0, void 0)
1655
- .ser(se_DescribeSNOMEDCTInferenceJobCommand)
1656
- .de(de_DescribeSNOMEDCTInferenceJobCommand)
1298
+ .sc(DescribeSNOMEDCTInferenceJob)
1657
1299
  .build() {
1658
1300
  }
1659
1301
 
@@ -1661,16 +1303,11 @@ class DetectEntitiesCommand extends smithyClient.Command
1661
1303
  .classBuilder()
1662
1304
  .ep(commonParams)
1663
1305
  .m(function (Command, cs, config, o) {
1664
- return [
1665
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1666
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1667
- ];
1306
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1668
1307
  })
1669
1308
  .s("ComprehendMedical_20181030", "DetectEntities", {})
1670
1309
  .n("ComprehendMedicalClient", "DetectEntitiesCommand")
1671
- .f(void 0, void 0)
1672
- .ser(se_DetectEntitiesCommand)
1673
- .de(de_DetectEntitiesCommand)
1310
+ .sc(DetectEntities)
1674
1311
  .build() {
1675
1312
  }
1676
1313
 
@@ -1678,16 +1315,11 @@ class DetectEntitiesV2Command extends smithyClient.Command
1678
1315
  .classBuilder()
1679
1316
  .ep(commonParams)
1680
1317
  .m(function (Command, cs, config, o) {
1681
- return [
1682
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1683
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1684
- ];
1318
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1685
1319
  })
1686
1320
  .s("ComprehendMedical_20181030", "DetectEntitiesV2", {})
1687
1321
  .n("ComprehendMedicalClient", "DetectEntitiesV2Command")
1688
- .f(void 0, void 0)
1689
- .ser(se_DetectEntitiesV2Command)
1690
- .de(de_DetectEntitiesV2Command)
1322
+ .sc(DetectEntitiesV2)
1691
1323
  .build() {
1692
1324
  }
1693
1325
 
@@ -1695,16 +1327,11 @@ class DetectPHICommand extends smithyClient.Command
1695
1327
  .classBuilder()
1696
1328
  .ep(commonParams)
1697
1329
  .m(function (Command, cs, config, o) {
1698
- return [
1699
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1700
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1701
- ];
1330
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
1331
  })
1703
1332
  .s("ComprehendMedical_20181030", "DetectPHI", {})
1704
1333
  .n("ComprehendMedicalClient", "DetectPHICommand")
1705
- .f(void 0, void 0)
1706
- .ser(se_DetectPHICommand)
1707
- .de(de_DetectPHICommand)
1334
+ .sc(DetectPHI)
1708
1335
  .build() {
1709
1336
  }
1710
1337
 
@@ -1712,16 +1339,11 @@ class InferICD10CMCommand extends smithyClient.Command
1712
1339
  .classBuilder()
1713
1340
  .ep(commonParams)
1714
1341
  .m(function (Command, cs, config, o) {
1715
- return [
1716
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1717
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1718
- ];
1342
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1719
1343
  })
1720
1344
  .s("ComprehendMedical_20181030", "InferICD10CM", {})
1721
1345
  .n("ComprehendMedicalClient", "InferICD10CMCommand")
1722
- .f(void 0, void 0)
1723
- .ser(se_InferICD10CMCommand)
1724
- .de(de_InferICD10CMCommand)
1346
+ .sc(InferICD10CM)
1725
1347
  .build() {
1726
1348
  }
1727
1349
 
@@ -1729,16 +1351,11 @@ class InferRxNormCommand extends smithyClient.Command
1729
1351
  .classBuilder()
1730
1352
  .ep(commonParams)
1731
1353
  .m(function (Command, cs, config, o) {
1732
- return [
1733
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1734
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1735
- ];
1354
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1736
1355
  })
1737
1356
  .s("ComprehendMedical_20181030", "InferRxNorm", {})
1738
1357
  .n("ComprehendMedicalClient", "InferRxNormCommand")
1739
- .f(void 0, void 0)
1740
- .ser(se_InferRxNormCommand)
1741
- .de(de_InferRxNormCommand)
1358
+ .sc(InferRxNorm)
1742
1359
  .build() {
1743
1360
  }
1744
1361
 
@@ -1746,16 +1363,11 @@ class InferSNOMEDCTCommand extends smithyClient.Command
1746
1363
  .classBuilder()
1747
1364
  .ep(commonParams)
1748
1365
  .m(function (Command, cs, config, o) {
1749
- return [
1750
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1751
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1752
- ];
1366
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1753
1367
  })
1754
1368
  .s("ComprehendMedical_20181030", "InferSNOMEDCT", {})
1755
1369
  .n("ComprehendMedicalClient", "InferSNOMEDCTCommand")
1756
- .f(void 0, void 0)
1757
- .ser(se_InferSNOMEDCTCommand)
1758
- .de(de_InferSNOMEDCTCommand)
1370
+ .sc(InferSNOMEDCT)
1759
1371
  .build() {
1760
1372
  }
1761
1373
 
@@ -1763,16 +1375,11 @@ class ListEntitiesDetectionV2JobsCommand extends smithyClient.Command
1763
1375
  .classBuilder()
1764
1376
  .ep(commonParams)
1765
1377
  .m(function (Command, cs, config, o) {
1766
- return [
1767
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1768
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1769
- ];
1378
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1770
1379
  })
1771
1380
  .s("ComprehendMedical_20181030", "ListEntitiesDetectionV2Jobs", {})
1772
1381
  .n("ComprehendMedicalClient", "ListEntitiesDetectionV2JobsCommand")
1773
- .f(void 0, void 0)
1774
- .ser(se_ListEntitiesDetectionV2JobsCommand)
1775
- .de(de_ListEntitiesDetectionV2JobsCommand)
1382
+ .sc(ListEntitiesDetectionV2Jobs)
1776
1383
  .build() {
1777
1384
  }
1778
1385
 
@@ -1780,16 +1387,11 @@ class ListICD10CMInferenceJobsCommand extends smithyClient.Command
1780
1387
  .classBuilder()
1781
1388
  .ep(commonParams)
1782
1389
  .m(function (Command, cs, config, o) {
1783
- return [
1784
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1785
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1786
- ];
1390
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1787
1391
  })
1788
1392
  .s("ComprehendMedical_20181030", "ListICD10CMInferenceJobs", {})
1789
1393
  .n("ComprehendMedicalClient", "ListICD10CMInferenceJobsCommand")
1790
- .f(void 0, void 0)
1791
- .ser(se_ListICD10CMInferenceJobsCommand)
1792
- .de(de_ListICD10CMInferenceJobsCommand)
1394
+ .sc(ListICD10CMInferenceJobs)
1793
1395
  .build() {
1794
1396
  }
1795
1397
 
@@ -1797,16 +1399,11 @@ class ListPHIDetectionJobsCommand extends smithyClient.Command
1797
1399
  .classBuilder()
1798
1400
  .ep(commonParams)
1799
1401
  .m(function (Command, cs, config, o) {
1800
- return [
1801
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1802
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1803
- ];
1402
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1804
1403
  })
1805
1404
  .s("ComprehendMedical_20181030", "ListPHIDetectionJobs", {})
1806
1405
  .n("ComprehendMedicalClient", "ListPHIDetectionJobsCommand")
1807
- .f(void 0, void 0)
1808
- .ser(se_ListPHIDetectionJobsCommand)
1809
- .de(de_ListPHIDetectionJobsCommand)
1406
+ .sc(ListPHIDetectionJobs)
1810
1407
  .build() {
1811
1408
  }
1812
1409
 
@@ -1814,16 +1411,11 @@ class ListRxNormInferenceJobsCommand extends smithyClient.Command
1814
1411
  .classBuilder()
1815
1412
  .ep(commonParams)
1816
1413
  .m(function (Command, cs, config, o) {
1817
- return [
1818
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1819
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1820
- ];
1414
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
1415
  })
1822
1416
  .s("ComprehendMedical_20181030", "ListRxNormInferenceJobs", {})
1823
1417
  .n("ComprehendMedicalClient", "ListRxNormInferenceJobsCommand")
1824
- .f(void 0, void 0)
1825
- .ser(se_ListRxNormInferenceJobsCommand)
1826
- .de(de_ListRxNormInferenceJobsCommand)
1418
+ .sc(ListRxNormInferenceJobs)
1827
1419
  .build() {
1828
1420
  }
1829
1421
 
@@ -1831,16 +1423,11 @@ class ListSNOMEDCTInferenceJobsCommand extends smithyClient.Command
1831
1423
  .classBuilder()
1832
1424
  .ep(commonParams)
1833
1425
  .m(function (Command, cs, config, o) {
1834
- return [
1835
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1836
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1837
- ];
1426
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1838
1427
  })
1839
1428
  .s("ComprehendMedical_20181030", "ListSNOMEDCTInferenceJobs", {})
1840
1429
  .n("ComprehendMedicalClient", "ListSNOMEDCTInferenceJobsCommand")
1841
- .f(void 0, void 0)
1842
- .ser(se_ListSNOMEDCTInferenceJobsCommand)
1843
- .de(de_ListSNOMEDCTInferenceJobsCommand)
1430
+ .sc(ListSNOMEDCTInferenceJobs)
1844
1431
  .build() {
1845
1432
  }
1846
1433
 
@@ -1848,16 +1435,11 @@ class StartEntitiesDetectionV2JobCommand extends smithyClient.Command
1848
1435
  .classBuilder()
1849
1436
  .ep(commonParams)
1850
1437
  .m(function (Command, cs, config, o) {
1851
- return [
1852
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1853
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1854
- ];
1438
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1855
1439
  })
1856
1440
  .s("ComprehendMedical_20181030", "StartEntitiesDetectionV2Job", {})
1857
1441
  .n("ComprehendMedicalClient", "StartEntitiesDetectionV2JobCommand")
1858
- .f(void 0, void 0)
1859
- .ser(se_StartEntitiesDetectionV2JobCommand)
1860
- .de(de_StartEntitiesDetectionV2JobCommand)
1442
+ .sc(StartEntitiesDetectionV2Job)
1861
1443
  .build() {
1862
1444
  }
1863
1445
 
@@ -1865,16 +1447,11 @@ class StartICD10CMInferenceJobCommand extends smithyClient.Command
1865
1447
  .classBuilder()
1866
1448
  .ep(commonParams)
1867
1449
  .m(function (Command, cs, config, o) {
1868
- return [
1869
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1870
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1871
- ];
1450
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1872
1451
  })
1873
1452
  .s("ComprehendMedical_20181030", "StartICD10CMInferenceJob", {})
1874
1453
  .n("ComprehendMedicalClient", "StartICD10CMInferenceJobCommand")
1875
- .f(void 0, void 0)
1876
- .ser(se_StartICD10CMInferenceJobCommand)
1877
- .de(de_StartICD10CMInferenceJobCommand)
1454
+ .sc(StartICD10CMInferenceJob)
1878
1455
  .build() {
1879
1456
  }
1880
1457
 
@@ -1882,16 +1459,11 @@ class StartPHIDetectionJobCommand extends smithyClient.Command
1882
1459
  .classBuilder()
1883
1460
  .ep(commonParams)
1884
1461
  .m(function (Command, cs, config, o) {
1885
- return [
1886
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1887
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1888
- ];
1462
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1889
1463
  })
1890
1464
  .s("ComprehendMedical_20181030", "StartPHIDetectionJob", {})
1891
1465
  .n("ComprehendMedicalClient", "StartPHIDetectionJobCommand")
1892
- .f(void 0, void 0)
1893
- .ser(se_StartPHIDetectionJobCommand)
1894
- .de(de_StartPHIDetectionJobCommand)
1466
+ .sc(StartPHIDetectionJob)
1895
1467
  .build() {
1896
1468
  }
1897
1469
 
@@ -1899,16 +1471,11 @@ class StartRxNormInferenceJobCommand extends smithyClient.Command
1899
1471
  .classBuilder()
1900
1472
  .ep(commonParams)
1901
1473
  .m(function (Command, cs, config, o) {
1902
- return [
1903
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1904
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1905
- ];
1474
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1906
1475
  })
1907
1476
  .s("ComprehendMedical_20181030", "StartRxNormInferenceJob", {})
1908
1477
  .n("ComprehendMedicalClient", "StartRxNormInferenceJobCommand")
1909
- .f(void 0, void 0)
1910
- .ser(se_StartRxNormInferenceJobCommand)
1911
- .de(de_StartRxNormInferenceJobCommand)
1478
+ .sc(StartRxNormInferenceJob)
1912
1479
  .build() {
1913
1480
  }
1914
1481
 
@@ -1916,16 +1483,11 @@ class StartSNOMEDCTInferenceJobCommand extends smithyClient.Command
1916
1483
  .classBuilder()
1917
1484
  .ep(commonParams)
1918
1485
  .m(function (Command, cs, config, o) {
1919
- return [
1920
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1921
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1922
- ];
1486
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1923
1487
  })
1924
1488
  .s("ComprehendMedical_20181030", "StartSNOMEDCTInferenceJob", {})
1925
1489
  .n("ComprehendMedicalClient", "StartSNOMEDCTInferenceJobCommand")
1926
- .f(void 0, void 0)
1927
- .ser(se_StartSNOMEDCTInferenceJobCommand)
1928
- .de(de_StartSNOMEDCTInferenceJobCommand)
1490
+ .sc(StartSNOMEDCTInferenceJob)
1929
1491
  .build() {
1930
1492
  }
1931
1493
 
@@ -1933,16 +1495,11 @@ class StopEntitiesDetectionV2JobCommand extends smithyClient.Command
1933
1495
  .classBuilder()
1934
1496
  .ep(commonParams)
1935
1497
  .m(function (Command, cs, config, o) {
1936
- return [
1937
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1938
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1939
- ];
1498
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1940
1499
  })
1941
1500
  .s("ComprehendMedical_20181030", "StopEntitiesDetectionV2Job", {})
1942
1501
  .n("ComprehendMedicalClient", "StopEntitiesDetectionV2JobCommand")
1943
- .f(void 0, void 0)
1944
- .ser(se_StopEntitiesDetectionV2JobCommand)
1945
- .de(de_StopEntitiesDetectionV2JobCommand)
1502
+ .sc(StopEntitiesDetectionV2Job)
1946
1503
  .build() {
1947
1504
  }
1948
1505
 
@@ -1950,16 +1507,11 @@ class StopICD10CMInferenceJobCommand extends smithyClient.Command
1950
1507
  .classBuilder()
1951
1508
  .ep(commonParams)
1952
1509
  .m(function (Command, cs, config, o) {
1953
- return [
1954
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1955
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1956
- ];
1510
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1957
1511
  })
1958
1512
  .s("ComprehendMedical_20181030", "StopICD10CMInferenceJob", {})
1959
1513
  .n("ComprehendMedicalClient", "StopICD10CMInferenceJobCommand")
1960
- .f(void 0, void 0)
1961
- .ser(se_StopICD10CMInferenceJobCommand)
1962
- .de(de_StopICD10CMInferenceJobCommand)
1514
+ .sc(StopICD10CMInferenceJob)
1963
1515
  .build() {
1964
1516
  }
1965
1517
 
@@ -1967,16 +1519,11 @@ class StopPHIDetectionJobCommand extends smithyClient.Command
1967
1519
  .classBuilder()
1968
1520
  .ep(commonParams)
1969
1521
  .m(function (Command, cs, config, o) {
1970
- return [
1971
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1972
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1973
- ];
1522
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1974
1523
  })
1975
1524
  .s("ComprehendMedical_20181030", "StopPHIDetectionJob", {})
1976
1525
  .n("ComprehendMedicalClient", "StopPHIDetectionJobCommand")
1977
- .f(void 0, void 0)
1978
- .ser(se_StopPHIDetectionJobCommand)
1979
- .de(de_StopPHIDetectionJobCommand)
1526
+ .sc(StopPHIDetectionJob)
1980
1527
  .build() {
1981
1528
  }
1982
1529
 
@@ -1984,16 +1531,11 @@ class StopRxNormInferenceJobCommand extends smithyClient.Command
1984
1531
  .classBuilder()
1985
1532
  .ep(commonParams)
1986
1533
  .m(function (Command, cs, config, o) {
1987
- return [
1988
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1989
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1990
- ];
1534
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1991
1535
  })
1992
1536
  .s("ComprehendMedical_20181030", "StopRxNormInferenceJob", {})
1993
1537
  .n("ComprehendMedicalClient", "StopRxNormInferenceJobCommand")
1994
- .f(void 0, void 0)
1995
- .ser(se_StopRxNormInferenceJobCommand)
1996
- .de(de_StopRxNormInferenceJobCommand)
1538
+ .sc(StopRxNormInferenceJob)
1997
1539
  .build() {
1998
1540
  }
1999
1541
 
@@ -2001,16 +1543,11 @@ class StopSNOMEDCTInferenceJobCommand extends smithyClient.Command
2001
1543
  .classBuilder()
2002
1544
  .ep(commonParams)
2003
1545
  .m(function (Command, cs, config, o) {
2004
- return [
2005
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2006
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2007
- ];
1546
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2008
1547
  })
2009
1548
  .s("ComprehendMedical_20181030", "StopSNOMEDCTInferenceJob", {})
2010
1549
  .n("ComprehendMedicalClient", "StopSNOMEDCTInferenceJobCommand")
2011
- .f(void 0, void 0)
2012
- .ser(se_StopSNOMEDCTInferenceJobCommand)
2013
- .de(de_StopSNOMEDCTInferenceJobCommand)
1550
+ .sc(StopSNOMEDCTInferenceJob)
2014
1551
  .build() {
2015
1552
  }
2016
1553
 
@@ -2057,7 +1594,7 @@ Object.defineProperty(exports, "__Client", {
2057
1594
  exports.AttributeName = AttributeName;
2058
1595
  exports.ComprehendMedical = ComprehendMedical;
2059
1596
  exports.ComprehendMedicalClient = ComprehendMedicalClient;
2060
- exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException;
1597
+ exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException$1;
2061
1598
  exports.DescribeEntitiesDetectionV2JobCommand = DescribeEntitiesDetectionV2JobCommand;
2062
1599
  exports.DescribeICD10CMInferenceJobCommand = DescribeICD10CMInferenceJobCommand;
2063
1600
  exports.DescribePHIDetectionJobCommand = DescribePHIDetectionJobCommand;
@@ -2076,9 +1613,9 @@ exports.ICD10CMTraitName = ICD10CMTraitName;
2076
1613
  exports.InferICD10CMCommand = InferICD10CMCommand;
2077
1614
  exports.InferRxNormCommand = InferRxNormCommand;
2078
1615
  exports.InferSNOMEDCTCommand = InferSNOMEDCTCommand;
2079
- exports.InternalServerException = InternalServerException;
2080
- exports.InvalidEncodingException = InvalidEncodingException;
2081
- exports.InvalidRequestException = InvalidRequestException;
1616
+ exports.InternalServerException = InternalServerException$1;
1617
+ exports.InvalidEncodingException = InvalidEncodingException$1;
1618
+ exports.InvalidRequestException = InvalidRequestException$1;
2082
1619
  exports.JobStatus = JobStatus;
2083
1620
  exports.LanguageCode = LanguageCode;
2084
1621
  exports.ListEntitiesDetectionV2JobsCommand = ListEntitiesDetectionV2JobsCommand;
@@ -2087,7 +1624,7 @@ exports.ListPHIDetectionJobsCommand = ListPHIDetectionJobsCommand;
2087
1624
  exports.ListRxNormInferenceJobsCommand = ListRxNormInferenceJobsCommand;
2088
1625
  exports.ListSNOMEDCTInferenceJobsCommand = ListSNOMEDCTInferenceJobsCommand;
2089
1626
  exports.RelationshipType = RelationshipType;
2090
- exports.ResourceNotFoundException = ResourceNotFoundException;
1627
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2091
1628
  exports.RxNormAttributeType = RxNormAttributeType;
2092
1629
  exports.RxNormEntityCategory = RxNormEntityCategory;
2093
1630
  exports.RxNormEntityType = RxNormEntityType;
@@ -2097,7 +1634,7 @@ exports.SNOMEDCTEntityCategory = SNOMEDCTEntityCategory;
2097
1634
  exports.SNOMEDCTEntityType = SNOMEDCTEntityType;
2098
1635
  exports.SNOMEDCTRelationshipType = SNOMEDCTRelationshipType;
2099
1636
  exports.SNOMEDCTTraitName = SNOMEDCTTraitName;
2100
- exports.ServiceUnavailableException = ServiceUnavailableException;
1637
+ exports.ServiceUnavailableException = ServiceUnavailableException$1;
2101
1638
  exports.StartEntitiesDetectionV2JobCommand = StartEntitiesDetectionV2JobCommand;
2102
1639
  exports.StartICD10CMInferenceJobCommand = StartICD10CMInferenceJobCommand;
2103
1640
  exports.StartPHIDetectionJobCommand = StartPHIDetectionJobCommand;
@@ -2108,6 +1645,6 @@ exports.StopICD10CMInferenceJobCommand = StopICD10CMInferenceJobCommand;
2108
1645
  exports.StopPHIDetectionJobCommand = StopPHIDetectionJobCommand;
2109
1646
  exports.StopRxNormInferenceJobCommand = StopRxNormInferenceJobCommand;
2110
1647
  exports.StopSNOMEDCTInferenceJobCommand = StopSNOMEDCTInferenceJobCommand;
2111
- exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
2112
- exports.TooManyRequestsException = TooManyRequestsException;
2113
- exports.ValidationException = ValidationException;
1648
+ exports.TextSizeLimitExceededException = TextSizeLimitExceededException$1;
1649
+ exports.TooManyRequestsException = TooManyRequestsException$1;
1650
+ exports.ValidationException = ValidationException$1;