Search

Lib.rs

› Email › RAWS
#aws-sdk #raws #config #text-output #cli

raws-account

RAWS Account component

by Cyril Plisko

  • Install
  • API reference
  • GitHub repo (awscli-rs)

6 releases

0.0.5 Jan 26, 2025
0.0.4 Jan 24, 2025
0.0.3 Mar 1, 2024
0.0.2 Dec 14, 2023
0.0.1 Nov 25, 2023

#381 in Email

Download history

399 downloads per month
Used in raws

Apache-2.0

89KB
1.5K SLoC

AWS CLI alternative written in Rust

This crate is a part of RAWS project - AWS CLI wriiten in Rust using AWS SDK for Rust

Code layout overview

  1. Each service support lives in its own crate under services/
  2. Text output is driven by implementing show::Show trait via config::Config object.

Adding new service

  1. workspace Cargo.toml - add respective aws-sdk-xxx crate as new dependency
  2. cargo new --lib services/xxx
  3. workspace Cargo.toml - add new crate to members
  4. services/xxx/Cargo.toml
  5. add "description = RAWS xxx component"
  6. add dependencies
  7. add lints
  8. In config crate: add Config::xxx() to produce a client object
  9. in show crate: impl Show for xxx::types::xxx
  10. if needed add specialized parsers in parsers crate

Dependencies

~139MB
~2M SLoC

  • aws-sdk-account
  • clap+derive+env
  • raws-config
  • raws-error
  • raws-parsers
  • raws-show
Related: raws-config, raws-error, raws-parsers, raws, raws-dynamodb, raws-ebs, raws-ec2, raws-eks, raws-iam, raws-pricing, raws-s3, raws-sso, raws-sts, raws-show
See also: iocraft, rho-agent, aws-sdk-mediatailor, aws-sdk-account, aws-smithy-wasm, aws-config, rusoto_route53domains

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.