Reducing excessive cloning when working with AWS SDK for Rust