mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 17:58:05 -05:00
* fix: return ResourceNotFound 400 for SetAlarmState on missing alarm * fix: use CloudWatch ResourceNotFound error code for missing alarm * fix: use HTTP 404 for CloudWatch ResourceNotFound Per @hectorvent's review: the CloudWatch service model (botocore cloudwatch/2010-08-01 service-2.json) declares the ResourceNotFound shape with httpStatusCode 404, so correct the AwsException status from 400 to 404 for the missing-alarm SetAlarmState path and update the test assertion to match. --------- Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>