kit
kit copied to clipboard
Upgrade aws-sdk-go dependency for cloudwatch from v1 to v2
To address EOL for aws-sdk-go v1 (Issue: https://github.com/go-kit/kit/issues/1303)
Changes:
- Update deps from aws-sdk-go to aws-sdk-go-v2
- Update imports
- Internalize interface for
CloudWatchAPI - Comment usage of
context.TODO()
Only thing I'm unsure about are the pointers changed to values for the dimensions; since they're stored in arrays I'm thinking it should be copying values anyways.