8 releases (breaking)

new 0.7.1 Sep 20, 2023
0.7.0 Sep 19, 2023
0.6.0 Aug 24, 2023
0.5.0 Aug 3, 2023
0.1.0 Apr 6, 2023

#2834 in Network programming

Download history 6/week @ 2023-06-10 5/week @ 2023-06-17 4/week @ 2023-06-24 2/week @ 2023-07-01 3/week @ 2023-07-08 1/week @ 2023-07-15 5/week @ 2023-07-22 15/week @ 2023-07-29 14/week @ 2023-08-05 6/week @ 2023-08-12 24/week @ 2023-08-19 13/week @ 2023-08-26 7/week @ 2023-09-02 2/week @ 2023-09-09 38/week @ 2023-09-16

61 downloads per month


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

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:

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

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

use aws_sdk_internetmonitor as internetmonitor;

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


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.


~372K SLoC