93 releases (49 stable)

1.50.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

#2575 in Network programming

Download history 93/week @ 2024-07-23 303/week @ 2024-07-30 117/week @ 2024-08-06 346/week @ 2024-08-13 8/week @ 2024-08-20 168/week @ 2024-08-27 165/week @ 2024-09-03 160/week @ 2024-09-10 189/week @ 2024-09-17 257/week @ 2024-09-24 177/week @ 2024-10-01 211/week @ 2024-10-08 20/week @ 2024-10-15 112/week @ 2024-10-22 290/week @ 2024-10-29 206/week @ 2024-11-05

639 downloads per month

Apache-2.0

6MB
94K SLoC

aws-sdk-workmail

WorkMail is a secure, managed business email and calendaring service with support for existing desktop and mobile email clients. You can access your email, contacts, and calendars using Microsoft Outlook, your browser, or other native iOS and Android email applications. You can integrate WorkMail with your existing corporate directory and control both the keys that encrypt your data and the location in which your data is stored.

The WorkMail API is designed for the following scenarios:

  • Listing and describing organizations
  • Managing users
  • Managing groups
  • Managing resources

All WorkMail API operations are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the WorkMail site, the IAM user gains full administrative visibility into the entire WorkMail organization (or as set in the IAM policy). This includes, but is not limited to, the ability to create, update, and delete users, groups, and resources. This allows developers to perform the scenarios listed above, as well as give users the ability to grant access on a selective basis using the IAM model.

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

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

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

use aws_sdk_workmail as workmail;

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