92 releases (48 stable)

1.49.0 Nov 6, 2024
1.44.0 Sep 27, 2024
1.36.0 Jul 22, 2024
1.18.0 Mar 26, 2024
0.0.0 May 7, 2021

#2492 in Network programming

Download history 77/week @ 2024-08-04 209/week @ 2024-08-11 44/week @ 2024-08-18 98/week @ 2024-08-25 129/week @ 2024-09-01 121/week @ 2024-09-08 138/week @ 2024-09-15 188/week @ 2024-09-22 89/week @ 2024-09-29 174/week @ 2024-10-06 41/week @ 2024-10-13 82/week @ 2024-10-20 128/week @ 2024-10-27 202/week @ 2024-11-03 15/week @ 2024-11-10 4/week @ 2024-11-17

381 downloads per month

Apache-2.0

2.5MB
43K SLoC

aws-sdk-iotanalytics

IoT Analytics allows you to collect large amounts of device data, process messages, and store them. You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced data exploration through integration with Jupyter Notebooks and data visualization through integration with Amazon QuickSight.

Traditional analytics and business intelligence tools are designed to process structured data. IoT data often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result the data from these devices can have significant gaps, corrupted messages, and false readings that must be cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data from external sources.

IoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You can set up the service to collect only the data you need from your devices, apply mathematical transforms to process the data, and enrich the data with device-specific metadata such as device type and location before storing it. Then, you can analyze your data by running queries using the built-in SQL query engine, or perform more complex analytics and machine learning inference. IoT Analytics includes pre-built models for common IoT use cases so you can answer questions like which devices are about to fail or which customers are at risk of abandoning their wearable devices.

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

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

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

use aws_sdk_iotanalytics as iotanalytics;

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