78 releases (34 stable)

new 1.35.0 Jul 12, 2024
1.33.0 Jun 20, 2024
1.18.0 Mar 26, 2024
1.9.0 Dec 21, 2023
0.0.0 May 7, 2021

#65 in #amazon-web-services

Download history 92/week @ 2024-03-15 76/week @ 2024-03-22 41/week @ 2024-03-29 106/week @ 2024-04-05 97/week @ 2024-04-12 93/week @ 2024-04-19 100/week @ 2024-04-26 172/week @ 2024-05-03 117/week @ 2024-05-10 156/week @ 2024-05-17 155/week @ 2024-05-24 115/week @ 2024-05-31 161/week @ 2024-06-07 213/week @ 2024-06-14 76/week @ 2024-06-21 1/week @ 2024-06-28

464 downloads per month

Apache-2.0

3.5MB
47K SLoC

aws-sdk-devopsguru

Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the Amazon Web Services resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru.

You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each insight to help you manage and track your work addressing insights.

To learn about the DevOps Guru workflow, see How DevOps Guru works. To learn about DevOps Guru concepts, see Concepts in DevOps Guru.

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-devopsguru to your project, add the following to your Cargo.toml file:

[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-devopsguru = "1.35.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_devopsguru as devopsguru;

#[::tokio::main]
async fn main() -> Result<(), devopsguru::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_devopsguru::Client::new(&config);

    // ... make some calls with the client

    Ok(())
}

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

License

This project is licensed under the Apache-2.0 License.

Dependencies

~8–20MB
~274K SLoC