92 releases (49 stable)

new 1.49.0 Nov 6, 2024
1.44.0 Sep 27, 2024
1.36.0 Jul 22, 2024
1.18.0 Mar 26, 2024
0.0.0 May 7, 2021

#1461 in Network programming

Download history 25271/week @ 2024-07-17 26993/week @ 2024-07-24 31414/week @ 2024-07-31 29325/week @ 2024-08-07 29799/week @ 2024-08-14 29566/week @ 2024-08-21 31484/week @ 2024-08-28 34821/week @ 2024-09-04 30124/week @ 2024-09-11 31227/week @ 2024-09-18 35801/week @ 2024-09-25 32549/week @ 2024-10-02 35447/week @ 2024-10-09 35969/week @ 2024-10-16 34056/week @ 2024-10-23 36365/week @ 2024-10-30

148,581 downloads per month
Used in 22 crates (21 directly)

Apache-2.0

2.5MB
29K SLoC

aws-sdk-sqs

Welcome to the Amazon SQS API Reference.

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.

For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer Guide.

You can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:

  • Cryptographically sign your service requests
  • Retry requests
  • Handle error responses

Additional information

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

[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-sqs = "1.49.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_sqs as sqs;

#[::tokio::main]
async fn main() -> Result<(), sqs::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_sqs::Client::new(&config);

    // ... make some calls with the client

    Ok(())
}

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

License

This project is licensed under the Apache-2.0 License.

Dependencies

~8–19MB
~284K SLoC