Registry / cloud / rusoto-ec2

rusoto-ec2

JSON →
library0.48.0rscratesunverified

AWS SDK for Rust providing access to Amazon Elastic Compute Cloud (EC2) API.

# Cargo.toml [dependencies] rusoto_ec2 = "0.48.0"
INSTALL
IMPORT
SIG · RUSOTO-EC2
R
rusoto-ec2
cloudrustv0.48.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ec2Client
use rusoto_ec2::Ec2Client;

Creates an EC2 client for the US East 1 region.

use rusoto_ec2::Ec2Client; use rusoto_core::Region; #[tokio::main] async fn main() { let client = Ec2Client::new(Region::UsEast1); println!("EC2 client created"); }
Debug
Known issues
gotchaRequires async runtime (Tokio) and AWS credentials
fix
Add tokio as a dependency and set AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY environment variables or use an AWS config file.
affects: >=0.48.0
Upgrade
Version history
0.48.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
rusoto-ec2 — cargo add rusoto-ec2 · libregistry