/proc/2/root/var/runtime/node_modules/@aws-sdk/client-comprehendmedical/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;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");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultComprehendMedicalHttpAuthSchemeParametersProvider = async (config, context, input) => { return { operation: getSmithyContext(context).operation, region: await normalizeProvider(config.region)() || (() => { throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); })(), };};function createAwsAuthSigv4HttpAuthOption(authParameters) { return { schemeId: "aws.auth#sigv4", signingProperties: { name: "comprehendmedical", region: authParameters.region, }, propertiesExtractor: (config, context) => ({ signingProperties: { config, context, }, }), };}const defaultComprehendMedicalHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } } return options;};const resolveHttpAuthSchemeConfig = (config) => { const config_0 = resolveAwsSdkSigV4Config(config); return Object.assign(config_0, { authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), });}; const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "comprehendmedical", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = { version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = { conditions: [ [c, [g]], [c, j], ["aws.partition", j, d], [e, [{ [k]: "UseFIPS" }, b]], [e, [{ [k]: "UseDualStack" }, b]], [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]] ], results: [ [a], [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], [g, i], ["https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], ["https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}", i], [a, "FIPS is enabled but this partition does not support FIPS"], ["https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "DualStack is enabled but this partition does not support DualStack"], ["https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", i], [a, "Invalid Configuration: Missing Region"] ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([ -1, 1, -1, 0, 12, 3, 1, 4, r + 11, 2, 5, r + 11, 3, 8, 6, 4, 7, r + 10, 5, r + 8, r + 9, 4, 10, 9, 6, r + 6, r + 7, 5, 11, r + 5, 6, r + 4, r + 5, 3, r + 1, 13, 4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({ size: 50, params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => { return cache.get(endpointParams, () => decideEndpoint(bdd, { endpointParams: endpointParams, logger: context.logger, }));};customEndpointFunctions.aws = awsEndpointFunctions; class ComprehendMedicalServiceException extends ServiceException { constructor(options) { super(options); Object.setPrototypeOf(this, ComprehendMedicalServiceException.prototype); }} class InternalServerException extends ComprehendMedicalServiceException { name = "InternalServerException"; $fault = "server"; Message; constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InternalServerException.prototype); this.Message = opts.Message; }}class InvalidRequestException extends ComprehendMedicalServiceException { name = "InvalidRequestException"; $fault = "client"; Message; constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidRequestException.prototype); this.Message = opts.Message; }}class ResourceNotFoundException extends ComprehendMedicalServiceException { name = "ResourceNotFoundException"; $fault = "client"; Message; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); this.Message = opts.Message; }}class TooManyRequestsException extends ComprehendMedicalServiceException { name = "TooManyRequestsException"; $fault = "client"; Message; constructor(opts) { super({ name: "TooManyRequestsException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, TooManyRequestsException.prototype); this.Message = opts.Message; }}class InvalidEncodingException extends ComprehendMedicalServiceException { name = "InvalidEncodingException"; $fault = "client"; Message; constructor(opts) { super({ name: "InvalidEncodingException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidEncodingException.prototype); this.Message = opts.Message; }}class ServiceUnavailableException extends ComprehendMedicalServiceException { name = "ServiceUnavailableException"; $fault = "server"; Message; constructor(opts) { super({ name: "ServiceUnavailableException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, ServiceUnavailableException.prototype); this.Message = opts.Message; }}class TextSizeLimitExceededException extends ComprehendMedicalServiceException { name = "TextSizeLimitExceededException"; $fault = "client"; Message; constructor(opts) { super({ name: "TextSizeLimitExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype); this.Message = opts.Message; }}class ValidationException extends ComprehendMedicalServiceException { name = "ValidationException"; $fault = "client"; Message; constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ValidationException.prototype); this.Message = opts.Message; }} const _A = "Attribute";const _AL = "AttributeList";const _At = "Attributes";const _BO = "BeginOffset";const _C = "Category";const _CMAJF = "ComprehendMedicalAsyncJobFilter";const _CMAJP = "ComprehendMedicalAsyncJobProperties";const _CMAJPL = "ComprehendMedicalAsyncJobPropertiesList";const _CRT = "ClientRequestToken";const _Ch = "Characters";const _Co = "Code";const _D = "Description";const _DARA = "DataAccessRoleArn";const _DE = "DetectEntities";const _DEDVJ = "DescribeEntitiesDetectionV2Job";const _DEDVJR = "DescribeEntitiesDetectionV2JobRequest";const _DEDVJRe = "DescribeEntitiesDetectionV2JobResponse";const _DER = "DetectEntitiesRequest";const _DERe = "DetectEntitiesResponse";const _DEV = "DetectEntitiesV2";const _DEVR = "DetectEntitiesV2Request";const _DEVRe = "DetectEntitiesV2Response";const _DICDCMIJ = "DescribeICD10CMInferenceJob";const _DICDCMIJR = "DescribeICD10CMInferenceJobRequest";const _DICDCMIJRe = "DescribeICD10CMInferenceJobResponse";const _DPHI = "DetectPHI";const _DPHIDJ = "DescribePHIDetectionJob";const _DPHIDJR = "DescribePHIDetectionJobRequest";const _DPHIDJRe = "DescribePHIDetectionJobResponse";const _DPHIR = "DetectPHIRequest";const _DPHIRe = "DetectPHIResponse";const _DRNIJ = "DescribeRxNormInferenceJob";const _DRNIJR = "DescribeRxNormInferenceJobRequest";const _DRNIJRe = "DescribeRxNormInferenceJobResponse";const _DSNOMEDCTIJ = "DescribeSNOMEDCTInferenceJob";const _DSNOMEDCTIJR = "DescribeSNOMEDCTInferenceJobRequest";const _DSNOMEDCTIJRe = "DescribeSNOMEDCTInferenceJobResponse";const _E = "Entities";const _EL = "EntityList";const _EO = "EndOffset";const _ET = "EndTime";const _ETx = "ExpirationTime";const _Ed = "Edition";const _En = "Entity";const _F = "Filter";const _I = "Id";const _ICDCMA = "ICD10CMAttribute";const _ICDCMAL = "ICD10CMAttributeList";const _ICDCMC = "ICD10CMConcept";const _ICDCMCL = "ICD10CMConceptList";const _ICDCMCo = "ICD10CMConcepts";const _ICDCME = "ICD10CMEntity";const _ICDCMEL = "ICD10CMEntityList";const _ICDCMT = "ICD10CMTrait";const _ICDCMTL = "ICD10CMTraitList";const _IDC = "InputDataConfig";const _IEE = "InvalidEncodingException";const _IICDCM = "InferICD10CM";const _IICDCMR = "InferICD10CMRequest";const _IICDCMRn = "InferICD10CMResponse";const _IRE = "InvalidRequestException";const _IRN = "InferRxNorm";const _IRNR = "InferRxNormRequest";const _IRNRn = "InferRxNormResponse";const _ISE = "InternalServerException";const _ISNOMEDCT = "InferSNOMEDCT";const _ISNOMEDCTR = "InferSNOMEDCTRequest";const _ISNOMEDCTRn = "InferSNOMEDCTResponse";const _JI = "JobId";const _JN = "JobName";const _JS = "JobStatus";const _KMSK = "KMSKey";const _L = "Language";const _LC = "LanguageCode";const _LEDVJ = "ListEntitiesDetectionV2Jobs";const _LEDVJR = "ListEntitiesDetectionV2JobsRequest";const _LEDVJRi = "ListEntitiesDetectionV2JobsResponse";const _LICDCMIJ = "ListICD10CMInferenceJobs";const _LICDCMIJR = "ListICD10CMInferenceJobsRequest";const _LICDCMIJRi = "ListICD10CMInferenceJobsResponse";const _LPHIDJ = "ListPHIDetectionJobs";const _LPHIDJR = "ListPHIDetectionJobsRequest";const _LPHIDJRi = "ListPHIDetectionJobsResponse";const _LRNIJ = "ListRxNormInferenceJobs";const _LRNIJR = "ListRxNormInferenceJobsRequest";const _LRNIJRi = "ListRxNormInferenceJobsResponse";const _LSNOMEDCTIJ = "ListSNOMEDCTInferenceJobs";const _LSNOMEDCTIJR = "ListSNOMEDCTInferenceJobsRequest";const _LSNOMEDCTIJRi = "ListSNOMEDCTInferenceJobsResponse";const _M = "Message";const _MFP = "ManifestFilePath";const _MR = "MaxResults";const _MV = "ModelVersion";const _N = "Name";const _NT = "NextToken";const _ODC = "OutputDataConfig";const _OTC = "OriginalTextCharacters";const _PT = "PaginationToken";const _RNA = "RxNormAttribute";const _RNAL = "RxNormAttributeList";const _RNC = "RxNormConcept";const _RNCL = "RxNormConceptList";const _RNCx = "RxNormConcepts";const _RNE = "RxNormEntity";const _RNEL = "RxNormEntityList";const _RNFE = "ResourceNotFoundException";const _RNT = "RxNormTrait";const _RNTL = "RxNormTraitList";const _RS = "RelationshipScore";const _RT = "RelationshipType";const _S = "Score";const _SB = "S3Bucket";const _SEDVJ = "StartEntitiesDetectionV2Job";const _SEDVJR = "StartEntitiesDetectionV2JobRequest";const _SEDVJRt = "StartEntitiesDetectionV2JobResponse";const _SEDVJRto = "StopEntitiesDetectionV2JobRequest";const _SEDVJRtop = "StopEntitiesDetectionV2JobResponse";const _SEDVJt = "StopEntitiesDetectionV2Job";const _SICDCMIJ = "StartICD10CMInferenceJob";const _SICDCMIJR = "StartICD10CMInferenceJobRequest";const _SICDCMIJRt = "StartICD10CMInferenceJobResponse";const _SICDCMIJRto = "StopICD10CMInferenceJobRequest";const _SICDCMIJRtop = "StopICD10CMInferenceJobResponse";const _SICDCMIJt = "StopICD10CMInferenceJob";const _SK = "S3Key";const _SNOMEDCTA = "SNOMEDCTAttribute";const _SNOMEDCTAL = "SNOMEDCTAttributeList";const _SNOMEDCTC = "SNOMEDCTConcepts";const _SNOMEDCTCL = "SNOMEDCTConceptList";const _SNOMEDCTCo = "SNOMEDCTConcept";const _SNOMEDCTD = "SNOMEDCTDetails";const _SNOMEDCTE = "SNOMEDCTEntity";const _SNOMEDCTEL = "SNOMEDCTEntityList";const _SNOMEDCTT = "SNOMEDCTTrait";const _SNOMEDCTTL = "SNOMEDCTTraitList";const _SPHIDJ = "StartPHIDetectionJob";const _SPHIDJR = "StartPHIDetectionJobRequest";const _SPHIDJRt = "StartPHIDetectionJobResponse";const _SPHIDJRto = "StopPHIDetectionJobRequest";const _SPHIDJRtop = "StopPHIDetectionJobResponse";const _SPHIDJt = "StopPHIDetectionJob";const _SRNIJ = "StartRxNormInferenceJob";const _SRNIJR = "StartRxNormInferenceJobRequest";const _SRNIJRt = "StartRxNormInferenceJobResponse";const _SRNIJRto = "StopRxNormInferenceJobRequest";const _SRNIJRtop = "StopRxNormInferenceJobResponse";const _SRNIJt = "StopRxNormInferenceJob";const _SSNOMEDCTIJ = "StartSNOMEDCTInferenceJob";const _SSNOMEDCTIJR = "StartSNOMEDCTInferenceJobRequest";const _SSNOMEDCTIJRt = "StartSNOMEDCTInferenceJobResponse";const _SSNOMEDCTIJRto = "StopSNOMEDCTInferenceJobRequest";const _SSNOMEDCTIJRtop = "StopSNOMEDCTInferenceJobResponse";const _SSNOMEDCTIJt = "StopSNOMEDCTInferenceJob";const _ST = "SubmitTime";const _STA = "SubmitTimeAfter";const _STB = "SubmitTimeBefore";const _SUE = "ServiceUnavailableException";const _T = "Type";const _TL = "TraitList";const _TMRE = "TooManyRequestsException";const _TSLEE = "TextSizeLimitExceededException";const _Te = "Text";const _Tr = "Traits";const _Tra = "Trait";const _UA = "UnmappedAttributes";const _UAL = "UnmappedAttributeList";const _UAn = "UnmappedAttribute";const _VD = "VersionDate";const _VE = "ValidationException";const _c = "client";const _e = "error";const _hE = "httpError";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.comprehendmedical";const _se = "server";const n0 = "com.amazonaws.comprehendmedical";const _s_registry = TypeRegistry.for(_s);var ComprehendMedicalServiceException$ = [-3, _s, "ComprehendMedicalServiceException", 0, [], []];_s_registry.registerError(ComprehendMedicalServiceException$, ComprehendMedicalServiceException);const n0_registry = TypeRegistry.for(n0);var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_M], [0]];n0_registry.registerError(InternalServerException$, InternalServerException);var InvalidEncodingException$ = [-3, n0, _IEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];n0_registry.registerError(InvalidEncodingException$, InvalidEncodingException);var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];n0_registry.registerError(InvalidRequestException$, InvalidRequestException);var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_M], [0]];n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);var TextSizeLimitExceededException$ = [-3, n0, _TSLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];n0_registry.registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [ _s_registry, n0_registry,];var Attribute$ = [3, n0, _A, 0, [_T, _S, _RS, _RT, _I, _BO, _EO, _Te, _C, _Tr], [0, 1, 1, 0, 1, 1, 1, 0, 0, () => TraitList]];var Characters$ = [3, n0, _Ch, 0, [_OTC], [1]];var ComprehendMedicalAsyncJobFilter$ = [3, n0, _CMAJF, 0, [_JN, _JS, _STB, _STA], [0, 0, 4, 4]];var ComprehendMedicalAsyncJobProperties$ = [3, n0, _CMAJP, 0, [_JI, _JN, _JS, _M, _ST, _ET, _ETx, _IDC, _ODC, _LC, _DARA, _MFP, _KMSK, _MV], [0, 0, 0, 0, 4, 4, 4, () => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, 0, 0]];var DescribeEntitiesDetectionV2JobRequest$ = [3, n0, _DEDVJR, 0, [_JI], [0], 1];var DescribeEntitiesDetectionV2JobResponse$ = [3, n0, _DEDVJRe, 0, [_CMAJP], [() => ComprehendMedicalAsyncJobProperties$]];var DescribeICD10CMInferenceJobRequest$ = [3, n0, _DICDCMIJR, 0, [_JI], [0], 1];var DescribeICD10CMInferenceJobResponse$ = [3, n0, _DICDCMIJRe, 0, [_CMAJP], [() => ComprehendMedicalAsyncJobProperties$]];var DescribePHIDetectionJobRequest$ = [3, n0, _DPHIDJR, 0, [_JI], [0], 1];var DescribePHIDetectionJobResponse$ = [3, n0, _DPHIDJRe, 0, [_CMAJP], [() => ComprehendMedicalAsyncJobProperties$]];var DescribeRxNormInferenceJobRequest$ = [3, n0, _DRNIJR, 0, [_JI], [0], 1];var DescribeRxNormInferenceJobResponse$ = [3, n0, _DRNIJRe, 0, [_CMAJP], [() => ComprehendMedicalAsyncJobProperties$]];var DescribeSNOMEDCTInferenceJobRequest$ = [3, n0, _DSNOMEDCTIJR, 0, [_JI], [0], 1];var DescribeSNOMEDCTInferenceJobResponse$ = [3, n0, _DSNOMEDCTIJRe, 0, [_CMAJP], [() => ComprehendMedicalAsyncJobProperties$]];var DetectEntitiesRequest$ = [3, n0, _DER, 0, [_Te], [0], 1];var DetectEntitiesResponse$ = [3, n0, _DERe, 0, [_E, _MV, _UA, _PT], [() => EntityList, 0, () => UnmappedAttributeList, 0], 2];var DetectEntitiesV2Request$ = [3, n0, _DEVR, 0, [_Te], [0], 1];var DetectEntitiesV2Response$ = [3, n0, _DEVRe, 0, [_E, _MV, _UA, _PT], [() => EntityList, 0, () => UnmappedAttributeList, 0], 2];var DetectPHIRequest$ = [3, n0, _DPHIR, 0, [_Te], [0], 1];var DetectPHIResponse$ = [3, n0, _DPHIRe, 0, [_E, _MV, _PT], [() => EntityList, 0, 0], 2];var Entity$ = [3, n0, _En, 0, [_I, _BO, _EO, _S, _Te, _C, _T, _Tr, _At], [1, 1, 1, 1, 0, 0, 0, () => TraitList, () => AttributeList]];var ICD10CMAttribute$ = [3, n0, _ICDCMA, 0, [_T, _S, _RS, _I, _BO, _EO, _Te, _Tr, _C, _RT], [0, 1, 1, 1, 1, 1, 0, () => ICD10CMTraitList, 0, 0]];var ICD10CMConcept$ = [3, n0, _ICDCMC, 0, [_D, _Co, _S], [0, 0, 1]];var ICD10CMEntity$ = [3, n0, _ICDCME, 0, [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _ICDCMCo], [1, 0, 0, 0, 1, 1, 1, () => ICD10CMAttributeList, () => ICD10CMTraitList, () => ICD10CMConceptList]];var ICD10CMTrait$ = [3, n0, _ICDCMT, 0, [_N, _S], [0, 1]];var InferICD10CMRequest$ = [3, n0, _IICDCMR, 0, [_Te], [0], 1];var InferICD10CMResponse$ = [3, n0, _IICDCMRn, 0, [_E, _PT, _MV], [() => ICD10CMEntityList, 0, 0], 1];var InferRxNormRequest$ = [3, n0, _IRNR, 0, [_Te], [0], 1];var InferRxNormResponse$ = [3, n0, _IRNRn, 0, [_E, _PT, _MV], [() => RxNormEntityList, 0, 0], 1];var InferSNOMEDCTRequest$ = [3, n0, _ISNOMEDCTR, 0, [_Te], [0], 1];var InferSNOMEDCTResponse$ = [3, n0, _ISNOMEDCTRn, 0, [_E, _PT, _MV, _SNOMEDCTD, _Ch], [() => SNOMEDCTEntityList, 0, 0, () => SNOMEDCTDetails$, () => Characters$], 1];var InputDataConfig$ = [3, n0, _IDC, 0, [_SB, _SK], [0, 0], 1];var ListEntitiesDetectionV2JobsRequest$ = [3, n0, _LEDVJR, 0, [_F, _NT, _MR], [() => ComprehendMedicalAsyncJobFilter$, 0, 1]];var ListEntitiesDetectionV2JobsResponse$ = [3, n0, _LEDVJRi, 0, [_CMAJPL, _NT], [() => ComprehendMedicalAsyncJobPropertiesList, 0]];var ListICD10CMInferenceJobsRequest$ = [3, n0, _LICDCMIJR, 0, [_F, _NT, _MR], [() => ComprehendMedicalAsyncJobFilter$, 0, 1]];var ListICD10CMInferenceJobsResponse$ = [3, n0, _LICDCMIJRi, 0, [_CMAJPL, _NT], [() => ComprehendMedicalAsyncJobPropertiesList, 0]];var ListPHIDetectionJobsRequest$ = [3, n0, _LPHIDJR, 0, [_F, _NT, _MR], [() => ComprehendMedicalAsyncJobFilter$, 0, 1]];var ListPHIDetectionJobsResponse$ = [3, n0, _LPHIDJRi, 0, [_CMAJPL, _NT], [() => ComprehendMedicalAsyncJobPropertiesList, 0]];var ListRxNormInferenceJobsRequest$ = [3, n0, _LRNIJR, 0, [_F, _NT, _MR], [() => ComprehendMedicalAsyncJobFilter$, 0, 1]];var ListRxNormInferenceJobsResponse$ = [3, n0, _LRNIJRi, 0, [_CMAJPL, _NT], [() => ComprehendMedicalAsyncJobPropertiesList, 0]];var ListSNOMEDCTInferenceJobsRequest$ = [3, n0, _LSNOMEDCTIJR, 0, [_F, _NT, _MR], [() => ComprehendMedicalAsyncJobFilter$, 0, 1]];var ListSNOMEDCTInferenceJobsResponse$ = [3, n0, _LSNOMEDCTIJRi, 0, [_CMAJPL, _NT], [() => ComprehendMedicalAsyncJobPropertiesList, 0]];var OutputDataConfig$ = [3, n0, _ODC, 0, [_SB, _SK], [0, 0], 1];var RxNormAttribute$ = [3, n0, _RNA, 0, [_T, _S, _RS, _I, _BO, _EO, _Te, _Tr], [0, 1, 1, 1, 1, 1, 0, () => RxNormTraitList]];var RxNormConcept$ = [3, n0, _RNC, 0, [_D, _Co, _S], [0, 0, 1]];var RxNormEntity$ = [3, n0, _RNE, 0, [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _RNCx], [1, 0, 0, 0, 1, 1, 1, () => RxNormAttributeList, () => RxNormTraitList, () => RxNormConceptList]];var RxNormTrait$ = [3, n0, _RNT, 0, [_N, _S], [0, 1]];var SNOMEDCTAttribute$ = [3, n0, _SNOMEDCTA, 0, [_C, _T, _S, _RS, _RT, _I, _BO, _EO, _Te, _Tr, _SNOMEDCTC], [0, 0, 1, 1, 0, 1, 1, 1, 0, () => SNOMEDCTTraitList, () => SNOMEDCTConceptList]];var SNOMEDCTConcept$ = [3, n0, _SNOMEDCTCo, 0, [_D, _Co, _S], [0, 0, 1]];var SNOMEDCTDetails$ = [3, n0, _SNOMEDCTD, 0, [_Ed, _L, _VD], [0, 0, 0]];var SNOMEDCTEntity$ = [3, n0, _SNOMEDCTE, 0, [_I, _Te, _C, _T, _S, _BO, _EO, _At, _Tr, _SNOMEDCTC], [1, 0, 0, 0, 1, 1, 1, () => SNOMEDCTAttributeList, () => SNOMEDCTTraitList, () => SNOMEDCTConceptList]];var SNOMEDCTTrait$ = [3, n0, _SNOMEDCTT, 0, [_N, _S], [0, 1]];var StartEntitiesDetectionV2JobRequest$ = [3, n0, _SEDVJR, 0, [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK], [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4];var StartEntitiesDetectionV2JobResponse$ = [3, n0, _SEDVJRt, 0, [_JI], [0]];var StartICD10CMInferenceJobRequest$ = [3, n0, _SICDCMIJR, 0, [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK], [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4];var StartICD10CMInferenceJobResponse$ = [3, n0, _SICDCMIJRt, 0, [_JI], [0]];var StartPHIDetectionJobRequest$ = [3, n0, _SPHIDJR, 0, [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK], [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4];var StartPHIDetectionJobResponse$ = [3, n0, _SPHIDJRt, 0, [_JI], [0]];var StartRxNormInferenceJobRequest$ = [3, n0, _SRNIJR, 0, [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK], [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4];var StartRxNormInferenceJobResponse$ = [3, n0, _SRNIJRt, 0, [_JI], [0]];var StartSNOMEDCTInferenceJobRequest$ = [3, n0, _SSNOMEDCTIJR, 0, [_IDC, _ODC, _DARA, _LC, _JN, _CRT, _KMSK], [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0], 4];var StartSNOMEDCTInferenceJobResponse$ = [3, n0, _SSNOMEDCTIJRt, 0, [_JI], [0]];var StopEntitiesDetectionV2JobRequest$ = [3, n0, _SEDVJRto, 0, [_JI], [0], 1];var StopEntitiesDetectionV2JobResponse$ = [3, n0, _SEDVJRtop, 0, [_JI], [0]];var StopICD10CMInferenceJobRequest$ = [3, n0, _SICDCMIJRto, 0, [_JI], [0], 1];var StopICD10CMInferenceJobResponse$ = [3, n0, _SICDCMIJRtop, 0, [_JI], [0]];var StopPHIDetectionJobRequest$ = [3, n0, _SPHIDJRto, 0, [_JI], [0], 1];var StopPHIDetectionJobResponse$ = [3, n0, _SPHIDJRtop, 0, [_JI], [0]];var StopRxNormInferenceJobRequest$ = [3, n0, _SRNIJRto, 0, [_JI], [0], 1];var StopRxNormInferenceJobResponse$ = [3, n0, _SRNIJRtop, 0, [_JI], [0]];var StopSNOMEDCTInferenceJobRequest$ = [3, n0, _SSNOMEDCTIJRto, 0, [_JI], [0], 1];var StopSNOMEDCTInferenceJobResponse$ = [3, n0, _SSNOMEDCTIJRtop, 0, [_JI], [0]];var Trait$ = [3, n0, _Tra, 0, [_N, _S], [0, 1]];var UnmappedAttribute$ = [3, n0, _UAn, 0, [_T, _A], [0, () => Attribute$]];var AttributeList = [1, n0, _AL, 0, () => Attribute$];var ComprehendMedicalAsyncJobPropertiesList = [1, n0, _CMAJPL, 0, () => ComprehendMedicalAsyncJobProperties$];var EntityList = [1, n0, _EL, 0, () => Entity$];var ICD10CMAttributeList = [1, n0, _ICDCMAL, 0, () => ICD10CMAttribute$];var ICD10CMConceptList = [1, n0, _ICDCMCL, 0, () => ICD10CMConcept$];var ICD10CMEntityList = [1, n0, _ICDCMEL, 0, () => ICD10CMEntity$];var ICD10CMTraitList = [1, n0, _ICDCMTL, 0, () => ICD10CMTrait$];var RxNormAttributeList = [1, n0, _RNAL, 0, () => RxNormAttribute$];var RxNormConceptList = [1, n0, _RNCL, 0, () => RxNormConcept$];var RxNormEntityList = [1, n0, _RNEL, 0, () => RxNormEntity$];var RxNormTraitList = [1, n0, _RNTL, 0, () => RxNormTrait$];var SNOMEDCTAttributeList = [1, n0, _SNOMEDCTAL, 0, () => SNOMEDCTAttribute$];var SNOMEDCTConceptList = [1, n0, _SNOMEDCTCL, 0, () => SNOMEDCTConcept$];var SNOMEDCTEntityList = [1, n0, _SNOMEDCTEL, 0, () => SNOMEDCTEntity$];var SNOMEDCTTraitList = [1, n0, _SNOMEDCTTL, 0, () => SNOMEDCTTrait$];var TraitList = [1, n0, _TL, 0, () => Trait$];var UnmappedAttributeList = [1, n0, _UAL, 0, () => UnmappedAttribute$];var DescribeEntitiesDetectionV2Job$ = [9, n0, _DEDVJ, 0, () => DescribeEntitiesDetectionV2JobRequest$, () => DescribeEntitiesDetectionV2JobResponse$];var DescribeICD10CMInferenceJob$ = [9, n0, _DICDCMIJ, 0, () => DescribeICD10CMInferenceJobRequest$, () => DescribeICD10CMInferenceJobResponse$];var DescribePHIDetectionJob$ = [9, n0, _DPHIDJ, 0, () => DescribePHIDetectionJobRequest$, () => DescribePHIDetectionJobResponse$];var DescribeRxNormInferenceJob$ = [9, n0, _DRNIJ, 0, () => DescribeRxNormInferenceJobRequest$, () => DescribeRxNormInferenceJobResponse$];var DescribeSNOMEDCTInferenceJob$ = [9, n0, _DSNOMEDCTIJ, 0, () => DescribeSNOMEDCTInferenceJobRequest$, () => DescribeSNOMEDCTInferenceJobResponse$];var DetectEntities$ = [9, n0, _DE, 0, () => DetectEntitiesRequest$, () => DetectEntitiesResponse$];var DetectEntitiesV2$ = [9, n0, _DEV, 0, () => DetectEntitiesV2Request$, () => DetectEntitiesV2Response$];var DetectPHI$ = [9, n0, _DPHI, 0, () => DetectPHIRequest$, () => DetectPHIResponse$];var InferICD10CM$ = [9, n0, _IICDCM, 0, () => InferICD10CMRequest$, () => InferICD10CMResponse$];var InferRxNorm$ = [9, n0, _IRN, 0, () => InferRxNormRequest$, () => InferRxNormResponse$];var InferSNOMEDCT$ = [9, n0, _ISNOMEDCT, 0, () => InferSNOMEDCTRequest$, () => InferSNOMEDCTResponse$];var ListEntitiesDetectionV2Jobs$ = [9, n0, _LEDVJ, 0, () => ListEntitiesDetectionV2JobsRequest$, () => ListEntitiesDetectionV2JobsResponse$];var ListICD10CMInferenceJobs$ = [9, n0, _LICDCMIJ, 0, () => ListICD10CMInferenceJobsRequest$, () => ListICD10CMInferenceJobsResponse$];var ListPHIDetectionJobs$ = [9, n0, _LPHIDJ, 0, () => ListPHIDetectionJobsRequest$, () => ListPHIDetectionJobsResponse$];var ListRxNormInferenceJobs$ = [9, n0, _LRNIJ, 0, () => ListRxNormInferenceJobsRequest$, () => ListRxNormInferenceJobsResponse$];var ListSNOMEDCTInferenceJobs$ = [9, n0, _LSNOMEDCTIJ, 0, () => ListSNOMEDCTInferenceJobsRequest$, () => ListSNOMEDCTInferenceJobsResponse$];var StartEntitiesDetectionV2Job$ = [9, n0, _SEDVJ, 0, () => StartEntitiesDetectionV2JobRequest$, () => StartEntitiesDetectionV2JobResponse$];var StartICD10CMInferenceJob$ = [9, n0, _SICDCMIJ, 0, () => StartICD10CMInferenceJobRequest$, () => StartICD10CMInferenceJobResponse$];var StartPHIDetectionJob$ = [9, n0, _SPHIDJ, 0, () => StartPHIDetectionJobRequest$, () => StartPHIDetectionJobResponse$];var StartRxNormInferenceJob$ = [9, n0, _SRNIJ, 0, () => StartRxNormInferenceJobRequest$, () => StartRxNormInferenceJobResponse$];var StartSNOMEDCTInferenceJob$ = [9, n0, _SSNOMEDCTIJ, 0, () => StartSNOMEDCTInferenceJobRequest$, () => StartSNOMEDCTInferenceJobResponse$];var StopEntitiesDetectionV2Job$ = [9, n0, _SEDVJt, 0, () => StopEntitiesDetectionV2JobRequest$, () => StopEntitiesDetectionV2JobResponse$];var StopICD10CMInferenceJob$ = [9, n0, _SICDCMIJt, 0, () => StopICD10CMInferenceJobRequest$, () => StopICD10CMInferenceJobResponse$];var StopPHIDetectionJob$ = [9, n0, _SPHIDJt, 0, () => StopPHIDetectionJobRequest$, () => StopPHIDetectionJobResponse$];var StopRxNormInferenceJob$ = [9, n0, _SRNIJt, 0, () => StopRxNormInferenceJobRequest$, () => StopRxNormInferenceJobResponse$];var StopSNOMEDCTInferenceJob$ = [9, n0, _SSNOMEDCTIJt, 0, () => StopSNOMEDCTInferenceJobRequest$, () => StopSNOMEDCTInferenceJobResponse$]; const getRuntimeConfig$1 = (config) => { return { apiVersion: "2018-10-30", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultComprehendMedicalHttpAuthSchemeProvider, httpAuthSchemes: config?.httpAuthSchemes ?? [ { schemeId: "aws.auth#sigv4", identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), signer: new AwsSdkSigV4Signer(), }, ], logger: config?.logger ?? new NoOpLogger(), protocol: config?.protocol ?? AwsJson1_1Protocol, protocolSettings: config?.protocolSettings ?? { defaultNamespace: "com.amazonaws.comprehendmedical", errorTypeRegistries, version: "2018-10-30", serviceTarget: "ComprehendMedical_20181030", }, serviceId: config?.serviceId ?? "ComprehendMedical", sha256: config?.sha256 ?? Sha256, urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, };}; const getRuntimeConfig = (config) => { emitWarningIfUnsupportedVersion(process.version); const defaultsMode = resolveDefaultsModeConfig(config); const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); const clientSharedValues = getRuntimeConfig$1(config); emitWarningIfUnsupportedVersion$1(process.version); const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger, }; return { ...clientSharedValues, ...config, runtime: "node", defaultsMode, authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? loadConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config), streamCollector: config?.streamCollector ?? streamCollector, useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), };}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class ComprehendMedicalClient extends Client { config; constructor(...[configuration]) { const _config_0 = getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = resolveUserAgentConfig(_config_1); const _config_3 = resolveRetryConfig(_config_2); const _config_4 = resolveRegionConfig(_config_3); const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveEndpointConfig(_config_5); const _config_7 = resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); this.middlewareStack.use(getLoggerPlugin(this.config)); this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: defaultComprehendMedicalHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} const command = makeBuilder(commonParams, "ComprehendMedical_20181030", "ComprehendMedicalClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class DescribeEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "DescribeEntitiesDetectionV2Job", DescribeEntitiesDetectionV2Job$) {} class DescribeICD10CMInferenceJobCommand extends command(_ep0, _mw0, "DescribeICD10CMInferenceJob", DescribeICD10CMInferenceJob$) {} class DescribePHIDetectionJobCommand extends command(_ep0, _mw0, "DescribePHIDetectionJob", DescribePHIDetectionJob$) {} class DescribeRxNormInferenceJobCommand extends command(_ep0, _mw0, "DescribeRxNormInferenceJob", DescribeRxNormInferenceJob$) {} class DescribeSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "DescribeSNOMEDCTInferenceJob", DescribeSNOMEDCTInferenceJob$) {} class DetectEntitiesCommand extends command(_ep0, _mw0, "DetectEntities", DetectEntities$) {} class DetectEntitiesV2Command extends command(_ep0, _mw0, "DetectEntitiesV2", DetectEntitiesV2$) {} class DetectPHICommand extends command(_ep0, _mw0, "DetectPHI", DetectPHI$) {} class InferICD10CMCommand extends command(_ep0, _mw0, "InferICD10CM", InferICD10CM$) {} class InferRxNormCommand extends command(_ep0, _mw0, "InferRxNorm", InferRxNorm$) {} class InferSNOMEDCTCommand extends command(_ep0, _mw0, "InferSNOMEDCT", InferSNOMEDCT$) {} class ListEntitiesDetectionV2JobsCommand extends command(_ep0, _mw0, "ListEntitiesDetectionV2Jobs", ListEntitiesDetectionV2Jobs$) {} class ListICD10CMInferenceJobsCommand extends command(_ep0, _mw0, "ListICD10CMInferenceJobs", ListICD10CMInferenceJobs$) {} class ListPHIDetectionJobsCommand extends command(_ep0, _mw0, "ListPHIDetectionJobs", ListPHIDetectionJobs$) {} class ListRxNormInferenceJobsCommand extends command(_ep0, _mw0, "ListRxNormInferenceJobs", ListRxNormInferenceJobs$) {} class ListSNOMEDCTInferenceJobsCommand extends command(_ep0, _mw0, "ListSNOMEDCTInferenceJobs", ListSNOMEDCTInferenceJobs$) {} class StartEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "StartEntitiesDetectionV2Job", StartEntitiesDetectionV2Job$) {} class StartICD10CMInferenceJobCommand extends command(_ep0, _mw0, "StartICD10CMInferenceJob", StartICD10CMInferenceJob$) {} class StartPHIDetectionJobCommand extends command(_ep0, _mw0, "StartPHIDetectionJob", StartPHIDetectionJob$) {} class StartRxNormInferenceJobCommand extends command(_ep0, _mw0, "StartRxNormInferenceJob", StartRxNormInferenceJob$) {} class StartSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "StartSNOMEDCTInferenceJob", StartSNOMEDCTInferenceJob$) {} class StopEntitiesDetectionV2JobCommand extends command(_ep0, _mw0, "StopEntitiesDetectionV2Job", StopEntitiesDetectionV2Job$) {} class StopICD10CMInferenceJobCommand extends command(_ep0, _mw0, "StopICD10CMInferenceJob", StopICD10CMInferenceJob$) {} class StopPHIDetectionJobCommand extends command(_ep0, _mw0, "StopPHIDetectionJob", StopPHIDetectionJob$) {} class StopRxNormInferenceJobCommand extends command(_ep0, _mw0, "StopRxNormInferenceJob", StopRxNormInferenceJob$) {} class StopSNOMEDCTInferenceJobCommand extends command(_ep0, _mw0, "StopSNOMEDCTInferenceJob", StopSNOMEDCTInferenceJob$) {} const commands = { DescribeEntitiesDetectionV2JobCommand, DescribeICD10CMInferenceJobCommand, DescribePHIDetectionJobCommand, DescribeRxNormInferenceJobCommand, DescribeSNOMEDCTInferenceJobCommand, DetectEntitiesCommand, DetectEntitiesV2Command, DetectPHICommand, InferICD10CMCommand, InferRxNormCommand, InferSNOMEDCTCommand, ListEntitiesDetectionV2JobsCommand, ListICD10CMInferenceJobsCommand, ListPHIDetectionJobsCommand, ListRxNormInferenceJobsCommand, ListSNOMEDCTInferenceJobsCommand, StartEntitiesDetectionV2JobCommand, StartICD10CMInferenceJobCommand, StartPHIDetectionJobCommand, StartRxNormInferenceJobCommand, StartSNOMEDCTInferenceJobCommand, StopEntitiesDetectionV2JobCommand, StopICD10CMInferenceJobCommand, StopPHIDetectionJobCommand, StopRxNormInferenceJobCommand, StopSNOMEDCTInferenceJobCommand,};class ComprehendMedical extends ComprehendMedicalClient {}createAggregatedClient(commands, ComprehendMedical); const EntityType = { ANATOMY: "ANATOMY", BEHAVIORAL_ENVIRONMENTAL_SOCIAL: "BEHAVIORAL_ENVIRONMENTAL_SOCIAL", MEDICAL_CONDITION: "MEDICAL_CONDITION", MEDICATION: "MEDICATION", PROTECTED_HEALTH_INFORMATION: "PROTECTED_HEALTH_INFORMATION", TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE", TIME_EXPRESSION: "TIME_EXPRESSION",};const RelationshipType = { ACUITY: "ACUITY", ADMINISTERED_VIA: "ADMINISTERED_VIA", AMOUNT: "AMOUNT", DIRECTION: "DIRECTION", DOSAGE: "DOSAGE", DURATION: "DURATION", EVERY: "EVERY", FOR: "FOR", FORM: "FORM", FREQUENCY: "FREQUENCY", NEGATIVE: "NEGATIVE", OVERLAP: "OVERLAP", QUALITY: "QUALITY", RATE: "RATE", ROUTE_OR_MODE: "ROUTE_OR_MODE", STRENGTH: "STRENGTH", SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE", TEST_UNIT: "TEST_UNIT", TEST_UNITS: "TEST_UNITS", TEST_VALUE: "TEST_VALUE", USAGE: "USAGE", WITH_DOSAGE: "WITH_DOSAGE",};const AttributeName = { DIAGNOSIS: "DIAGNOSIS", FUTURE: "FUTURE", HYPOTHETICAL: "HYPOTHETICAL", LOW_CONFIDENCE: "LOW_CONFIDENCE", NEGATION: "NEGATION", PAST_HISTORY: "PAST_HISTORY", PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY", SIGN: "SIGN", SYMPTOM: "SYMPTOM",};const EntitySubType = { ACUITY: "ACUITY", ADDRESS: "ADDRESS", AGE: "AGE", ALCOHOL_CONSUMPTION: "ALCOHOL_CONSUMPTION", ALLERGIES: "ALLERGIES", AMOUNT: "AMOUNT", BRAND_NAME: "BRAND_NAME", CONTACT_POINT: "CONTACT_POINT", DATE: "DATE", DIRECTION: "DIRECTION", DOSAGE: "DOSAGE", DURATION: "DURATION", DX_NAME: "DX_NAME", EMAIL: "EMAIL", FORM: "FORM", FREQUENCY: "FREQUENCY", GENDER: "GENDER", GENERIC_NAME: "GENERIC_NAME", ID: "ID", IDENTIFIER: "IDENTIFIER", NAME: "NAME", PHONE_OR_FAX: "PHONE_OR_FAX", PROCEDURE_NAME: "PROCEDURE_NAME", PROFESSION: "PROFESSION", QUALITY: "QUALITY", QUANTITY: "QUANTITY", RACE_ETHNICITY: "RACE_ETHNICITY", RATE: "RATE", REC_DRUG_USE: "REC_DRUG_USE", ROUTE_OR_MODE: "ROUTE_OR_MODE", STRENGTH: "STRENGTH", SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE", TEST_NAME: "TEST_NAME", TEST_UNIT: "TEST_UNIT", TEST_UNITS: "TEST_UNITS", TEST_VALUE: "TEST_VALUE", TIME_EXPRESSION: "TIME_EXPRESSION", TIME_TO_DX_NAME: "TIME_TO_DX_NAME", TIME_TO_MEDICATION_NAME: "TIME_TO_MEDICATION_NAME", TIME_TO_PROCEDURE_NAME: "TIME_TO_PROCEDURE_NAME", TIME_TO_TEST_NAME: "TIME_TO_TEST_NAME", TIME_TO_TREATMENT_NAME: "TIME_TO_TREATMENT_NAME", TOBACCO_USE: "TOBACCO_USE", TREATMENT_NAME: "TREATMENT_NAME", URL: "URL",};const JobStatus = { COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PARTIAL_SUCCESS: "PARTIAL_SUCCESS", STOPPED: "STOPPED", STOP_REQUESTED: "STOP_REQUESTED", SUBMITTED: "SUBMITTED",};const LanguageCode = { EN: "en",};const ICD10CMEntityType = { DX_NAME: "DX_NAME", TIME_EXPRESSION: "TIME_EXPRESSION",};const ICD10CMRelationshipType = { OVERLAP: "OVERLAP", QUALITY: "QUALITY", SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",};const ICD10CMTraitName = { DIAGNOSIS: "DIAGNOSIS", HYPOTHETICAL: "HYPOTHETICAL", LOW_CONFIDENCE: "LOW_CONFIDENCE", NEGATION: "NEGATION", PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY", SIGN: "SIGN", SYMPTOM: "SYMPTOM",};const ICD10CMAttributeType = { ACUITY: "ACUITY", DIRECTION: "DIRECTION", QUALITY: "QUALITY", QUANTITY: "QUANTITY", SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE", TIME_EXPRESSION: "TIME_EXPRESSION", TIME_TO_DX_NAME: "TIME_TO_DX_NAME",};const ICD10CMEntityCategory = { MEDICAL_CONDITION: "MEDICAL_CONDITION",};const RxNormTraitName = { NEGATION: "NEGATION", PAST_HISTORY: "PAST_HISTORY",};const RxNormAttributeType = { DOSAGE: "DOSAGE", DURATION: "DURATION", FORM: "FORM", FREQUENCY: "FREQUENCY", RATE: "RATE", ROUTE_OR_MODE: "ROUTE_OR_MODE", STRENGTH: "STRENGTH",};const RxNormEntityCategory = { MEDICATION: "MEDICATION",};const RxNormEntityType = { BRAND_NAME: "BRAND_NAME", GENERIC_NAME: "GENERIC_NAME",};const SNOMEDCTEntityCategory = { ANATOMY: "ANATOMY", MEDICAL_CONDITION: "MEDICAL_CONDITION", TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE",};const SNOMEDCTRelationshipType = { ACUITY: "ACUITY", DIRECTION: "DIRECTION", QUALITY: "QUALITY", SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE", TEST_UNIT: "TEST_UNIT", TEST_UNITS: "TEST_UNITS", TEST_VALUE: "TEST_VALUE",};const SNOMEDCTTraitName = { DIAGNOSIS: "DIAGNOSIS", FUTURE: "FUTURE", HYPOTHETICAL: "HYPOTHETICAL", LOW_CONFIDENCE: "LOW_CONFIDENCE", NEGATION: "NEGATION", PAST_HISTORY: "PAST_HISTORY", PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY", SIGN: "SIGN", SYMPTOM: "SYMPTOM",};const SNOMEDCTAttributeType = { ACUITY: "ACUITY", DIRECTION: "DIRECTION", QUALITY: "QUALITY", SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE", TEST_UNIT: "TEST_UNIT", TEST_VALUE: "TEST_VALUE",};const SNOMEDCTEntityType = { DX_NAME: "DX_NAME", PROCEDURE_NAME: "PROCEDURE_NAME", TEST_NAME: "TEST_NAME", TREATMENT_NAME: "TREATMENT_NAME",}; exports.Attribute$ = Attribute$;exports.AttributeName = AttributeName;exports.Characters$ = Characters$;exports.ComprehendMedical = ComprehendMedical;exports.ComprehendMedicalAsyncJobFilter$ = ComprehendMedicalAsyncJobFilter$;exports.ComprehendMedicalAsyncJobProperties$ = ComprehendMedicalAsyncJobProperties$;exports.ComprehendMedicalClient = ComprehendMedicalClient;exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException;exports.ComprehendMedicalServiceException$ = ComprehendMedicalServiceException$;exports.DescribeEntitiesDetectionV2Job$ = DescribeEntitiesDetectionV2Job$;exports.DescribeEntitiesDetectionV2JobCommand = DescribeEntitiesDetectionV2JobCommand;exports.DescribeEntitiesDetectionV2JobRequest$ = DescribeEntitiesDetectionV2JobRequest$;exports.DescribeEntitiesDetectionV2JobResponse$ = DescribeEntitiesDetectionV2JobResponse$;exports.DescribeICD10CMInferenceJob$ = DescribeICD10CMInferenceJob$;exports.DescribeICD10CMInferenceJobCommand = DescribeICD10CMInferenceJobCommand;exports.DescribeICD10CMInferenceJobRequest$ = DescribeICD10CMInferenceJobRequest$;exports.DescribeICD10CMInferenceJobResponse$ = DescribeICD10CMInferenceJobResponse$;exports.DescribePHIDetectionJob$ = DescribePHIDetectionJob$;exports.DescribePHIDetectionJobCommand = DescribePHIDetectionJobCommand;exports.DescribePHIDetectionJobRequest$ = DescribePHIDetectionJobRequest$;exports.DescribePHIDetectionJobResponse$ = DescribePHIDetectionJobResponse$;exports.DescribeRxNormInferenceJob$ = DescribeRxNormInferenceJob$;exports.DescribeRxNormInferenceJobCommand = DescribeRxNormInferenceJobCommand;exports.DescribeRxNormInferenceJobRequest$ = DescribeRxNormInferenceJobRequest$;exports.DescribeRxNormInferenceJobResponse$ = DescribeRxNormInferenceJobResponse$;exports.DescribeSNOMEDCTInferenceJob$ = DescribeSNOMEDCTInferenceJob$;exports.DescribeSNOMEDCTInferenceJobCommand = DescribeSNOMEDCTInferenceJobCommand;exports.DescribeSNOMEDCTInferenceJobRequest$ = DescribeSNOMEDCTInferenceJobRequest$;exports.DescribeSNOMEDCTInferenceJobResponse$ = DescribeSNOMEDCTInferenceJobResponse$;exports.DetectEntities$ = DetectEntities$;exports.DetectEntitiesCommand = DetectEntitiesCommand;exports.DetectEntitiesRequest$ = DetectEntitiesRequest$;exports.DetectEntitiesResponse$ = DetectEntitiesResponse$;exports.DetectEntitiesV2$ = DetectEntitiesV2$;exports.DetectEntitiesV2Command = DetectEntitiesV2Command;exports.DetectEntitiesV2Request$ = DetectEntitiesV2Request$;exports.DetectEntitiesV2Response$ = DetectEntitiesV2Response$;exports.DetectPHI$ = DetectPHI$;exports.DetectPHICommand = DetectPHICommand;exports.DetectPHIRequest$ = DetectPHIRequest$;exports.DetectPHIResponse$ = DetectPHIResponse$;exports.Entity$ = Entity$;exports.EntitySubType = EntitySubType;exports.EntityType = EntityType;exports.ICD10CMAttribute$ = ICD10CMAttribute$;exports.ICD10CMAttributeType = ICD10CMAttributeType;exports.ICD10CMConcept$ = ICD10CMConcept$;exports.ICD10CMEntity$ = ICD10CMEntity$;exports.ICD10CMEntityCategory = ICD10CMEntityCategory;exports.ICD10CMEntityType = ICD10CMEntityType;exports.ICD10CMRelationshipType = ICD10CMRelationshipType;exports.ICD10CMTrait$ = ICD10CMTrait$;exports.ICD10CMTraitName = ICD10CMTraitName;exports.InferICD10CM$ = InferICD10CM$;exports.InferICD10CMCommand = InferICD10CMCommand;exports.InferICD10CMRequest$ = InferICD10CMRequest$;exports.InferICD10CMResponse$ = InferICD10CMResponse$;exports.InferRxNorm$ = InferRxNorm$;exports.InferRxNormCommand = InferRxNormCommand;exports.InferRxNormRequest$ = InferRxNormRequest$;exports.InferRxNormResponse$ = InferRxNormResponse$;exports.InferSNOMEDCT$ = InferSNOMEDCT$;exports.InferSNOMEDCTCommand = InferSNOMEDCTCommand;exports.InferSNOMEDCTRequest$ = InferSNOMEDCTRequest$;exports.InferSNOMEDCTResponse$ = InferSNOMEDCTResponse$;exports.InputDataConfig$ = InputDataConfig$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.InvalidEncodingException = InvalidEncodingException;exports.InvalidEncodingException$ = InvalidEncodingException$;exports.InvalidRequestException = InvalidRequestException;exports.InvalidRequestException$ = InvalidRequestException$;exports.JobStatus = JobStatus;exports.LanguageCode = LanguageCode;exports.ListEntitiesDetectionV2Jobs$ = ListEntitiesDetectionV2Jobs$;exports.ListEntitiesDetectionV2JobsCommand = ListEntitiesDetectionV2JobsCommand;exports.ListEntitiesDetectionV2JobsRequest$ = ListEntitiesDetectionV2JobsRequest$;exports.ListEntitiesDetectionV2JobsResponse$ = ListEntitiesDetectionV2JobsResponse$;exports.ListICD10CMInferenceJobs$ = ListICD10CMInferenceJobs$;exports.ListICD10CMInferenceJobsCommand = ListICD10CMInferenceJobsCommand;exports.ListICD10CMInferenceJobsRequest$ = ListICD10CMInferenceJobsRequest$;exports.ListICD10CMInferenceJobsResponse$ = ListICD10CMInferenceJobsResponse$;exports.ListPHIDetectionJobs$ = ListPHIDetectionJobs$;exports.ListPHIDetectionJobsCommand = ListPHIDetectionJobsCommand;exports.ListPHIDetectionJobsRequest$ = ListPHIDetectionJobsRequest$;exports.ListPHIDetectionJobsResponse$ = ListPHIDetectionJobsResponse$;exports.ListRxNormInferenceJobs$ = ListRxNormInferenceJobs$;exports.ListRxNormInferenceJobsCommand = ListRxNormInferenceJobsCommand;exports.ListRxNormInferenceJobsRequest$ = ListRxNormInferenceJobsRequest$;exports.ListRxNormInferenceJobsResponse$ = ListRxNormInferenceJobsResponse$;exports.ListSNOMEDCTInferenceJobs$ = ListSNOMEDCTInferenceJobs$;exports.ListSNOMEDCTInferenceJobsCommand = ListSNOMEDCTInferenceJobsCommand;exports.ListSNOMEDCTInferenceJobsRequest$ = ListSNOMEDCTInferenceJobsRequest$;exports.ListSNOMEDCTInferenceJobsResponse$ = ListSNOMEDCTInferenceJobsResponse$;exports.OutputDataConfig$ = OutputDataConfig$;exports.RelationshipType = RelationshipType;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.RxNormAttribute$ = RxNormAttribute$;exports.RxNormAttributeType = RxNormAttributeType;exports.RxNormConcept$ = RxNormConcept$;exports.RxNormEntity$ = RxNormEntity$;exports.RxNormEntityCategory = RxNormEntityCategory;exports.RxNormEntityType = RxNormEntityType;exports.RxNormTrait$ = RxNormTrait$;exports.RxNormTraitName = RxNormTraitName;exports.SNOMEDCTAttribute$ = SNOMEDCTAttribute$;exports.SNOMEDCTAttributeType = SNOMEDCTAttributeType;exports.SNOMEDCTConcept$ = SNOMEDCTConcept$;exports.SNOMEDCTDetails$ = SNOMEDCTDetails$;exports.SNOMEDCTEntity$ = SNOMEDCTEntity$;exports.SNOMEDCTEntityCategory = SNOMEDCTEntityCategory;exports.SNOMEDCTEntityType = SNOMEDCTEntityType;exports.SNOMEDCTRelationshipType = SNOMEDCTRelationshipType;exports.SNOMEDCTTrait$ = SNOMEDCTTrait$;exports.SNOMEDCTTraitName = SNOMEDCTTraitName;exports.ServiceUnavailableException = ServiceUnavailableException;exports.ServiceUnavailableException$ = ServiceUnavailableException$;exports.StartEntitiesDetectionV2Job$ = StartEntitiesDetectionV2Job$;exports.StartEntitiesDetectionV2JobCommand = StartEntitiesDetectionV2JobCommand;exports.StartEntitiesDetectionV2JobRequest$ = StartEntitiesDetectionV2JobRequest$;exports.StartEntitiesDetectionV2JobResponse$ = StartEntitiesDetectionV2JobResponse$;exports.StartICD10CMInferenceJob$ = StartICD10CMInferenceJob$;exports.StartICD10CMInferenceJobCommand = StartICD10CMInferenceJobCommand;exports.StartICD10CMInferenceJobRequest$ = StartICD10CMInferenceJobRequest$;exports.StartICD10CMInferenceJobResponse$ = StartICD10CMInferenceJobResponse$;exports.StartPHIDetectionJob$ = StartPHIDetectionJob$;exports.StartPHIDetectionJobCommand = StartPHIDetectionJobCommand;exports.StartPHIDetectionJobRequest$ = StartPHIDetectionJobRequest$;exports.StartPHIDetectionJobResponse$ = StartPHIDetectionJobResponse$;exports.StartRxNormInferenceJob$ = StartRxNormInferenceJob$;exports.StartRxNormInferenceJobCommand = StartRxNormInferenceJobCommand;exports.StartRxNormInferenceJobRequest$ = StartRxNormInferenceJobRequest$;exports.StartRxNormInferenceJobResponse$ = StartRxNormInferenceJobResponse$;exports.StartSNOMEDCTInferenceJob$ = StartSNOMEDCTInferenceJob$;exports.StartSNOMEDCTInferenceJobCommand = StartSNOMEDCTInferenceJobCommand;exports.StartSNOMEDCTInferenceJobRequest$ = StartSNOMEDCTInferenceJobRequest$;exports.StartSNOMEDCTInferenceJobResponse$ = StartSNOMEDCTInferenceJobResponse$;exports.StopEntitiesDetectionV2Job$ = StopEntitiesDetectionV2Job$;exports.StopEntitiesDetectionV2JobCommand = StopEntitiesDetectionV2JobCommand;exports.StopEntitiesDetectionV2JobRequest$ = StopEntitiesDetectionV2JobRequest$;exports.StopEntitiesDetectionV2JobResponse$ = StopEntitiesDetectionV2JobResponse$;exports.StopICD10CMInferenceJob$ = StopICD10CMInferenceJob$;exports.StopICD10CMInferenceJobCommand = StopICD10CMInferenceJobCommand;exports.StopICD10CMInferenceJobRequest$ = StopICD10CMInferenceJobRequest$;exports.StopICD10CMInferenceJobResponse$ = StopICD10CMInferenceJobResponse$;exports.StopPHIDetectionJob$ = StopPHIDetectionJob$;exports.StopPHIDetectionJobCommand = StopPHIDetectionJobCommand;exports.StopPHIDetectionJobRequest$ = StopPHIDetectionJobRequest$;exports.StopPHIDetectionJobResponse$ = StopPHIDetectionJobResponse$;exports.StopRxNormInferenceJob$ = StopRxNormInferenceJob$;exports.StopRxNormInferenceJobCommand = StopRxNormInferenceJobCommand;exports.StopRxNormInferenceJobRequest$ = StopRxNormInferenceJobRequest$;exports.StopRxNormInferenceJobResponse$ = StopRxNormInferenceJobResponse$;exports.StopSNOMEDCTInferenceJob$ = StopSNOMEDCTInferenceJob$;exports.StopSNOMEDCTInferenceJobCommand = StopSNOMEDCTInferenceJobCommand;exports.StopSNOMEDCTInferenceJobRequest$ = StopSNOMEDCTInferenceJobRequest$;exports.StopSNOMEDCTInferenceJobResponse$ = StopSNOMEDCTInferenceJobResponse$;exports.TextSizeLimitExceededException = TextSizeLimitExceededException;exports.TextSizeLimitExceededException$ = TextSizeLimitExceededException$;exports.TooManyRequestsException = TooManyRequestsException;exports.TooManyRequestsException$ = TooManyRequestsException$;exports.Trait$ = Trait$;exports.UnmappedAttribute$ = UnmappedAttribute$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.errorTypeRegistries = errorTypeRegistries;