74 releases (30 stable)

new 1.31.0 Jun 13, 2024
1.28.0 May 29, 2024
1.18.0 Mar 26, 2024
1.9.0 Dec 21, 2023
0.0.0 May 7, 2021

#13 in Email

Download history 511/week @ 2024-02-22 796/week @ 2024-02-29 1167/week @ 2024-03-07 781/week @ 2024-03-14 1020/week @ 2024-03-21 1320/week @ 2024-03-28 1154/week @ 2024-04-04 979/week @ 2024-04-11 900/week @ 2024-04-18 1000/week @ 2024-04-25 1049/week @ 2024-05-02 1260/week @ 2024-05-09 1023/week @ 2024-05-16 853/week @ 2024-05-23 452/week @ 2024-05-30 1126/week @ 2024-06-06

3,653 downloads per month

Apache-2.0

3MB
43K SLoC

aws-sdk-pinpointemail

Welcome to the Amazon Pinpoint Email API Reference. This guide provides information about the Amazon Pinpoint Email API (version 1.0), including supported operations, data types, parameters, and schemas.

Amazon Pinpoint is an AWS service that you can use to engage with your customers across multiple messaging channels. You can use Amazon Pinpoint to send email, SMS text messages, voice messages, and push notifications. The Amazon Pinpoint Email API provides programmatic access to options that are unique to the email channel and supplement the options provided by the Amazon Pinpoint API.

If you're new to Amazon Pinpoint, you might find it helpful to also review the Amazon Pinpoint Developer Guide. The Amazon Pinpoint Developer Guide provides tutorials, code samples, and procedures that demonstrate how to use Amazon Pinpoint features programmatically and how to integrate Amazon Pinpoint functionality into mobile apps and other types of applications. The guide also provides information about key topics such as Amazon Pinpoint integration with other AWS services and the limits that apply to using the service.

The Amazon Pinpoint Email API is available in several AWS Regions and it provides an endpoint for each of these Regions. For a list of all the Regions and endpoints where the API is currently available, see AWS Service Endpoints in the Amazon Web Services General Reference. To learn more about AWS Regions, see Managing AWS Regions in the Amazon Web Services General Reference.

In each Region, AWS maintains multiple Availability Zones. These Availability Zones are physically isolated from each other, but are united by private, low-latency, high-throughput, and highly redundant network connections. These Availability Zones enable us to provide very high levels of availability and redundancy, while also minimizing latency. To learn more about the number of Availability Zones that are available in each Region, see AWS Global Infrastructure.

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

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

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

use aws_sdk_pinpointemail as pinpointemail;

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