rust-aws-sns 0.4.0

Package sms provides a small wrapper around AWS SNS to make SMS usage more friendly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use rust_aws_sns::{SmsType, SMS};

#[tokio::main]
async fn main() {
    let s = SMS {
        ..Default::default()
    };
    let res = s.send("hello".into(), "91xxxxxx15xx".into()).await;
    match res {
        Ok(r) => println!("{:?}", r),
        Err(e) => println!("{}", e),
    }
}