Open corey-cole opened 11 months ago
Thank you so much for opening this @corey-cole ! Would you like to take a stab at the implementation, and open a PR? We can of course help you out!
Hello everyone! This feature is not planned for v2. We will add support for this after we release v3.
Adding tags to keep an eye on this.
Use case
CloudWatch metrics/alarms now support non-CloudWatch sources via an adapter Lambda function. The request/response structures are complex enough that they would benefit from having a strongly typed wrapper.
Solution/User Experience
The
aws_lambda_powertools.utilities.data_classes
namespace includes type for the newGetMetricData
event and the correspondingMetricDataResults
response.NOTE: Although the event shares a name with an existing API call, it does not have the same structure and the existing definitions cannot be used here.
Alternative solutions
Acknowledgment