@aws-sdk/client-comprehendmedical 3.1076.0 → 3.1078.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 (98) hide show
  1. package/dist-cjs/index.js +37 -265
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +2 -14
  4. package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +2 -14
  5. package/dist-es/commands/DescribePHIDetectionJobCommand.js +2 -14
  6. package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +2 -14
  7. package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +2 -14
  8. package/dist-es/commands/DetectEntitiesCommand.js +2 -14
  9. package/dist-es/commands/DetectEntitiesV2Command.js +2 -14
  10. package/dist-es/commands/DetectPHICommand.js +2 -14
  11. package/dist-es/commands/InferICD10CMCommand.js +2 -14
  12. package/dist-es/commands/InferRxNormCommand.js +2 -14
  13. package/dist-es/commands/InferSNOMEDCTCommand.js +2 -14
  14. package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +2 -14
  15. package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +2 -14
  16. package/dist-es/commands/ListPHIDetectionJobsCommand.js +2 -14
  17. package/dist-es/commands/ListRxNormInferenceJobsCommand.js +2 -14
  18. package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +2 -14
  19. package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +2 -14
  20. package/dist-es/commands/StartICD10CMInferenceJobCommand.js +2 -14
  21. package/dist-es/commands/StartPHIDetectionJobCommand.js +2 -14
  22. package/dist-es/commands/StartRxNormInferenceJobCommand.js +2 -14
  23. package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +2 -14
  24. package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +2 -14
  25. package/dist-es/commands/StopICD10CMInferenceJobCommand.js +2 -14
  26. package/dist-es/commands/StopPHIDetectionJobCommand.js +2 -14
  27. package/dist-es/commands/StopRxNormInferenceJobCommand.js +2 -14
  28. package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +2 -14
  29. package/dist-es/index.js +1 -0
  30. package/dist-es/runtimeConfig.browser.js +0 -2
  31. package/dist-es/runtimeConfig.js +1 -2
  32. package/dist-es/runtimeConfig.native.js +0 -2
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-types/commandBuilder.d.ts +18 -0
  35. package/dist-types/commands/DescribeEntitiesDetectionV2JobCommand.d.ts +3 -8
  36. package/dist-types/commands/DescribeICD10CMInferenceJobCommand.d.ts +3 -8
  37. package/dist-types/commands/DescribePHIDetectionJobCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeRxNormInferenceJobCommand.d.ts +3 -8
  39. package/dist-types/commands/DescribeSNOMEDCTInferenceJobCommand.d.ts +3 -8
  40. package/dist-types/commands/DetectEntitiesCommand.d.ts +3 -8
  41. package/dist-types/commands/DetectEntitiesV2Command.d.ts +3 -8
  42. package/dist-types/commands/DetectPHICommand.d.ts +3 -8
  43. package/dist-types/commands/InferICD10CMCommand.d.ts +3 -8
  44. package/dist-types/commands/InferRxNormCommand.d.ts +3 -8
  45. package/dist-types/commands/InferSNOMEDCTCommand.d.ts +3 -8
  46. package/dist-types/commands/ListEntitiesDetectionV2JobsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListICD10CMInferenceJobsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListPHIDetectionJobsCommand.d.ts +3 -8
  49. package/dist-types/commands/ListRxNormInferenceJobsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListSNOMEDCTInferenceJobsCommand.d.ts +3 -8
  51. package/dist-types/commands/StartEntitiesDetectionV2JobCommand.d.ts +3 -8
  52. package/dist-types/commands/StartICD10CMInferenceJobCommand.d.ts +3 -8
  53. package/dist-types/commands/StartPHIDetectionJobCommand.d.ts +3 -8
  54. package/dist-types/commands/StartRxNormInferenceJobCommand.d.ts +3 -8
  55. package/dist-types/commands/StartSNOMEDCTInferenceJobCommand.d.ts +3 -8
  56. package/dist-types/commands/StopEntitiesDetectionV2JobCommand.d.ts +3 -8
  57. package/dist-types/commands/StopICD10CMInferenceJobCommand.d.ts +3 -8
  58. package/dist-types/commands/StopPHIDetectionJobCommand.d.ts +3 -8
  59. package/dist-types/commands/StopRxNormInferenceJobCommand.d.ts +3 -8
  60. package/dist-types/commands/StopSNOMEDCTInferenceJobCommand.d.ts +3 -8
  61. package/dist-types/index.d.ts +1 -0
  62. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  63. package/dist-types/runtimeConfig.d.ts +1 -1
  64. package/dist-types/runtimeConfig.native.d.ts +1 -1
  65. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  66. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  67. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionV2JobCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DescribeICD10CMInferenceJobCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DescribePHIDetectionJobCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DescribeRxNormInferenceJobCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DescribeSNOMEDCTInferenceJobCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DetectEntitiesV2Command.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DetectPHICommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/InferICD10CMCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/InferRxNormCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/InferSNOMEDCTCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListEntitiesDetectionV2JobsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListICD10CMInferenceJobsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListPHIDetectionJobsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListRxNormInferenceJobsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListSNOMEDCTInferenceJobsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/StartEntitiesDetectionV2JobCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/StartICD10CMInferenceJobCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/StartPHIDetectionJobCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/StartRxNormInferenceJobCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/StartSNOMEDCTInferenceJobCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/StopEntitiesDetectionV2JobCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/StopICD10CMInferenceJobCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/StopPHIDetectionJobCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/StopRxNormInferenceJobCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/StopSNOMEDCTInferenceJobCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/index.d.ts +1 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  98. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultComprehendMedicalHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1005,6 +1007,7 @@ const getRuntimeConfig$1 = (config) => {
1005
1007
  serviceTarget: "ComprehendMedical_20181030",
1006
1008
  },
