I'm currently trying to build a simple Lambda that connects to Dynamo DB with AWS Rust Lambda Runtime and the AWS Rust SDK. My basic example works on AWS, but I'm keen to be able to perform manual tests and unit tests offline.
The main problem I can see, is in how I mock calls to and responses made via the AWS SDK. I'm also using Cargo Lambda which includes a test server command (cargo watch), but can it be set up to mock AWS SDK calls?