22 breaking releases

Uses new Rust 2021

new 0.24.0 Jan 26, 2023
0.22.0 Dec 15, 2022
0.21.0 Oct 26, 2022
0.16.0 Jul 22, 2022
0.0.0 May 7, 2021

#2067 in Network programming

Download history 3000/week @ 2022-10-07 2579/week @ 2022-10-14 3416/week @ 2022-10-21 3487/week @ 2022-10-28 3781/week @ 2022-11-04 3722/week @ 2022-11-11 3108/week @ 2022-11-18 3720/week @ 2022-11-25 3909/week @ 2022-12-02 3783/week @ 2022-12-09 3549/week @ 2022-12-16 2558/week @ 2022-12-23 2803/week @ 2022-12-30 4242/week @ 2023-01-06 3652/week @ 2023-01-13 4508/week @ 2023-01-20

15,728 downloads per month

Apache-2.0

2MB
29K SLoC

aws-sdk-kinesis

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 Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.

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

[dependencies]
aws-config = "0.54.1"
aws-sdk-kinesis = "0.24.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_kinesis as kinesis;

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