1007
1009
  serviceId: config?.serviceId ?? "ComprehendMedical",
1010
+ sha256: config?.sha256 ?? Sha256,
1008
1011
  urlParser: config?.urlParser ?? parseUrl,
1009
1012
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1010
1013
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1038,7 +1041,6 @@ const getRuntimeConfig = (config) => {
1038
1041
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1039
1042
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1040
1043
  }, config),
1041
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1042
1044
  streamCollector: config?.streamCollector ?? streamCollector,
1043
1045
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1044
1046
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1126,316 +1128,86 @@ class ComprehendMedicalClient extends Client {
1126
1128
  }
1127
1129
  }
1128
1130
 
1129
- class DescribeEntitiesDetectionV2JobCommand extends Command
1130
- .classBuilder()
1131
- .ep(commonParams)
1132
- .m(function (Command, cs, config, o) {
1133
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1134
- })
1135
- .s("ComprehendMedical_20181030", "DescribeEntitiesDetectionV2Job", {})
1136
- .n("ComprehendMedicalClient", "DescribeEntitiesDetectionV2JobCommand")
1137
- .sc(DescribeEntitiesDetectionV2Job$)
1138
- .build() {
1131
+ const command = makeBuilder(commonParams, "ComprehendMedical_20181030", "ComprehendMedicalClient", getEndpointPlugin);
1132
+ const _ep0 = {};
1133
+ const _mw0 = (Command, cs, config, o) => [];
1134
+
1135
+ class DescribeEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "DescribeEntitiesDetectionV2Job", DescribeEntitiesDetectionV2Job$) {
1139
1136
  }
1140
1137
 
