@aws-sdk/client-comprehendmedical 3.303.0 → 3.309.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 (57) hide show
  1. package/dist-cjs/commands/DescribeEntitiesDetectionV2JobCommand.js +2 -2
  2. package/dist-cjs/commands/DescribeICD10CMInferenceJobCommand.js +2 -2
  3. package/dist-cjs/commands/DescribePHIDetectionJobCommand.js +2 -2
  4. package/dist-cjs/commands/DescribeRxNormInferenceJobCommand.js +2 -2
  5. package/dist-cjs/commands/DescribeSNOMEDCTInferenceJobCommand.js +2 -2
  6. package/dist-cjs/commands/DetectEntitiesCommand.js +2 -2
  7. package/dist-cjs/commands/DetectEntitiesV2Command.js +2 -2
  8. package/dist-cjs/commands/DetectPHICommand.js +2 -2
  9. package/dist-cjs/commands/InferICD10CMCommand.js +2 -2
  10. package/dist-cjs/commands/InferRxNormCommand.js +2 -2
  11. package/dist-cjs/commands/InferSNOMEDCTCommand.js +2 -2
  12. package/dist-cjs/commands/ListEntitiesDetectionV2JobsCommand.js +2 -2
  13. package/dist-cjs/commands/ListICD10CMInferenceJobsCommand.js +2 -2
  14. package/dist-cjs/commands/ListPHIDetectionJobsCommand.js +2 -2
  15. package/dist-cjs/commands/ListRxNormInferenceJobsCommand.js +2 -2
  16. package/dist-cjs/commands/ListSNOMEDCTInferenceJobsCommand.js +2 -2
  17. package/dist-cjs/commands/StartEntitiesDetectionV2JobCommand.js +2 -2
  18. package/dist-cjs/commands/StartICD10CMInferenceJobCommand.js +2 -2
  19. package/dist-cjs/commands/StartPHIDetectionJobCommand.js +2 -2
  20. package/dist-cjs/commands/StartRxNormInferenceJobCommand.js +2 -2
  21. package/dist-cjs/commands/StartSNOMEDCTInferenceJobCommand.js +2 -2
  22. package/dist-cjs/commands/StopEntitiesDetectionV2JobCommand.js +2 -2
  23. package/dist-cjs/commands/StopICD10CMInferenceJobCommand.js +2 -2
  24. package/dist-cjs/commands/StopPHIDetectionJobCommand.js +2 -2
  25. package/dist-cjs/commands/StopRxNormInferenceJobCommand.js +2 -2
  26. package/dist-cjs/commands/StopSNOMEDCTInferenceJobCommand.js +2 -2
  27. package/dist-cjs/protocols/Aws_json1_1.js +510 -548
  28. package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +3 -3
  29. package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +3 -3
  30. package/dist-es/commands/DescribePHIDetectionJobCommand.js +3 -3
  31. package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +3 -3
  32. package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +3 -3
  33. package/dist-es/commands/DetectEntitiesCommand.js +3 -3
  34. package/dist-es/commands/DetectEntitiesV2Command.js +3 -3
  35. package/dist-es/commands/DetectPHICommand.js +3 -3
  36. package/dist-es/commands/InferICD10CMCommand.js +3 -3
  37. package/dist-es/commands/InferRxNormCommand.js +3 -3
  38. package/dist-es/commands/InferSNOMEDCTCommand.js +3 -3
  39. package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +3 -3
  40. package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +3 -3
  41. package/dist-es/commands/ListPHIDetectionJobsCommand.js +3 -3
  42. package/dist-es/commands/ListRxNormInferenceJobsCommand.js +3 -3
  43. package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +3 -3
  44. package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +3 -3
  45. package/dist-es/commands/StartICD10CMInferenceJobCommand.js +3 -3
  46. package/dist-es/commands/StartPHIDetectionJobCommand.js +3 -3
  47. package/dist-es/commands/StartRxNormInferenceJobCommand.js +3 -3
  48. package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +3 -3
  49. package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +3 -3
  50. package/dist-es/commands/StopICD10CMInferenceJobCommand.js +3 -3
  51. package/dist-es/commands/StopPHIDetectionJobCommand.js +3 -3
  52. package/dist-es/commands/StopRxNormInferenceJobCommand.js +3 -3
  53. package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +3 -3
  54. package/dist-es/protocols/Aws_json1_1.js +456 -494
  55. package/dist-types/protocols/Aws_json1_1.d.ts +208 -52
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +52 -52
  57. package/package.json +29 -29
