29 breaking releases

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

#2219 in Network programming

Download history 40/week @ 2023-06-03 44/week @ 2023-06-10 84/week @ 2023-06-17 35/week @ 2023-06-24 7/week @ 2023-07-01 59/week @ 2023-07-15 121/week @ 2023-07-22 381/week @ 2023-07-29 73/week @ 2023-08-05 91/week @ 2023-08-12 147/week @ 2023-08-19 224/week @ 2023-08-26 63/week @ 2023-09-02 9/week @ 2023-09-09 64/week @ 2023-09-16

361 downloads per month


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

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the _ Amazon SWF 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-swf to your project, add the following to your Cargo.toml file:

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

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

use aws_sdk_swf as swf;

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


~372K SLoC