1141
- class DescribeICD10CMInferenceJobCommand extends Command
1142
- .classBuilder()
1143
- .ep(commonParams)
1144
- .m(function (Command, cs, config, o) {
1145
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1146
- })
1147
- .s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {})
1148
- .n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand")
1149
- .sc(DescribeICD10CMInferenceJob$)
1150
- .build() {
1138
+ class DescribeICD10CMInferenceJobCommand extends command(_ep0, _mw0, "DescribeICD10CMInferenceJob", DescribeICD10CMInferenceJob$) {
1151
1139
  }
1152
1140
 
1153
- class DescribePHIDetectionJobCommand extends Command
1154
- .classBuilder()
1155
- .ep(commonParams)
1156
- .m(function (Command, cs, config, o) {
1157
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1158
- })
1159
- .s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {})
1160
- .n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand")
1161
- .sc(DescribePHIDetectionJob$)
1162
- .build() {
1141
+ class DescribePHIDetectionJobCommand extends command(_ep0, _mw0, "DescribePHIDetectionJob", DescribePHIDetectionJob$) {
1163
1142
  }
1164
1143
 
1165
- class DescribeRxNormInferenceJobCommand extends Command
1166
- .classBuilder()
1167
- .ep(commonParams)
1168
- .m(function (Command, cs, config, o) {
1169
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1170
- })
1171
- .s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {})
1172
- .n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand")
1173
- .sc(DescribeRxNormInferenceJob$)
1174
- .build() {
1144
+ class DescribeRxNormInferenceJobCommand extends command(_ep0, _mw0, "DescribeRxNormInferenceJob", DescribeRxNormInferenceJob$) {
1175
1145
  }
1176
1146
 
1177
- class DescribeSNOMEDCTInferenceJobCommand extends Command
1178
- .classBuilder()
1179
- .ep(commonParams)
1180
- .m(function (Command, cs, config, o) {
1181
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
- })
1183
- .s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {})
1184
- .n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand")
1185
- .sc(DescribeSNOMEDCTInferenceJob$)
1186
- .build() {
1147
+ class DescribeSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "DescribeSNOMEDCTInferenceJob", DescribeSNOMEDCTInferenceJob$) {
1187
1148
  }
1188
1149
 
