22 breaking releases

Uses new Rust 2021

new 0.24.0 Jan 26, 2023
0.22.0 Dec 14, 2022
0.21.0 Oct 26, 2022
0.16.0 Jul 22, 2022
0.0.0 May 7, 2021

#85 in Network programming

Download history 847/week @ 2022-10-08 527/week @ 2022-10-15 799/week @ 2022-10-22 970/week @ 2022-10-29 4368/week @ 2022-11-05 3511/week @ 2022-11-12 4150/week @ 2022-11-19 4397/week @ 2022-11-26 7001/week @ 2022-12-03 3987/week @ 2022-12-10 5719/week @ 2022-12-17 2630/week @ 2022-12-24 5273/week @ 2022-12-31 2204/week @ 2023-01-07 5251/week @ 2023-01-14 4559/week @ 2023-01-21

18,044 downloads per month


55K 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 EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your resources change state, they automatically send events to an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a predetermined schedule. For example, you can configure rules to:

  • Automatically invoke an Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.
  • Direct specific API records from CloudTrail to an Amazon Kinesis data stream for detailed analysis of potential security or availability risks.
  • Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.

For more information about the features of Amazon EventBridge, see the Amazon EventBridge User 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-eventbridge to your project, add the following to your Cargo.toml file:

aws-config = "0.54.1"
aws-sdk-eventbridge = "0.24.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_eventbridge as eventbridge;

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


~322K SLoC