@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSComprehendMedicalClient extends AmazonWebServiceClient implements AWSComprehendMedical
Comprehend Medical extracts structured information from unstructured clinical text. Use these actions to gain insight in your documents.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSComprehendMedicalClientBuilder |
builder() |
DetectEntitiesResult |
detectEntities(DetectEntitiesRequest request)
Inspects the clinical text for a variety of medical entities and returns specific information about them such as
entity category, location, and confidence score on that information .
|
DetectPHIResult |
detectPHI(DetectPHIRequest request)
Inspects the clinical text for personal health information (PHI) entities and entity category, location, and
confidence score on that information.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AWSComprehendMedicalClientBuilder builder()
public DetectEntitiesResult detectEntities(DetectEntitiesRequest request)
Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information .
detectEntities in interface AWSComprehendMedicaldetectEntitiesRequest - InternalServerException - An internal server error occurred. Retry your request.ServiceUnavailableException - The Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.TooManyRequestsException - 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.InvalidRequestException - The request that you made is invalid. Check your request to determine why it's invalid and then retry the
request.InvalidEncodingException - The input text was not in valid UTF-8 character encoding. Check your text then retry your request.TextSizeLimitExceededException - 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.public DetectPHIResult detectPHI(DetectPHIRequest request)
Inspects the clinical text for personal health information (PHI) entities and entity category, location, and confidence score on that information.
detectPHI in interface AWSComprehendMedicaldetectPHIRequest - InternalServerException - An internal server error occurred. Retry your request.ServiceUnavailableException - The Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.TooManyRequestsException - 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.InvalidRequestException - The request that you made is invalid. Check your request to determine why it's invalid and then retry the
request.InvalidEncodingException - The input text was not in valid UTF-8 character encoding. Check your text then retry your request.TextSizeLimitExceededException - 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSComprehendMedicalrequest - The originally executed requestCopyright © 2019. All rights reserved.