aws-sdk-devopsguru

Crates.ioaws-sdk-devopsguru
lib.rsaws-sdk-devopsguru
version1.50.0
sourcesrc
created_at2021-05-07 21:49:37.439807
updated_at2024-12-04 05:49:04.881301
descriptionAWS SDK for Amazon DevOps Guru
homepage
repositoryhttps://github.com/awslabs/aws-sdk-rust
max_upload_size
id394538
size3,289,274
AWS SDK Rust Bot (aws-sdk-rust-ci)

documentation

README

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.50.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.

Commit count: 1103

cargo fmt