All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.comprehendmedical.ComprehendMedicalClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for ComprehendMedical module holds the client classes that are used for communicating with ComprehendMedical.

There is a newer version: 2.28.4
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.comprehendmedical;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.comprehendmedical.model.ComprehendMedicalException;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeEntitiesDetectionV2JobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeEntitiesDetectionV2JobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeIcd10CmInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeIcd10CmInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.DescribePhiDetectionJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DescribePhiDetectionJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeRxNormInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeRxNormInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeSnomedctInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DescribeSnomedctInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.DetectEntitiesRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DetectEntitiesResponse;
import software.amazon.awssdk.services.comprehendmedical.model.DetectEntitiesV2Request;
import software.amazon.awssdk.services.comprehendmedical.model.DetectEntitiesV2Response;
import software.amazon.awssdk.services.comprehendmedical.model.DetectPhiRequest;
import software.amazon.awssdk.services.comprehendmedical.model.DetectPhiResponse;
import software.amazon.awssdk.services.comprehendmedical.model.InferIcd10CmRequest;
import software.amazon.awssdk.services.comprehendmedical.model.InferIcd10CmResponse;
import software.amazon.awssdk.services.comprehendmedical.model.InferRxNormRequest;
import software.amazon.awssdk.services.comprehendmedical.model.InferRxNormResponse;
import software.amazon.awssdk.services.comprehendmedical.model.InferSnomedctRequest;
import software.amazon.awssdk.services.comprehendmedical.model.InferSnomedctResponse;
import software.amazon.awssdk.services.comprehendmedical.model.InternalServerException;
import software.amazon.awssdk.services.comprehendmedical.model.InvalidEncodingException;
import software.amazon.awssdk.services.comprehendmedical.model.InvalidRequestException;
import software.amazon.awssdk.services.comprehendmedical.model.ListEntitiesDetectionV2JobsRequest;
import software.amazon.awssdk.services.comprehendmedical.model.ListEntitiesDetectionV2JobsResponse;
import software.amazon.awssdk.services.comprehendmedical.model.ListIcd10CmInferenceJobsRequest;
import software.amazon.awssdk.services.comprehendmedical.model.ListIcd10CmInferenceJobsResponse;
import software.amazon.awssdk.services.comprehendmedical.model.ListPhiDetectionJobsRequest;
import software.amazon.awssdk.services.comprehendmedical.model.ListPhiDetectionJobsResponse;
import software.amazon.awssdk.services.comprehendmedical.model.ListRxNormInferenceJobsRequest;
import software.amazon.awssdk.services.comprehendmedical.model.ListRxNormInferenceJobsResponse;
import software.amazon.awssdk.services.comprehendmedical.model.ListSnomedctInferenceJobsRequest;
import software.amazon.awssdk.services.comprehendmedical.model.ListSnomedctInferenceJobsResponse;
import software.amazon.awssdk.services.comprehendmedical.model.ResourceNotFoundException;
import software.amazon.awssdk.services.comprehendmedical.model.ServiceUnavailableException;
import software.amazon.awssdk.services.comprehendmedical.model.StartEntitiesDetectionV2JobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StartEntitiesDetectionV2JobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StartIcd10CmInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StartIcd10CmInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StartPhiDetectionJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StartPhiDetectionJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StartRxNormInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StartRxNormInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StartSnomedctInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StartSnomedctInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StopEntitiesDetectionV2JobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StopEntitiesDetectionV2JobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StopIcd10CmInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StopIcd10CmInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StopPhiDetectionJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StopPhiDetectionJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StopRxNormInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StopRxNormInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.StopSnomedctInferenceJobRequest;
import software.amazon.awssdk.services.comprehendmedical.model.StopSnomedctInferenceJobResponse;
import software.amazon.awssdk.services.comprehendmedical.model.TextSizeLimitExceededException;
import software.amazon.awssdk.services.comprehendmedical.model.TooManyRequestsException;
import software.amazon.awssdk.services.comprehendmedical.model.ValidationException;

