68 releases (24 stable)

new 1.25.0 May 14, 2024
1.21.0 Apr 22, 2024
1.18.0 Mar 26, 2024
1.9.0 Dec 21, 2023
0.0.0 May 7, 2021

#3 in #entities

Download history 18/week @ 2024-01-22 208/week @ 2024-02-19 156/week @ 2024-02-26 5/week @ 2024-03-04 218/week @ 2024-03-11 33/week @ 2024-03-18 81/week @ 2024-03-25 32/week @ 2024-04-01 178/week @ 2024-04-08 12/week @ 2024-04-15 104/week @ 2024-04-22 114/week @ 2024-04-29 174/week @ 2024-05-06

415 downloads per month


32K SLoC


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.

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-comprehendmedical to your project, add the following to your Cargo.toml file:

aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-comprehendmedical = "1.25.0"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_comprehendmedical as comprehendmedical;

async fn main() -> Result<(), comprehendmedical::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_comprehendmedical::Client::new(&config);

    // ... make some calls with the client


See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help


This project is licensed under the Apache-2.0 License.


~269K SLoC