@@ -1,287 +1,287 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_1StopPHIDetectionJobCommand = exports.deserializeAws_json1_1StopICD10CMInferenceJobCommand = exports.deserializeAws_json1_1StopEntitiesDetectionV2JobCommand = exports.deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand = exports.deserializeAws_json1_1StartRxNormInferenceJobCommand = exports.deserializeAws_json1_1StartPHIDetectionJobCommand = exports.deserializeAws_json1_1StartICD10CMInferenceJobCommand = exports.deserializeAws_json1_1StartEntitiesDetectionV2JobCommand = exports.deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = exports.deserializeAws_json1_1ListRxNormInferenceJobsCommand = exports.deserializeAws_json1_1ListPHIDetectionJobsCommand = exports.deserializeAws_json1_1ListICD10CMInferenceJobsCommand = exports.deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand = exports.deserializeAws_json1_1InferSNOMEDCTCommand = exports.deserializeAws_json1_1InferRxNormCommand = exports.deserializeAws_json1_1InferICD10CMCommand = exports.deserializeAws_json1_1DetectPHICommand = exports.deserializeAws_json1_1DetectEntitiesV2Command = exports.deserializeAws_json1_1DetectEntitiesCommand = exports.deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = exports.deserializeAws_json1_1DescribeRxNormInferenceJobCommand = exports.deserializeAws_json1_1DescribePHIDetectionJobCommand = exports.deserializeAws_json1_1DescribeICD10CMInferenceJobCommand = exports.deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand = exports.serializeAws_json1_1StopSNOMEDCTInferenceJobCommand = exports.serializeAws_json1_1StopRxNormInferenceJobCommand = exports.serializeAws_json1_1StopPHIDetectionJobCommand = exports.serializeAws_json1_1StopICD10CMInferenceJobCommand = exports.serializeAws_json1_1StopEntitiesDetectionV2JobCommand = exports.serializeAws_json1_1StartSNOMEDCTInferenceJobCommand = exports.serializeAws_json1_1StartRxNormInferenceJobCommand = exports.serializeAws_json1_1StartPHIDetectionJobCommand = exports.serializeAws_json1_1StartICD10CMInferenceJobCommand = exports.serializeAws_json1_1StartEntitiesDetectionV2JobCommand = exports.serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = exports.serializeAws_json1_1ListRxNormInferenceJobsCommand = exports.serializeAws_json1_1ListPHIDetectionJobsCommand = exports.serializeAws_json1_1ListICD10CMInferenceJobsCommand = exports.serializeAws_json1_1ListEntitiesDetectionV2JobsCommand = exports.serializeAws_json1_1InferSNOMEDCTCommand = exports.serializeAws_json1_1InferRxNormCommand = exports.serializeAws_json1_1InferICD10CMCommand = exports.serializeAws_json1_1DetectPHICommand = exports.serializeAws_json1_1DetectEntitiesV2Command = exports.serializeAws_json1_1DetectEntitiesCommand = exports.serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = exports.serializeAws_json1_1DescribeRxNormInferenceJobCommand = exports.serializeAws_json1_1DescribePHIDetectionJobCommand = exports.serializeAws_json1_1DescribeICD10CMInferenceJobCommand = exports.serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand = void 0;
4
- exports.deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand = exports.deserializeAws_json1_1StopRxNormInferenceJobCommand = void 0;
3
+ exports.de_StopPHIDetectionJobCommand = exports.de_StopICD10CMInferenceJobCommand = exports.de_StopEntitiesDetectionV2JobCommand = exports.de_StartSNOMEDCTInferenceJobCommand = exports.de_StartRxNormInferenceJobCommand = exports.de_StartPHIDetectionJobCommand = exports.de_StartICD10CMInferenceJobCommand = exports.de_StartEntitiesDetectionV2JobCommand = exports.de_ListSNOMEDCTInferenceJobsCommand = exports.de_ListRxNormInferenceJobsCommand = exports.de_ListPHIDetectionJobsCommand = exports.de_ListICD10CMInferenceJobsCommand = exports.de_ListEntitiesDetectionV2JobsCommand = exports.de_InferSNOMEDCTCommand = exports.de_InferRxNormCommand = exports.de_InferICD10CMCommand = exports.de_DetectPHICommand = exports.de_DetectEntitiesV2Command = exports.de_DetectEntitiesCommand = exports.de_DescribeSNOMEDCTInferenceJobCommand = exports.de_DescribeRxNormInferenceJobCommand = exports.de_DescribePHIDetectionJobCommand = exports.de_DescribeICD10CMInferenceJobCommand = exports.de_DescribeEntitiesDetectionV2JobCommand = exports.se_StopSNOMEDCTInferenceJobCommand = exports.se_StopRxNormInferenceJobCommand = exports.se_StopPHIDetectionJobCommand = exports.se_StopICD10CMInferenceJobCommand = exports.se_StopEntitiesDetectionV2JobCommand = exports.se_StartSNOMEDCTInferenceJobCommand = exports.se_StartRxNormInferenceJobCommand = exports.se_StartPHIDetectionJobCommand = exports.se_StartICD10CMInferenceJobCommand = exports.se_StartEntitiesDetectionV2JobCommand = exports.se_ListSNOMEDCTInferenceJobsCommand = exports.se_ListRxNormInferenceJobsCommand = exports.se_ListPHIDetectionJobsCommand = exports.se_ListICD10CMInferenceJobsCommand = exports.se_ListEntitiesDetectionV2JobsCommand = exports.se_InferSNOMEDCTCommand = exports.se_InferRxNormCommand = exports.se_InferICD10CMCommand = exports.se_DetectPHICommand = exports.se_DetectEntitiesV2Command = exports.se_DetectEntitiesCommand = exports.se_DescribeSNOMEDCTInferenceJobCommand = exports.se_DescribeRxNormInferenceJobCommand = exports.se_DescribePHIDetectionJobCommand = exports.se_DescribeICD10CMInferenceJobCommand = exports.se_DescribeEntitiesDetectionV2JobCommand = void 0;
4
+ exports.de_StopSNOMEDCTInferenceJobCommand = exports.de_StopRxNormInferenceJobCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
8
8
  const ComprehendMedicalServiceException_1 = require("../models/ComprehendMedicalServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
- const serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand = async (input, context) => {
10
+ const se_DescribeEntitiesDetectionV2JobCommand = async (input, context) => {
11
11
  const headers = {
12
12
  "content-type": "application/x-amz-json-1.1",
13
13
  "x-amz-target": "ComprehendMedical_20181030.DescribeEntitiesDetectionV2Job",
14
14
  };
15
15
  let body;
16
- body = JSON.stringify(serializeAws_json1_1DescribeEntitiesDetectionV2JobRequest(input, context));
16
+ body = JSON.stringify(se_DescribeEntitiesDetectionV2JobRequest(input, context));
17
17
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
18
18
  };
19
- exports.serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand = serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand;
20
- const serializeAws_json1_1DescribeICD10CMInferenceJobCommand = async (input, context) => {
19
+ exports.se_DescribeEntitiesDetectionV2JobCommand = se_DescribeEntitiesDetectionV2JobCommand;
20
+ const se_DescribeICD10CMInferenceJobCommand = async (input, context) => {
21
21
  const headers = {
22
22
  "content-type": "application/x-amz-json-1.1",
23
23
  "x-amz-target": "ComprehendMedical_20181030.DescribeICD10CMInferenceJob",
24
24
  };
25
25
  let body;
26
- body = JSON.stringify(serializeAws_json1_1DescribeICD10CMInferenceJobRequest(input, context));
26
+ body = JSON.stringify(se_DescribeICD10CMInferenceJobRequest(input, context));
27
27
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
28
28
  };
29
- exports.serializeAws_json1_1DescribeICD10CMInferenceJobCommand = serializeAws_json1_1DescribeICD10CMInferenceJobCommand;
30
- const serializeAws_json1_1DescribePHIDetectionJobCommand = async (input, context) => {
29
+ exports.se_DescribeICD10CMInferenceJobCommand = se_DescribeICD10CMInferenceJobCommand;
30
+ const se_DescribePHIDetectionJobCommand = async (input, context) => {
31
31
  const headers = {
32
32
  "content-type": "application/x-amz-json-1.1",
33
33
  "x-amz-target": "ComprehendMedical_20181030.DescribePHIDetectionJob",
34
34
  };
35
35
  let body;
36
- body = JSON.stringify(serializeAws_json1_1DescribePHIDetectionJobRequest(input, context));
36
+ body = JSON.stringify(se_DescribePHIDetectionJobRequest(input, context));
37
37
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
38
38
  };
39
- exports.serializeAws_json1_1DescribePHIDetectionJobCommand = serializeAws_json1_1DescribePHIDetectionJobCommand;
40
- const serializeAws_json1_1DescribeRxNormInferenceJobCommand = async (input, context) => {
39
+ exports.se_DescribePHIDetectionJobCommand = se_DescribePHIDetectionJobCommand;
40
+ const se_DescribeRxNormInferenceJobCommand = async (input, context) => {
41
41
  const headers = {
42
42
  "content-type": "application/x-amz-json-1.1",
43
43
  "x-amz-target": "ComprehendMedical_20181030.DescribeRxNormInferenceJob",
44
44
  };
45
45
  let body;
46
- body = JSON.stringify(serializeAws_json1_1DescribeRxNormInferenceJobRequest(input, context));
46
+ body = JSON.stringify(se_DescribeRxNormInferenceJobRequest(input, context));
47
47
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
48
48
  };
49
- exports.serializeAws_json1_1DescribeRxNormInferenceJobCommand = serializeAws_json1_1DescribeRxNormInferenceJobCommand;
50
- const serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = async (input, context) => {
49
+ exports.se_DescribeRxNormInferenceJobCommand = se_DescribeRxNormInferenceJobCommand;
50
+ const se_DescribeSNOMEDCTInferenceJobCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.1",
53
53
  "x-amz-target": "ComprehendMedical_20181030.DescribeSNOMEDCTInferenceJob",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_1DescribeSNOMEDCTInferenceJobRequest(input, context));
56
+ body = JSON.stringify(se_DescribeSNOMEDCTInferenceJobRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- exports.serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = serializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand;
60
- const serializeAws_json1_1DetectEntitiesCommand = async (input, context) => {
59
+ exports.se_DescribeSNOMEDCTInferenceJobCommand = se_DescribeSNOMEDCTInferenceJobCommand;
60
+ const se_DetectEntitiesCommand = async (input, context) => {
61
61
  const headers = {
62
62
  "content-type": "application/x-amz-json-1.1",
63
63
  "x-amz-target": "ComprehendMedical_20181030.DetectEntities",
64
64
  };
65
65
  let body;
66
- body = JSON.stringify(serializeAws_json1_1DetectEntitiesRequest(input, context));
66
+ body = JSON.stringify(se_DetectEntitiesRequest(input, context));
67
67
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
68
68
  };
69
- exports.serializeAws_json1_1DetectEntitiesCommand = serializeAws_json1_1DetectEntitiesCommand;
70
- const serializeAws_json1_1DetectEntitiesV2Command = async (input, context) => {
69
+ exports.se_DetectEntitiesCommand = se_DetectEntitiesCommand;
70
+ const se_DetectEntitiesV2Command = async (input, context) => {
71
71
  const headers = {
72
72
  "content-type": "application/x-amz-json-1.1",
73
73
  "x-amz-target": "ComprehendMedical_20181030.DetectEntitiesV2",
74
74
  };
75
75
  let body;
76
- body = JSON.stringify(serializeAws_json1_1DetectEntitiesV2Request(input, context));
76
+ body = JSON.stringify(se_DetectEntitiesV2Request(input, context));
77
77
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
78
78
  };
79
- exports.serializeAws_json1_1DetectEntitiesV2Command = serializeAws_json1_1DetectEntitiesV2Command;
80
- const serializeAws_json1_1DetectPHICommand = async (input, context) => {
79
+ exports.se_DetectEntitiesV2Command = se_DetectEntitiesV2Command;
80
+ const se_DetectPHICommand = async (input, context) => {
81
81
  const headers = {
82
82
  "content-type": "application/x-amz-json-1.1",
83
83
  "x-amz-target": "ComprehendMedical_20181030.DetectPHI",
84
84
  };
85
85
  let body;
86
- body = JSON.stringify(serializeAws_json1_1DetectPHIRequest(input, context));
86
+ body = JSON.stringify(se_DetectPHIRequest(input, context));
87
87
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
88
88
  };
89
- exports.serializeAws_json1_1DetectPHICommand = serializeAws_json1_1DetectPHICommand;
90
- const serializeAws_json1_1InferICD10CMCommand = async (input, context) => {
89
+ exports.se_DetectPHICommand = se_DetectPHICommand;
90
+ const se_InferICD10CMCommand = async (input, context) => {
91
91
  const headers = {
92
92
  "content-type": "application/x-amz-json-1.1",
93
93
  "x-amz-target": "ComprehendMedical_20181030.InferICD10CM",
94
94
  };
95
95
  let body;
96
- body = JSON.stringify(serializeAws_json1_1InferICD10CMRequest(input, context));
96
+ body = JSON.stringify(se_InferICD10CMRequest(input, context));
97
97
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
98
98
  };
99
- exports.serializeAws_json1_1InferICD10CMCommand = serializeAws_json1_1InferICD10CMCommand;
100
- const serializeAws_json1_1InferRxNormCommand = async (input, context) => {
99
+ exports.se_InferICD10CMCommand = se_InferICD10CMCommand;
100
+ const se_InferRxNormCommand = async (input, context) => {
101
101
  const headers = {
102
102
  "content-type": "application/x-amz-json-1.1",
103
103
  "x-amz-target": "ComprehendMedical_20181030.InferRxNorm",
104
104
  };
105
105
  let body;
106
- body = JSON.stringify(serializeAws_json1_1InferRxNormRequest(input, context));
106
+ body = JSON.stringify(se_InferRxNormRequest(input, context));
107
107
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
108
108
  };
109
- exports.serializeAws_json1_1InferRxNormCommand = serializeAws_json1_1InferRxNormCommand;
110
- const serializeAws_json1_1InferSNOMEDCTCommand = async (input, context) => {
109
+ exports.se_InferRxNormCommand = se_InferRxNormCommand;
110
+ const se_InferSNOMEDCTCommand = async (input, context) => {
111
111
  const headers = {
112
112
  "content-type": "application/x-amz-json-1.1",
113
113
  "x-amz-target": "ComprehendMedical_20181030.InferSNOMEDCT",
114
114
  };
115
115
  let body;
116
- body = JSON.stringify(serializeAws_json1_1InferSNOMEDCTRequest(input, context));
116
+ body = JSON.stringify(se_InferSNOMEDCTRequest(input, context));
117
117
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
118
118
  };
119
- exports.serializeAws_json1_1InferSNOMEDCTCommand = serializeAws_json1_1InferSNOMEDCTCommand;
120
- const serializeAws_json1_1ListEntitiesDetectionV2JobsCommand = async (input, context) => {
119
+ exports.se_InferSNOMEDCTCommand = se_InferSNOMEDCTCommand;
120
+ const se_ListEntitiesDetectionV2JobsCommand = async (input, context) => {
121
121
  const headers = {
122
122
  "content-type": "application/x-amz-json-1.1",
123
123
  "x-amz-target": "ComprehendMedical_20181030.ListEntitiesDetectionV2Jobs",
124
124
  };
125
125
  let body;
126
- body = JSON.stringify(serializeAws_json1_1ListEntitiesDetectionV2JobsRequest(input, context));
126
+ body = JSON.stringify(se_ListEntitiesDetectionV2JobsRequest(input, context));
127
127
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
128
128
  };
129
- exports.serializeAws_json1_1ListEntitiesDetectionV2JobsCommand = serializeAws_json1_1ListEntitiesDetectionV2JobsCommand;
130
- const serializeAws_json1_1ListICD10CMInferenceJobsCommand = async (input, context) => {
129
+ exports.se_ListEntitiesDetectionV2JobsCommand = se_ListEntitiesDetectionV2JobsCommand;
130
+ const se_ListICD10CMInferenceJobsCommand = async (input, context) => {
131
131
  const headers = {
132
132
  "content-type": "application/x-amz-json-1.1",
133
133
  "x-amz-target": "ComprehendMedical_20181030.ListICD10CMInferenceJobs",
134
134
  };
135
135
  let body;
136
- body = JSON.stringify(serializeAws_json1_1ListICD10CMInferenceJobsRequest(input, context));
136
+ body = JSON.stringify(se_ListICD10CMInferenceJobsRequest(input, context));
137
137
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
138
138
  };
139
- exports.serializeAws_json1_1ListICD10CMInferenceJobsCommand = serializeAws_json1_1ListICD10CMInferenceJobsCommand;
140
- const serializeAws_json1_1ListPHIDetectionJobsCommand = async (input, context) => {
139
+ exports.se_ListICD10CMInferenceJobsCommand = se_ListICD10CMInferenceJobsCommand;
140
+ const se_ListPHIDetectionJobsCommand = async (input, context) => {
141
141
  const headers = {
142
142
  "content-type": "application/x-amz-json-1.1",
143
143
  "x-amz-target": "ComprehendMedical_20181030.ListPHIDetectionJobs",
144
144
  };
145
145
  let body;
146
- body = JSON.stringify(serializeAws_json1_1ListPHIDetectionJobsRequest(input, context));
146
+ body = JSON.stringify(se_ListPHIDetectionJobsRequest(input, context));
147
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
148
  };
149
- exports.serializeAws_json1_1ListPHIDetectionJobsCommand = serializeAws_json1_1ListPHIDetectionJobsCommand;
150
- const serializeAws_json1_1ListRxNormInferenceJobsCommand = async (input, context) => {
149
+ exports.se_ListPHIDetectionJobsCommand = se_ListPHIDetectionJobsCommand;
150
+ const se_ListRxNormInferenceJobsCommand = async (input, context) => {
151
151
  const headers = {
152
152
  "content-type": "application/x-amz-json-1.1",
153
153
  "x-amz-target": "ComprehendMedical_20181030.ListRxNormInferenceJobs",
154
154
  };
155
155
  let body;
156
- body = JSON.stringify(serializeAws_json1_1ListRxNormInferenceJobsRequest(input, context));
156
+ body = JSON.stringify(se_ListRxNormInferenceJobsRequest(input, context));
157
157
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
158
158
  };
159
- exports.serializeAws_json1_1ListRxNormInferenceJobsCommand = serializeAws_json1_1ListRxNormInferenceJobsCommand;
160
- const serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = async (input, context) => {
159
+ exports.se_ListRxNormInferenceJobsCommand = se_ListRxNormInferenceJobsCommand;
160
+ const se_ListSNOMEDCTInferenceJobsCommand = async (input, context) => {
161
161
  const headers = {
162
162
  "content-type": "application/x-amz-json-1.1",
163
163
  "x-amz-target": "ComprehendMedical_20181030.ListSNOMEDCTInferenceJobs",
164
164
  };
165
165
  let body;
166
- body = JSON.stringify(serializeAws_json1_1ListSNOMEDCTInferenceJobsRequest(input, context));
166
+ body = JSON.stringify(se_ListSNOMEDCTInferenceJobsRequest(input, context));
167
167
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
168
168
  };
169
- exports.serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand;
170
- const serializeAws_json1_1StartEntitiesDetectionV2JobCommand = async (input, context) => {
169
+ exports.se_ListSNOMEDCTInferenceJobsCommand = se_ListSNOMEDCTInferenceJobsCommand;
170
+ const se_StartEntitiesDetectionV2JobCommand = async (input, context) => {
171
171
  const headers = {
172
172
  "content-type": "application/x-amz-json-1.1",
173
173
  "x-amz-target": "ComprehendMedical_20181030.StartEntitiesDetectionV2Job",
174
174
  };
175
175
  let body;
176
- body = JSON.stringify(serializeAws_json1_1StartEntitiesDetectionV2JobRequest(input, context));
176
+ body = JSON.stringify(se_StartEntitiesDetectionV2JobRequest(input, context));
177
177
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
178
178
  };
179
- exports.serializeAws_json1_1StartEntitiesDetectionV2JobCommand = serializeAws_json1_1StartEntitiesDetectionV2JobCommand;
180
- const serializeAws_json1_1StartICD10CMInferenceJobCommand = async (input, context) => {
179
+ exports.se_StartEntitiesDetectionV2JobCommand = se_StartEntitiesDetectionV2JobCommand;
180
+ const se_StartICD10CMInferenceJobCommand = async (input, context) => {
181
181
  const headers = {
182
182
  "content-type": "application/x-amz-json-1.1",
183
183
  "x-amz-target": "ComprehendMedical_20181030.StartICD10CMInferenceJob",
184
184
  };
185
185
  let body;
186
- body = JSON.stringify(serializeAws_json1_1StartICD10CMInferenceJobRequest(input, context));
186
+ body = JSON.stringify(se_StartICD10CMInferenceJobRequest(input, context));
187
187
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
188
188
  };
189
- exports.serializeAws_json1_1StartICD10CMInferenceJobCommand = serializeAws_json1_1StartICD10CMInferenceJobCommand;
190
- const serializeAws_json1_1StartPHIDetectionJobCommand = async (input, context) => {
189
+ exports.se_StartICD10CMInferenceJobCommand = se_StartICD10CMInferenceJobCommand;
190
+ const se_StartPHIDetectionJobCommand = async (input, context) => {
191
191
  const headers = {
192
192
  "content-type": "application/x-amz-json-1.1",
193
193
  "x-amz-target": "ComprehendMedical_20181030.StartPHIDetectionJob",
194
194
  };
195
195
  let body;
196
- body = JSON.stringify(serializeAws_json1_1StartPHIDetectionJobRequest(input, context));
196
+ body = JSON.stringify(se_StartPHIDetectionJobRequest(input, context));
197
197
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
198
198
  };
199
- exports.serializeAws_json1_1StartPHIDetectionJobCommand = serializeAws_json1_1StartPHIDetectionJobCommand;
200
- const serializeAws_json1_1StartRxNormInferenceJobCommand = async (input, context) => {
199
+ exports.se_StartPHIDetectionJobCommand = se_StartPHIDetectionJobCommand;
200
+ const se_StartRxNormInferenceJobCommand = async (input, context) => {
201
201
  const headers = {
202
202
  "content-type": "application/x-amz-json-1.1",
203
203
  "x-amz-target": "ComprehendMedical_20181030.StartRxNormInferenceJob",
204
204
  };
205
205
  let body;
206
- body = JSON.stringify(serializeAws_json1_1StartRxNormInferenceJobRequest(input, context));
206
+ body = JSON.stringify(se_StartRxNormInferenceJobRequest(input, context));
207
207
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
208
208
  };
209
- exports.serializeAws_json1_1StartRxNormInferenceJobCommand = serializeAws_json1_1StartRxNormInferenceJobCommand;
210
- const serializeAws_json1_1StartSNOMEDCTInferenceJobCommand = async (input, context) => {
209
+ exports.se_StartRxNormInferenceJobCommand = se_StartRxNormInferenceJobCommand;
210
+ const se_StartSNOMEDCTInferenceJobCommand = async (input, context) => {
211
211
  const headers = {
212
212
  "content-type": "application/x-amz-json-1.1",
213
213
  "x-amz-target": "ComprehendMedical_20181030.StartSNOMEDCTInferenceJob",
214
214
  };
215
215
  let body;
216
- body = JSON.stringify(serializeAws_json1_1StartSNOMEDCTInferenceJobRequest(input, context));
216
+ body = JSON.stringify(se_StartSNOMEDCTInferenceJobRequest(input, context));
217
217
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
218
218
  };
219
- exports.serializeAws_json1_1StartSNOMEDCTInferenceJobCommand = serializeAws_json1_1StartSNOMEDCTInferenceJobCommand;
220
- const serializeAws_json1_1StopEntitiesDetectionV2JobCommand = async (input, context) => {
219
+ exports.se_StartSNOMEDCTInferenceJobCommand = se_StartSNOMEDCTInferenceJobCommand;
220
+ const se_StopEntitiesDetectionV2JobCommand = async (input, context) => {
221
221
  const headers = {
222
222
  "content-type": "application/x-amz-json-1.1",
223
223
  "x-amz-target": "ComprehendMedical_20181030.StopEntitiesDetectionV2Job",
224
224
  };
225
225
  let body;
226
- body = JSON.stringify(serializeAws_json1_1StopEntitiesDetectionV2JobRequest(input, context));
226
+ body = JSON.stringify(se_StopEntitiesDetectionV2JobRequest(input, context));
227
227
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
228
228
  };
229
- exports.serializeAws_json1_1StopEntitiesDetectionV2JobCommand = serializeAws_json1_1StopEntitiesDetectionV2JobCommand;
230
- const serializeAws_json1_1StopICD10CMInferenceJobCommand = async (input, context) => {
229
+ exports.se_StopEntitiesDetectionV2JobCommand = se_StopEntitiesDetectionV2JobCommand;
230
+ const se_StopICD10CMInferenceJobCommand = async (input, context) => {
231
231
  const headers = {
232
232
  "content-type": "application/x-amz-json-1.1",
233
233
  "x-amz-target": "ComprehendMedical_20181030.StopICD10CMInferenceJob",
234
234
  };
235
235
  let body;
236
- body = JSON.stringify(serializeAws_json1_1StopICD10CMInferenceJobRequest(input, context));
236
+ body = JSON.stringify(se_StopICD10CMInferenceJobRequest(input, context));
237
237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
238
238
  };
239
- exports.serializeAws_json1_1StopICD10CMInferenceJobCommand = serializeAws_json1_1StopICD10CMInferenceJobCommand;
240
- const serializeAws_json1_1StopPHIDetectionJobCommand = async (input, context) => {
239
+ exports.se_StopICD10CMInferenceJobCommand = se_StopICD10CMInferenceJobCommand;
240
+ const se_StopPHIDetectionJobCommand = async (input, context) => {
241
241
  const headers = {
242
242
  "content-type": "application/x-amz-json-1.1",
243
243
  "x-amz-target": "ComprehendMedical_20181030.StopPHIDetectionJob",
244
244
  };
245
245
  let body;
246
- body = JSON.stringify(serializeAws_json1_1StopPHIDetectionJobRequest(input, context));
246
+ body = JSON.stringify(se_StopPHIDetectionJobRequest(input, context));
247
247
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
248
248
  };
249
- exports.serializeAws_json1_1StopPHIDetectionJobCommand = serializeAws_json1_1StopPHIDetectionJobCommand;
250
- const serializeAws_json1_1StopRxNormInferenceJobCommand = async (input, context) => {
249
+ exports.se_StopPHIDetectionJobCommand = se_StopPHIDetectionJobCommand;
250
+ const se_StopRxNormInferenceJobCommand = async (input, context) => {
251
251
  const headers = {
252
252
  "content-type": "application/x-amz-json-1.1",
253
253
  "x-amz-target": "ComprehendMedical_20181030.StopRxNormInferenceJob",
254
254
  };
255
255
  let body;
256
- body = JSON.stringify(serializeAws_json1_1StopRxNormInferenceJobRequest(input, context));
256
+ body = JSON.stringify(se_StopRxNormInferenceJobRequest(input, context));
257
257
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
258
  };
259
- exports.serializeAws_json1_1StopRxNormInferenceJobCommand = serializeAws_json1_1StopRxNormInferenceJobCommand;
260
- const serializeAws_json1_1StopSNOMEDCTInferenceJobCommand = async (input, context) => {
259
+ exports.se_StopRxNormInferenceJobCommand = se_StopRxNormInferenceJobCommand;
260
+ const se_StopSNOMEDCTInferenceJobCommand = async (input, context) => {
261
261
  const headers = {
262
262
  "content-type": "application/x-amz-json-1.1",
263
263
  "x-amz-target": "ComprehendMedical_20181030.StopSNOMEDCTInferenceJob",
264
264
  };
265
265
  let body;
266
- body = JSON.stringify(serializeAws_json1_1StopSNOMEDCTInferenceJobRequest(input, context));
266
+ body = JSON.stringify(se_StopSNOMEDCTInferenceJobRequest(input, context));
267
267
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
268
268
  };
269
- exports.serializeAws_json1_1StopSNOMEDCTInferenceJobCommand = serializeAws_json1_1StopSNOMEDCTInferenceJobCommand;
270
- const deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand = async (output, context) => {
269
+ exports.se_StopSNOMEDCTInferenceJobCommand = se_StopSNOMEDCTInferenceJobCommand;
270
+ const de_DescribeEntitiesDetectionV2JobCommand = async (output, context) => {
271
271
  if (output.statusCode >= 300) {
272
- return deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommandError(output, context);
272
+ return de_DescribeEntitiesDetectionV2JobCommandError(output, context);
273
273
  }
274
274
  const data = await parseBody(output.body, context);
275
275
  let contents = {};
276
- contents = deserializeAws_json1_1DescribeEntitiesDetectionV2JobResponse(data, context);
276
+ contents = de_DescribeEntitiesDetectionV2JobResponse(data, context);
277
277
  const response = {
278
278
  $metadata: deserializeMetadata(output),
279
279
  ...contents,
280
280
  };
281
281
  return Promise.resolve(response);
282
282
  };
283
- exports.deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand = deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand;
284
- const deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommandError = async (output, context) => {
283
+ exports.de_DescribeEntitiesDetectionV2JobCommand = de_DescribeEntitiesDetectionV2JobCommand;
284
+ const de_DescribeEntitiesDetectionV2JobCommandError = async (output, context) => {
285
285
  const parsedOutput = {
286
286
  ...output,
287
287
  body: await parseErrorBody(output.body, context),
@@ -290,16 +290,16 @@ const deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommandError = async (
290
290
  switch (errorCode) {
291
291
  case "InternalServerException":
292
292
  case "com.amazonaws.comprehendmedical#InternalServerException":
293
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
293
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
294
294
  case "InvalidRequestException":
295
295
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
296
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
296
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
297
297
  case "ResourceNotFoundException":
298
298
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
299
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
299
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
300
300
  case "TooManyRequestsException":
301
301
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
302
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
302
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
303
303
  default:
304
304
  const parsedBody = parsedOutput.body;
305
305
  (0, smithy_client_1.throwDefaultError)({
@@ -310,21 +310,21 @@ const deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommandError = async (
310
310
  });
311
311
  }
312
312
  };
313
- const deserializeAws_json1_1DescribeICD10CMInferenceJobCommand = async (output, context) => {
313
+ const de_DescribeICD10CMInferenceJobCommand = async (output, context) => {
314
314
  if (output.statusCode >= 300) {
315
- return deserializeAws_json1_1DescribeICD10CMInferenceJobCommandError(output, context);
315
+ return de_DescribeICD10CMInferenceJobCommandError(output, context);
316
316
  }
317
317
  const data = await parseBody(output.body, context);
318
318
  let contents = {};
319
- contents = deserializeAws_json1_1DescribeICD10CMInferenceJobResponse(data, context);
319
+ contents = de_DescribeICD10CMInferenceJobResponse(data, context);
320
320
  const response = {
321
321
  $metadata: deserializeMetadata(output),
322
322
  ...contents,
323
323
  };
324
324
  return Promise.resolve(response);
325
325
  };
326
- exports.deserializeAws_json1_1DescribeICD10CMInferenceJobCommand = deserializeAws_json1_1DescribeICD10CMInferenceJobCommand;
327
- const deserializeAws_json1_1DescribeICD10CMInferenceJobCommandError = async (output, context) => {
326
+ exports.de_DescribeICD10CMInferenceJobCommand = de_DescribeICD10CMInferenceJobCommand;
327
+ const de_DescribeICD10CMInferenceJobCommandError = async (output, context) => {
328
328
  const parsedOutput = {
329
329
  ...output,
330
330
  body: await parseErrorBody(output.body, context),
@@ -333,16 +333,16 @@ const deserializeAws_json1_1DescribeICD10CMInferenceJobCommandError = async (out
333
333
  switch (errorCode) {
334
334
  case "InternalServerException":
335
335
  case "com.amazonaws.comprehendmedical#InternalServerException":
336
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
336
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
337
337
  case "InvalidRequestException":
338
338
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
339
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
339
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
340
340
  case "ResourceNotFoundException":
341
341
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
342
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
342
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
343
343
  case "TooManyRequestsException":
344
344
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
345
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
345
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
346
346
  default:
347
347
  const parsedBody = parsedOutput.body;
348
348
  (0, smithy_client_1.throwDefaultError)({
@@ -353,21 +353,21 @@ const deserializeAws_json1_1DescribeICD10CMInferenceJobCommandError = async (out
353
353
  });
354
354
  }
355
355
  };
356
- const deserializeAws_json1_1DescribePHIDetectionJobCommand = async (output, context) => {
356
+ const de_DescribePHIDetectionJobCommand = async (output, context) => {
357
357
  if (output.statusCode >= 300) {
358
- return deserializeAws_json1_1DescribePHIDetectionJobCommandError(output, context);
358
+ return de_DescribePHIDetectionJobCommandError(output, context);
359
359
  }
360
360
  const data = await parseBody(output.body, context);
361
361
  let contents = {};
362
- contents = deserializeAws_json1_1DescribePHIDetectionJobResponse(data, context);
362
+ contents = de_DescribePHIDetectionJobResponse(data, context);
363
363
  const response = {
364
364
  $metadata: deserializeMetadata(output),
365
365
  ...contents,
366
366
  };
367
367
  return Promise.resolve(response);
368
368
  };
369
- exports.deserializeAws_json1_1DescribePHIDetectionJobCommand = deserializeAws_json1_1DescribePHIDetectionJobCommand;
370
- const deserializeAws_json1_1DescribePHIDetectionJobCommandError = async (output, context) => {
369
+ exports.de_DescribePHIDetectionJobCommand = de_DescribePHIDetectionJobCommand;
370
+ const de_DescribePHIDetectionJobCommandError = async (output, context) => {
371
371
  const parsedOutput = {
372
372
  ...output,
373
373
  body: await parseErrorBody(output.body, context),
@@ -376,16 +376,16 @@ const deserializeAws_json1_1DescribePHIDetectionJobCommandError = async (output,
376
376
  switch (errorCode) {
377
377
  case "InternalServerException":
378
378
  case "com.amazonaws.comprehendmedical#InternalServerException":
379
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
379
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
380
380
  case "InvalidRequestException":
381
381
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
382
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
382
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
383
383
  case "ResourceNotFoundException":
384
384
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
385
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
385
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
386
386
  case "TooManyRequestsException":
387
387
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
388
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
388
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
389
389
  default:
390
390
  const parsedBody = parsedOutput.body;
391
391
  (0, smithy_client_1.throwDefaultError)({
@@ -396,21 +396,21 @@ const deserializeAws_json1_1DescribePHIDetectionJobCommandError = async (output,
396
396
  });
397
397
  }
398
398
  };
399
- const deserializeAws_json1_1DescribeRxNormInferenceJobCommand = async (output, context) => {
399
+ const de_DescribeRxNormInferenceJobCommand = async (output, context) => {
400
400
  if (output.statusCode >= 300) {
401
- return deserializeAws_json1_1DescribeRxNormInferenceJobCommandError(output, context);
401
+ return de_DescribeRxNormInferenceJobCommandError(output, context);
402
402
  }
403
403
  const data = await parseBody(output.body, context);
404
404
  let contents = {};
405
- contents = deserializeAws_json1_1DescribeRxNormInferenceJobResponse(data, context);
405
+ contents = de_DescribeRxNormInferenceJobResponse(data, context);
406
406
  const response = {
407
407
  $metadata: deserializeMetadata(output),
408
408
  ...contents,
409
409
  };
410
410
  return Promise.resolve(response);
411
411
  };
412
- exports.deserializeAws_json1_1DescribeRxNormInferenceJobCommand = deserializeAws_json1_1DescribeRxNormInferenceJobCommand;
413
- const deserializeAws_json1_1DescribeRxNormInferenceJobCommandError = async (output, context) => {
412
+ exports.de_DescribeRxNormInferenceJobCommand = de_DescribeRxNormInferenceJobCommand;
413
+ const de_DescribeRxNormInferenceJobCommandError = async (output, context) => {
414
414
  const parsedOutput = {
415
415
  ...output,
416
416
  body: await parseErrorBody(output.body, context),
@@ -419,16 +419,16 @@ const deserializeAws_json1_1DescribeRxNormInferenceJobCommandError = async (outp
419
419
  switch (errorCode) {
420
420
  case "InternalServerException":
421
421
  case "com.amazonaws.comprehendmedical#InternalServerException":
422
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
422
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
423
423
  case "InvalidRequestException":
424
424
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
425
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
425
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
426
426
  case "ResourceNotFoundException":
427
427
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
428
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
428
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
429
429
  case "TooManyRequestsException":
430
430
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
431
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
431
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
432
432
  default:
433
433
  const parsedBody = parsedOutput.body;
434
434
  (0, smithy_client_1.throwDefaultError)({
@@ -439,21 +439,21 @@ const deserializeAws_json1_1DescribeRxNormInferenceJobCommandError = async (outp
439
439
  });
440
440
  }
441
441
  };
442
- const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = async (output, context) => {
442
+ const de_DescribeSNOMEDCTInferenceJobCommand = async (output, context) => {
443
443
  if (output.statusCode >= 300) {
444
- return deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommandError(output, context);
444
+ return de_DescribeSNOMEDCTInferenceJobCommandError(output, context);
445
445
  }
446
446
  const data = await parseBody(output.body, context);
447
447
  let contents = {};
448
- contents = deserializeAws_json1_1DescribeSNOMEDCTInferenceJobResponse(data, context);
448
+ contents = de_DescribeSNOMEDCTInferenceJobResponse(data, context);
449
449
  const response = {
450
450
  $metadata: deserializeMetadata(output),
451
451
  ...contents,
452
452
  };
453
453
  return Promise.resolve(response);
454
454
  };
455
- exports.deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand = deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommand;
456
- const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommandError = async (output, context) => {
455
+ exports.de_DescribeSNOMEDCTInferenceJobCommand = de_DescribeSNOMEDCTInferenceJobCommand;
456
+ const de_DescribeSNOMEDCTInferenceJobCommandError = async (output, context) => {
457
457
  const parsedOutput = {
458
458
  ...output,
459
459
  body: await parseErrorBody(output.body, context),
@@ -462,16 +462,16 @@ const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommandError = async (ou
462
462
  switch (errorCode) {
463
463
  case "InternalServerException":
464
464
  case "com.amazonaws.comprehendmedical#InternalServerException":
465
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
465
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
466
466
  case "InvalidRequestException":
467
467
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
468
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
468
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
469
469
  case "ResourceNotFoundException":
470
470
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
471
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
471
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
472
472
  case "TooManyRequestsException":
473
473
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
474
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
474
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
475
475
  default:
476
476
  const parsedBody = parsedOutput.body;
477
477
  (0, smithy_client_1.throwDefaultError)({
@@ -482,21 +482,21 @@ const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobCommandError = async (ou
482
482
  });
483
483
  }
484
484
  };
485
- const deserializeAws_json1_1DetectEntitiesCommand = async (output, context) => {
485
+ const de_DetectEntitiesCommand = async (output, context) => {
486
486
  if (output.statusCode >= 300) {
487
- return deserializeAws_json1_1DetectEntitiesCommandError(output, context);
487
+ return de_DetectEntitiesCommandError(output, context);
488
488
  }
489
489
  const data = await parseBody(output.body, context);
490
490
  let contents = {};
491
- contents = deserializeAws_json1_1DetectEntitiesResponse(data, context);
491
+ contents = de_DetectEntitiesResponse(data, context);
492
492
  const response = {
493
493
  $metadata: deserializeMetadata(output),
494
494
  ...contents,
495
495
  };
496
496
  return Promise.resolve(response);
497
497
  };
498
- exports.deserializeAws_json1_1DetectEntitiesCommand = deserializeAws_json1_1DetectEntitiesCommand;
499
- const deserializeAws_json1_1DetectEntitiesCommandError = async (output, context) => {
498
+ exports.de_DetectEntitiesCommand = de_DetectEntitiesCommand;
499
+ const de_DetectEntitiesCommandError = async (output, context) => {
500
500
  const parsedOutput = {
501
501
  ...output,
502
502
  body: await parseErrorBody(output.body, context),
@@ -505,22 +505,22 @@ const deserializeAws_json1_1DetectEntitiesCommandError = async (output, context)
505
505
  switch (errorCode) {
506
506
  case "InternalServerException":
507
507
  case "com.amazonaws.comprehendmedical#InternalServerException":
508
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
508
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
509
509
  case "InvalidEncodingException":
510
510
  case "com.amazonaws.comprehendmedical#InvalidEncodingException":
511
- throw await deserializeAws_json1_1InvalidEncodingExceptionResponse(parsedOutput, context);
511
+ throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
512
512
  case "InvalidRequestException":
513
513
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
514
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
514
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
515
515
  case "ServiceUnavailableException":
516
516
  case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
517
- throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
517
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
518
518
  case "TextSizeLimitExceededException":
519
519
  case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
520
- throw await deserializeAws_json1_1TextSizeLimitExceededExceptionResponse(parsedOutput, context);
520
+ throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
521
521
  case "TooManyRequestsException":
522
522
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
523
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
523
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
524
524
  default:
525
525
  const parsedBody = parsedOutput.body;
526
526
  (0, smithy_client_1.throwDefaultError)({
@@ -531,21 +531,21 @@ const deserializeAws_json1_1DetectEntitiesCommandError = async (output, context)
531
531
  });
532
532
  }
533
533
  };
534
- const deserializeAws_json1_1DetectEntitiesV2Command = async (output, context) => {
534
+ const de_DetectEntitiesV2Command = async (output, context) => {
535
535
  if (output.statusCode >= 300) {
536
- return deserializeAws_json1_1DetectEntitiesV2CommandError(output, context);
536
+ return de_DetectEntitiesV2CommandError(output, context);
537
537
  }
538
538
  const data = await parseBody(output.body, context);
539
539
  let contents = {};
540
- contents = deserializeAws_json1_1DetectEntitiesV2Response(data, context);
540
+ contents = de_DetectEntitiesV2Response(data, context);
541
541
  const response = {
542
542
  $metadata: deserializeMetadata(output),
543
543
  ...contents,
544
544
  };
545
545
  return Promise.resolve(response);
546
546
  };
547
- exports.deserializeAws_json1_1DetectEntitiesV2Command = deserializeAws_json1_1DetectEntitiesV2Command;
548
- const deserializeAws_json1_1DetectEntitiesV2CommandError = async (output, context) => {
547
+ exports.de_DetectEntitiesV2Command = de_DetectEntitiesV2Command;
548
+ const de_DetectEntitiesV2CommandError = async (output, context) => {
549
549
  const parsedOutput = {
550
550
  ...output,
551
551
  body: await parseErrorBody(output.body, context),
@@ -554,22 +554,22 @@ const deserializeAws_json1_1DetectEntitiesV2CommandError = async (output, contex
554
554
  switch (errorCode) {
555
555
  case "InternalServerException":
556
556
  case "com.amazonaws.comprehendmedical#InternalServerException":
557
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
557
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
558
558
  case "InvalidEncodingException":
559
559
  case "com.amazonaws.comprehendmedical#InvalidEncodingException":
560
- throw await deserializeAws_json1_1InvalidEncodingExceptionResponse(parsedOutput, context);
560
+ throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
561
561
  case "InvalidRequestException":
562
562
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
563
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
563
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
564
564
  case "ServiceUnavailableException":
565
565
  case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
566
- throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
566
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
567
567
  case "TextSizeLimitExceededException":
568
568
  case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
569
- throw await deserializeAws_json1_1TextSizeLimitExceededExceptionResponse(parsedOutput, context);
569
+ throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
570
570
  case "TooManyRequestsException":
571
571
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
572
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
572
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
573
573
  default:
574
574
  const parsedBody = parsedOutput.body;
575
575
  (0, smithy_client_1.throwDefaultError)({
@@ -580,21 +580,21 @@ const deserializeAws_json1_1DetectEntitiesV2CommandError = async (output, contex
580
580
  });
581
581
  }
582
582
  };
583
- const deserializeAws_json1_1DetectPHICommand = async (output, context) => {
583
+ const de_DetectPHICommand = async (output, context) => {
584
584
  if (output.statusCode >= 300) {
585
- return deserializeAws_json1_1DetectPHICommandError(output, context);
585
+ return de_DetectPHICommandError(output, context);
586
586
  }
587
587
  const data = await parseBody(output.body, context);
588
588
  let contents = {};
589
- contents = deserializeAws_json1_1DetectPHIResponse(data, context);
589
+ contents = de_DetectPHIResponse(data, context);
590
590
  const response = {
591
591
  $metadata: deserializeMetadata(output),
592
592
  ...contents,
593
593
  };
594
594
  return Promise.resolve(response);
595
595
  };
596
- exports.deserializeAws_json1_1DetectPHICommand = deserializeAws_json1_1DetectPHICommand;
597
- const deserializeAws_json1_1DetectPHICommandError = async (output, context) => {
596
+ exports.de_DetectPHICommand = de_DetectPHICommand;
597
+ const de_DetectPHICommandError = async (output, context) => {
598
598
  const parsedOutput = {
599
599
  ...output,
600
600
  body: await parseErrorBody(output.body, context),
@@ -603,22 +603,22 @@ const deserializeAws_json1_1DetectPHICommandError = async (output, context) => {
603
603
  switch (errorCode) {
604
604
  case "InternalServerException":
605
605
  case "com.amazonaws.comprehendmedical#InternalServerException":
606
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
606
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
607
607
  case "InvalidEncodingException":
608
608
  case "com.amazonaws.comprehendmedical#InvalidEncodingException":
609
- throw await deserializeAws_json1_1InvalidEncodingExceptionResponse(parsedOutput, context);
609
+ throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
610
610
  case "InvalidRequestException":
611
611
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
612
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
612
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
613
613
  case "ServiceUnavailableException":
614
614
  case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
615
- throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
615
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
616
616
  case "TextSizeLimitExceededException":
617
617
  case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
618
- throw await deserializeAws_json1_1TextSizeLimitExceededExceptionResponse(parsedOutput, context);
618
+ throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
619
619
  case "TooManyRequestsException":
620
620
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
621
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
621
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
622
622
  default:
623
623
  const parsedBody = parsedOutput.body;
624
624
  (0, smithy_client_1.throwDefaultError)({
@@ -629,21 +629,21 @@ const deserializeAws_json1_1DetectPHICommandError = async (output, context) => {
629
629
  });
630
630
  }
631
631
  };
632
- const deserializeAws_json1_1InferICD10CMCommand = async (output, context) => {
632
+ const de_InferICD10CMCommand = async (output, context) => {
633
633
  if (output.statusCode >= 300) {
634
- return deserializeAws_json1_1InferICD10CMCommandError(output, context);
634
+ return de_InferICD10CMCommandError(output, context);
635
635
  }
636
636
  const data = await parseBody(output.body, context);
637
637
  let contents = {};
638
- contents = deserializeAws_json1_1InferICD10CMResponse(data, context);
638
+ contents = de_InferICD10CMResponse(data, context);
639
639
  const response = {
640
640
  $metadata: deserializeMetadata(output),
641
641
  ...contents,
642
642
  };
643
643
  return Promise.resolve(response);
644
644
  };
645
- exports.deserializeAws_json1_1InferICD10CMCommand = deserializeAws_json1_1InferICD10CMCommand;
646
- const deserializeAws_json1_1InferICD10CMCommandError = async (output, context) => {
645
+ exports.de_InferICD10CMCommand = de_InferICD10CMCommand;
646
+ const de_InferICD10CMCommandError = async (output, context) => {
647
647
  const parsedOutput = {
648
648
  ...output,
649
649
  body: await parseErrorBody(output.body, context),
@@ -652,22 +652,22 @@ const deserializeAws_json1_1InferICD10CMCommandError = async (output, context) =
652
652
  switch (errorCode) {
653
653
  case "InternalServerException":
654
654
  case "com.amazonaws.comprehendmedical#InternalServerException":
655
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
655
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
656
656
  case "InvalidEncodingException":
657
657
  case "com.amazonaws.comprehendmedical#InvalidEncodingException":
658
- throw await deserializeAws_json1_1InvalidEncodingExceptionResponse(parsedOutput, context);
658
+ throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
659
659
  case "InvalidRequestException":
660
660
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
661
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
661
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
662
662
  case "ServiceUnavailableException":
663
663
  case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
664
- throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
664
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
665
665
  case "TextSizeLimitExceededException":
666
666
  case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
667
- throw await deserializeAws_json1_1TextSizeLimitExceededExceptionResponse(parsedOutput, context);
667
+ throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
668
668
  case "TooManyRequestsException":
669
669
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
670
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
670
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
671
671
  default:
672
672
  const parsedBody = parsedOutput.body;
673
673
  (0, smithy_client_1.throwDefaultError)({
@@ -678,21 +678,21 @@ const deserializeAws_json1_1InferICD10CMCommandError = async (output, context) =
678
678
  });
679
679
  }
680
680
  };
681
- const deserializeAws_json1_1InferRxNormCommand = async (output, context) => {
681
+ const de_InferRxNormCommand = async (output, context) => {
682
682
  if (output.statusCode >= 300) {
683
- return deserializeAws_json1_1InferRxNormCommandError(output, context);
683
+ return de_InferRxNormCommandError(output, context);
684
684
  }
685
685
  const data = await parseBody(output.body, context);
686
686
  let contents = {};
687
- contents = deserializeAws_json1_1InferRxNormResponse(data, context);
687
+ contents = de_InferRxNormResponse(data, context);
688
688
  const response = {
689
689
  $metadata: deserializeMetadata(output),
690
690
  ...contents,
691
691
  };
692
692
  return Promise.resolve(response);
693
693
  };
694
- exports.deserializeAws_json1_1InferRxNormCommand = deserializeAws_json1_1InferRxNormCommand;
695
- const deserializeAws_json1_1InferRxNormCommandError = async (output, context) => {
694
+ exports.de_InferRxNormCommand = de_InferRxNormCommand;
695
+ const de_InferRxNormCommandError = async (output, context) => {
696
696
  const parsedOutput = {
697
697
  ...output,
698
698
  body: await parseErrorBody(output.body, context),
@@ -701,22 +701,22 @@ const deserializeAws_json1_1InferRxNormCommandError = async (output, context) =>
701
701
  switch (errorCode) {
702
702
  case "InternalServerException":
703
703
  case "com.amazonaws.comprehendmedical#InternalServerException":
704
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
704
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
705
705
  case "InvalidEncodingException":
706
706
  case "com.amazonaws.comprehendmedical#InvalidEncodingException":
707
- throw await deserializeAws_json1_1InvalidEncodingExceptionResponse(parsedOutput, context);
707
+ throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
708
708
  case "InvalidRequestException":
709
709
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
710
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
710
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
711
711
  case "ServiceUnavailableException":
712
712
  case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
713
- throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
713
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
714
714
  case "TextSizeLimitExceededException":
715
715
  case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
716
- throw await deserializeAws_json1_1TextSizeLimitExceededExceptionResponse(parsedOutput, context);
716
+ throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
717
717
  case "TooManyRequestsException":
718
718
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
719
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
719
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
720
720
  default:
721
721
  const parsedBody = parsedOutput.body;
722
722
  (0, smithy_client_1.throwDefaultError)({
@@ -727,21 +727,21 @@ const deserializeAws_json1_1InferRxNormCommandError = async (output, context) =>
727
727
  });
728
728
  }
729
729
  };
730
- const deserializeAws_json1_1InferSNOMEDCTCommand = async (output, context) => {
730
+ const de_InferSNOMEDCTCommand = async (output, context) => {
731
731
  if (output.statusCode >= 300) {
732
- return deserializeAws_json1_1InferSNOMEDCTCommandError(output, context);
732
+ return de_InferSNOMEDCTCommandError(output, context);
733
733
  }
734
734
  const data = await parseBody(output.body, context);
735
735
  let contents = {};
736
- contents = deserializeAws_json1_1InferSNOMEDCTResponse(data, context);
736
+ contents = de_InferSNOMEDCTResponse(data, context);
737
737
  const response = {
738
738
  $metadata: deserializeMetadata(output),
739
739
  ...contents,
740
740
  };
741
741
  return Promise.resolve(response);
742
742
  };
743
- exports.deserializeAws_json1_1InferSNOMEDCTCommand = deserializeAws_json1_1InferSNOMEDCTCommand;
744
- const deserializeAws_json1_1InferSNOMEDCTCommandError = async (output, context) => {
743
+ exports.de_InferSNOMEDCTCommand = de_InferSNOMEDCTCommand;
744
+ const de_InferSNOMEDCTCommandError = async (output, context) => {
745
745
  const parsedOutput = {
746
746
  ...output,
747
747
  body: await parseErrorBody(output.body, context),
@@ -750,22 +750,22 @@ const deserializeAws_json1_1InferSNOMEDCTCommandError = async (output, context)
750
750
  switch (errorCode) {
751
751
  case "InternalServerException":
752
752
  case "com.amazonaws.comprehendmedical#InternalServerException":
753
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
753
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
754
754
  case "InvalidEncodingException":
755
755
  case "com.amazonaws.comprehendmedical#InvalidEncodingException":
756
- throw await deserializeAws_json1_1InvalidEncodingExceptionResponse(parsedOutput, context);
756
+ throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
757
757
  case "InvalidRequestException":
758
758
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
759
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
759
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
760
760
  case "ServiceUnavailableException":
761
761
  case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
762
- throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
762
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
763
763
  case "TextSizeLimitExceededException":
764
764
  case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
765
- throw await deserializeAws_json1_1TextSizeLimitExceededExceptionResponse(parsedOutput, context);
765
+ throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
766
766
  case "TooManyRequestsException":
767
767
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
768
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
768
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
769
769
  default:
770
770
  const parsedBody = parsedOutput.body;
771
771
  (0, smithy_client_1.throwDefaultError)({
@@ -776,21 +776,21 @@ const deserializeAws_json1_1InferSNOMEDCTCommandError = async (output, context)
776
776
  });
777
777
  }
778
778
  };
779
- const deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand = async (output, context) => {
779
+ const de_ListEntitiesDetectionV2JobsCommand = async (output, context) => {
780
780
  if (output.statusCode >= 300) {
781
- return deserializeAws_json1_1ListEntitiesDetectionV2JobsCommandError(output, context);
781
+ return de_ListEntitiesDetectionV2JobsCommandError(output, context);
782
782
  }
783
783
  const data = await parseBody(output.body, context);
784
784
  let contents = {};
785
- contents = deserializeAws_json1_1ListEntitiesDetectionV2JobsResponse(data, context);
785
+ contents = de_ListEntitiesDetectionV2JobsResponse(data, context);
786
786
  const response = {
787
787
  $metadata: deserializeMetadata(output),
788
788
  ...contents,
789
789
  };
790
790
  return Promise.resolve(response);
791
791
  };
792
- exports.deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand = deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand;
793
- const deserializeAws_json1_1ListEntitiesDetectionV2JobsCommandError = async (output, context) => {
792
+ exports.de_ListEntitiesDetectionV2JobsCommand = de_ListEntitiesDetectionV2JobsCommand;
793
+ const de_ListEntitiesDetectionV2JobsCommandError = async (output, context) => {
794
794
  const parsedOutput = {
795
795
  ...output,
796
796
  body: await parseErrorBody(output.body, context),
@@ -799,16 +799,16 @@ const deserializeAws_json1_1ListEntitiesDetectionV2JobsCommandError = async (out
799
799
  switch (errorCode) {
800
800
  case "InternalServerException":
801
801
  case "com.amazonaws.comprehendmedical#InternalServerException":
802
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
802
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
803
803
  case "InvalidRequestException":
804
804
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
805
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
805
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
806
806
  case "TooManyRequestsException":
807
807
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
808
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
808
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
809
809
  case "ValidationException":
810
810
  case "com.amazonaws.comprehendmedical#ValidationException":
811
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
811
+ throw await de_ValidationExceptionRes(parsedOutput, context);
812
812
  default:
813
813
  const parsedBody = parsedOutput.body;
814
814
  (0, smithy_client_1.throwDefaultError)({
@@ -819,21 +819,21 @@ const deserializeAws_json1_1ListEntitiesDetectionV2JobsCommandError = async (out
819
819
  });
820
820
  }
821
821
  };
822
- const deserializeAws_json1_1ListICD10CMInferenceJobsCommand = async (output, context) => {
822
+ const de_ListICD10CMInferenceJobsCommand = async (output, context) => {
823
823
  if (output.statusCode >= 300) {
824
- return deserializeAws_json1_1ListICD10CMInferenceJobsCommandError(output, context);
824
+ return de_ListICD10CMInferenceJobsCommandError(output, context);
825
825
  }
826
826
  const data = await parseBody(output.body, context);
827
827
  let contents = {};
828
- contents = deserializeAws_json1_1ListICD10CMInferenceJobsResponse(data, context);
828
+ contents = de_ListICD10CMInferenceJobsResponse(data, context);
829
829
  const response = {
830
830
  $metadata: deserializeMetadata(output),
831
831
  ...contents,
832
832
  };
833
833
  return Promise.resolve(response);
834
834
  };
835
- exports.deserializeAws_json1_1ListICD10CMInferenceJobsCommand = deserializeAws_json1_1ListICD10CMInferenceJobsCommand;
836
- const deserializeAws_json1_1ListICD10CMInferenceJobsCommandError = async (output, context) => {
835
+ exports.de_ListICD10CMInferenceJobsCommand = de_ListICD10CMInferenceJobsCommand;
836
+ const de_ListICD10CMInferenceJobsCommandError = async (output, context) => {
837
837
  const parsedOutput = {
838
838
  ...output,
839
839
  body: await parseErrorBody(output.body, context),
@@ -842,16 +842,16 @@ const deserializeAws_json1_1ListICD10CMInferenceJobsCommandError = async (output
842
842
  switch (errorCode) {
843
843
  case "InternalServerException":
844
844
  case "com.amazonaws.comprehendmedical#InternalServerException":
845
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
845
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
846
846
  case "InvalidRequestException":
847
847
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
848
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
848
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
849
849
  case "TooManyRequestsException":
850
850
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
851
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
851
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
852
852
  case "ValidationException":
853
853
  case "com.amazonaws.comprehendmedical#ValidationException":
854
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
854
+ throw await de_ValidationExceptionRes(parsedOutput, context);
855
855
  default:
856
856
  const parsedBody = parsedOutput.body;
857
857
  (0, smithy_client_1.throwDefaultError)({
@@ -862,21 +862,21 @@ const deserializeAws_json1_1ListICD10CMInferenceJobsCommandError = async (output
862
862
  });
863
863
  }
864
864
  };
865
- const deserializeAws_json1_1ListPHIDetectionJobsCommand = async (output, context) => {
865
+ const de_ListPHIDetectionJobsCommand = async (output, context) => {
866
866
  if (output.statusCode >= 300) {
867
- return deserializeAws_json1_1ListPHIDetectionJobsCommandError(output, context);
867
+ return de_ListPHIDetectionJobsCommandError(output, context);
868
868
  }
869
869
  const data = await parseBody(output.body, context);
870
870
  let contents = {};
871
- contents = deserializeAws_json1_1ListPHIDetectionJobsResponse(data, context);
871
+ contents = de_ListPHIDetectionJobsResponse(data, context);
872
872
  const response = {
873
873
  $metadata: deserializeMetadata(output),
874
874
  ...contents,
875
875
  };
876
876
  return Promise.resolve(response);
877
877
  };
878
- exports.deserializeAws_json1_1ListPHIDetectionJobsCommand = deserializeAws_json1_1ListPHIDetectionJobsCommand;
879
- const deserializeAws_json1_1ListPHIDetectionJobsCommandError = async (output, context) => {
878
+ exports.de_ListPHIDetectionJobsCommand = de_ListPHIDetectionJobsCommand;
879
+ const de_ListPHIDetectionJobsCommandError = async (output, context) => {
880
880
  const parsedOutput = {
881
881
  ...output,
882
882
  body: await parseErrorBody(output.body, context),
@@ -885,16 +885,16 @@ const deserializeAws_json1_1ListPHIDetectionJobsCommandError = async (output, co
885
885
  switch (errorCode) {
886
886
  case "InternalServerException":
887
887
  case "com.amazonaws.comprehendmedical#InternalServerException":
888
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
888
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
889
889
  case "InvalidRequestException":
890
890
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
891
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
891
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
892
892
  case "TooManyRequestsException":
893
893
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
894
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
894
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
895
895
  case "ValidationException":
896
896
  case "com.amazonaws.comprehendmedical#ValidationException":
897
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
897
+ throw await de_ValidationExceptionRes(parsedOutput, context);
898
898
  default:
899
899
  const parsedBody = parsedOutput.body;
900
900
  (0, smithy_client_1.throwDefaultError)({
@@ -905,21 +905,21 @@ const deserializeAws_json1_1ListPHIDetectionJobsCommandError = async (output, co
905
905
  });
906
906
  }
907
907
  };
908
- const deserializeAws_json1_1ListRxNormInferenceJobsCommand = async (output, context) => {
908
+ const de_ListRxNormInferenceJobsCommand = async (output, context) => {
909
909
  if (output.statusCode >= 300) {
910
- return deserializeAws_json1_1ListRxNormInferenceJobsCommandError(output, context);
910
+ return de_ListRxNormInferenceJobsCommandError(output, context);
911
911
  }
912
912
  const data = await parseBody(output.body, context);
913
913
  let contents = {};
914
- contents = deserializeAws_json1_1ListRxNormInferenceJobsResponse(data, context);
914
+ contents = de_ListRxNormInferenceJobsResponse(data, context);
915
915
  const response = {
916
916
  $metadata: deserializeMetadata(output),
917
917
  ...contents,
918
918
  };
919
919
  return Promise.resolve(response);
920
920
  };
921
- exports.deserializeAws_json1_1ListRxNormInferenceJobsCommand = deserializeAws_json1_1ListRxNormInferenceJobsCommand;
922
- const deserializeAws_json1_1ListRxNormInferenceJobsCommandError = async (output, context) => {
921
+ exports.de_ListRxNormInferenceJobsCommand = de_ListRxNormInferenceJobsCommand;
922
+ const de_ListRxNormInferenceJobsCommandError = async (output, context) => {
923
923
  const parsedOutput = {
924
924
  ...output,
925
925
  body: await parseErrorBody(output.body, context),
@@ -928,16 +928,16 @@ const deserializeAws_json1_1ListRxNormInferenceJobsCommandError = async (output,
928
928
  switch (errorCode) {
929
929
  case "InternalServerException":
930
930
  case "com.amazonaws.comprehendmedical#InternalServerException":
931
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
931
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
932
932
  case "InvalidRequestException":
933
933
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
934
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
934
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
935
935
  case "TooManyRequestsException":
936
936
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
937
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
937
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
938
938
  case "ValidationException":
939
939
  case "com.amazonaws.comprehendmedical#ValidationException":
940
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
940
+ throw await de_ValidationExceptionRes(parsedOutput, context);
941
941
  default:
942
942
  const parsedBody = parsedOutput.body;
943
943
  (0, smithy_client_1.throwDefaultError)({
@@ -948,21 +948,21 @@ const deserializeAws_json1_1ListRxNormInferenceJobsCommandError = async (output,
948
948
  });
949
949
  }
950
950
  };
951
- const deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = async (output, context) => {
951
+ const de_ListSNOMEDCTInferenceJobsCommand = async (output, context) => {
952
952
  if (output.statusCode >= 300) {
953
- return deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommandError(output, context);
953
+ return de_ListSNOMEDCTInferenceJobsCommandError(output, context);
954
954
  }
955
955
  const data = await parseBody(output.body, context);
956
956
  let contents = {};
957
- contents = deserializeAws_json1_1ListSNOMEDCTInferenceJobsResponse(data, context);
957
+ contents = de_ListSNOMEDCTInferenceJobsResponse(data, context);
958
958
  const response = {
959
959
  $metadata: deserializeMetadata(output),
960
960
  ...contents,
961
961
  };
962
962
  return Promise.resolve(response);
963
963
  };
964
- exports.deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand = deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand;
965
- const deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommandError = async (output, context) => {
964
+ exports.de_ListSNOMEDCTInferenceJobsCommand = de_ListSNOMEDCTInferenceJobsCommand;
965
+ const de_ListSNOMEDCTInferenceJobsCommandError = async (output, context) => {
966
966
  const parsedOutput = {
967
967
  ...output,
968
968
  body: await parseErrorBody(output.body, context),
@@ -971,16 +971,16 @@ const deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommandError = async (outpu
971
971
  switch (errorCode) {
972
972
  case "InternalServerException":
973
973
  case "com.amazonaws.comprehendmedical#InternalServerException":
974
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
974
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
975
975
  case "InvalidRequestException":
976
976
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
977
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
977
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
978
978
  case "TooManyRequestsException":
979
979
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
980
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
980
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
981
981
  case "ValidationException":
982
982
  case "com.amazonaws.comprehendmedical#ValidationException":
983
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
983
+ throw await de_ValidationExceptionRes(parsedOutput, context);
984
984
  default:
985
985
  const parsedBody = parsedOutput.body;
986
986
  (0, smithy_client_1.throwDefaultError)({
@@ -991,21 +991,21 @@ const deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommandError = async (outpu
991
991
  });
992
992
  }
993
993
  };
994
- const deserializeAws_json1_1StartEntitiesDetectionV2JobCommand = async (output, context) => {
994
+ const de_StartEntitiesDetectionV2JobCommand = async (output, context) => {
995
995
  if (output.statusCode >= 300) {
996
- return deserializeAws_json1_1StartEntitiesDetectionV2JobCommandError(output, context);
996
+ return de_StartEntitiesDetectionV2JobCommandError(output, context);
997
997
  }
998
998
  const data = await parseBody(output.body, context);
999
999
  let contents = {};
1000
- contents = deserializeAws_json1_1StartEntitiesDetectionV2JobResponse(data, context);
1000
+ contents = de_StartEntitiesDetectionV2JobResponse(data, context);
1001
1001
  const response = {
1002
1002
  $metadata: deserializeMetadata(output),
1003
1003
  ...contents,
1004
1004
  };
1005
1005
  return Promise.resolve(response);
1006
1006
  };
1007
- exports.deserializeAws_json1_1StartEntitiesDetectionV2JobCommand = deserializeAws_json1_1StartEntitiesDetectionV2JobCommand;
1008
- const deserializeAws_json1_1StartEntitiesDetectionV2JobCommandError = async (output, context) => {
1007
+ exports.de_StartEntitiesDetectionV2JobCommand = de_StartEntitiesDetectionV2JobCommand;
1008
+ const de_StartEntitiesDetectionV2JobCommandError = async (output, context) => {
1009
1009
  const parsedOutput = {
1010
1010
  ...output,
1011
1011
  body: await parseErrorBody(output.body, context),
@@ -1014,16 +1014,16 @@ const deserializeAws_json1_1StartEntitiesDetectionV2JobCommandError = async (out
1014
1014
  switch (errorCode) {
1015
1015
  case "InternalServerException":
1016
1016
  case "com.amazonaws.comprehendmedical#InternalServerException":
1017
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1017
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1018
1018
  case "InvalidRequestException":
1019
1019
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1020
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1020
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1021
1021
  case "ResourceNotFoundException":
1022
1022
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1023
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1023
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1024
1024
  case "TooManyRequestsException":
1025
1025
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
1026
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1026
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1027
1027
  default:
1028
1028
  const parsedBody = parsedOutput.body;
1029
1029
  (0, smithy_client_1.throwDefaultError)({
@@ -1034,21 +1034,21 @@ const deserializeAws_json1_1StartEntitiesDetectionV2JobCommandError = async (out
1034
1034
  });
1035
1035
  }
1036
1036
  };
1037
- const deserializeAws_json1_1StartICD10CMInferenceJobCommand = async (output, context) => {
1037
+ const de_StartICD10CMInferenceJobCommand = async (output, context) => {
1038
1038
  if (output.statusCode >= 300) {
1039
- return deserializeAws_json1_1StartICD10CMInferenceJobCommandError(output, context);
1039
+ return de_StartICD10CMInferenceJobCommandError(output, context);
1040
1040
  }
1041
1041
  const data = await parseBody(output.body, context);
1042
1042
  let contents = {};
1043
- contents = deserializeAws_json1_1StartICD10CMInferenceJobResponse(data, context);
1043
+ contents = de_StartICD10CMInferenceJobResponse(data, context);
1044
1044
  const response = {
1045
1045
  $metadata: deserializeMetadata(output),
1046
1046
  ...contents,
1047
1047
  };
1048
1048
  return Promise.resolve(response);
1049
1049
  };
1050
- exports.deserializeAws_json1_1StartICD10CMInferenceJobCommand = deserializeAws_json1_1StartICD10CMInferenceJobCommand;
1051
- const deserializeAws_json1_1StartICD10CMInferenceJobCommandError = async (output, context) => {
1050
+ exports.de_StartICD10CMInferenceJobCommand = de_StartICD10CMInferenceJobCommand;
1051
+ const de_StartICD10CMInferenceJobCommandError = async (output, context) => {
1052
1052
  const parsedOutput = {
1053
1053
  ...output,
1054
1054
  body: await parseErrorBody(output.body, context),
@@ -1057,16 +1057,16 @@ const deserializeAws_json1_1StartICD10CMInferenceJobCommandError = async (output
1057
1057
  switch (errorCode) {
1058
1058
  case "InternalServerException":
1059
1059
  case "com.amazonaws.comprehendmedical#InternalServerException":
1060
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1060
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1061
1061
  case "InvalidRequestException":
1062
1062
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1063
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1063
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1064
1064
  case "ResourceNotFoundException":
1065
1065
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1066
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1066
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1067
1067
  case "TooManyRequestsException":
1068
1068
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
1069
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1069
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1070
1070
  default:
1071
1071
  const parsedBody = parsedOutput.body;
1072
1072
  (0, smithy_client_1.throwDefaultError)({
@@ -1077,21 +1077,21 @@ const deserializeAws_json1_1StartICD10CMInferenceJobCommandError = async (output
1077
1077
  });
1078
1078
  }
1079
1079
  };
1080
- const deserializeAws_json1_1StartPHIDetectionJobCommand = async (output, context) => {
1080
+ const de_StartPHIDetectionJobCommand = async (output, context) => {
1081
1081
  if (output.statusCode >= 300) {
1082
- return deserializeAws_json1_1StartPHIDetectionJobCommandError(output, context);
1082
+ return de_StartPHIDetectionJobCommandError(output, context);
1083
1083
  }
1084
1084
  const data = await parseBody(output.body, context);
1085
1085
  let contents = {};
1086
- contents = deserializeAws_json1_1StartPHIDetectionJobResponse(data, context);
1086
+ contents = de_StartPHIDetectionJobResponse(data, context);
1087
1087
  const response = {
1088
1088
  $metadata: deserializeMetadata(output),
1089
1089
  ...contents,
1090
1090
  };
1091
1091
  return Promise.resolve(response);
1092
1092
  };
1093
- exports.deserializeAws_json1_1StartPHIDetectionJobCommand = deserializeAws_json1_1StartPHIDetectionJobCommand;
1094
- const deserializeAws_json1_1StartPHIDetectionJobCommandError = async (output, context) => {
1093
+ exports.de_StartPHIDetectionJobCommand = de_StartPHIDetectionJobCommand;
1094
+ const de_StartPHIDetectionJobCommandError = async (output, context) => {
1095
1095
  const parsedOutput = {
1096
1096
  ...output,
1097
1097
  body: await parseErrorBody(output.body, context),
@@ -1100,16 +1100,16 @@ const deserializeAws_json1_1StartPHIDetectionJobCommandError = async (output, co
1100
1100
  switch (errorCode) {
1101
1101
  case "InternalServerException":
1102
1102
  case "com.amazonaws.comprehendmedical#InternalServerException":
1103
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1103
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1104
1104
  case "InvalidRequestException":
1105
1105
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1106
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1106
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1107
1107
  case "ResourceNotFoundException":
1108
1108
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1109
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1109
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1110
1110
  case "TooManyRequestsException":
1111
1111
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
1112
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1112
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1113
1113
  default:
1114
1114
  const parsedBody = parsedOutput.body;
1115
1115
  (0, smithy_client_1.throwDefaultError)({
@@ -1120,21 +1120,21 @@ const deserializeAws_json1_1StartPHIDetectionJobCommandError = async (output, co
1120
1120
  });
1121
1121
  }
1122
1122
  };
1123
- const deserializeAws_json1_1StartRxNormInferenceJobCommand = async (output, context) => {
1123
+ const de_StartRxNormInferenceJobCommand = async (output, context) => {
1124
1124
  if (output.statusCode >= 300) {
1125
- return deserializeAws_json1_1StartRxNormInferenceJobCommandError(output, context);
1125
+ return de_StartRxNormInferenceJobCommandError(output, context);
1126
1126
  }
1127
1127
  const data = await parseBody(output.body, context);
1128
1128
  let contents = {};
1129
- contents = deserializeAws_json1_1StartRxNormInferenceJobResponse(data, context);
1129
+ contents = de_StartRxNormInferenceJobResponse(data, context);
1130
1130
  const response = {
1131
1131
  $metadata: deserializeMetadata(output),
1132
1132
  ...contents,
1133
1133
  };
1134
1134
  return Promise.resolve(response);
1135
1135
  };
1136
- exports.deserializeAws_json1_1StartRxNormInferenceJobCommand = deserializeAws_json1_1StartRxNormInferenceJobCommand;
1137
- const deserializeAws_json1_1StartRxNormInferenceJobCommandError = async (output, context) => {
1136
+ exports.de_StartRxNormInferenceJobCommand = de_StartRxNormInferenceJobCommand;
1137
+ const de_StartRxNormInferenceJobCommandError = async (output, context) => {
1138
1138
  const parsedOutput = {
1139
1139
  ...output,
1140
1140
  body: await parseErrorBody(output.body, context),
@@ -1143,16 +1143,16 @@ const deserializeAws_json1_1StartRxNormInferenceJobCommandError = async (output,
1143
1143
  switch (errorCode) {
1144
1144
  case "InternalServerException":
1145
1145
  case "com.amazonaws.comprehendmedical#InternalServerException":
1146
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1146
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1147
1147
  case "InvalidRequestException":
1148
1148
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1149
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1149
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1150
1150
  case "ResourceNotFoundException":
1151
1151
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1152
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1152
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1153
1153
  case "TooManyRequestsException":
1154
1154
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
1155
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1155
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1156
1156
  default:
1157
1157
  const parsedBody = parsedOutput.body;
1158
1158
  (0, smithy_client_1.throwDefaultError)({
@@ -1163,21 +1163,21 @@ const deserializeAws_json1_1StartRxNormInferenceJobCommandError = async (output,
1163
1163
  });
1164
1164
  }
1165
1165
  };
1166
- const deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand = async (output, context) => {
1166
+ const de_StartSNOMEDCTInferenceJobCommand = async (output, context) => {
1167
1167
  if (output.statusCode >= 300) {
1168
- return deserializeAws_json1_1StartSNOMEDCTInferenceJobCommandError(output, context);
1168
+ return de_StartSNOMEDCTInferenceJobCommandError(output, context);
1169
1169
  }
1170
1170
  const data = await parseBody(output.body, context);
1171
1171
  let contents = {};
1172
- contents = deserializeAws_json1_1StartSNOMEDCTInferenceJobResponse(data, context);
1172
+ contents = de_StartSNOMEDCTInferenceJobResponse(data, context);
1173
1173
  const response = {
1174
1174
  $metadata: deserializeMetadata(output),
1175
1175
  ...contents,
1176
1176
  };
1177
1177
  return Promise.resolve(response);
1178
1178
  };
1179
- exports.deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand = deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand;
1180
- const deserializeAws_json1_1StartSNOMEDCTInferenceJobCommandError = async (output, context) => {
1179
+ exports.de_StartSNOMEDCTInferenceJobCommand = de_StartSNOMEDCTInferenceJobCommand;
1180
+ const de_StartSNOMEDCTInferenceJobCommandError = async (output, context) => {
1181
1181
  const parsedOutput = {
1182
1182
  ...output,
1183
1183
  body: await parseErrorBody(output.body, context),
@@ -1186,16 +1186,16 @@ const deserializeAws_json1_1StartSNOMEDCTInferenceJobCommandError = async (outpu
1186
1186
  switch (errorCode) {
1187
1187
  case "InternalServerException":
1188
1188
  case "com.amazonaws.comprehendmedical#InternalServerException":
1189
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1189
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1190
1190
  case "InvalidRequestException":
1191
1191
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1192
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1192
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1193
1193
  case "ResourceNotFoundException":
1194
1194
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1195
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1195
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1196
1196
  case "TooManyRequestsException":
1197
1197
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
1198
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1198
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1199
1199
  default:
1200
1200
  const parsedBody = parsedOutput.body;
1201
1201
  (0, smithy_client_1.throwDefaultError)({
@@ -1206,21 +1206,21 @@ const deserializeAws_json1_1StartSNOMEDCTInferenceJobCommandError = async (outpu
1206
1206
  });
1207
1207
  }
1208
1208
  };
1209
- const deserializeAws_json1_1StopEntitiesDetectionV2JobCommand = async (output, context) => {
1209
+ const de_StopEntitiesDetectionV2JobCommand = async (output, context) => {
1210
1210
  if (output.statusCode >= 300) {
1211
- return deserializeAws_json1_1StopEntitiesDetectionV2JobCommandError(output, context);
1211
+ return de_StopEntitiesDetectionV2JobCommandError(output, context);
1212
1212
  }
1213
1213
  const data = await parseBody(output.body, context);
1214
1214
  let contents = {};
1215
- contents = deserializeAws_json1_1StopEntitiesDetectionV2JobResponse(data, context);
1215
+ contents = de_StopEntitiesDetectionV2JobResponse(data, context);
1216
1216
  const response = {
1217
1217
  $metadata: deserializeMetadata(output),
1218
1218
  ...contents,
1219
1219
  };
1220
1220
  return Promise.resolve(response);
1221
1221
  };
1222
- exports.deserializeAws_json1_1StopEntitiesDetectionV2JobCommand = deserializeAws_json1_1StopEntitiesDetectionV2JobCommand;
1223
- const deserializeAws_json1_1StopEntitiesDetectionV2JobCommandError = async (output, context) => {
1222
+ exports.de_StopEntitiesDetectionV2JobCommand = de_StopEntitiesDetectionV2JobCommand;
1223
+ const de_StopEntitiesDetectionV2JobCommandError = async (output, context) => {
1224
1224
  const parsedOutput = {
1225
1225
  ...output,
1226
1226
  body: await parseErrorBody(output.body, context),
@@ -1229,13 +1229,13 @@ const deserializeAws_json1_1StopEntitiesDetectionV2JobCommandError = async (outp
1229
1229
  switch (errorCode) {
1230
1230
  case "InternalServerException":
1231
1231
  case "com.amazonaws.comprehendmedical#InternalServerException":
1232
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1232
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1233
1233
  case "InvalidRequestException":
1234
1234
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1235
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1235
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1236
1236
  case "ResourceNotFoundException":
1237
1237
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1238
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1238
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1239
1239
  default:
1240
1240
  const parsedBody = parsedOutput.body;
1241
1241
  (0, smithy_client_1.throwDefaultError)({
@@ -1246,21 +1246,21 @@ const deserializeAws_json1_1StopEntitiesDetectionV2JobCommandError = async (outp
1246
1246
  });
1247
1247
  }
1248
1248
  };
1249
- const deserializeAws_json1_1StopICD10CMInferenceJobCommand = async (output, context) => {
1249
+ const de_StopICD10CMInferenceJobCommand = async (output, context) => {
1250
1250
  if (output.statusCode >= 300) {
1251
- return deserializeAws_json1_1StopICD10CMInferenceJobCommandError(output, context);
1251
+ return de_StopICD10CMInferenceJobCommandError(output, context);
1252
1252
  }
1253
1253
  const data = await parseBody(output.body, context);
1254
1254
  let contents = {};
1255
- contents = deserializeAws_json1_1StopICD10CMInferenceJobResponse(data, context);
1255
+ contents = de_StopICD10CMInferenceJobResponse(data, context);
1256
1256
  const response = {
1257
1257
  $metadata: deserializeMetadata(output),
1258
1258
  ...contents,
1259
1259
  };
1260
1260
  return Promise.resolve(response);
1261
1261
  };
1262
- exports.deserializeAws_json1_1StopICD10CMInferenceJobCommand = deserializeAws_json1_1StopICD10CMInferenceJobCommand;
1263
- const deserializeAws_json1_1StopICD10CMInferenceJobCommandError = async (output, context) => {
1262
+ exports.de_StopICD10CMInferenceJobCommand = de_StopICD10CMInferenceJobCommand;
1263
+ const de_StopICD10CMInferenceJobCommandError = async (output, context) => {
1264
1264
  const parsedOutput = {
1265
1265
  ...output,
1266
1266
  body: await parseErrorBody(output.body, context),
@@ -1269,13 +1269,13 @@ const deserializeAws_json1_1StopICD10CMInferenceJobCommandError = async (output,
1269
1269
  switch (errorCode) {
1270
1270
  case "InternalServerException":
1271
1271
  case "com.amazonaws.comprehendmedical#InternalServerException":
1272
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1272
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1273
1273
  case "InvalidRequestException":
1274
1274
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1275
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1275
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1276
1276
  case "ResourceNotFoundException":
1277
1277
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1278
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1278
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1279
1279
  default:
1280
1280
  const parsedBody = parsedOutput.body;
1281
1281
  (0, smithy_client_1.throwDefaultError)({
@@ -1286,21 +1286,21 @@ const deserializeAws_json1_1StopICD10CMInferenceJobCommandError = async (output,
1286
1286
  });
1287
1287
  }
1288
1288
  };
1289
- const deserializeAws_json1_1StopPHIDetectionJobCommand = async (output, context) => {
1289
+ const de_StopPHIDetectionJobCommand = async (output, context) => {
1290
1290
  if (output.statusCode >= 300) {
1291
- return deserializeAws_json1_1StopPHIDetectionJobCommandError(output, context);
1291
+ return de_StopPHIDetectionJobCommandError(output, context);
1292
1292
  }
1293
1293
  const data = await parseBody(output.body, context);
1294
1294
  let contents = {};
1295
- contents = deserializeAws_json1_1StopPHIDetectionJobResponse(data, context);
1295
+ contents = de_StopPHIDetectionJobResponse(data, context);
1296
1296
  const response = {
1297
1297
  $metadata: deserializeMetadata(output),
1298
1298
  ...contents,
1299
1299
  };
1300
1300
  return Promise.resolve(response);
1301
1301
  };
1302
- exports.deserializeAws_json1_1StopPHIDetectionJobCommand = deserializeAws_json1_1StopPHIDetectionJobCommand;
1303
- const deserializeAws_json1_1StopPHIDetectionJobCommandError = async (output, context) => {
1302
+ exports.de_StopPHIDetectionJobCommand = de_StopPHIDetectionJobCommand;
1303
+ const de_StopPHIDetectionJobCommandError = async (output, context) => {
1304
1304
  const parsedOutput = {
1305
1305
  ...output,
1306
1306
  body: await parseErrorBody(output.body, context),
@@ -1309,13 +1309,13 @@ const deserializeAws_json1_1StopPHIDetectionJobCommandError = async (output, con
1309
1309
  switch (errorCode) {
1310
1310
  case "InternalServerException":
1311
1311
  case "com.amazonaws.comprehendmedical#InternalServerException":
1312
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1312
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1313
1313
  case "InvalidRequestException":
1314
1314
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1315
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1315
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1316
1316
  case "ResourceNotFoundException":
1317
1317
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1318
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1318
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1319
1319
  default:
1320
1320
  const parsedBody = parsedOutput.body;
1321
1321
  (0, smithy_client_1.throwDefaultError)({
@@ -1326,21 +1326,21 @@ const deserializeAws_json1_1StopPHIDetectionJobCommandError = async (output, con
1326
1326
  });
1327
1327
  }
1328
1328
  };
1329
- const deserializeAws_json1_1StopRxNormInferenceJobCommand = async (output, context) => {
1329
+ const de_StopRxNormInferenceJobCommand = async (output, context) => {
1330
1330
  if (output.statusCode >= 300) {
1331
- return deserializeAws_json1_1StopRxNormInferenceJobCommandError(output, context);
1331
+ return de_StopRxNormInferenceJobCommandError(output, context);
1332
1332
  }
1333
1333
  const data = await parseBody(output.body, context);
1334
1334
  let contents = {};
1335
- contents = deserializeAws_json1_1StopRxNormInferenceJobResponse(data, context);
1335
+ contents = de_StopRxNormInferenceJobResponse(data, context);
1336
1336
  const response = {
1337
1337
  $metadata: deserializeMetadata(output),
1338
1338
  ...contents,
1339
1339
  };
1340
1340
  return Promise.resolve(response);
1341
1341
  };
1342
- exports.deserializeAws_json1_1StopRxNormInferenceJobCommand = deserializeAws_json1_1StopRxNormInferenceJobCommand;
1343
- const deserializeAws_json1_1StopRxNormInferenceJobCommandError = async (output, context) => {
1342
+ exports.de_StopRxNormInferenceJobCommand = de_StopRxNormInferenceJobCommand;
1343
+ const de_StopRxNormInferenceJobCommandError = async (output, context) => {
1344
1344
  const parsedOutput = {
1345
1345
  ...output,
1346
1346
  body: await parseErrorBody(output.body, context),
@@ -1349,13 +1349,13 @@ const deserializeAws_json1_1StopRxNormInferenceJobCommandError = async (output,
1349
1349
  switch (errorCode) {
1350
1350
  case "InternalServerException":
1351
1351
  case "com.amazonaws.comprehendmedical#InternalServerException":
1352
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1352
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1353
1353
  case "InvalidRequestException":
1354
1354
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1355
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1355
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1356
1356
  case "ResourceNotFoundException":
1357
1357
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1358
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1358
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1359
1359
  default:
1360
1360
  const parsedBody = parsedOutput.body;
1361
1361
  (0, smithy_client_1.throwDefaultError)({
@@ -1366,21 +1366,21 @@ const deserializeAws_json1_1StopRxNormInferenceJobCommandError = async (output,
1366
1366
  });
1367
1367
  }
1368
1368
  };
1369
- const deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand = async (output, context) => {
1369
+ const de_StopSNOMEDCTInferenceJobCommand = async (output, context) => {
1370
1370
  if (output.statusCode >= 300) {
1371
- return deserializeAws_json1_1StopSNOMEDCTInferenceJobCommandError(output, context);
1371
+ return de_StopSNOMEDCTInferenceJobCommandError(output, context);
1372
1372
  }
1373
1373
  const data = await parseBody(output.body, context);
1374
1374
  let contents = {};
1375
- contents = deserializeAws_json1_1StopSNOMEDCTInferenceJobResponse(data, context);
1375
+ contents = de_StopSNOMEDCTInferenceJobResponse(data, context);
1376
1376
  const response = {
1377
1377
  $metadata: deserializeMetadata(output),
1378
1378
  ...contents,
1379
1379
  };
1380
1380
  return Promise.resolve(response);
1381
1381
  };
1382
- exports.deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand = deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand;
1383
- const deserializeAws_json1_1StopSNOMEDCTInferenceJobCommandError = async (output, context) => {
1382
+ exports.de_StopSNOMEDCTInferenceJobCommand = de_StopSNOMEDCTInferenceJobCommand;
1383
+ const de_StopSNOMEDCTInferenceJobCommandError = async (output, context) => {
1384
1384
  const parsedOutput = {
1385
1385
  ...output,
1386
1386
  body: await parseErrorBody(output.body, context),
@@ -1389,16 +1389,16 @@ const deserializeAws_json1_1StopSNOMEDCTInferenceJobCommandError = async (output
1389
1389
  switch (errorCode) {
1390
1390
  case "InternalServerException":
1391
1391
  case "com.amazonaws.comprehendmedical#InternalServerException":
1392
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1392
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1393
1393
  case "InvalidRequestException":
1394
1394
  case "com.amazonaws.comprehendmedical#InvalidRequestException":
1395
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1395
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1396
1396
  case "ResourceNotFoundException":
1397
1397
  case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
1398
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1398
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1399
1399
  case "TooManyRequestsException":
1400
1400
  case "com.amazonaws.comprehendmedical#TooManyRequestsException":
1401
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1401
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1402
1402
  default:
1403
1403
  const parsedBody = parsedOutput.body;
1404
1404
  (0, smithy_client_1.throwDefaultError)({
@@ -1409,79 +1409,79 @@ const deserializeAws_json1_1StopSNOMEDCTInferenceJobCommandError = async (output
1409
1409
  });
1410
1410
  }
1411
1411
  };
1412
- const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
1412
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1413
1413
  const body = parsedOutput.body;
1414
- const deserialized = deserializeAws_json1_1InternalServerException(body, context);
1414
+ const deserialized = de_InternalServerException(body, context);
1415
1415
  const exception = new models_0_1.InternalServerException({
1416
1416
  $metadata: deserializeMetadata(parsedOutput),
1417
1417
  ...deserialized,
1418
1418
  });
1419
1419
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1420
1420
  };
1421
- const deserializeAws_json1_1InvalidEncodingExceptionResponse = async (parsedOutput, context) => {
1421
+ const de_InvalidEncodingExceptionRes = async (parsedOutput, context) => {
1422
1422
  const body = parsedOutput.body;
1423
- const deserialized = deserializeAws_json1_1InvalidEncodingException(body, context);
1423
+ const deserialized = de_InvalidEncodingException(body, context);
1424
1424
  const exception = new models_0_1.InvalidEncodingException({
1425
1425
  $metadata: deserializeMetadata(parsedOutput),
1426
1426
  ...deserialized,
1427
1427
  });
1428
1428
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1429
1429
  };
1430
- const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1430
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1431
1431
  const body = parsedOutput.body;
1432
- const deserialized = deserializeAws_json1_1InvalidRequestException(body, context);
1432
+ const deserialized = de_InvalidRequestException(body, context);
1433
1433
  const exception = new models_0_1.InvalidRequestException({
1434
1434
  $metadata: deserializeMetadata(parsedOutput),
1435
1435
  ...deserialized,
1436
1436
  });
1437
1437
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1438
1438
  };
1439
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1439
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1440
1440
  const body = parsedOutput.body;
1441
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
1441
+ const deserialized = de_ResourceNotFoundException(body, context);
1442
1442
  const exception = new models_0_1.ResourceNotFoundException({
1443
1443
  $metadata: deserializeMetadata(parsedOutput),
1444
1444
  ...deserialized,
1445
1445
  });
1446
1446
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1447
1447
  };
1448
- const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
1448
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1449
1449
  const body = parsedOutput.body;
1450
- const deserialized = deserializeAws_json1_1ServiceUnavailableException(body, context);
1450
+ const deserialized = de_ServiceUnavailableException(body, context);
1451
1451
  const exception = new models_0_1.ServiceUnavailableException({
1452
1452
  $metadata: deserializeMetadata(parsedOutput),
1453
1453
  ...deserialized,
1454
1454
  });
1455
1455
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1456
1456
  };
1457
- const deserializeAws_json1_1TextSizeLimitExceededExceptionResponse = async (parsedOutput, context) => {
1457
+ const de_TextSizeLimitExceededExceptionRes = async (parsedOutput, context) => {
1458
1458
  const body = parsedOutput.body;
1459
- const deserialized = deserializeAws_json1_1TextSizeLimitExceededException(body, context);
1459
+ const deserialized = de_TextSizeLimitExceededException(body, context);
1460
1460
  const exception = new models_0_1.TextSizeLimitExceededException({
1461
1461
  $metadata: deserializeMetadata(parsedOutput),
1462
1462
  ...deserialized,
1463
1463
  });
1464
1464
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1465
1465
  };
1466
- const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1466
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1467
1467
  const body = parsedOutput.body;
1468
- const deserialized = deserializeAws_json1_1TooManyRequestsException(body, context);
1468
+ const deserialized = de_TooManyRequestsException(body, context);
1469
1469
  const exception = new models_0_1.TooManyRequestsException({
1470
1470
  $metadata: deserializeMetadata(parsedOutput),
1471
1471
  ...deserialized,
1472
1472
  });
1473
1473
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1474
1474
  };
1475
- const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
1475
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1476
1476
  const body = parsedOutput.body;
1477
- const deserialized = deserializeAws_json1_1ValidationException(body, context);
1477
+ const deserialized = de_ValidationException(body, context);
1478
1478
  const exception = new models_0_1.ValidationException({
1479
1479
  $metadata: deserializeMetadata(parsedOutput),
1480
1480
  ...deserialized,
1481
1481
  });
1482
1482
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1483
1483
  };
1484
- const serializeAws_json1_1ComprehendMedicalAsyncJobFilter = (input, context) => {
1484
+ const se_ComprehendMedicalAsyncJobFilter = (input, context) => {
1485
1485
  return {
1486
1486
  ...(input.JobName != null && { JobName: input.JobName }),
1487
1487
  ...(input.JobStatus != null && { JobStatus: input.JobStatus }),
@@ -1489,209 +1489,189 @@ const serializeAws_json1_1ComprehendMedicalAsyncJobFilter = (input, context) =>
1489
1489
  ...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
1490
1490
  };
1491
1491
  };
1492
- const serializeAws_json1_1DescribeEntitiesDetectionV2JobRequest = (input, context) => {
1492
+ const se_DescribeEntitiesDetectionV2JobRequest = (input, context) => {
1493
1493
  return {
1494
1494
  ...(input.JobId != null && { JobId: input.JobId }),
1495
1495
  };
1496
1496
  };
1497
- const serializeAws_json1_1DescribeICD10CMInferenceJobRequest = (input, context) => {
1497
+ const se_DescribeICD10CMInferenceJobRequest = (input, context) => {
1498
1498
  return {
1499
1499
  ...(input.JobId != null && { JobId: input.JobId }),
1500
1500
  };
1501
1501
  };
1502
- const serializeAws_json1_1DescribePHIDetectionJobRequest = (input, context) => {
1502
+ const se_DescribePHIDetectionJobRequest = (input, context) => {
1503
1503
  return {
1504
1504
  ...(input.JobId != null && { JobId: input.JobId }),
1505
1505
  };
1506
1506
  };
1507
- const serializeAws_json1_1DescribeRxNormInferenceJobRequest = (input, context) => {
1507
+ const se_DescribeRxNormInferenceJobRequest = (input, context) => {
1508
1508
  return {
1509
1509
  ...(input.JobId != null && { JobId: input.JobId }),
1510
1510
  };
1511
1511
  };
1512
- const serializeAws_json1_1DescribeSNOMEDCTInferenceJobRequest = (input, context) => {
1512
+ const se_DescribeSNOMEDCTInferenceJobRequest = (input, context) => {
1513
1513
  return {
1514
1514
  ...(input.JobId != null && { JobId: input.JobId }),
1515
1515
  };
1516
1516
  };
1517
- const serializeAws_json1_1DetectEntitiesRequest = (input, context) => {
1517
+ const se_DetectEntitiesRequest = (input, context) => {
1518
1518
  return {
1519
1519
  ...(input.Text != null && { Text: input.Text }),
1520
1520
  };
1521
1521
  };
1522
- const serializeAws_json1_1DetectEntitiesV2Request = (input, context) => {
1522
+ const se_DetectEntitiesV2Request = (input, context) => {
1523
1523
  return {
1524
1524
  ...(input.Text != null && { Text: input.Text }),
1525
1525
  };
1526
1526
  };
1527
- const serializeAws_json1_1DetectPHIRequest = (input, context) => {
1527
+ const se_DetectPHIRequest = (input, context) => {
1528
1528
  return {
1529
1529
  ...(input.Text != null && { Text: input.Text }),
1530
1530
  };
1531
1531
  };
1532
- const serializeAws_json1_1InferICD10CMRequest = (input, context) => {
1532
+ const se_InferICD10CMRequest = (input, context) => {
1533
1533
  return {
1534
1534
  ...(input.Text != null && { Text: input.Text }),
1535
1535
  };
1536
1536
  };
1537
- const serializeAws_json1_1InferRxNormRequest = (input, context) => {
1537
+ const se_InferRxNormRequest = (input, context) => {
1538
1538
  return {
1539
1539
  ...(input.Text != null && { Text: input.Text }),
1540
1540
  };
1541
1541
  };
1542
- const serializeAws_json1_1InferSNOMEDCTRequest = (input, context) => {
1542
+ const se_InferSNOMEDCTRequest = (input, context) => {
1543
1543
  return {
1544
1544
  ...(input.Text != null && { Text: input.Text }),
1545
1545
  };
1546
1546
  };
1547
- const serializeAws_json1_1InputDataConfig = (input, context) => {
1547
+ const se_InputDataConfig = (input, context) => {
1548
1548
  return {
1549
1549
  ...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
1550
1550
  ...(input.S3Key != null && { S3Key: input.S3Key }),
1551
1551
  };
1552
1552
  };
1553
- const serializeAws_json1_1ListEntitiesDetectionV2JobsRequest = (input, context) => {
1553
+ const se_ListEntitiesDetectionV2JobsRequest = (input, context) => {
1554
1554
  return {
1555
- ...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1555
+ ...(input.Filter != null && { Filter: se_ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1556
1556
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1557
1557
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1558
1558
  };
1559
1559
  };
1560
- const serializeAws_json1_1ListICD10CMInferenceJobsRequest = (input, context) => {
1560
+ const se_ListICD10CMInferenceJobsRequest = (input, context) => {
1561
1561
  return {
1562
- ...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1562
+ ...(input.Filter != null && { Filter: se_ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1563
1563
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1564
1564
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1565
1565
  };
1566
1566
  };
1567
- const serializeAws_json1_1ListPHIDetectionJobsRequest = (input, context) => {
1567
+ const se_ListPHIDetectionJobsRequest = (input, context) => {
1568
1568
  return {
1569
- ...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1569
+ ...(input.Filter != null && { Filter: se_ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1570
1570
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1571
1571
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1572
1572
  };
1573
1573
  };
1574
- const serializeAws_json1_1ListRxNormInferenceJobsRequest = (input, context) => {
1574
+ const se_ListRxNormInferenceJobsRequest = (input, context) => {
1575
1575
  return {
1576
- ...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1576
+ ...(input.Filter != null && { Filter: se_ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1577
1577
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1578
1578
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1579
1579
  };
1580
1580
  };
1581
- const serializeAws_json1_1ListSNOMEDCTInferenceJobsRequest = (input, context) => {
1581
+ const se_ListSNOMEDCTInferenceJobsRequest = (input, context) => {
1582
1582
  return {
1583
- ...(input.Filter != null && { Filter: serializeAws_json1_1ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1583
+ ...(input.Filter != null && { Filter: se_ComprehendMedicalAsyncJobFilter(input.Filter, context) }),
1584
1584
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1585
1585
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1586
1586
  };
1587
1587
  };
1588
- const serializeAws_json1_1OutputDataConfig = (input, context) => {
1588
+ const se_OutputDataConfig = (input, context) => {
1589
1589
  return {
1590
1590
  ...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
1591
1591
  ...(input.S3Key != null && { S3Key: input.S3Key }),
1592
1592
  };
1593
1593
  };
1594
- const serializeAws_json1_1StartEntitiesDetectionV2JobRequest = (input, context) => {
1594
+ const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
1595
1595
  return {
1596
1596
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1597
1597
  ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1598
- ...(input.InputDataConfig != null && {
1599
- InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
1600
- }),
1598
+ ...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
1601
1599
  ...(input.JobName != null && { JobName: input.JobName }),
1602
1600
  ...(input.KMSKey != null && { KMSKey: input.KMSKey }),
1603
1601
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1604
- ...(input.OutputDataConfig != null && {
1605
- OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
1606
- }),
1602
+ ...(input.OutputDataConfig != null && { OutputDataConfig: se_OutputDataConfig(input.OutputDataConfig, context) }),
1607
1603
  };
1608
1604
  };
1609
- const serializeAws_json1_1StartICD10CMInferenceJobRequest = (input, context) => {
1605
+ const se_StartICD10CMInferenceJobRequest = (input, context) => {
1610
1606
  return {
1611
1607
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1612
1608
  ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1613
- ...(input.InputDataConfig != null && {
1614
- InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
1615
- }),
1609
+ ...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
1616
1610
  ...(input.JobName != null && { JobName: input.JobName }),
1617
1611
  ...(input.KMSKey != null && { KMSKey: input.KMSKey }),
1618
1612
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1619
- ...(input.OutputDataConfig != null && {
1620
- OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
1621
- }),
1613
+ ...(input.OutputDataConfig != null && { OutputDataConfig: se_OutputDataConfig(input.OutputDataConfig, context) }),
1622
1614
  };
1623
1615
  };
1624
- const serializeAws_json1_1StartPHIDetectionJobRequest = (input, context) => {
1616
+ const se_StartPHIDetectionJobRequest = (input, context) => {
1625
1617
  return {
1626
1618
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1627
1619
  ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1628
- ...(input.InputDataConfig != null && {
1629
- InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
1630
- }),
1620
+ ...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
1631
1621
  ...(input.JobName != null && { JobName: input.JobName }),
1632
1622
  ...(input.KMSKey != null && { KMSKey: input.KMSKey }),
1633
1623
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1634
- ...(input.OutputDataConfig != null && {
1635
- OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
1636
- }),
1624
+ ...(input.OutputDataConfig != null && { OutputDataConfig: se_OutputDataConfig(input.OutputDataConfig, context) }),
1637
1625
  };
1638
1626
  };
1639
- const serializeAws_json1_1StartRxNormInferenceJobRequest = (input, context) => {
1627
+ const se_StartRxNormInferenceJobRequest = (input, context) => {
1640
1628
  return {
1641
1629
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1642
1630
  ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1643
- ...(input.InputDataConfig != null && {
1644
- InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
1645
- }),
1631
+ ...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
1646
1632
  ...(input.JobName != null && { JobName: input.JobName }),
1647
1633
  ...(input.KMSKey != null && { KMSKey: input.KMSKey }),
1648
1634
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1649
- ...(input.OutputDataConfig != null && {
1650
- OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
1651
- }),
1635
+ ...(input.OutputDataConfig != null && { OutputDataConfig: se_OutputDataConfig(input.OutputDataConfig, context) }),
1652
1636
  };
1653
1637
  };
1654
- const serializeAws_json1_1StartSNOMEDCTInferenceJobRequest = (input, context) => {
1638
+ const se_StartSNOMEDCTInferenceJobRequest = (input, context) => {
1655
1639
  return {
1656
1640
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1657
1641
  ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
1658
- ...(input.InputDataConfig != null && {
1659
- InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
1660
- }),
1642
+ ...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
1661
1643
  ...(input.JobName != null && { JobName: input.JobName }),
1662
1644
  ...(input.KMSKey != null && { KMSKey: input.KMSKey }),
1663
1645
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
1664
- ...(input.OutputDataConfig != null && {
1665
- OutputDataConfig: serializeAws_json1_1OutputDataConfig(input.OutputDataConfig, context),
1666
- }),
1646
+ ...(input.OutputDataConfig != null && { OutputDataConfig: se_OutputDataConfig(input.OutputDataConfig, context) }),
1667
1647
  };
1668
1648
  };
1669
- const serializeAws_json1_1StopEntitiesDetectionV2JobRequest = (input, context) => {
1649
+ const se_StopEntitiesDetectionV2JobRequest = (input, context) => {
1670
1650
  return {
1671
1651
  ...(input.JobId != null && { JobId: input.JobId }),
1672
1652
  };
1673
1653
  };
1674
- const serializeAws_json1_1StopICD10CMInferenceJobRequest = (input, context) => {
1654
+ const se_StopICD10CMInferenceJobRequest = (input, context) => {
1675
1655
  return {
1676
1656
  ...(input.JobId != null && { JobId: input.JobId }),
1677
1657
  };
1678
1658
  };
1679
- const serializeAws_json1_1StopPHIDetectionJobRequest = (input, context) => {
1659
+ const se_StopPHIDetectionJobRequest = (input, context) => {
1680
1660
  return {
1681
1661
  ...(input.JobId != null && { JobId: input.JobId }),
1682
1662
  };
1683
1663
  };
1684
- const serializeAws_json1_1StopRxNormInferenceJobRequest = (input, context) => {
1664
+ const se_StopRxNormInferenceJobRequest = (input, context) => {
1685
1665
  return {
1686
1666
  ...(input.JobId != null && { JobId: input.JobId }),
1687
1667
  };
1688
1668
  };
1689
- const serializeAws_json1_1StopSNOMEDCTInferenceJobRequest = (input, context) => {
1669
+ const se_StopSNOMEDCTInferenceJobRequest = (input, context) => {
1690
1670
  return {
1691
1671
  ...(input.JobId != null && { JobId: input.JobId }),
1692
1672
  };
1693
1673
  };
1694
- const deserializeAws_json1_1Attribute = (output, context) => {
1674
+ const de_Attribute = (output, context) => {
1695
1675
  return {
1696
1676
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1697
1677
  Category: (0, smithy_client_1.expectString)(output.Category),
@@ -1701,36 +1681,34 @@ const deserializeAws_json1_1Attribute = (output, context) => {
1701
1681
  RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
1702
1682
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1703
1683
  Text: (0, smithy_client_1.expectString)(output.Text),
1704
- Traits: output.Traits != null ? deserializeAws_json1_1TraitList(output.Traits, context) : undefined,
1684
+ Traits: output.Traits != null ? de_TraitList(output.Traits, context) : undefined,
1705
1685
  Type: (0, smithy_client_1.expectString)(output.Type),
1706
1686
  };
1707
1687
  };
1708
- const deserializeAws_json1_1AttributeList = (output, context) => {
1688
+ const de_AttributeList = (output, context) => {
1709
1689
  const retVal = (output || [])
1710
1690
  .filter((e) => e != null)
1711
1691
  .map((entry) => {
1712
1692
  if (entry === null) {
1713
1693
  return null;
1714
1694
  }
1715
- return deserializeAws_json1_1Attribute(entry, context);
1695
+ return de_Attribute(entry, context);
1716
1696
  });
1717
1697
  return retVal;
1718
1698
  };
1719
- const deserializeAws_json1_1Characters = (output, context) => {
1699
+ const de_Characters = (output, context) => {
1720
1700
  return {
1721
1701
  OriginalTextCharacters: (0, smithy_client_1.expectInt32)(output.OriginalTextCharacters),
1722
1702
  };
1723
1703
  };
1724
- const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, context) => {
1704
+ const de_ComprehendMedicalAsyncJobProperties = (output, context) => {
1725
1705
  return {
1726
1706
  DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
1727
1707
  EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
1728
1708
  ExpirationTime: output.ExpirationTime != null
1729
1709
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
1730
1710
  : undefined,
1731
- InputDataConfig: output.InputDataConfig != null
1732
- ? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
1733
- : undefined,
1711
+ InputDataConfig: output.InputDataConfig != null ? de_InputDataConfig(output.InputDataConfig, context) : undefined,
1734
1712
  JobId: (0, smithy_client_1.expectString)(output.JobId),
1735
1713
  JobName: (0, smithy_client_1.expectString)(output.JobName),
1736
1714
  JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
@@ -1739,110 +1717,104 @@ const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, conte
1739
1717
  ManifestFilePath: (0, smithy_client_1.expectString)(output.ManifestFilePath),
1740
1718
  Message: (0, smithy_client_1.expectString)(output.Message),
1741
1719
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1742
- OutputDataConfig: output.OutputDataConfig != null
1743
- ? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
1744
- : undefined,
1720
+ OutputDataConfig: output.OutputDataConfig != null ? de_OutputDataConfig(output.OutputDataConfig, context) : undefined,
1745
1721
  SubmitTime: output.SubmitTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime))) : undefined,
1746
1722
  };
1747
1723
  };
1748
- const deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList = (output, context) => {
1724
+ const de_ComprehendMedicalAsyncJobPropertiesList = (output, context) => {
1749
1725
  const retVal = (output || [])
1750
1726
  .filter((e) => e != null)
1751
1727
  .map((entry) => {
1752
1728
  if (entry === null) {
1753
1729
  return null;
1754
1730
  }
1755
- return deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(entry, context);
1731
+ return de_ComprehendMedicalAsyncJobProperties(entry, context);
1756
1732
  });
1757
1733
  return retVal;
1758
1734
  };
1759
- const deserializeAws_json1_1DescribeEntitiesDetectionV2JobResponse = (output, context) => {
1735
+ const de_DescribeEntitiesDetectionV2JobResponse = (output, context) => {
1760
1736
  return {
1761
1737
  ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
1762
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1738
+ ? de_ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1763
1739
  : undefined,
1764
1740
  };
1765
1741
  };
1766
- const deserializeAws_json1_1DescribeICD10CMInferenceJobResponse = (output, context) => {
1742
+ const de_DescribeICD10CMInferenceJobResponse = (output, context) => {
1767
1743
  return {
1768
1744
  ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
1769
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1745
+ ? de_ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1770
1746
  : undefined,
1771
1747
  };
1772
1748
  };
1773
- const deserializeAws_json1_1DescribePHIDetectionJobResponse = (output, context) => {
1749
+ const de_DescribePHIDetectionJobResponse = (output, context) => {
1774
1750
  return {
1775
1751
  ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
1776
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1752
+ ? de_ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1777
1753
  : undefined,
1778
1754
  };
1779
1755
  };
1780
- const deserializeAws_json1_1DescribeRxNormInferenceJobResponse = (output, context) => {
1756
+ const de_DescribeRxNormInferenceJobResponse = (output, context) => {
1781
1757
  return {
1782
1758
  ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
1783
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1759
+ ? de_ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1784
1760
  : undefined,
1785
1761
  };
1786
1762
  };
1787
- const deserializeAws_json1_1DescribeSNOMEDCTInferenceJobResponse = (output, context) => {
1763
+ const de_DescribeSNOMEDCTInferenceJobResponse = (output, context) => {
1788
1764
  return {
1789
1765
  ComprehendMedicalAsyncJobProperties: output.ComprehendMedicalAsyncJobProperties != null
1790
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1766
+ ? de_ComprehendMedicalAsyncJobProperties(output.ComprehendMedicalAsyncJobProperties, context)
1791
1767
  : undefined,
1792
1768
  };
1793
1769
  };
1794
- const deserializeAws_json1_1DetectEntitiesResponse = (output, context) => {
1770
+ const de_DetectEntitiesResponse = (output, context) => {
1795
1771
  return {
1796
- Entities: output.Entities != null ? deserializeAws_json1_1EntityList(output.Entities, context) : undefined,
1772
+ Entities: output.Entities != null ? de_EntityList(output.Entities, context) : undefined,
1797
1773
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1798
1774
  PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1799
- UnmappedAttributes: output.UnmappedAttributes != null
1800
- ? deserializeAws_json1_1UnmappedAttributeList(output.UnmappedAttributes, context)
1801
- : undefined,
1775
+ UnmappedAttributes: output.UnmappedAttributes != null ? de_UnmappedAttributeList(output.UnmappedAttributes, context) : undefined,
1802
1776
  };
1803
1777
  };
1804
- const deserializeAws_json1_1DetectEntitiesV2Response = (output, context) => {
1778
+ const de_DetectEntitiesV2Response = (output, context) => {
1805
1779
  return {
1806
- Entities: output.Entities != null ? deserializeAws_json1_1EntityList(output.Entities, context) : undefined,
1780
+ Entities: output.Entities != null ? de_EntityList(output.Entities, context) : undefined,
1807
1781
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1808
1782
  PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1809
- UnmappedAttributes: output.UnmappedAttributes != null
1810
- ? deserializeAws_json1_1UnmappedAttributeList(output.UnmappedAttributes, context)
1811
- : undefined,
1783
+ UnmappedAttributes: output.UnmappedAttributes != null ? de_UnmappedAttributeList(output.UnmappedAttributes, context) : undefined,
1812
1784
  };
1813
1785
  };
1814
- const deserializeAws_json1_1DetectPHIResponse = (output, context) => {
1786
+ const de_DetectPHIResponse = (output, context) => {
1815
1787
  return {
1816
- Entities: output.Entities != null ? deserializeAws_json1_1EntityList(output.Entities, context) : undefined,
1788
+ Entities: output.Entities != null ? de_EntityList(output.Entities, context) : undefined,
1817
1789
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1818
1790
  PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1819
1791
  };
1820
1792
  };
1821
- const deserializeAws_json1_1Entity = (output, context) => {
1793
+ const de_Entity = (output, context) => {
1822
1794
  return {
1823
- Attributes: output.Attributes != null ? deserializeAws_json1_1AttributeList(output.Attributes, context) : undefined,
1795
+ Attributes: output.Attributes != null ? de_AttributeList(output.Attributes, context) : undefined,
1824
1796
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1825
1797
  Category: (0, smithy_client_1.expectString)(output.Category),
1826
1798
  EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
1827
1799
  Id: (0, smithy_client_1.expectInt32)(output.Id),
1828
1800
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1829
1801
  Text: (0, smithy_client_1.expectString)(output.Text),
1830
- Traits: output.Traits != null ? deserializeAws_json1_1TraitList(output.Traits, context) : undefined,
1802
+ Traits: output.Traits != null ? de_TraitList(output.Traits, context) : undefined,
1831
1803
  Type: (0, smithy_client_1.expectString)(output.Type),
1832
1804
  };
1833
1805
  };
1834
- const deserializeAws_json1_1EntityList = (output, context) => {
1806
+ const de_EntityList = (output, context) => {
1835
1807
  const retVal = (output || [])
1836
1808
  .filter((e) => e != null)
1837
1809
  .map((entry) => {
1838
1810
  if (entry === null) {
1839
1811
  return null;
1840
1812
  }
1841
- return deserializeAws_json1_1Entity(entry, context);
1813
+ return de_Entity(entry, context);
1842
1814
  });
1843
1815
  return retVal;
1844
1816
  };
1845
- const deserializeAws_json1_1ICD10CMAttribute = (output, context) => {
1817
+ const de_ICD10CMAttribute = (output, context) => {
1846
1818
  return {
1847
1819
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1848
1820
  Category: (0, smithy_client_1.expectString)(output.Category),
@@ -1852,181 +1824,177 @@ const deserializeAws_json1_1ICD10CMAttribute = (output, context) => {
1852
1824
  RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
1853
1825
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1854
1826
  Text: (0, smithy_client_1.expectString)(output.Text),
1855
- Traits: output.Traits != null ? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context) : undefined,
1827
+ Traits: output.Traits != null ? de_ICD10CMTraitList(output.Traits, context) : undefined,
1856
1828
  Type: (0, smithy_client_1.expectString)(output.Type),
1857
1829
  };
1858
1830
  };
1859
- const deserializeAws_json1_1ICD10CMAttributeList = (output, context) => {
1831
+ const de_ICD10CMAttributeList = (output, context) => {
1860
1832
  const retVal = (output || [])
1861
1833
  .filter((e) => e != null)
1862
1834
  .map((entry) => {
1863
1835
  if (entry === null) {
1864
1836
  return null;
1865
1837
  }
1866
- return deserializeAws_json1_1ICD10CMAttribute(entry, context);
1838
+ return de_ICD10CMAttribute(entry, context);
1867
1839
  });
1868
1840
  return retVal;
1869
1841
  };
1870
- const deserializeAws_json1_1ICD10CMConcept = (output, context) => {
1842
+ const de_ICD10CMConcept = (output, context) => {
1871
1843
  return {
1872
1844
  Code: (0, smithy_client_1.expectString)(output.Code),
1873
1845
  Description: (0, smithy_client_1.expectString)(output.Description),
1874
1846
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1875
1847
  };
1876
1848
  };
1877
- const deserializeAws_json1_1ICD10CMConceptList = (output, context) => {
1849
+ const de_ICD10CMConceptList = (output, context) => {
1878
1850
  const retVal = (output || [])
1879
1851
  .filter((e) => e != null)
1880
1852
  .map((entry) => {
1881
1853
  if (entry === null) {
1882
1854
  return null;
1883
1855
  }
1884
- return deserializeAws_json1_1ICD10CMConcept(entry, context);
1856
+ return de_ICD10CMConcept(entry, context);
1885
1857
  });
1886
1858
  return retVal;
1887
1859
  };
1888
- const deserializeAws_json1_1ICD10CMEntity = (output, context) => {
1860
+ const de_ICD10CMEntity = (output, context) => {
1889
1861
  return {
1890
- Attributes: output.Attributes != null ? deserializeAws_json1_1ICD10CMAttributeList(output.Attributes, context) : undefined,
1862
+ Attributes: output.Attributes != null ? de_ICD10CMAttributeList(output.Attributes, context) : undefined,
1891
1863
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
1892
1864
  Category: (0, smithy_client_1.expectString)(output.Category),
1893
1865
  EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
1894
- ICD10CMConcepts: output.ICD10CMConcepts != null
1895
- ? deserializeAws_json1_1ICD10CMConceptList(output.ICD10CMConcepts, context)
1896
- : undefined,
1866
+ ICD10CMConcepts: output.ICD10CMConcepts != null ? de_ICD10CMConceptList(output.ICD10CMConcepts, context) : undefined,
1897
1867
  Id: (0, smithy_client_1.expectInt32)(output.Id),
1898
1868
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1899
1869
  Text: (0, smithy_client_1.expectString)(output.Text),
1900
- Traits: output.Traits != null ? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context) : undefined,
1870
+ Traits: output.Traits != null ? de_ICD10CMTraitList(output.Traits, context) : undefined,
1901
1871
  Type: (0, smithy_client_1.expectString)(output.Type),
1902
1872
  };
1903
1873
  };
1904
- const deserializeAws_json1_1ICD10CMEntityList = (output, context) => {
1874
+ const de_ICD10CMEntityList = (output, context) => {
1905
1875
  const retVal = (output || [])
1906
1876
  .filter((e) => e != null)
1907
1877
  .map((entry) => {
1908
1878
  if (entry === null) {
1909
1879
  return null;
1910
1880
  }
1911
- return deserializeAws_json1_1ICD10CMEntity(entry, context);
1881
+ return de_ICD10CMEntity(entry, context);
1912
1882
  });
1913
1883
  return retVal;
1914
1884
  };
1915
- const deserializeAws_json1_1ICD10CMTrait = (output, context) => {
1885
+ const de_ICD10CMTrait = (output, context) => {
1916
1886
  return {
1917
1887
  Name: (0, smithy_client_1.expectString)(output.Name),
1918
1888
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
1919
1889
  };
1920
1890
  };
1921
- const deserializeAws_json1_1ICD10CMTraitList = (output, context) => {
1891
+ const de_ICD10CMTraitList = (output, context) => {
1922
1892
  const retVal = (output || [])
1923
1893
  .filter((e) => e != null)
1924
1894
  .map((entry) => {
1925
1895
  if (entry === null) {
1926
1896
  return null;
1927
1897
  }
1928
- return deserializeAws_json1_1ICD10CMTrait(entry, context);
1898
+ return de_ICD10CMTrait(entry, context);
1929
1899
  });
1930
1900
  return retVal;
1931
1901
  };
1932
- const deserializeAws_json1_1InferICD10CMResponse = (output, context) => {
1902
+ const de_InferICD10CMResponse = (output, context) => {
1933
1903
  return {
1934
- Entities: output.Entities != null ? deserializeAws_json1_1ICD10CMEntityList(output.Entities, context) : undefined,
1904
+ Entities: output.Entities != null ? de_ICD10CMEntityList(output.Entities, context) : undefined,
1935
1905
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1936
1906
  PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1937
1907
  };
1938
1908
  };
1939
- const deserializeAws_json1_1InferRxNormResponse = (output, context) => {
1909
+ const de_InferRxNormResponse = (output, context) => {
1940
1910
  return {
1941
- Entities: output.Entities != null ? deserializeAws_json1_1RxNormEntityList(output.Entities, context) : undefined,
1911
+ Entities: output.Entities != null ? de_RxNormEntityList(output.Entities, context) : undefined,
1942
1912
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1943
1913
  PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1944
1914
  };
1945
1915
  };
1946
- const deserializeAws_json1_1InferSNOMEDCTResponse = (output, context) => {
1916
+ const de_InferSNOMEDCTResponse = (output, context) => {
1947
1917
  return {
1948
- Characters: output.Characters != null ? deserializeAws_json1_1Characters(output.Characters, context) : undefined,
1949
- Entities: output.Entities != null ? deserializeAws_json1_1SNOMEDCTEntityList(output.Entities, context) : undefined,
1918
+ Characters: output.Characters != null ? de_Characters(output.Characters, context) : undefined,
1919
+ Entities: output.Entities != null ? de_SNOMEDCTEntityList(output.Entities, context) : undefined,
1950
1920
  ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
1951
1921
  PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
1952
- SNOMEDCTDetails: output.SNOMEDCTDetails != null
1953
- ? deserializeAws_json1_1SNOMEDCTDetails(output.SNOMEDCTDetails, context)
1954
- : undefined,
1922
+ SNOMEDCTDetails: output.SNOMEDCTDetails != null ? de_SNOMEDCTDetails(output.SNOMEDCTDetails, context) : undefined,
1955
1923
  };
1956
1924
  };
1957
- const deserializeAws_json1_1InputDataConfig = (output, context) => {
1925
+ const de_InputDataConfig = (output, context) => {
1958
1926
  return {
1959
1927
  S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
1960
1928
  S3Key: (0, smithy_client_1.expectString)(output.S3Key),
1961
1929
  };
1962
1930
  };
1963
- const deserializeAws_json1_1InternalServerException = (output, context) => {
1931
+ const de_InternalServerException = (output, context) => {
1964
1932
  return {
1965
1933
  Message: (0, smithy_client_1.expectString)(output.Message),
1966
1934
  };
1967
1935
  };
1968
- const deserializeAws_json1_1InvalidEncodingException = (output, context) => {
1936
+ const de_InvalidEncodingException = (output, context) => {
1969
1937
  return {
1970
1938
  Message: (0, smithy_client_1.expectString)(output.Message),
1971
1939
  };
1972
1940
  };
1973
- const deserializeAws_json1_1InvalidRequestException = (output, context) => {
1941
+ const de_InvalidRequestException = (output, context) => {
1974
1942
  return {
1975
1943
  Message: (0, smithy_client_1.expectString)(output.Message),
1976
1944
  };
1977
1945
  };
1978
- const deserializeAws_json1_1ListEntitiesDetectionV2JobsResponse = (output, context) => {
1946
+ const de_ListEntitiesDetectionV2JobsResponse = (output, context) => {
1979
1947
  return {
1980
1948
  ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
1981
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1949
+ ? de_ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1982
1950
  : undefined,
1983
1951
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1984
1952
  };
1985
1953
  };
1986
- const deserializeAws_json1_1ListICD10CMInferenceJobsResponse = (output, context) => {
1954
+ const de_ListICD10CMInferenceJobsResponse = (output, context) => {
1987
1955
  return {
1988
1956
  ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
1989
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1957
+ ? de_ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1990
1958
  : undefined,
1991
1959
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1992
1960
  };
1993
1961
  };
1994
- const deserializeAws_json1_1ListPHIDetectionJobsResponse = (output, context) => {
1962
+ const de_ListPHIDetectionJobsResponse = (output, context) => {
1995
1963
  return {
1996
1964
  ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
1997
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1965
+ ? de_ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1998
1966
  : undefined,
1999
1967
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2000
1968
  };
2001
1969
  };
2002
- const deserializeAws_json1_1ListRxNormInferenceJobsResponse = (output, context) => {
1970
+ const de_ListRxNormInferenceJobsResponse = (output, context) => {
2003
1971
  return {
2004
1972
  ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
2005
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1973
+ ? de_ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2006
1974
  : undefined,
2007
1975
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2008
1976
  };
2009
1977
  };
2010
- const deserializeAws_json1_1ListSNOMEDCTInferenceJobsResponse = (output, context) => {
1978
+ const de_ListSNOMEDCTInferenceJobsResponse = (output, context) => {
2011
1979
  return {
2012
1980
  ComprehendMedicalAsyncJobPropertiesList: output.ComprehendMedicalAsyncJobPropertiesList != null
2013
- ? deserializeAws_json1_1ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
1981
+ ? de_ComprehendMedicalAsyncJobPropertiesList(output.ComprehendMedicalAsyncJobPropertiesList, context)
2014
1982
  : undefined,
2015
1983
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2016
1984
  };
2017
1985
  };
2018
- const deserializeAws_json1_1OutputDataConfig = (output, context) => {
1986
+ const de_OutputDataConfig = (output, context) => {
2019
1987
  return {
2020
1988
  S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
2021
1989
  S3Key: (0, smithy_client_1.expectString)(output.S3Key),
2022
1990
  };
2023
1991
  };
2024
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
1992
+ const de_ResourceNotFoundException = (output, context) => {
2025
1993
  return {
2026
1994
  Message: (0, smithy_client_1.expectString)(output.Message),
2027
1995
  };
2028
1996
  };
2029
- const deserializeAws_json1_1RxNormAttribute = (output, context) => {
1997
+ const de_RxNormAttribute = (output, context) => {
2030
1998
  return {
2031
1999
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2032
2000
  EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
@@ -2034,89 +2002,87 @@ const deserializeAws_json1_1RxNormAttribute = (output, context) => {
2034
2002
  RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
2035
2003
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2036
2004
  Text: (0, smithy_client_1.expectString)(output.Text),
2037
- Traits: output.Traits != null ? deserializeAws_json1_1RxNormTraitList(output.Traits, context) : undefined,
2005
+ Traits: output.Traits != null ? de_RxNormTraitList(output.Traits, context) : undefined,
2038
2006
  Type: (0, smithy_client_1.expectString)(output.Type),
2039
2007
  };
2040
2008
  };
2041
- const deserializeAws_json1_1RxNormAttributeList = (output, context) => {
2009
+ const de_RxNormAttributeList = (output, context) => {
2042
2010
  const retVal = (output || [])
2043
2011
  .filter((e) => e != null)
2044
2012
  .map((entry) => {
2045
2013
  if (entry === null) {
2046
2014
  return null;
2047
2015
  }
2048
- return deserializeAws_json1_1RxNormAttribute(entry, context);
2016
+ return de_RxNormAttribute(entry, context);
2049
2017
  });
2050
2018
  return retVal;
2051
2019
  };
2052
- const deserializeAws_json1_1RxNormConcept = (output, context) => {
2020
+ const de_RxNormConcept = (output, context) => {
2053
2021
  return {
2054
2022
  Code: (0, smithy_client_1.expectString)(output.Code),
2055
2023
  Description: (0, smithy_client_1.expectString)(output.Description),
2056
2024
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2057
2025
  };
2058
2026
  };
2059
- const deserializeAws_json1_1RxNormConceptList = (output, context) => {
2027
+ const de_RxNormConceptList = (output, context) => {
2060
2028
  const retVal = (output || [])
2061
2029
  .filter((e) => e != null)
2062
2030
  .map((entry) => {
2063
2031
  if (entry === null) {
2064
2032
  return null;
2065
2033
  }
2066
- return deserializeAws_json1_1RxNormConcept(entry, context);
2034
+ return de_RxNormConcept(entry, context);
2067
2035
  });
2068
2036
  return retVal;
2069
2037
  };
2070
- const deserializeAws_json1_1RxNormEntity = (output, context) => {
2038
+ const de_RxNormEntity = (output, context) => {
2071
2039
  return {
2072
- Attributes: output.Attributes != null ? deserializeAws_json1_1RxNormAttributeList(output.Attributes, context) : undefined,
2040
+ Attributes: output.Attributes != null ? de_RxNormAttributeList(output.Attributes, context) : undefined,
2073
2041
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2074
2042
  Category: (0, smithy_client_1.expectString)(output.Category),
2075
2043
  EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
2076
2044
  Id: (0, smithy_client_1.expectInt32)(output.Id),
2077
- RxNormConcepts: output.RxNormConcepts != null
2078
- ? deserializeAws_json1_1RxNormConceptList(output.RxNormConcepts, context)
2079
- : undefined,
2045
+ RxNormConcepts: output.RxNormConcepts != null ? de_RxNormConceptList(output.RxNormConcepts, context) : undefined,
2080
2046
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2081
2047
  Text: (0, smithy_client_1.expectString)(output.Text),
2082
- Traits: output.Traits != null ? deserializeAws_json1_1RxNormTraitList(output.Traits, context) : undefined,
2048
+ Traits: output.Traits != null ? de_RxNormTraitList(output.Traits, context) : undefined,
2083
2049
  Type: (0, smithy_client_1.expectString)(output.Type),
2084
2050
  };
2085
2051
  };
2086
- const deserializeAws_json1_1RxNormEntityList = (output, context) => {
2052
+ const de_RxNormEntityList = (output, context) => {
2087
2053
  const retVal = (output || [])
2088
2054
  .filter((e) => e != null)
2089
2055
  .map((entry) => {
2090
2056
  if (entry === null) {
2091
2057
  return null;
2092
2058
  }
2093
- return deserializeAws_json1_1RxNormEntity(entry, context);
2059
+ return de_RxNormEntity(entry, context);
2094
2060
  });
2095
2061
  return retVal;
2096
2062
  };
2097
- const deserializeAws_json1_1RxNormTrait = (output, context) => {
2063
+ const de_RxNormTrait = (output, context) => {
2098
2064
  return {
2099
2065
  Name: (0, smithy_client_1.expectString)(output.Name),
2100
2066
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2101
2067
  };
2102
2068
  };
2103
- const deserializeAws_json1_1RxNormTraitList = (output, context) => {
2069
+ const de_RxNormTraitList = (output, context) => {
2104
2070
  const retVal = (output || [])
2105
2071
  .filter((e) => e != null)
2106
2072
  .map((entry) => {
2107
2073
  if (entry === null) {
2108
2074
  return null;
2109
2075
  }
2110
- return deserializeAws_json1_1RxNormTrait(entry, context);
2076
+ return de_RxNormTrait(entry, context);
2111
2077
  });
2112
2078
  return retVal;
2113
2079
  };
2114
- const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
2080
+ const de_ServiceUnavailableException = (output, context) => {
2115
2081
  return {
2116
2082
  Message: (0, smithy_client_1.expectString)(output.Message),
2117
2083
  };
2118
2084
  };
2119
- const deserializeAws_json1_1SNOMEDCTAttribute = (output, context) => {
2085
+ const de_SNOMEDCTAttribute = (output, context) => {
2120
2086
  return {
2121
2087
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2122
2088
  Category: (0, smithy_client_1.expectString)(output.Category),
@@ -2124,190 +2090,186 @@ const deserializeAws_json1_1SNOMEDCTAttribute = (output, context) => {
2124
2090
  Id: (0, smithy_client_1.expectInt32)(output.Id),
2125
2091
  RelationshipScore: (0, smithy_client_1.limitedParseFloat32)(output.RelationshipScore),
2126
2092
  RelationshipType: (0, smithy_client_1.expectString)(output.RelationshipType),
2127
- SNOMEDCTConcepts: output.SNOMEDCTConcepts != null
2128
- ? deserializeAws_json1_1SNOMEDCTConceptList(output.SNOMEDCTConcepts, context)
2129
- : undefined,
2093
+ SNOMEDCTConcepts: output.SNOMEDCTConcepts != null ? de_SNOMEDCTConceptList(output.SNOMEDCTConcepts, context) : undefined,
2130
2094
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2131
2095
  Text: (0, smithy_client_1.expectString)(output.Text),
2132
- Traits: output.Traits != null ? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context) : undefined,
2096
+ Traits: output.Traits != null ? de_SNOMEDCTTraitList(output.Traits, context) : undefined,
2133
2097
  Type: (0, smithy_client_1.expectString)(output.Type),
2134
2098
  };
2135
2099
  };
2136
- const deserializeAws_json1_1SNOMEDCTAttributeList = (output, context) => {
2100
+ const de_SNOMEDCTAttributeList = (output, context) => {
2137
2101
  const retVal = (output || [])
2138
2102
  .filter((e) => e != null)
2139
2103
  .map((entry) => {
2140
2104
  if (entry === null) {
2141
2105
  return null;
2142
2106
  }
2143
- return deserializeAws_json1_1SNOMEDCTAttribute(entry, context);
2107
+ return de_SNOMEDCTAttribute(entry, context);
2144
2108
  });
2145
2109
  return retVal;
2146
2110
  };
2147
- const deserializeAws_json1_1SNOMEDCTConcept = (output, context) => {
2111
+ const de_SNOMEDCTConcept = (output, context) => {
2148
2112
  return {
2149
2113
  Code: (0, smithy_client_1.expectString)(output.Code),
2150
2114
  Description: (0, smithy_client_1.expectString)(output.Description),
2151
2115
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2152
2116
  };
2153
2117
  };
2154
- const deserializeAws_json1_1SNOMEDCTConceptList = (output, context) => {
2118
+ const de_SNOMEDCTConceptList = (output, context) => {
2155
2119
  const retVal = (output || [])
2156
2120
  .filter((e) => e != null)
2157
2121
  .map((entry) => {
2158
2122
  if (entry === null) {
2159
2123
  return null;
2160
2124
  }
2161
- return deserializeAws_json1_1SNOMEDCTConcept(entry, context);
2125
+ return de_SNOMEDCTConcept(entry, context);
2162
2126
  });
2163
2127
  return retVal;
2164
2128
  };
2165
- const deserializeAws_json1_1SNOMEDCTDetails = (output, context) => {
2129
+ const de_SNOMEDCTDetails = (output, context) => {
2166
2130
  return {
2167
2131
  Edition: (0, smithy_client_1.expectString)(output.Edition),
2168
2132
  Language: (0, smithy_client_1.expectString)(output.Language),
2169
2133
  VersionDate: (0, smithy_client_1.expectString)(output.VersionDate),
2170
2134
  };
2171
2135
  };
2172
- const deserializeAws_json1_1SNOMEDCTEntity = (output, context) => {
2136
+ const de_SNOMEDCTEntity = (output, context) => {
2173
2137
  return {
2174
- Attributes: output.Attributes != null ? deserializeAws_json1_1SNOMEDCTAttributeList(output.Attributes, context) : undefined,
2138
+ Attributes: output.Attributes != null ? de_SNOMEDCTAttributeList(output.Attributes, context) : undefined,
2175
2139
  BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
2176
2140
  Category: (0, smithy_client_1.expectString)(output.Category),
2177
2141
  EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
2178
2142
  Id: (0, smithy_client_1.expectInt32)(output.Id),
2179
- SNOMEDCTConcepts: output.SNOMEDCTConcepts != null
2180
- ? deserializeAws_json1_1SNOMEDCTConceptList(output.SNOMEDCTConcepts, context)
2181
- : undefined,
2143
+ SNOMEDCTConcepts: output.SNOMEDCTConcepts != null ? de_SNOMEDCTConceptList(output.SNOMEDCTConcepts, context) : undefined,
2182
2144
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2183
2145
  Text: (0, smithy_client_1.expectString)(output.Text),
2184
- Traits: output.Traits != null ? deserializeAws_json1_1SNOMEDCTTraitList(output.Traits, context) : undefined,
2146
+ Traits: output.Traits != null ? de_SNOMEDCTTraitList(output.Traits, context) : undefined,
2185
2147
  Type: (0, smithy_client_1.expectString)(output.Type),
2186
2148
  };
2187
2149
  };
2188
- const deserializeAws_json1_1SNOMEDCTEntityList = (output, context) => {
2150
+ const de_SNOMEDCTEntityList = (output, context) => {
2189
2151
  const retVal = (output || [])
2190
2152
  .filter((e) => e != null)
2191
2153
  .map((entry) => {
2192
2154
  if (entry === null) {
2193
2155
  return null;
2194
2156
  }
2195
- return deserializeAws_json1_1SNOMEDCTEntity(entry, context);
2157
+ return de_SNOMEDCTEntity(entry, context);
2196
2158
  });
2197
2159
  return retVal;
2198
2160
  };
2199
- const deserializeAws_json1_1SNOMEDCTTrait = (output, context) => {
2161
+ const de_SNOMEDCTTrait = (output, context) => {
2200
2162
  return {
2201
2163
  Name: (0, smithy_client_1.expectString)(output.Name),
2202
2164
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2203
2165
  };
2204
2166
  };
2205
- const deserializeAws_json1_1SNOMEDCTTraitList = (output, context) => {
2167
+ const de_SNOMEDCTTraitList = (output, context) => {
2206
2168
  const retVal = (output || [])
2207
2169
  .filter((e) => e != null)
2208
2170
  .map((entry) => {
2209
2171
  if (entry === null) {
2210
2172
  return null;
2211
2173
  }
2212
- return deserializeAws_json1_1SNOMEDCTTrait(entry, context);
2174
+ return de_SNOMEDCTTrait(entry, context);
2213
2175
  });
2214
2176
  return retVal;
2215
2177
  };
2216
- const deserializeAws_json1_1StartEntitiesDetectionV2JobResponse = (output, context) => {
2178
+ const de_StartEntitiesDetectionV2JobResponse = (output, context) => {
2217
2179
  return {
2218
2180
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2219
2181
  };
2220
2182
  };
2221
- const deserializeAws_json1_1StartICD10CMInferenceJobResponse = (output, context) => {
2183
+ const de_StartICD10CMInferenceJobResponse = (output, context) => {
2222
2184
  return {
2223
2185
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2224
2186
  };
2225
2187
  };
2226
- const deserializeAws_json1_1StartPHIDetectionJobResponse = (output, context) => {
2188
+ const de_StartPHIDetectionJobResponse = (output, context) => {
2227
2189
  return {
2228
2190
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2229
2191
  };
2230
2192
  };
2231
- const deserializeAws_json1_1StartRxNormInferenceJobResponse = (output, context) => {
2193
+ const de_StartRxNormInferenceJobResponse = (output, context) => {
2232
2194
  return {
2233
2195
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2234
2196
  };
2235
2197
  };
2236
- const deserializeAws_json1_1StartSNOMEDCTInferenceJobResponse = (output, context) => {
2198
+ const de_StartSNOMEDCTInferenceJobResponse = (output, context) => {
2237
2199
  return {
2238
2200
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2239
2201
  };
2240
2202
  };
2241
- const deserializeAws_json1_1StopEntitiesDetectionV2JobResponse = (output, context) => {
2203
+ const de_StopEntitiesDetectionV2JobResponse = (output, context) => {
2242
2204
  return {
2243
2205
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2244
2206
  };
2245
2207
  };
2246
- const deserializeAws_json1_1StopICD10CMInferenceJobResponse = (output, context) => {
2208
+ const de_StopICD10CMInferenceJobResponse = (output, context) => {
2247
2209
  return {
2248
2210
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2249
2211
  };
2250
2212
  };
2251
- const deserializeAws_json1_1StopPHIDetectionJobResponse = (output, context) => {
2213
+ const de_StopPHIDetectionJobResponse = (output, context) => {
2252
2214
  return {
2253
2215
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2254
2216
  };
2255
2217
  };
2256
- const deserializeAws_json1_1StopRxNormInferenceJobResponse = (output, context) => {
2218
+ const de_StopRxNormInferenceJobResponse = (output, context) => {
2257
2219
  return {
2258
2220
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2259
2221
  };
2260
2222
  };
2261
- const deserializeAws_json1_1StopSNOMEDCTInferenceJobResponse = (output, context) => {
2223
+ const de_StopSNOMEDCTInferenceJobResponse = (output, context) => {
2262
2224
  return {
2263
2225
  JobId: (0, smithy_client_1.expectString)(output.JobId),
2264
2226
  };
2265
2227
  };
2266
- const deserializeAws_json1_1TextSizeLimitExceededException = (output, context) => {
2228
+ const de_TextSizeLimitExceededException = (output, context) => {
2267
2229
  return {
2268
2230
  Message: (0, smithy_client_1.expectString)(output.Message),
2269
2231
  };
2270
2232
  };
2271
- const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
2233
+ const de_TooManyRequestsException = (output, context) => {
2272
2234
  return {
2273
2235
  Message: (0, smithy_client_1.expectString)(output.Message),
2274
2236
  };
2275
2237
  };
2276
- const deserializeAws_json1_1Trait = (output, context) => {
2238
+ const de_Trait = (output, context) => {
2277
2239
  return {
2278
2240
  Name: (0, smithy_client_1.expectString)(output.Name),
2279
2241
  Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
2280
2242
  };
2281
2243
  };
2282
- const deserializeAws_json1_1TraitList = (output, context) => {
2244
+ const de_TraitList = (output, context) => {
2283
2245
  const retVal = (output || [])
2284
2246
  .filter((e) => e != null)
2285
2247
  .map((entry) => {
2286
2248
  if (entry === null) {
2287
2249
  return null;
2288
2250
  }
2289
- return deserializeAws_json1_1Trait(entry, context);
2251
+ return de_Trait(entry, context);
2290
2252
  });
2291
2253
  return retVal;
2292
2254
  };
2293
- const deserializeAws_json1_1UnmappedAttribute = (output, context) => {
2255
+ const de_UnmappedAttribute = (output, context) => {
2294
2256
  return {
2295
- Attribute: output.Attribute != null ? deserializeAws_json1_1Attribute(output.Attribute, context) : undefined,
2257
+ Attribute: output.Attribute != null ? de_Attribute(output.Attribute, context) : undefined,
2296
2258
  Type: (0, smithy_client_1.expectString)(output.Type),
2297
2259
  };
2298
2260
  };
2299
- const deserializeAws_json1_1UnmappedAttributeList = (output, context) => {
2261
+ const de_UnmappedAttributeList = (output, context) => {
2300
2262
  const retVal = (output || [])
2301
2263
  .filter((e) => e != null)
2302
2264
  .map((entry) => {
2303
2265
  if (entry === null) {
2304
2266
  return null;
2305
2267
  }
2306
- return deserializeAws_json1_1UnmappedAttribute(entry, context);
2268
+ return de_UnmappedAttribute(entry, context);
2307
2269
  });
2308
2270
  return retVal;
2309
2271
  };
2310
- const deserializeAws_json1_1ValidationException = (output, context) => {
2272
+ const de_ValidationException = (output, context) => {
2311
2273
  return {
2312
2274
  Message: (0, smithy_client_1.expectString)(output.Message),
2313
2275
  };