/**
 * Service client for accessing ComprehendMedical. This can be created using the static {@link #builder()} method.
 *
 * 

* Amazon Comprehend Medical extracts structured information from unstructured clinical text. Use these actions to gain * insight in your documents. Amazon Comprehend Medical only detects entities in English language texts. Amazon * Comprehend Medical places limits on the sizes of files allowed for different API operations. To learn more, see Guidelines and * quotas in the Amazon Comprehend Medical Developer Guide. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ComprehendMedicalClient extends AwsClient { String SERVICE_NAME = "comprehendmedical"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "comprehendmedical"; /** *

* Gets the properties associated with a medical entities detection job. Use this operation to get the status of a * detection job. *

* * @param describeEntitiesDetectionV2JobRequest * @return Result of the DescribeEntitiesDetectionV2Job operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeEntitiesDetectionV2Job * @see AWS API Documentation */ default DescribeEntitiesDetectionV2JobResponse describeEntitiesDetectionV2Job( DescribeEntitiesDetectionV2JobRequest describeEntitiesDetectionV2JobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets the properties associated with a medical entities detection job. Use this operation to get the status of a * detection job. *

*
*

* This is a convenience which creates an instance of the {@link DescribeEntitiesDetectionV2JobRequest.Builder} * avoiding the need to create one manually via {@link DescribeEntitiesDetectionV2JobRequest#builder()} *

* * @param describeEntitiesDetectionV2JobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DescribeEntitiesDetectionV2JobRequest.Builder} * to create a request. * @return Result of the DescribeEntitiesDetectionV2Job operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeEntitiesDetectionV2Job * @see AWS API Documentation */ default DescribeEntitiesDetectionV2JobResponse describeEntitiesDetectionV2Job( Consumer describeEntitiesDetectionV2JobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return describeEntitiesDetectionV2Job(DescribeEntitiesDetectionV2JobRequest.builder() .applyMutation(describeEntitiesDetectionV2JobRequest).build()); } /** *

* Gets the properties associated with an InferICD10CM job. Use this operation to get the status of an inference * job. *

* * @param describeIcd10CmInferenceJobRequest * @return Result of the DescribeICD10CMInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeICD10CMInferenceJob * @see AWS API Documentation */ default DescribeIcd10CmInferenceJobResponse describeICD10CMInferenceJob( DescribeIcd10CmInferenceJobRequest describeIcd10CmInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets the properties associated with an InferICD10CM job. Use this operation to get the status of an inference * job. *

*
*

* This is a convenience which creates an instance of the {@link DescribeIcd10CmInferenceJobRequest.Builder} * avoiding the need to create one manually via {@link DescribeIcd10CmInferenceJobRequest#builder()} *

* * @param describeIcd10CmInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DescribeIcd10CmInferenceJobRequest.Builder} * to create a request. * @return Result of the DescribeICD10CMInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeICD10CMInferenceJob * @see AWS API Documentation */ default DescribeIcd10CmInferenceJobResponse describeICD10CMInferenceJob( Consumer describeIcd10CmInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return describeICD10CMInferenceJob(DescribeIcd10CmInferenceJobRequest.builder() .applyMutation(describeIcd10CmInferenceJobRequest).build()); } /** *

* Gets the properties associated with a protected health information (PHI) detection job. Use this operation to get * the status of a detection job. *

* * @param describePhiDetectionJobRequest * @return Result of the DescribePHIDetectionJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribePHIDetectionJob * @see AWS API Documentation */ default DescribePhiDetectionJobResponse describePHIDetectionJob(DescribePhiDetectionJobRequest describePhiDetectionJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets the properties associated with a protected health information (PHI) detection job. Use this operation to get * the status of a detection job. *

*
*

* This is a convenience which creates an instance of the {@link DescribePhiDetectionJobRequest.Builder} avoiding * the need to create one manually via {@link DescribePhiDetectionJobRequest#builder()} *

* * @param describePhiDetectionJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DescribePhiDetectionJobRequest.Builder} to * create a request. * @return Result of the DescribePHIDetectionJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribePHIDetectionJob * @see AWS API Documentation */ default DescribePhiDetectionJobResponse describePHIDetectionJob( Consumer describePhiDetectionJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return describePHIDetectionJob(DescribePhiDetectionJobRequest.builder().applyMutation(describePhiDetectionJobRequest) .build()); } /** *

* Gets the properties associated with an InferRxNorm job. Use this operation to get the status of an inference job. *

* * @param describeRxNormInferenceJobRequest * @return Result of the DescribeRxNormInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeRxNormInferenceJob * @see AWS API Documentation */ default DescribeRxNormInferenceJobResponse describeRxNormInferenceJob( DescribeRxNormInferenceJobRequest describeRxNormInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets the properties associated with an InferRxNorm job. Use this operation to get the status of an inference job. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRxNormInferenceJobRequest.Builder} avoiding * the need to create one manually via {@link DescribeRxNormInferenceJobRequest#builder()} *

* * @param describeRxNormInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DescribeRxNormInferenceJobRequest.Builder} * to create a request. * @return Result of the DescribeRxNormInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeRxNormInferenceJob * @see AWS API Documentation */ default DescribeRxNormInferenceJobResponse describeRxNormInferenceJob( Consumer describeRxNormInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return describeRxNormInferenceJob(DescribeRxNormInferenceJobRequest.builder() .applyMutation(describeRxNormInferenceJobRequest).build()); } /** *

* Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference * job. *

* * @param describeSnomedctInferenceJobRequest * @return Result of the DescribeSNOMEDCTInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeSNOMEDCTInferenceJob * @see AWS API Documentation */ default DescribeSnomedctInferenceJobResponse describeSNOMEDCTInferenceJob( DescribeSnomedctInferenceJobRequest describeSnomedctInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference * job. *

*
*

* This is a convenience which creates an instance of the {@link DescribeSnomedctInferenceJobRequest.Builder} * avoiding the need to create one manually via {@link DescribeSnomedctInferenceJobRequest#builder()} *

* * @param describeSnomedctInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DescribeSnomedctInferenceJobRequest.Builder} * to create a request. * @return Result of the DescribeSNOMEDCTInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DescribeSNOMEDCTInferenceJob * @see AWS API Documentation */ default DescribeSnomedctInferenceJobResponse describeSNOMEDCTInferenceJob( Consumer describeSnomedctInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return describeSNOMEDCTInferenceJob(DescribeSnomedctInferenceJobRequest.builder() .applyMutation(describeSnomedctInferenceJobRequest).build()); } /** *

* The DetectEntities operation is deprecated. You should use the DetectEntitiesV2 operation * instead. *

*

* 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. *

* * @param detectEntitiesRequest * @return Result of the DetectEntities operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DetectEntities * @see AWS API Documentation * * @deprecated This operation is deprecated, use DetectEntitiesV2 instead. */ @Deprecated default DetectEntitiesResponse detectEntities(DetectEntitiesRequest detectEntitiesRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* The DetectEntities operation is deprecated. You should use the DetectEntitiesV2 operation * instead. *

*

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DetectEntitiesRequest.Builder} avoiding the need to * create one manually via {@link DetectEntitiesRequest#builder()} *

* * @param detectEntitiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DetectEntitiesRequest.Builder} to create a * request. * @return Result of the DetectEntities operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DetectEntities * @see AWS API Documentation * * @deprecated This operation is deprecated, use DetectEntitiesV2 instead. */ @Deprecated default DetectEntitiesResponse detectEntities(Consumer detectEntitiesRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { return detectEntities(DetectEntitiesRequest.builder().applyMutation(detectEntitiesRequest).build()); } /** *

* 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. Amazon Comprehend Medical only detects * medical entities in English language texts. *

*

* The DetectEntitiesV2 operation replaces the DetectEntities operation. This new action uses a * different model for determining the entities in your medical text and changes the way that some entities are * returned in the output. You should use the DetectEntitiesV2 operation in all new applications. *

*

* The DetectEntitiesV2 operation returns the Acuity and Direction entities * as attributes instead of types. *

* * @param detectEntitiesV2Request * @return Result of the DetectEntitiesV2 operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DetectEntitiesV2 * @see AWS API Documentation */ default DetectEntitiesV2Response detectEntitiesV2(DetectEntitiesV2Request detectEntitiesV2Request) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* 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. Amazon Comprehend Medical only detects * medical entities in English language texts. *

*

* The DetectEntitiesV2 operation replaces the DetectEntities operation. This new action uses a * different model for determining the entities in your medical text and changes the way that some entities are * returned in the output. You should use the DetectEntitiesV2 operation in all new applications. *

*

* The DetectEntitiesV2 operation returns the Acuity and Direction entities * as attributes instead of types. *

*
*

* This is a convenience which creates an instance of the {@link DetectEntitiesV2Request.Builder} avoiding the need * to create one manually via {@link DetectEntitiesV2Request#builder()} *

* * @param detectEntitiesV2Request * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DetectEntitiesV2Request.Builder} to create * a request. * @return Result of the DetectEntitiesV2 operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DetectEntitiesV2 * @see AWS API Documentation */ default DetectEntitiesV2Response detectEntitiesV2(Consumer detectEntitiesV2Request) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { return detectEntitiesV2(DetectEntitiesV2Request.builder().applyMutation(detectEntitiesV2Request).build()); } /** *

* Inspects the clinical text for protected health information (PHI) entities and returns the entity category, * location, and confidence score for each entity. Amazon Comprehend Medical only detects entities in English * language texts. *

* * @param detectPhiRequest * @return Result of the DetectPHI operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DetectPHI * @see AWS * API Documentation */ default DetectPhiResponse detectPHI(DetectPhiRequest detectPhiRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Inspects the clinical text for protected health information (PHI) entities and returns the entity category, * location, and confidence score for each entity. Amazon Comprehend Medical only detects entities in English * language texts. *

*
*

* This is a convenience which creates an instance of the {@link DetectPhiRequest.Builder} avoiding the need to * create one manually via {@link DetectPhiRequest#builder()} *

* * @param detectPhiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.DetectPhiRequest.Builder} to create a * request. * @return Result of the DetectPHI operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.DetectPHI * @see AWS * API Documentation */ default DetectPhiResponse detectPHI(Consumer detectPhiRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { return detectPHI(DetectPhiRequest.builder().applyMutation(detectPhiRequest).build()); } /** *

* InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to * normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon * Comprehend Medical only detects medical entities in English language texts. *

* * @param inferIcd10CmRequest * @return Result of the InferICD10CM operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.InferICD10CM * @see AWS API Documentation */ default InferIcd10CmResponse inferICD10CM(InferIcd10CmRequest inferIcd10CmRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to * normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon * Comprehend Medical only detects medical entities in English language texts. *

*
*

* This is a convenience which creates an instance of the {@link InferIcd10CmRequest.Builder} avoiding the need to * create one manually via {@link InferIcd10CmRequest#builder()} *

* * @param inferIcd10CmRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.InferIcd10CmRequest.Builder} to create a * request. * @return Result of the InferICD10CM operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.InferICD10CM * @see AWS API Documentation */ default InferIcd10CmResponse inferICD10CM(Consumer inferIcd10CmRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { return inferICD10CM(InferIcd10CmRequest.builder().applyMutation(inferIcd10CmRequest).build()); } /** *

* InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept * identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects * medical entities in English language texts. *

* * @param inferRxNormRequest * @return Result of the InferRxNorm operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.InferRxNorm * @see AWS * API Documentation */ default InferRxNormResponse inferRxNorm(InferRxNormRequest inferRxNormRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept * identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects * medical entities in English language texts. *

*
*

* This is a convenience which creates an instance of the {@link InferRxNormRequest.Builder} avoiding the need to * create one manually via {@link InferRxNormRequest#builder()} *

* * @param inferRxNormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.InferRxNormRequest.Builder} to create a * request. * @return Result of the InferRxNorm operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.InferRxNorm * @see AWS * API Documentation */ default InferRxNormResponse inferRxNorm(Consumer inferRxNormRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { return inferRxNorm(InferRxNormRequest.builder().applyMutation(inferRxNormRequest).build()); } /** *

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

* * @param inferSnomedctRequest * @return Result of the InferSNOMEDCT operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.InferSNOMEDCT * @see AWS API Documentation */ default InferSnomedctResponse inferSNOMEDCT(InferSnomedctRequest inferSnomedctRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link InferSnomedctRequest.Builder} avoiding the need to * create one manually via {@link InferSnomedctRequest#builder()} *

* * @param inferSnomedctRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.InferSnomedctRequest.Builder} to create a * request. * @return Result of the InferSNOMEDCT operation returned by the service. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws ServiceUnavailableException * The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your * request. * @throws 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. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws InvalidEncodingException * The input text was not in valid UTF-8 character encoding. Check your text then retry your request. * @throws 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. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.InferSNOMEDCT * @see AWS API Documentation */ default InferSnomedctResponse inferSNOMEDCT(Consumer inferSnomedctRequest) throws InternalServerException, ServiceUnavailableException, TooManyRequestsException, InvalidRequestException, InvalidEncodingException, TextSizeLimitExceededException, AwsServiceException, SdkClientException, ComprehendMedicalException { return inferSNOMEDCT(InferSnomedctRequest.builder().applyMutation(inferSnomedctRequest).build()); } /** *

* Gets a list of medical entity detection jobs that you have submitted. *

* * @param listEntitiesDetectionV2JobsRequest * @return Result of the ListEntitiesDetectionV2Jobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListEntitiesDetectionV2Jobs * @see AWS API Documentation */ default ListEntitiesDetectionV2JobsResponse listEntitiesDetectionV2Jobs( ListEntitiesDetectionV2JobsRequest listEntitiesDetectionV2JobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets a list of medical entity detection jobs that you have submitted. *

*
*

* This is a convenience which creates an instance of the {@link ListEntitiesDetectionV2JobsRequest.Builder} * avoiding the need to create one manually via {@link ListEntitiesDetectionV2JobsRequest#builder()} *

* * @param listEntitiesDetectionV2JobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.ListEntitiesDetectionV2JobsRequest.Builder} * to create a request. * @return Result of the ListEntitiesDetectionV2Jobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListEntitiesDetectionV2Jobs * @see AWS API Documentation */ default ListEntitiesDetectionV2JobsResponse listEntitiesDetectionV2Jobs( Consumer listEntitiesDetectionV2JobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return listEntitiesDetectionV2Jobs(ListEntitiesDetectionV2JobsRequest.builder() .applyMutation(listEntitiesDetectionV2JobsRequest).build()); } /** *

* Gets a list of InferICD10CM jobs that you have submitted. *

* * @param listIcd10CmInferenceJobsRequest * @return Result of the ListICD10CMInferenceJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListICD10CMInferenceJobs * @see AWS API Documentation */ default ListIcd10CmInferenceJobsResponse listICD10CMInferenceJobs( ListIcd10CmInferenceJobsRequest listIcd10CmInferenceJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets a list of InferICD10CM jobs that you have submitted. *

*
*

* This is a convenience which creates an instance of the {@link ListIcd10CmInferenceJobsRequest.Builder} avoiding * the need to create one manually via {@link ListIcd10CmInferenceJobsRequest#builder()} *

* * @param listIcd10CmInferenceJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.ListIcd10CmInferenceJobsRequest.Builder} to * create a request. * @return Result of the ListICD10CMInferenceJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListICD10CMInferenceJobs * @see AWS API Documentation */ default ListIcd10CmInferenceJobsResponse listICD10CMInferenceJobs( Consumer listIcd10CmInferenceJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return listICD10CMInferenceJobs(ListIcd10CmInferenceJobsRequest.builder().applyMutation(listIcd10CmInferenceJobsRequest) .build()); } /** *

* Gets a list of protected health information (PHI) detection jobs you have submitted. *

* * @param listPhiDetectionJobsRequest * @return Result of the ListPHIDetectionJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListPHIDetectionJobs * @see AWS API Documentation */ default ListPhiDetectionJobsResponse listPHIDetectionJobs(ListPhiDetectionJobsRequest listPhiDetectionJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets a list of protected health information (PHI) detection jobs you have submitted. *

*
*

* This is a convenience which creates an instance of the {@link ListPhiDetectionJobsRequest.Builder} avoiding the * need to create one manually via {@link ListPhiDetectionJobsRequest#builder()} *

* * @param listPhiDetectionJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.ListPhiDetectionJobsRequest.Builder} to * create a request. * @return Result of the ListPHIDetectionJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListPHIDetectionJobs * @see AWS API Documentation */ default ListPhiDetectionJobsResponse listPHIDetectionJobs( Consumer listPhiDetectionJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return listPHIDetectionJobs(ListPhiDetectionJobsRequest.builder().applyMutation(listPhiDetectionJobsRequest).build()); } /** *

* Gets a list of InferRxNorm jobs that you have submitted. *

* * @param listRxNormInferenceJobsRequest * @return Result of the ListRxNormInferenceJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListRxNormInferenceJobs * @see AWS API Documentation */ default ListRxNormInferenceJobsResponse listRxNormInferenceJobs(ListRxNormInferenceJobsRequest listRxNormInferenceJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets a list of InferRxNorm jobs that you have submitted. *

*
*

* This is a convenience which creates an instance of the {@link ListRxNormInferenceJobsRequest.Builder} avoiding * the need to create one manually via {@link ListRxNormInferenceJobsRequest#builder()} *

* * @param listRxNormInferenceJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.ListRxNormInferenceJobsRequest.Builder} to * create a request. * @return Result of the ListRxNormInferenceJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListRxNormInferenceJobs * @see AWS API Documentation */ default ListRxNormInferenceJobsResponse listRxNormInferenceJobs( Consumer listRxNormInferenceJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return listRxNormInferenceJobs(ListRxNormInferenceJobsRequest.builder().applyMutation(listRxNormInferenceJobsRequest) .build()); } /** *

* Gets a list of InferSNOMEDCT jobs a user has submitted. *

* * @param listSnomedctInferenceJobsRequest * @return Result of the ListSNOMEDCTInferenceJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListSNOMEDCTInferenceJobs * @see AWS API Documentation */ default ListSnomedctInferenceJobsResponse listSNOMEDCTInferenceJobs( ListSnomedctInferenceJobsRequest listSnomedctInferenceJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Gets a list of InferSNOMEDCT jobs a user has submitted. *

*
*

* This is a convenience which creates an instance of the {@link ListSnomedctInferenceJobsRequest.Builder} avoiding * the need to create one manually via {@link ListSnomedctInferenceJobsRequest#builder()} *

* * @param listSnomedctInferenceJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.ListSnomedctInferenceJobsRequest.Builder} * to create a request. * @return Result of the ListSNOMEDCTInferenceJobs operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ValidationException * The filter that you specified for the operation is invalid. Check the filter values that you entered and * try your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.ListSNOMEDCTInferenceJobs * @see AWS API Documentation */ default ListSnomedctInferenceJobsResponse listSNOMEDCTInferenceJobs( Consumer listSnomedctInferenceJobsRequest) throws InvalidRequestException, ValidationException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return listSNOMEDCTInferenceJobs(ListSnomedctInferenceJobsRequest.builder() .applyMutation(listSnomedctInferenceJobsRequest).build()); } /** *

* Starts an asynchronous medical entity detection job for a collection of documents. Use the * DescribeEntitiesDetectionV2Job operation to track the status of a job. *

* * @param startEntitiesDetectionV2JobRequest * @return Result of the StartEntitiesDetectionV2Job operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartEntitiesDetectionV2Job * @see AWS API Documentation */ default StartEntitiesDetectionV2JobResponse startEntitiesDetectionV2Job( StartEntitiesDetectionV2JobRequest startEntitiesDetectionV2JobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Starts an asynchronous medical entity detection job for a collection of documents. Use the * DescribeEntitiesDetectionV2Job operation to track the status of a job. *

*
*

* This is a convenience which creates an instance of the {@link StartEntitiesDetectionV2JobRequest.Builder} * avoiding the need to create one manually via {@link StartEntitiesDetectionV2JobRequest#builder()} *

* * @param startEntitiesDetectionV2JobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StartEntitiesDetectionV2JobRequest.Builder} * to create a request. * @return Result of the StartEntitiesDetectionV2Job operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartEntitiesDetectionV2Job * @see AWS API Documentation */ default StartEntitiesDetectionV2JobResponse startEntitiesDetectionV2Job( Consumer startEntitiesDetectionV2JobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return startEntitiesDetectionV2Job(StartEntitiesDetectionV2JobRequest.builder() .applyMutation(startEntitiesDetectionV2JobRequest).build()); } /** *

* Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology. Use the * DescribeICD10CMInferenceJob operation to track the status of a job. *

* * @param startIcd10CmInferenceJobRequest * @return Result of the StartICD10CMInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartICD10CMInferenceJob * @see AWS API Documentation */ default StartIcd10CmInferenceJobResponse startICD10CMInferenceJob( StartIcd10CmInferenceJobRequest startIcd10CmInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology. Use the * DescribeICD10CMInferenceJob operation to track the status of a job. *

*
*

* This is a convenience which creates an instance of the {@link StartIcd10CmInferenceJobRequest.Builder} avoiding * the need to create one manually via {@link StartIcd10CmInferenceJobRequest#builder()} *

* * @param startIcd10CmInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StartIcd10CmInferenceJobRequest.Builder} to * create a request. * @return Result of the StartICD10CMInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartICD10CMInferenceJob * @see AWS API Documentation */ default StartIcd10CmInferenceJobResponse startICD10CMInferenceJob( Consumer startIcd10CmInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return startICD10CMInferenceJob(StartIcd10CmInferenceJobRequest.builder().applyMutation(startIcd10CmInferenceJobRequest) .build()); } /** *

* Starts an asynchronous job to detect protected health information (PHI). Use the * DescribePHIDetectionJob operation to track the status of a job. *

* * @param startPhiDetectionJobRequest * @return Result of the StartPHIDetectionJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartPHIDetectionJob * @see AWS API Documentation */ default StartPhiDetectionJobResponse startPHIDetectionJob(StartPhiDetectionJobRequest startPhiDetectionJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Starts an asynchronous job to detect protected health information (PHI). Use the * DescribePHIDetectionJob operation to track the status of a job. *

*
*

* This is a convenience which creates an instance of the {@link StartPhiDetectionJobRequest.Builder} avoiding the * need to create one manually via {@link StartPhiDetectionJobRequest#builder()} *

* * @param startPhiDetectionJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StartPhiDetectionJobRequest.Builder} to * create a request. * @return Result of the StartPHIDetectionJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartPHIDetectionJob * @see AWS API Documentation */ default StartPhiDetectionJobResponse startPHIDetectionJob( Consumer startPhiDetectionJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return startPHIDetectionJob(StartPhiDetectionJobRequest.builder().applyMutation(startPhiDetectionJobRequest).build()); } /** *

* Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology. Use the * DescribeRxNormInferenceJob operation to track the status of a job. *

* * @param startRxNormInferenceJobRequest * @return Result of the StartRxNormInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartRxNormInferenceJob * @see AWS API Documentation */ default StartRxNormInferenceJobResponse startRxNormInferenceJob(StartRxNormInferenceJobRequest startRxNormInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology. Use the * DescribeRxNormInferenceJob operation to track the status of a job. *

*
*

* This is a convenience which creates an instance of the {@link StartRxNormInferenceJobRequest.Builder} avoiding * the need to create one manually via {@link StartRxNormInferenceJobRequest#builder()} *

* * @param startRxNormInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StartRxNormInferenceJobRequest.Builder} to * create a request. * @return Result of the StartRxNormInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartRxNormInferenceJob * @see AWS API Documentation */ default StartRxNormInferenceJobResponse startRxNormInferenceJob( Consumer startRxNormInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return startRxNormInferenceJob(StartRxNormInferenceJobRequest.builder().applyMutation(startRxNormInferenceJobRequest) .build()); } /** *

* Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the * DescribeSNOMEDCTInferenceJob operation to track the status of a job. *

* * @param startSnomedctInferenceJobRequest * @return Result of the StartSNOMEDCTInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartSNOMEDCTInferenceJob * @see AWS API Documentation */ default StartSnomedctInferenceJobResponse startSNOMEDCTInferenceJob( StartSnomedctInferenceJobRequest startSnomedctInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the * DescribeSNOMEDCTInferenceJob operation to track the status of a job. *

*
*

* This is a convenience which creates an instance of the {@link StartSnomedctInferenceJobRequest.Builder} avoiding * the need to create one manually via {@link StartSnomedctInferenceJobRequest#builder()} *

* * @param startSnomedctInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StartSnomedctInferenceJobRequest.Builder} * to create a request. * @return Result of the StartSNOMEDCTInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws 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. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StartSNOMEDCTInferenceJob * @see AWS API Documentation */ default StartSnomedctInferenceJobResponse startSNOMEDCTInferenceJob( Consumer startSnomedctInferenceJobRequest) throws InvalidRequestException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return startSNOMEDCTInferenceJob(StartSnomedctInferenceJobRequest.builder() .applyMutation(startSnomedctInferenceJobRequest).build()); } /** *

* Stops a medical entities detection job in progress. *

* * @param stopEntitiesDetectionV2JobRequest * @return Result of the StopEntitiesDetectionV2Job operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopEntitiesDetectionV2Job * @see AWS API Documentation */ default StopEntitiesDetectionV2JobResponse stopEntitiesDetectionV2Job( StopEntitiesDetectionV2JobRequest stopEntitiesDetectionV2JobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Stops a medical entities detection job in progress. *

*
*

* This is a convenience which creates an instance of the {@link StopEntitiesDetectionV2JobRequest.Builder} avoiding * the need to create one manually via {@link StopEntitiesDetectionV2JobRequest#builder()} *

* * @param stopEntitiesDetectionV2JobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StopEntitiesDetectionV2JobRequest.Builder} * to create a request. * @return Result of the StopEntitiesDetectionV2Job operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopEntitiesDetectionV2Job * @see AWS API Documentation */ default StopEntitiesDetectionV2JobResponse stopEntitiesDetectionV2Job( Consumer stopEntitiesDetectionV2JobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return stopEntitiesDetectionV2Job(StopEntitiesDetectionV2JobRequest.builder() .applyMutation(stopEntitiesDetectionV2JobRequest).build()); } /** *

* Stops an InferICD10CM inference job in progress. *

* * @param stopIcd10CmInferenceJobRequest * @return Result of the StopICD10CMInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopICD10CMInferenceJob * @see AWS API Documentation */ default StopIcd10CmInferenceJobResponse stopICD10CMInferenceJob(StopIcd10CmInferenceJobRequest stopIcd10CmInferenceJobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Stops an InferICD10CM inference job in progress. *

*
*

* This is a convenience which creates an instance of the {@link StopIcd10CmInferenceJobRequest.Builder} avoiding * the need to create one manually via {@link StopIcd10CmInferenceJobRequest#builder()} *

* * @param stopIcd10CmInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StopIcd10CmInferenceJobRequest.Builder} to * create a request. * @return Result of the StopICD10CMInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopICD10CMInferenceJob * @see AWS API Documentation */ default StopIcd10CmInferenceJobResponse stopICD10CMInferenceJob( Consumer stopIcd10CmInferenceJobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return stopICD10CMInferenceJob(StopIcd10CmInferenceJobRequest.builder().applyMutation(stopIcd10CmInferenceJobRequest) .build()); } /** *

* Stops a protected health information (PHI) detection job in progress. *

* * @param stopPhiDetectionJobRequest * @return Result of the StopPHIDetectionJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopPHIDetectionJob * @see AWS API Documentation */ default StopPhiDetectionJobResponse stopPHIDetectionJob(StopPhiDetectionJobRequest stopPhiDetectionJobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Stops a protected health information (PHI) detection job in progress. *

*
*

* This is a convenience which creates an instance of the {@link StopPhiDetectionJobRequest.Builder} avoiding the * need to create one manually via {@link StopPhiDetectionJobRequest#builder()} *

* * @param stopPhiDetectionJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StopPhiDetectionJobRequest.Builder} to * create a request. * @return Result of the StopPHIDetectionJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopPHIDetectionJob * @see AWS API Documentation */ default StopPhiDetectionJobResponse stopPHIDetectionJob( Consumer stopPhiDetectionJobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return stopPHIDetectionJob(StopPhiDetectionJobRequest.builder().applyMutation(stopPhiDetectionJobRequest).build()); } /** *

* Stops an InferRxNorm inference job in progress. *

* * @param stopRxNormInferenceJobRequest * @return Result of the StopRxNormInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopRxNormInferenceJob * @see AWS API Documentation */ default StopRxNormInferenceJobResponse stopRxNormInferenceJob(StopRxNormInferenceJobRequest stopRxNormInferenceJobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Stops an InferRxNorm inference job in progress. *

*
*

* This is a convenience which creates an instance of the {@link StopRxNormInferenceJobRequest.Builder} avoiding the * need to create one manually via {@link StopRxNormInferenceJobRequest#builder()} *

* * @param stopRxNormInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StopRxNormInferenceJobRequest.Builder} to * create a request. * @return Result of the StopRxNormInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopRxNormInferenceJob * @see AWS API Documentation */ default StopRxNormInferenceJobResponse stopRxNormInferenceJob( Consumer stopRxNormInferenceJobRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return stopRxNormInferenceJob(StopRxNormInferenceJobRequest.builder().applyMutation(stopRxNormInferenceJobRequest) .build()); } /** *

* Stops an InferSNOMEDCT inference job in progress. *

* * @param stopSnomedctInferenceJobRequest * @return Result of the StopSNOMEDCTInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopSNOMEDCTInferenceJob * @see AWS API Documentation */ default StopSnomedctInferenceJobResponse stopSNOMEDCTInferenceJob( StopSnomedctInferenceJobRequest stopSnomedctInferenceJobRequest) throws InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { throw new UnsupportedOperationException(); } /** *

* Stops an InferSNOMEDCT inference job in progress. *

*
*

* This is a convenience which creates an instance of the {@link StopSnomedctInferenceJobRequest.Builder} avoiding * the need to create one manually via {@link StopSnomedctInferenceJobRequest#builder()} *

* * @param stopSnomedctInferenceJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.comprehendmedical.model.StopSnomedctInferenceJobRequest.Builder} to * create a request. * @return Result of the StopSNOMEDCTInferenceJob operation returned by the service. * @throws InvalidRequestException * The request that you made is invalid. Check your request to determine why it's invalid and then retry the * request. * @throws ResourceNotFoundException * The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try * your request again. * @throws 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. * @throws InternalServerException * An internal server error occurred. Retry your request. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ComprehendMedicalException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ComprehendMedicalClient.StopSNOMEDCTInferenceJob * @see AWS API Documentation */ default StopSnomedctInferenceJobResponse stopSNOMEDCTInferenceJob( Consumer stopSnomedctInferenceJobRequest) throws InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, ComprehendMedicalException { return stopSNOMEDCTInferenceJob(StopSnomedctInferenceJobRequest.builder().applyMutation(stopSnomedctInferenceJobRequest) .build()); } /** * Create a {@link ComprehendMedicalClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static ComprehendMedicalClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ComprehendMedicalClient}. */ static ComprehendMedicalClientBuilder builder() { return new DefaultComprehendMedicalClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default ComprehendMedicalServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy