57 releases (13 stable)

new 1.14.0 Feb 20, 2024
1.12.0 Jan 25, 2024
1.9.0 Dec 21, 2023
1.3.0 Nov 27, 2023
0.0.0 May 7, 2021

#1 in #contact

Download history 7106/week @ 2023-11-05 6876/week @ 2023-11-12 5759/week @ 2023-11-19 7060/week @ 2023-11-26 7161/week @ 2023-12-03 7128/week @ 2023-12-10 7313/week @ 2023-12-17 3681/week @ 2023-12-24 4867/week @ 2023-12-31 7241/week @ 2024-01-07 5583/week @ 2024-01-14 5910/week @ 2024-01-21 6525/week @ 2024-01-28 6303/week @ 2024-02-04 7423/week @ 2024-02-11 8464/week @ 2024-02-18

28,856 downloads per month
Used in redgold

Apache-2.0

6MB
89K SLoC

aws-sdk-sesv2

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 = { version = "1.1.6", features = ["behavior-version-latest"] }
aws-sdk-sesv2 = "1.14.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 = aws_sdk_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

~7–20MB
~258K SLoC