23 breaking releases

new 0.25.0 Mar 30, 2023
0.23.0 Jan 14, 2023
0.22.0 Dec 15, 2022
0.21.0 Oct 26, 2022
0.0.0 May 7, 2021

#569 in Network programming

Download history 9563/week @ 2022-12-08 9591/week @ 2022-12-15 4972/week @ 2022-12-22 6091/week @ 2022-12-29 8988/week @ 2023-01-05 7969/week @ 2023-01-12 8684/week @ 2023-01-19 9404/week @ 2023-01-26 8354/week @ 2023-02-02 8838/week @ 2023-02-09 9175/week @ 2023-02-16 10095/week @ 2023-02-23 11419/week @ 2023-03-02 11914/week @ 2023-03-09 12596/week @ 2023-03-16 10744/week @ 2023-03-23

49,165 downloads per month
Used in 6 crates (5 directly)


19K 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.

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:

aws-config = "0.55.0"
aws-sdk-sqs = "0.25.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_sqs as sqs;

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


~343K SLoC