Lyoink is a CLI tool which downloads the source zip for Lambda Functions or Lambda Layers by ARN.
cargo build --release
./lyoink <arn> -d <output_dir/filename>
I wanted to try out the AWS SDK for Rust and I fetch a lot of lambda layers and function code.