1189
- class DetectEntitiesCommand extends Command
1190
- .classBuilder()
1191
- .ep(commonParams)
1192
- .m(function (Command, cs, config, o) {
1193
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
- })
1195
- .s("ComprehendMedical_20181030", "DetectEntities", {})
1196
- .n("ComprehendMedicalClient", "DetectEntitiesCommand")
1197
- .sc(DetectEntities$)
1198
- .build() {
1150
+ class DetectEntitiesCommand extends command(_ep0, _mw0, "DetectEntities", DetectEntities$) {
1199
1151
  }
1200
1152
 
1201
- class DetectEntitiesV2Command extends Command
1202
- .classBuilder()
1203
- .ep(commonParams)
1204
- .m(function (Command, cs, config, o) {
1205
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1206
- })
1207
- .s("ComprehendMedical_20181030", "DetectEntitiesV2", {})
1208
- .n("ComprehendMedicalClient", "DetectEntitiesV2Command")
1209
- .sc(DetectEntitiesV2$)
1210
- .build() {
1153
+ class DetectEntitiesV2Command extends command(_ep0, _mw0, "DetectEntitiesV2", DetectEntitiesV2$) {
1211
1154
  }
1212
1155
 
1213
- class DetectPHICommand extends Command
1214
- .classBuilder()
1215
- .ep(commonParams)
1216
- .m(function (Command, cs, config, o) {
1217
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1218
- })
1219
- .s("ComprehendMedical_20181030", "DetectPHI", {})
1220
- .n("ComprehendMedicalClient", "DetectPHICommand")
1221
- .sc(DetectPHI$)
1222
- .build() {
1156
+ class DetectPHICommand extends command(_ep0, _mw0, "DetectPHI", DetectPHI$) {
1223
1157
  }
1224
1158
 
1225
- class InferICD10CMCommand extends Command
1226
- .classBuilder()
1227
- .ep(commonParams)
1228
- .m(function (Command, cs, config, o) {
1229
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1230
- })
1231
- .s("ComprehendMedical_20181030", "InferICD10CM", {})
1232
- .n("ComprehendMedicalClient", "InferICD10CMCommand")
1233
- .sc(InferICD10CM$)
1234
- .build() {
1159
+ class InferICD10CMCommand extends command(_ep0, _mw0, "InferICD10CM", InferICD10CM$) {
1235
1160
  }
1236
1161
 
1237
- class InferRxNormCommand extends Command
1238
- .classBuilder()
1239
- .ep(commonParams)
1240
- .m(function (Command, cs, config, o) {
1241
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1242
- })
1243
- .s("ComprehendMedical_20181030", "InferRxNorm", {})
1244
- .n("ComprehendMedicalClient", "InferRxNormCommand")
1245
- .sc(InferRxNorm$)
1246
- .build() {
1162
+ class InferRxNormCommand extends command(_ep0, _mw0, "InferRxNorm", InferRxNorm$) {
1247
1163
  }
1248
1164
 
1249
- class InferSNOMEDCTCommand extends Command
1250
- .classBuilder()
1251
- .ep(commonParams)
1252
- .m(function (Command, cs, config, o) {
1253
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1254
- })
1255
- .s("ComprehendMedical_20181030", "InferSNOMEDCT", {})
1256
- .n("ComprehendMedicalClient", "InferSNOMEDCTCommand")
1257
- .sc(InferSNOMEDCT$)
1258
- .build() {
1165
+ class InferSNOMEDCTCommand extends command(_ep0, _mw0, "InferSNOMEDCT", InferSNOMEDCT$) {
1259
1166
  }
1260
1167
 
1261
- class ListEntitiesDetectionV2JobsCommand extends Command
1262
- .classBuilder()
1263
- .ep(commonParams)
1264
- .m(function (Command, cs, config, o) {
1265
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1266
- })
1267
- .s("ComprehendMedical_20181030", "ListEntitiesDetectionV2Jobs", {})
1268
- .n("ComprehendMedicalClient", "ListEntitiesDetectionV2JobsCommand")
1269
- .sc(ListEntitiesDetectionV2Jobs$)
1270
- .build() {
1168
+ class ListEntitiesDetectionV2JobsCommand extends command(_ep0, _mw0, "ListEntitiesDetectionV2Jobs", ListEntitiesDetectionV2Jobs$) {
1271
1169
  }
1272
1170
 
1273
- class ListICD10CMInferenceJobsCommand extends Command
1274
- .classBuilder()
1275
- .ep(commonParams)
1276
- .m(function (Command, cs, config, o) {
1277
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1278
- })
1279
- .s("ComprehendMedical_20181030", "ListICD10CMInferenceJobs", {})
1280
- .n("ComprehendMedicalClient", "ListICD10CMInferenceJobsCommand")
1281
- .sc(ListICD10CMInferenceJobs$)
1282
- .build() {
1171
+ class ListICD10CMInferenceJobsCommand extends command(_ep0, _mw0, "ListICD10CMInferenceJobs", ListICD10CMInferenceJobs$) {
1283
1172
  }
1284
1173
 
1285
- class ListPHIDetectionJobsCommand extends Command
1286
- .classBuilder()
1287
- .ep(commonParams)
1288
- .m(function (Command, cs, config, o) {
1289
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1290
- })
1291
- .s("ComprehendMedical_20181030", "ListPHIDetectionJobs", {})
1292
- .n("ComprehendMedicalClient", "ListPHIDetectionJobsCommand")
1293
- .sc(ListPHIDetectionJobs$)
1294
- .build() {
1174
+ class ListPHIDetectionJobsCommand extends command(_ep0, _mw0, "ListPHIDetectionJobs", ListPHIDetectionJobs$) {
1295
1175
  }
1296
1176
 
1297
- class ListRxNormInferenceJobsCommand extends Command
1298
- .classBuilder()
1299
- .ep(commonParams)
1300
- .m(function (Command, cs, config, o) {
1301
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1302
- })
1303
- .s("ComprehendMedical_20181030", "ListRxNormInferenceJobs", {})
1304
- .n("ComprehendMedicalClient", "ListRxNormInferenceJobsCommand")
1305
- .sc(ListRxNormInferenceJobs$)
1306
- .build() {
1177
+ class ListRxNormInferenceJobsCommand extends command(_ep0, _mw0, "ListRxNormInferenceJobs", ListRxNormInferenceJobs$) {
1307
1178
  }
1308
1179
 
1309
- class ListSNOMEDCTInferenceJobsCommand extends Command
1310
- .classBuilder()
1311
- .ep(commonParams)
1312
- .m(function (Command, cs, config, o) {
1313
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1314
- })
1315
- .s("ComprehendMedical_20181030", "ListSNOMEDCTInferenceJobs", {})
1316
- .n("ComprehendMedicalClient", "ListSNOMEDCTInferenceJobsCommand")
1317
- .sc(ListSNOMEDCTInferenceJobs$)
1318
- .build() {
1180
+ class ListSNOMEDCTInferenceJobsCommand extends command(_ep0, _mw0, "ListSNOMEDCTInferenceJobs", ListSNOMEDCTInferenceJobs$) {
1319
1181
  }
1320
1182
 
1321
- class StartEntitiesDetectionV2JobCommand extends Command
1322
- .classBuilder()
1323
- .ep(commonParams)
1324
- .m(function (Command, cs, config, o) {
1325
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1326
- })
1327
- .s("ComprehendMedical_20181030", "StartEntitiesDetectionV2Job", {})
1328
- .n("ComprehendMedicalClient", "StartEntitiesDetectionV2JobCommand")
1329
- .sc(StartEntitiesDetectionV2Job$)
1330
- .build() {
1183
+ class StartEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "StartEntitiesDetectionV2Job", StartEntitiesDetectionV2Job$) {
1331
1184
  }
1332
1185
 
1333
- class StartICD10CMInferenceJobCommand extends Command
1334
- .classBuilder()
1335
- .ep(commonParams)
1336
- .m(function (Command, cs, config, o) {
1337
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1338
- })
1339
- .s("ComprehendMedical_20181030", "StartICD10CMInferenceJob", {})
1340
- .n("ComprehendMedicalClient", "StartICD10CMInferenceJobCommand")
1341
- .sc(StartICD10CMInferenceJob$)
1342
- .build() {
1186
+ class StartICD10CMInferenceJobCommand extends command(_ep0, _mw0, "StartICD10CMInferenceJob", StartICD10CMInferenceJob$) {
1343
1187
  }
1344
1188
 
1345
- class StartPHIDetectionJobCommand extends Command
1346
- .classBuilder()
1347
- .ep(commonParams)
1348
- .m(function (Command, cs, config, o) {
1349
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1350
- })
1351
- .s("ComprehendMedical_20181030", "StartPHIDetectionJob", {})
1352
- .n("ComprehendMedicalClient", "StartPHIDetectionJobCommand")
1353
- .sc(StartPHIDetectionJob$)
1354
- .build() {
1189
+ class StartPHIDetectionJobCommand extends command(_ep0, _mw0, "StartPHIDetectionJob", StartPHIDetectionJob$) {
1355
1190
  }
1356
1191
 
1357
- class StartRxNormInferenceJobCommand extends Command
1358
- .classBuilder()
1359
- .ep(commonParams)
1360
- .m(function (Command, cs, config, o) {
1361
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1362
- })
1363
- .s("ComprehendMedical_20181030", "StartRxNormInferenceJob", {})
1364
- .n("ComprehendMedicalClient", "StartRxNormInferenceJobCommand")
1365
- .sc(StartRxNormInferenceJob$)
1366
- .build() {
1192
+ class StartRxNormInferenceJobCommand extends command(_ep0, _mw0, "StartRxNormInferenceJob", StartRxNormInferenceJob$) {
1367
1193
  }
1368
1194
 
1369
- class StartSNOMEDCTInferenceJobCommand extends Command
1370
- .classBuilder()
1371
- .ep(commonParams)
1372
- .m(function (Command, cs, config, o) {
1373
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1374
- })
1375
- .s("ComprehendMedical_20181030", "StartSNOMEDCTInferenceJob", {})
1376
- .n("ComprehendMedicalClient", "StartSNOMEDCTInferenceJobCommand")
1377
- .sc(StartSNOMEDCTInferenceJob$)
1378
- .build() {
1195
+ class StartSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "StartSNOMEDCTInferenceJob", StartSNOMEDCTInferenceJob$) {
1379
1196
  }
1380
1197
 
1381
- class StopEntitiesDetectionV2JobCommand extends Command
1382
- .classBuilder()
1383
- .ep(commonParams)
1384
- .m(function (Command, cs, config, o) {
1385
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1386
- })
1387
- .s("ComprehendMedical_20181030", "StopEntitiesDetectionV2Job", {})
1388
- .n("ComprehendMedicalClient", "StopEntitiesDetectionV2JobCommand")
1389
- .sc(StopEntitiesDetectionV2Job$)
1390
- .build() {
1198
+ class StopEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "StopEntitiesDetectionV2Job", StopEntitiesDetectionV2Job$) {
1391
1199
  }
1392
1200
 
1393
- class StopICD10CMInferenceJobCommand extends Command
1394
- .classBuilder()
1395
- .ep(commonParams)
1396
- .m(function (Command, cs, config, o) {
1397
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1398
- })
1399
- .s("ComprehendMedical_20181030", "StopICD10CMInferenceJob", {})
1400
- .n("ComprehendMedicalClient", "StopICD10CMInferenceJobCommand")
1401
- .sc(StopICD10CMInferenceJob$)
1402
- .build() {
1201
+ class StopICD10CMInferenceJobCommand extends command(_ep0, _mw0, "StopICD10CMInferenceJob", StopICD10CMInferenceJob$) {
1403
1202
  }
1404
1203
 
1405
- class StopPHIDetectionJobCommand extends Command
1406
- .classBuilder()
1407
- .ep(commonParams)
1408
- .m(function (Command, cs, config, o) {
1409
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1410
- })
1411
- .s("ComprehendMedical_20181030", "StopPHIDetectionJob", {})
1412
- .n("ComprehendMedicalClient", "StopPHIDetectionJobCommand")
1413
- .sc(StopPHIDetectionJob$)
1414
- .build() {
1204
+ class StopPHIDetectionJobCommand extends command(_ep0, _mw0, "StopPHIDetectionJob", StopPHIDetectionJob$) {
1415
1205
  }
1416
1206
 
1417
- class StopRxNormInferenceJobCommand extends Command
1418
- .classBuilder()
1419
- .ep(commonParams)
1420
- .m(function (Command, cs, config, o) {
1421
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1422
- })
1423
- .s("ComprehendMedical_20181030", "StopRxNormInferenceJob", {})
1424
- .n("ComprehendMedicalClient", "StopRxNormInferenceJobCommand")
1425
- .sc(StopRxNormInferenceJob$)
1426
- .build() {
1207
+ class StopRxNormInferenceJobCommand extends command(_ep0, _mw0, "StopRxNormInferenceJob", StopRxNormInferenceJob$) {
1427
1208
  }
1428
1209
 
1429
- class StopSNOMEDCTInferenceJobCommand extends Command
1430
- .classBuilder()
1431
- .ep(commonParams)
1432
- .m(function (Command, cs, config, o) {
1433
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1434
- })
1435
- .s("ComprehendMedical_20181030", "StopSNOMEDCTInferenceJob", {})
1436
- .n("ComprehendMedicalClient", "StopSNOMEDCTInferenceJobCommand")
1437
- .sc(StopSNOMEDCTInferenceJob$)
1438
- .build() {
1210
+ class StopSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "StopSNOMEDCTInferenceJob", StopSNOMEDCTInferenceJob$) {
1439
1211
  }
1440
1212
 
1441
1213
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "ComprehendMedical_20181030", "ComprehendMedicalClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeEntitiesDetectionV2Job$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEntitiesDetectionV2JobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DescribeEntitiesDetectionV2Job", {})
13
- .n("ComprehendMedicalClient", "DescribeEntitiesDetectionV2JobCommand")
14
- .sc(DescribeEntitiesDetectionV2Job$)
15
- .build() {
3
+ export class DescribeEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "DescribeEntitiesDetectionV2Job", DescribeEntitiesDetectionV2Job$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeICD10CMInferenceJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeICD10CMInferenceJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {})
13
- .n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand")
14
- .sc(DescribeICD10CMInferenceJob$)
15
- .build() {
3
+ export class DescribeICD10CMInferenceJobCommand extends command(_ep0, _mw0, "DescribeICD10CMInferenceJob", DescribeICD10CMInferenceJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribePHIDetectionJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribePHIDetectionJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {})
13
- .n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand")
14
- .sc(DescribePHIDetectionJob$)
15
- .build() {
3
+ export class DescribePHIDetectionJobCommand extends command(_ep0, _mw0, "DescribePHIDetectionJob", DescribePHIDetectionJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeRxNormInferenceJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRxNormInferenceJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {})
13
- .n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand")
14
- .sc(DescribeRxNormInferenceJob$)
15
- .build() {
3
+ export class DescribeRxNormInferenceJobCommand extends command(_ep0, _mw0, "DescribeRxNormInferenceJob", DescribeRxNormInferenceJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSNOMEDCTInferenceJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSNOMEDCTInferenceJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {})
13
- .n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand")
14
- .sc(DescribeSNOMEDCTInferenceJob$)
15
- .build() {
3
+ export class DescribeSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "DescribeSNOMEDCTInferenceJob", DescribeSNOMEDCTInferenceJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DetectEntities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DetectEntitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DetectEntities", {})
13
- .n("ComprehendMedicalClient", "DetectEntitiesCommand")
14
- .sc(DetectEntities$)
15
- .build() {
3
+ export class DetectEntitiesCommand extends command(_ep0, _mw0, "DetectEntities", DetectEntities$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DetectEntitiesV2$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DetectEntitiesV2Command extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DetectEntitiesV2", {})
13
- .n("ComprehendMedicalClient", "DetectEntitiesV2Command")
14
- .sc(DetectEntitiesV2$)
15
- .build() {
3
+ export class DetectEntitiesV2Command extends command(_ep0, _mw0, "DetectEntitiesV2", DetectEntitiesV2$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DetectPHI$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DetectPHICommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "DetectPHI", {})
13
- .n("ComprehendMedicalClient", "DetectPHICommand")
14
- .sc(DetectPHI$)
15
- .build() {
3
+ export class DetectPHICommand extends command(_ep0, _mw0, "DetectPHI", DetectPHI$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InferICD10CM$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InferICD10CMCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "InferICD10CM", {})
13
- .n("ComprehendMedicalClient", "InferICD10CMCommand")
14
- .sc(InferICD10CM$)
15
- .build() {
3
+ export class InferICD10CMCommand extends command(_ep0, _mw0, "InferICD10CM", InferICD10CM$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InferRxNorm$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InferRxNormCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "InferRxNorm", {})
13
- .n("ComprehendMedicalClient", "InferRxNormCommand")
14
- .sc(InferRxNorm$)
15
- .build() {
3
+ export class InferRxNormCommand extends command(_ep0, _mw0, "InferRxNorm", InferRxNorm$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InferSNOMEDCT$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InferSNOMEDCTCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "InferSNOMEDCT", {})
13
- .n("ComprehendMedicalClient", "InferSNOMEDCTCommand")
14
- .sc(InferSNOMEDCT$)
15
- .build() {
3
+ export class InferSNOMEDCTCommand extends command(_ep0, _mw0, "InferSNOMEDCT", InferSNOMEDCT$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEntitiesDetectionV2Jobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEntitiesDetectionV2JobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComprehendMedical_20181030", "ListEntitiesDetectionV2Jobs", {})
13
- .n("ComprehendMedicalClient", "ListEntitiesDetectionV2JobsCommand")
14
- .sc(ListEntitiesDetectionV2Jobs$)
15
- .build() {
3
+ export class ListEntitiesDetectionV2JobsCommand extends command(_ep0, _mw0, "ListEntitiesDetectionV2Jobs", ListEntitiesDetectionV2Jobs$) {
16
4
  }