24 releases (breaking)

Uses new Rust 2021

0.21.0 Oct 26, 2022
0.18.0 Aug 31, 2022
0.16.0 Jul 22, 2022
0.9.0 Mar 18, 2022
0.0.0 May 7, 2021

#116 in Network programming

Download history 1409/week @ 2022-08-17 969/week @ 2022-08-24 828/week @ 2022-08-31 1192/week @ 2022-09-07 1116/week @ 2022-09-14 513/week @ 2022-09-21 405/week @ 2022-09-28 471/week @ 2022-10-05 525/week @ 2022-10-12 600/week @ 2022-10-19 536/week @ 2022-10-26 926/week @ 2022-11-02 719/week @ 2022-11-09 930/week @ 2022-11-16 1118/week @ 2022-11-23 781/week @ 2022-11-30

3,654 downloads per month

Apache-2.0

3.5MB
64K SLoC

aws-sdk-sesv2

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 SES is an Amazon Web Services service that you can use to send email messages to your customers.

If you're new to Amazon SES API v2, you might find it helpful to review the Amazon Simple Email Service Developer Guide. The Amazon SES Developer Guide provides information and code samples that demonstrate how to use Amazon SES API v2 features programmatically.

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

[dependencies]
aws-config = "0.51.0"
aws-sdk-sesv2 = "0.21.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_sesv2 as sesv2;

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

~12–20MB
~434K SLoC