70 releases (stable)

new 1.55.0 Dec 4, 2024
1.54.0 Nov 13, 2024
1.52.0 Oct 31, 2024
1.39.0 Jul 22, 2024
0.4.0 May 24, 2023

#2001 in Network programming

Download history 183/week @ 2024-08-16 190/week @ 2024-08-23 170/week @ 2024-08-30 117/week @ 2024-09-06 130/week @ 2024-09-13 50/week @ 2024-09-20 131/week @ 2024-09-27 176/week @ 2024-10-04 104/week @ 2024-10-11 8/week @ 2024-10-18 154/week @ 2024-10-25 230/week @ 2024-11-01 148/week @ 2024-11-08 31/week @ 2024-11-15 6/week @ 2024-11-22 102/week @ 2024-11-29

354 downloads per month

Apache-2.0

1.5MB
23K SLoC

aws-sdk-internetmonitor

Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global networking footprint to calculate a baseline of performance and availability for internet traffic. This is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements as a baseline, Internet Monitor raises awareness for you when there are significant problems for your end users in the different geographic locations where your application runs.

Internet Monitor publishes internet measurements to CloudWatch Logs and CloudWatch Metrics, to easily support using CloudWatch tools with health information for geographies and networks specific to your application. Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network, you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.

To use Internet Monitor, you create a monitor and associate your application's resources with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.

For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch 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-internetmonitor to your project, add the following to your Cargo.toml file:

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

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

use aws_sdk_internetmonitor as internetmonitor;

#[::tokio::main]
async fn main() -> Result<(), internetmonitor::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_internetmonitor::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
~284K SLoC