rw-aws-sdk-ec2

Crates.iorw-aws-sdk-ec2
lib.rsrw-aws-sdk-ec2
version1.2.0
sourcesrc
created_at2024-03-01 08:53:31.759872
updated_at2024-03-01 08:53:31.759872
descriptionAWS SDK for Amazon Elastic Compute Cloud (with only APIs needed by RisingWave)
homepage
repositoryhttps://github.com/awslabs/aws-sdk-rust
max_upload_size
id1158652
size45,820,614
xxchan (xxchan)

documentation

README

Minimal AWS SDK EC2

Only keep the following APIs

  • create_vpc_endpoint
  • delete_vpc_endpoints
  • describe_vpc_endpoints
  • describe_vpc_endpoint_services
  • describe_subnets

How is this done?

Copy the original version

cp -R ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aws-sdk-ec2-1.2.0/src .
cp ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aws-sdk-ec2-1.2.0/Cargo.toml .
  1. Modify client.rs and operation.rs to only keep the required mods.
  2. Update protocol_serde.rs and types.rs. This need to contain not only the required APIs, but also some other depended types. So manual work is needed.
Commit count: 1103

cargo fmt