29 breaking releases

new 0.31.1 Sep 20, 2023
0.30.0 Aug 24, 2023
0.28.0 May 24, 2023
0.25.0 Mar 30, 2023
0.0.26-alpha Nov 24, 2021

#176 in #aws

Download history 2/week @ 2023-06-10 36/week @ 2023-06-17 35/week @ 2023-06-24 4/week @ 2023-07-01 3/week @ 2023-07-08 1/week @ 2023-07-15 5/week @ 2023-07-22 15/week @ 2023-07-29 17/week @ 2023-08-05 32/week @ 2023-08-12 18/week @ 2023-08-19 70/week @ 2023-08-26 39/week @ 2023-09-02 1/week @ 2023-09-09 49/week @ 2023-09-16

160 downloads per month

Apache-2.0

1.5MB
24K SLoC

aws-sdk-grafana

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 Managed Grafana is a fully managed and secure data visualization service that you can use to instantly query, correlate, and visualize operational metrics, logs, and traces from multiple sources. Amazon Managed Grafana makes it easy to deploy, operate, and scale Grafana, a widely deployed data visualization tool that is popular for its extensible data support.

With Amazon Managed Grafana, you create logically isolated Grafana servers called workspaces. In a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces without having to build, package, or deploy any hardware to run Grafana servers.

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

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

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

use aws_sdk_grafana as grafana;

#[::tokio::main]
async fn main() -> Result<(), grafana::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_grafana::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

~10–27MB
~375K SLoC