Interface ComprehendMedicalAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ComprehendMedicalAsyncClient extends AwsClient
Service client for accessing ComprehendMedical asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

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.

  • Field Details

  • Method Details

    • describeEntitiesDetectionV2Job

      default CompletableFuture<DescribeEntitiesDetectionV2JobResponse> describeEntitiesDetectionV2Job(DescribeEntitiesDetectionV2JobRequest describeEntitiesDetectionV2JobRequest)

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

      Parameters:
      describeEntitiesDetectionV2JobRequest -
      Returns:
      A Java Future containing the result of the DescribeEntitiesDetectionV2Job operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEntitiesDetectionV2Job

      default CompletableFuture<DescribeEntitiesDetectionV2JobResponse> describeEntitiesDetectionV2Job(Consumer<DescribeEntitiesDetectionV2JobRequest.Builder> describeEntitiesDetectionV2JobRequest)

      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 DescribeEntitiesDetectionV2JobRequest.Builder avoiding the need to create one manually via DescribeEntitiesDetectionV2JobRequest.builder()

      Parameters:
      describeEntitiesDetectionV2JobRequest - A Consumer that will call methods on DescribeEntitiesDetectionV2JobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeEntitiesDetectionV2Job operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeICD10CMInferenceJob

      default CompletableFuture<DescribeIcd10CmInferenceJobResponse> describeICD10CMInferenceJob(DescribeIcd10CmInferenceJobRequest describeIcd10CmInferenceJobRequest)

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

      Parameters:
      describeIcd10CmInferenceJobRequest -
      Returns:
      A Java Future containing the result of the DescribeICD10CMInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeICD10CMInferenceJob

      default CompletableFuture<DescribeIcd10CmInferenceJobResponse> describeICD10CMInferenceJob(Consumer<DescribeIcd10CmInferenceJobRequest.Builder> describeIcd10CmInferenceJobRequest)

      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 DescribeIcd10CmInferenceJobRequest.Builder avoiding the need to create one manually via DescribeIcd10CmInferenceJobRequest.builder()

      Parameters:
      describeIcd10CmInferenceJobRequest - A Consumer that will call methods on DescribeIcd10CmInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeICD10CMInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describePHIDetectionJob

      default CompletableFuture<DescribePhiDetectionJobResponse> describePHIDetectionJob(DescribePhiDetectionJobRequest describePhiDetectionJobRequest)

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

      Parameters:
      describePhiDetectionJobRequest -
      Returns:
      A Java Future containing the result of the DescribePHIDetectionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describePHIDetectionJob

      default CompletableFuture<DescribePhiDetectionJobResponse> describePHIDetectionJob(Consumer<DescribePhiDetectionJobRequest.Builder> describePhiDetectionJobRequest)

      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 DescribePhiDetectionJobRequest.Builder avoiding the need to create one manually via DescribePhiDetectionJobRequest.builder()

      Parameters:
      describePhiDetectionJobRequest - A Consumer that will call methods on DescribePhiDetectionJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribePHIDetectionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeRxNormInferenceJob

      default CompletableFuture<DescribeRxNormInferenceJobResponse> describeRxNormInferenceJob(DescribeRxNormInferenceJobRequest describeRxNormInferenceJobRequest)

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

      Parameters:
      describeRxNormInferenceJobRequest -
      Returns:
      A Java Future containing the result of the DescribeRxNormInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeRxNormInferenceJob

      default CompletableFuture<DescribeRxNormInferenceJobResponse> describeRxNormInferenceJob(Consumer<DescribeRxNormInferenceJobRequest.Builder> describeRxNormInferenceJobRequest)

      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 DescribeRxNormInferenceJobRequest.Builder avoiding the need to create one manually via DescribeRxNormInferenceJobRequest.builder()

      Parameters:
      describeRxNormInferenceJobRequest - A Consumer that will call methods on DescribeRxNormInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeRxNormInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSNOMEDCTInferenceJob

      default CompletableFuture<DescribeSnomedctInferenceJobResponse> describeSNOMEDCTInferenceJob(DescribeSnomedctInferenceJobRequest describeSnomedctInferenceJobRequest)

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

      Parameters:
      describeSnomedctInferenceJobRequest -
      Returns:
      A Java Future containing the result of the DescribeSNOMEDCTInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSNOMEDCTInferenceJob

      default CompletableFuture<DescribeSnomedctInferenceJobResponse> describeSNOMEDCTInferenceJob(Consumer<DescribeSnomedctInferenceJobRequest.Builder> describeSnomedctInferenceJobRequest)

      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 DescribeSnomedctInferenceJobRequest.Builder avoiding the need to create one manually via DescribeSnomedctInferenceJobRequest.builder()

      Parameters:
      describeSnomedctInferenceJobRequest - A Consumer that will call methods on DescribeSnomedctInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSNOMEDCTInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • detectEntities

      @Deprecated default CompletableFuture<DetectEntitiesResponse> detectEntities(DetectEntitiesRequest detectEntitiesRequest)
      Deprecated.
      This operation is deprecated, use DetectEntitiesV2 instead.

      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.

      Parameters:
      detectEntitiesRequest -
      Returns:
      A Java Future containing the result of the DetectEntities operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • detectEntities

      Deprecated.
      This operation is deprecated, use DetectEntitiesV2 instead.

      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 DetectEntitiesRequest.Builder avoiding the need to create one manually via DetectEntitiesRequest.builder()

      Parameters:
      detectEntitiesRequest - A Consumer that will call methods on DetectEntitiesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DetectEntities operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • detectEntitiesV2

      default CompletableFuture<DetectEntitiesV2Response> detectEntitiesV2(DetectEntitiesV2Request detectEntitiesV2Request)

      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.

      Parameters:
      detectEntitiesV2Request -
      Returns:
      A Java Future containing the result of the DetectEntitiesV2 operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • detectEntitiesV2

      default CompletableFuture<DetectEntitiesV2Response> detectEntitiesV2(Consumer<DetectEntitiesV2Request.Builder> detectEntitiesV2Request)

      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 DetectEntitiesV2Request.Builder avoiding the need to create one manually via DetectEntitiesV2Request.builder()

      Parameters:
      detectEntitiesV2Request - A Consumer that will call methods on DetectEntitiesV2Request.Builder to create a request.
      Returns:
      A Java Future containing the result of the DetectEntitiesV2 operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • detectPHI

      default CompletableFuture<DetectPhiResponse> detectPHI(DetectPhiRequest detectPhiRequest)

      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.

      Parameters:
      detectPhiRequest -
      Returns:
      A Java Future containing the result of the DetectPHI operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • detectPHI

      default CompletableFuture<DetectPhiResponse> detectPHI(Consumer<DetectPhiRequest.Builder> detectPhiRequest)

      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 DetectPhiRequest.Builder avoiding the need to create one manually via DetectPhiRequest.builder()

      Parameters:
      detectPhiRequest - A Consumer that will call methods on DetectPhiRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DetectPHI operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • inferICD10CM

      default CompletableFuture<InferIcd10CmResponse> inferICD10CM(InferIcd10CmRequest inferIcd10CmRequest)

      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.

      Parameters:
      inferIcd10CmRequest -
      Returns:
      A Java Future containing the result of the InferICD10CM operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • inferICD10CM

      default CompletableFuture<InferIcd10CmResponse> inferICD10CM(Consumer<InferIcd10CmRequest.Builder> inferIcd10CmRequest)

      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 InferIcd10CmRequest.Builder avoiding the need to create one manually via InferIcd10CmRequest.builder()

      Parameters:
      inferIcd10CmRequest - A Consumer that will call methods on InferIcd10CmRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the InferICD10CM operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • inferRxNorm

      default CompletableFuture<InferRxNormResponse> inferRxNorm(InferRxNormRequest inferRxNormRequest)

      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.

      Parameters:
      inferRxNormRequest -
      Returns:
      A Java Future containing the result of the InferRxNorm operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • inferRxNorm

      default CompletableFuture<InferRxNormResponse> inferRxNorm(Consumer<InferRxNormRequest.Builder> inferRxNormRequest)

      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 InferRxNormRequest.Builder avoiding the need to create one manually via InferRxNormRequest.builder()

      Parameters:
      inferRxNormRequest - A Consumer that will call methods on InferRxNormRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the InferRxNorm operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • inferSNOMEDCT

      default CompletableFuture<InferSnomedctResponse> inferSNOMEDCT(InferSnomedctRequest inferSnomedctRequest)

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

      Parameters:
      inferSnomedctRequest -
      Returns:
      A Java Future containing the result of the InferSNOMEDCT operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • inferSNOMEDCT

      default CompletableFuture<InferSnomedctResponse> inferSNOMEDCT(Consumer<InferSnomedctRequest.Builder> inferSnomedctRequest)

      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 InferSnomedctRequest.Builder avoiding the need to create one manually via InferSnomedctRequest.builder()

      Parameters:
      inferSnomedctRequest - A Consumer that will call methods on InferSnomedctRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the InferSNOMEDCT operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ServiceUnavailableException The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • InvalidEncodingException The input text was not in valid UTF-8 character encoding. Check your text then retry your request.
      • TextSizeLimitExceededException The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEntitiesDetectionV2Jobs

      default CompletableFuture<ListEntitiesDetectionV2JobsResponse> listEntitiesDetectionV2Jobs(ListEntitiesDetectionV2JobsRequest listEntitiesDetectionV2JobsRequest)

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

      Parameters:
      listEntitiesDetectionV2JobsRequest -
      Returns:
      A Java Future containing the result of the ListEntitiesDetectionV2Jobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEntitiesDetectionV2Jobs

      default CompletableFuture<ListEntitiesDetectionV2JobsResponse> listEntitiesDetectionV2Jobs(Consumer<ListEntitiesDetectionV2JobsRequest.Builder> listEntitiesDetectionV2JobsRequest)

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


      This is a convenience which creates an instance of the ListEntitiesDetectionV2JobsRequest.Builder avoiding the need to create one manually via ListEntitiesDetectionV2JobsRequest.builder()

      Parameters:
      listEntitiesDetectionV2JobsRequest - A Consumer that will call methods on ListEntitiesDetectionV2JobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEntitiesDetectionV2Jobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listICD10CMInferenceJobs

      default CompletableFuture<ListIcd10CmInferenceJobsResponse> listICD10CMInferenceJobs(ListIcd10CmInferenceJobsRequest listIcd10CmInferenceJobsRequest)

      Gets a list of InferICD10CM jobs that you have submitted.

      Parameters:
      listIcd10CmInferenceJobsRequest -
      Returns:
      A Java Future containing the result of the ListICD10CMInferenceJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listICD10CMInferenceJobs

      default CompletableFuture<ListIcd10CmInferenceJobsResponse> listICD10CMInferenceJobs(Consumer<ListIcd10CmInferenceJobsRequest.Builder> listIcd10CmInferenceJobsRequest)

      Gets a list of InferICD10CM jobs that you have submitted.


      This is a convenience which creates an instance of the ListIcd10CmInferenceJobsRequest.Builder avoiding the need to create one manually via ListIcd10CmInferenceJobsRequest.builder()

      Parameters:
      listIcd10CmInferenceJobsRequest - A Consumer that will call methods on ListIcd10CmInferenceJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListICD10CMInferenceJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPHIDetectionJobs

      default CompletableFuture<ListPhiDetectionJobsResponse> listPHIDetectionJobs(ListPhiDetectionJobsRequest listPhiDetectionJobsRequest)

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

      Parameters:
      listPhiDetectionJobsRequest -
      Returns:
      A Java Future containing the result of the ListPHIDetectionJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPHIDetectionJobs

      default CompletableFuture<ListPhiDetectionJobsResponse> listPHIDetectionJobs(Consumer<ListPhiDetectionJobsRequest.Builder> listPhiDetectionJobsRequest)

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


      This is a convenience which creates an instance of the ListPhiDetectionJobsRequest.Builder avoiding the need to create one manually via ListPhiDetectionJobsRequest.builder()

      Parameters:
      listPhiDetectionJobsRequest - A Consumer that will call methods on ListPhiDetectionJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPHIDetectionJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRxNormInferenceJobs

      default CompletableFuture<ListRxNormInferenceJobsResponse> listRxNormInferenceJobs(ListRxNormInferenceJobsRequest listRxNormInferenceJobsRequest)

      Gets a list of InferRxNorm jobs that you have submitted.

      Parameters:
      listRxNormInferenceJobsRequest -
      Returns:
      A Java Future containing the result of the ListRxNormInferenceJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRxNormInferenceJobs

      default CompletableFuture<ListRxNormInferenceJobsResponse> listRxNormInferenceJobs(Consumer<ListRxNormInferenceJobsRequest.Builder> listRxNormInferenceJobsRequest)

      Gets a list of InferRxNorm jobs that you have submitted.


      This is a convenience which creates an instance of the ListRxNormInferenceJobsRequest.Builder avoiding the need to create one manually via ListRxNormInferenceJobsRequest.builder()

      Parameters:
      listRxNormInferenceJobsRequest - A Consumer that will call methods on ListRxNormInferenceJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRxNormInferenceJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSNOMEDCTInferenceJobs

      default CompletableFuture<ListSnomedctInferenceJobsResponse> listSNOMEDCTInferenceJobs(ListSnomedctInferenceJobsRequest listSnomedctInferenceJobsRequest)

      Gets a list of InferSNOMEDCT jobs a user has submitted.

      Parameters:
      listSnomedctInferenceJobsRequest -
      Returns:
      A Java Future containing the result of the ListSNOMEDCTInferenceJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSNOMEDCTInferenceJobs

      default CompletableFuture<ListSnomedctInferenceJobsResponse> listSNOMEDCTInferenceJobs(Consumer<ListSnomedctInferenceJobsRequest.Builder> listSnomedctInferenceJobsRequest)

      Gets a list of InferSNOMEDCT jobs a user has submitted.


      This is a convenience which creates an instance of the ListSnomedctInferenceJobsRequest.Builder avoiding the need to create one manually via ListSnomedctInferenceJobsRequest.builder()

      Parameters:
      listSnomedctInferenceJobsRequest - A Consumer that will call methods on ListSnomedctInferenceJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSNOMEDCTInferenceJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ValidationException The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startEntitiesDetectionV2Job

      default CompletableFuture<StartEntitiesDetectionV2JobResponse> startEntitiesDetectionV2Job(StartEntitiesDetectionV2JobRequest startEntitiesDetectionV2JobRequest)

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

      Parameters:
      startEntitiesDetectionV2JobRequest -
      Returns:
      A Java Future containing the result of the StartEntitiesDetectionV2Job operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startEntitiesDetectionV2Job

      default CompletableFuture<StartEntitiesDetectionV2JobResponse> startEntitiesDetectionV2Job(Consumer<StartEntitiesDetectionV2JobRequest.Builder> startEntitiesDetectionV2JobRequest)

      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 StartEntitiesDetectionV2JobRequest.Builder avoiding the need to create one manually via StartEntitiesDetectionV2JobRequest.builder()

      Parameters:
      startEntitiesDetectionV2JobRequest - A Consumer that will call methods on StartEntitiesDetectionV2JobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartEntitiesDetectionV2Job operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startICD10CMInferenceJob

      default CompletableFuture<StartIcd10CmInferenceJobResponse> startICD10CMInferenceJob(StartIcd10CmInferenceJobRequest startIcd10CmInferenceJobRequest)

      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.

      Parameters:
      startIcd10CmInferenceJobRequest -
      Returns:
      A Java Future containing the result of the StartICD10CMInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startICD10CMInferenceJob

      default CompletableFuture<StartIcd10CmInferenceJobResponse> startICD10CMInferenceJob(Consumer<StartIcd10CmInferenceJobRequest.Builder> startIcd10CmInferenceJobRequest)

      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 StartIcd10CmInferenceJobRequest.Builder avoiding the need to create one manually via StartIcd10CmInferenceJobRequest.builder()

      Parameters:
      startIcd10CmInferenceJobRequest - A Consumer that will call methods on StartIcd10CmInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartICD10CMInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startPHIDetectionJob

      default CompletableFuture<StartPhiDetectionJobResponse> startPHIDetectionJob(StartPhiDetectionJobRequest startPhiDetectionJobRequest)

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

      Parameters:
      startPhiDetectionJobRequest -
      Returns:
      A Java Future containing the result of the StartPHIDetectionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startPHIDetectionJob

      default CompletableFuture<StartPhiDetectionJobResponse> startPHIDetectionJob(Consumer<StartPhiDetectionJobRequest.Builder> startPhiDetectionJobRequest)

      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 StartPhiDetectionJobRequest.Builder avoiding the need to create one manually via StartPhiDetectionJobRequest.builder()

      Parameters:
      startPhiDetectionJobRequest - A Consumer that will call methods on StartPhiDetectionJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartPHIDetectionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startRxNormInferenceJob

      default CompletableFuture<StartRxNormInferenceJobResponse> startRxNormInferenceJob(StartRxNormInferenceJobRequest startRxNormInferenceJobRequest)

      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.

      Parameters:
      startRxNormInferenceJobRequest -
      Returns:
      A Java Future containing the result of the StartRxNormInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startRxNormInferenceJob

      default CompletableFuture<StartRxNormInferenceJobResponse> startRxNormInferenceJob(Consumer<StartRxNormInferenceJobRequest.Builder> startRxNormInferenceJobRequest)

      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 StartRxNormInferenceJobRequest.Builder avoiding the need to create one manually via StartRxNormInferenceJobRequest.builder()

      Parameters:
      startRxNormInferenceJobRequest - A Consumer that will call methods on StartRxNormInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartRxNormInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startSNOMEDCTInferenceJob

      default CompletableFuture<StartSnomedctInferenceJobResponse> startSNOMEDCTInferenceJob(StartSnomedctInferenceJobRequest startSnomedctInferenceJobRequest)

      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.

      Parameters:
      startSnomedctInferenceJobRequest -
      Returns:
      A Java Future containing the result of the StartSNOMEDCTInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startSNOMEDCTInferenceJob

      default CompletableFuture<StartSnomedctInferenceJobResponse> startSNOMEDCTInferenceJob(Consumer<StartSnomedctInferenceJobRequest.Builder> startSnomedctInferenceJobRequest)

      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 StartSnomedctInferenceJobRequest.Builder avoiding the need to create one manually via StartSnomedctInferenceJobRequest.builder()

      Parameters:
      startSnomedctInferenceJobRequest - A Consumer that will call methods on StartSnomedctInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartSNOMEDCTInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • TooManyRequestsException You have made too many requests within a short period of time. Wait for a short time and then try your request again. Contact customer support for more information about a service limit increase.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopEntitiesDetectionV2Job

      default CompletableFuture<StopEntitiesDetectionV2JobResponse> stopEntitiesDetectionV2Job(StopEntitiesDetectionV2JobRequest stopEntitiesDetectionV2JobRequest)

      Stops a medical entities detection job in progress.

      Parameters:
      stopEntitiesDetectionV2JobRequest -
      Returns:
      A Java Future containing the result of the StopEntitiesDetectionV2Job operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopEntitiesDetectionV2Job

      default CompletableFuture<StopEntitiesDetectionV2JobResponse> stopEntitiesDetectionV2Job(Consumer<StopEntitiesDetectionV2JobRequest.Builder> stopEntitiesDetectionV2JobRequest)

      Stops a medical entities detection job in progress.


      This is a convenience which creates an instance of the StopEntitiesDetectionV2JobRequest.Builder avoiding the need to create one manually via StopEntitiesDetectionV2JobRequest.builder()

      Parameters:
      stopEntitiesDetectionV2JobRequest - A Consumer that will call methods on StopEntitiesDetectionV2JobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopEntitiesDetectionV2Job operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopICD10CMInferenceJob

      default CompletableFuture<StopIcd10CmInferenceJobResponse> stopICD10CMInferenceJob(StopIcd10CmInferenceJobRequest stopIcd10CmInferenceJobRequest)

      Stops an InferICD10CM inference job in progress.

      Parameters:
      stopIcd10CmInferenceJobRequest -
      Returns:
      A Java Future containing the result of the StopICD10CMInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopICD10CMInferenceJob

      default CompletableFuture<StopIcd10CmInferenceJobResponse> stopICD10CMInferenceJob(Consumer<StopIcd10CmInferenceJobRequest.Builder> stopIcd10CmInferenceJobRequest)

      Stops an InferICD10CM inference job in progress.


      This is a convenience which creates an instance of the StopIcd10CmInferenceJobRequest.Builder avoiding the need to create one manually via StopIcd10CmInferenceJobRequest.builder()

      Parameters:
      stopIcd10CmInferenceJobRequest - A Consumer that will call methods on StopIcd10CmInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopICD10CMInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopPHIDetectionJob

      default CompletableFuture<StopPhiDetectionJobResponse> stopPHIDetectionJob(StopPhiDetectionJobRequest stopPhiDetectionJobRequest)

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

      Parameters:
      stopPhiDetectionJobRequest -
      Returns:
      A Java Future containing the result of the StopPHIDetectionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopPHIDetectionJob

      default CompletableFuture<StopPhiDetectionJobResponse> stopPHIDetectionJob(Consumer<StopPhiDetectionJobRequest.Builder> stopPhiDetectionJobRequest)

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


      This is a convenience which creates an instance of the StopPhiDetectionJobRequest.Builder avoiding the need to create one manually via StopPhiDetectionJobRequest.builder()

      Parameters:
      stopPhiDetectionJobRequest - A Consumer that will call methods on StopPhiDetectionJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopPHIDetectionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopRxNormInferenceJob

      default CompletableFuture<StopRxNormInferenceJobResponse> stopRxNormInferenceJob(StopRxNormInferenceJobRequest stopRxNormInferenceJobRequest)

      Stops an InferRxNorm inference job in progress.

      Parameters:
      stopRxNormInferenceJobRequest -
      Returns:
      A Java Future containing the result of the StopRxNormInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopRxNormInferenceJob

      default CompletableFuture<StopRxNormInferenceJobResponse> stopRxNormInferenceJob(Consumer<StopRxNormInferenceJobRequest.Builder> stopRxNormInferenceJobRequest)

      Stops an InferRxNorm inference job in progress.


      This is a convenience which creates an instance of the StopRxNormInferenceJobRequest.Builder avoiding the need to create one manually via StopRxNormInferenceJobRequest.builder()

      Parameters:
      stopRxNormInferenceJobRequest - A Consumer that will call methods on StopRxNormInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopRxNormInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopSNOMEDCTInferenceJob

      default CompletableFuture<StopSnomedctInferenceJobResponse> stopSNOMEDCTInferenceJob(StopSnomedctInferenceJobRequest stopSnomedctInferenceJobRequest)

      Stops an InferSNOMEDCT inference job in progress.

      Parameters:
      stopSnomedctInferenceJobRequest -
      Returns:
      A Java Future containing the result of the StopSNOMEDCTInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopSNOMEDCTInferenceJob

      default CompletableFuture<StopSnomedctInferenceJobResponse> stopSNOMEDCTInferenceJob(Consumer<StopSnomedctInferenceJobRequest.Builder> stopSnomedctInferenceJobRequest)

      Stops an InferSNOMEDCT inference job in progress.


      This is a convenience which creates an instance of the StopSnomedctInferenceJobRequest.Builder avoiding the need to create one manually via StopSnomedctInferenceJobRequest.builder()

      Parameters:
      stopSnomedctInferenceJobRequest - A Consumer that will call methods on StopSnomedctInferenceJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopSNOMEDCTInferenceJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The request that you made is invalid. Check your request to determine why it's invalid and then retry the request.
      • ResourceNotFoundException The resource identified by the specified Amazon Resource Name (ARN) was not found. Check the ARN and try your request again.
      • 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.
      • InternalServerException An internal server error occurred. Retry your request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ComprehendMedicalException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default ComprehendMedicalServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a ComprehendMedicalAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a ComprehendMedicalAsyncClient.