golangci-lint run
Testing is designed to help you mock client operations, which allows you to test your code locally.
Compare the two example. This repo with gov2/secretsmanager
Note these tests, while a bit long, allow you to test the code locally.
Reference Unit Testing with AWS SDK for Go V2
AWS SDK for Go v2 Developer Guide
ref: Aws Go v2