Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Update documentation describing CloudWatch put_metric_alarm behavior for create vs update operations #27

Closed
mullermp opened this issue Dec 3, 2020 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@mullermp
Copy link

mullermp commented Dec 3, 2020

Aws::CloudWatch::Client#put_metric_alarm supports a tags field, but it only works when the alarm does not already exist. The tags field is ignored when updating the alarm.

To update tags on an existing alarm, Aws::CloudWatch::Client#tag_resource and Aws::CloudWatch::Client#untag_resource are required

The documentation should be updated to reflect that tags are not updated when the alarm already exists.

related: aws/aws-sdk-ruby#2408

@mullermp
Copy link
Author

mullermp commented Dec 3, 2020

@kellertk I don't have permission to assign labels, I'm sure that's intended. But please categorize this as documentation improvement.

@ajredniwja
Copy link

Changes were made, see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html

Closing this issue now, please reach out if you have any other questions.

@github-actions
Copy link

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants