29 breaking releases

new 0.31.1 Sep 20, 2023
0.30.0 Aug 23, 2023
0.28.0 May 24, 2023
0.25.0 Mar 30, 2023
0.0.0 May 8, 2021

#2526 in Network programming

Download history 32/week @ 2023-06-01 60/week @ 2023-06-08 78/week @ 2023-06-15 96/week @ 2023-06-22 35/week @ 2023-06-29 83/week @ 2023-07-06 84/week @ 2023-07-13 45/week @ 2023-07-20 89/week @ 2023-07-27 121/week @ 2023-08-03 101/week @ 2023-08-10 114/week @ 2023-08-17 135/week @ 2023-08-24 70/week @ 2023-08-31 89/week @ 2023-09-07 40/week @ 2023-09-14

342 downloads per month


92K SLoC


Please Note: The SDK is currently in Developer Preview and is intended strictly for feedback purposes only. Do not use this SDK for production workloads.

Amazon Comprehend is an Amazon Web Services service for gaining insight into the content of documents. Use these actions to determine the topics contained in your documents, the topics they discuss, the predominant sentiment expressed in them, the predominant language used, and more.

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-comprehend to your project, add the following to your Cargo.toml file:

aws-config = "0.56.1"
aws-sdk-comprehend = "0.31.1"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_comprehend as comprehend;

async fn main() -> Result<(), comprehend::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_comprehend::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.


~358K SLoC