import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { InferSNOMEDCTRequest, InferSNOMEDCTResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link InferSNOMEDCTCommand}. */ export interface InferSNOMEDCTCommandInput extends InferSNOMEDCTRequest { } /** * @public * * The output of {@link InferSNOMEDCTCommand}. */ export interface InferSNOMEDCTCommandOutput extends InferSNOMEDCTResponse, __MetadataBearer { } declare const InferSNOMEDCTCommand_base: { new (input: InferSNOMEDCTCommandInput): import("@smithy/core/client").CommandImpl; new (input: InferSNOMEDCTCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComprehendMedicalClient, InferSNOMEDCTCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import * // const { ComprehendMedicalClient, InferSNOMEDCTCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import * // import type { ComprehendMedicalClientConfig } from "@aws-sdk/client-comprehendmedical"; * const config = {}; // type is ComprehendMedicalClientConfig * const client = new ComprehendMedicalClient(config); * const input = { // InferSNOMEDCTRequest * Text: "STRING_VALUE", // required * }; * const command = new InferSNOMEDCTCommand(input); * const response = await client.send(command); * // { // InferSNOMEDCTResponse * // Entities: [ // SNOMEDCTEntityList // required * // { // SNOMEDCTEntity * // Id: Number("int"), * // Text: "STRING_VALUE", * // Category: "MEDICAL_CONDITION" || "ANATOMY" || "TEST_TREATMENT_PROCEDURE", * // Type: "DX_NAME" || "TEST_NAME" || "PROCEDURE_NAME" || "TREATMENT_NAME", * // Score: Number("float"), * // BeginOffset: Number("int"), * // EndOffset: Number("int"), * // Attributes: [ // SNOMEDCTAttributeList * // { // SNOMEDCTAttribute * // Category: "MEDICAL_CONDITION" || "ANATOMY" || "TEST_TREATMENT_PROCEDURE", * // Type: "ACUITY" || "QUALITY" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "TEST_VALUE" || "TEST_UNIT", * // Score: Number("float"), * // RelationshipScore: Number("float"), * // RelationshipType: "ACUITY" || "QUALITY" || "TEST_VALUE" || "TEST_UNITS" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "TEST_UNIT", * // Id: Number("int"), * // BeginOffset: Number("int"), * // EndOffset: Number("int"), * // Text: "STRING_VALUE", * // Traits: [ // SNOMEDCTTraitList * // { // SNOMEDCTTrait * // Name: "NEGATION" || "DIAGNOSIS" || "SIGN" || "SYMPTOM" || "PERTAINS_TO_FAMILY" || "HYPOTHETICAL" || "LOW_CONFIDENCE" || "PAST_HISTORY" || "FUTURE", * // Score: Number("float"), * // }, * // ], * // SNOMEDCTConcepts: [ // SNOMEDCTConceptList * // { // SNOMEDCTConcept * // Description: "STRING_VALUE", * // Code: "STRING_VALUE", * // Score: Number("float"), * // }, * // ], * // }, * // ], * // Traits: [ * // { * // Name: "NEGATION" || "DIAGNOSIS" || "SIGN" || "SYMPTOM" || "PERTAINS_TO_FAMILY" || "HYPOTHETICAL" || "LOW_CONFIDENCE" || "PAST_HISTORY" || "FUTURE", * // Score: Number("float"), * // }, * // ], * // SNOMEDCTConcepts: [ * // { * // Description: "STRING_VALUE", * // Code: "STRING_VALUE", * // Score: Number("float"), * // }, * // ], * // }, * // ], * // PaginationToken: "STRING_VALUE", * // ModelVersion: "STRING_VALUE", * // SNOMEDCTDetails: { // SNOMEDCTDetails * // Edition: "STRING_VALUE", * // Language: "STRING_VALUE", * // VersionDate: "STRING_VALUE", * // }, * // Characters: { // Characters * // OriginalTextCharacters: Number("int"), * // }, * // }; * * ``` * * @param InferSNOMEDCTCommandInput - {@link InferSNOMEDCTCommandInput} * @returns {@link InferSNOMEDCTCommandOutput} * @see {@link InferSNOMEDCTCommandInput} for command's `input` shape. * @see {@link InferSNOMEDCTCommandOutput} for command's `response` shape. * @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

* * @throws {@link InvalidEncodingException} (client fault) *

The input text was not in valid UTF-8 character encoding. Check your text then retry your * request.

* * @throws {@link InvalidRequestException} (client fault) *

The request that you made is invalid. Check your request to determine why it's invalid * and then retry the request.

* * @throws {@link ServiceUnavailableException} (server fault) *

The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request. *

* * @throws {@link TextSizeLimitExceededException} (client fault) *

The size of the text you submitted exceeds the size limit. Reduce the size of the text or * use a smaller document and then retry your request.

* * @throws {@link TooManyRequestsException} (client fault) *

You have made too many requests within a short period of time. Wait for a short time and * then try your request again. Contact customer support for more information about a service * limit increase.

* * @throws {@link ComprehendMedicalServiceException} *

Base exception class for all service exceptions from ComprehendMedical service.

* * * @public */ export declare class InferSNOMEDCTCommand extends InferSNOMEDCTCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: InferSNOMEDCTRequest; output: InferSNOMEDCTResponse; }; sdk: { input: InferSNOMEDCTCommandInput; output: InferSNOMEDCTCommandOutput; }; }; }