| Crates.io | armature-aws |
| lib.rs | armature-aws |
| version | 0.1.1 |
| created_at | 2025-12-26 18:45:31.893087+00 |
| updated_at | 2025-12-29 16:38:47.100764+00 |
| description | AWS cloud services integration for Armature - dynamically loadable and DI-ready |
| homepage | https://pegasusheavy.github.io/armature |
| repository | https://github.com/pegasusheavy/armature |
| max_upload_size | |
| id | 2006074 |
| size | 107,822 |
AWS cloud services integration for the Armature framework.
[dependencies]
armature-aws = "0.1"
use armature_aws::{S3Client, DynamoClient, SqsClient};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// S3
let s3 = S3Client::new("us-east-1").await?;
s3.put_object("bucket", "key", bytes).await?;
// DynamoDB
let dynamo = DynamoClient::new("us-east-1").await?;
dynamo.put_item("table", item).await?;
// SQS
let sqs = SqsClient::new("us-east-1").await?;
sqs.send_message("queue-url", "message").await?;
Ok(())
}
Credentials are loaded from:
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)~/.aws/credentials)MIT OR Apache-2.0