Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 483 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 483 Bytes

AWSCurl

Provides an https/mqtt API for AWS. is inspired by awscurl, but does not provide a CLI, only an API for similar functions.

Example

use awscurl::{AWSCurl, AWSProfile, Method};

fn main() {
    let profile = AWSProfile::from_env().expect("can't read aws credentials");
    let awscurl = AWSCurl::new(&profile);
    awscurl.http_request(&Method::GET, "https://blog.com/users")
        .expect("can't fetch users");
}