26 breaking releases

new 0.28.0 May 24, 2023
0.26.0 Apr 13, 2023
0.25.0 Mar 30, 2023
0.22.0 Dec 15, 2022
0.0.0 May 8, 2021

#93 in Network programming

Download history 953/week @ 2023-02-02 616/week @ 2023-02-09 1166/week @ 2023-02-16 1039/week @ 2023-02-23 1204/week @ 2023-03-02 1481/week @ 2023-03-09 1732/week @ 2023-03-16 1817/week @ 2023-03-23 1104/week @ 2023-03-30 1464/week @ 2023-04-06 1007/week @ 2023-04-13 563/week @ 2023-04-20 747/week @ 2023-04-27 1265/week @ 2023-05-04 1880/week @ 2023-05-11 1407/week @ 2023-05-18

5,492 downloads per month
Used in sfn-paw


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

Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.

You can use Step Functions to build applications from individual components, each of which performs a discrete function, or task, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues.

Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API. For more information about Step Functions, see the _ Step Functions 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-sfn to your project, add the following to your Cargo.toml file:

aws-config = "0.55.3"
aws-sdk-sfn = "0.28.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_sfn as sfn;

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


~351K SLoC