29 breaking releases

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

#84 in #aws

Download history 2/week @ 2023-06-11 73/week @ 2023-06-18 6/week @ 2023-07-02 3/week @ 2023-07-09 2/week @ 2023-07-16 4/week @ 2023-07-23 20/week @ 2023-07-30 14/week @ 2023-08-06 33/week @ 2023-08-13 20/week @ 2023-08-20 71/week @ 2023-08-27 40/week @ 2023-09-03 1/week @ 2023-09-10 45/week @ 2023-09-17

158 downloads per month


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

This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects:

Notification rules, by calling the following:

  • CreateNotificationRule, which creates a notification rule for a resource in your account.
  • DeleteNotificationRule, which deletes a notification rule.
  • DescribeNotificationRule, which provides information about a notification rule.
  • ListNotificationRules, which lists the notification rules associated with your account.
  • UpdateNotificationRule, which changes the name, events, or targets associated with a notification rule.
  • Subscribe, which subscribes a target to a notification rule.
  • Unsubscribe, which removes a target from a notification rule.

Targets, by calling the following:

  • DeleteTarget, which removes a notification rule target from a notification rule.
  • ListTargets, which lists the targets associated with a notification rule.

Events, by calling the following:

  • ListEventTypes, which lists the event types you can include in a notification rule.

Tags, by calling the following:

  • ListTagsForResource, which lists the tags already associated with a notification rule in your account.
  • TagResource, which associates a tag you provide with a notification rule in your account.
  • UntagResource, which removes a tag from a notification rule in your account.

For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console 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-codestarnotifications to your project, add the following to your Cargo.toml file:

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

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

use aws_sdk_codestarnotifications as codestarnotifications;

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


~371K SLoC