lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.46.0 vs lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.47.0

- old
+ new

@@ -397,11 +397,11 @@ # `arn:aws:automate:region:ec2:terminate` \| # `arn:aws:automate:region:ec2:recover` \| # `arn:aws:automate:region:ec2:reboot` \| # `arn:aws:sns:region:account-id:sns-topic-name ` \| # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - # ` + # ` \| `arn:aws:ssm:region:account-id:opsitem:severity ` # # Valid Values (for use with IAM roles): # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0` # \| # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0` @@ -570,9 +570,18 @@ # associate as many as 50 tags with an alarm. # # Tags can help you organize and categorize your resources. You can also # use them to scope user permissions by granting a user permission to # access or change only resources with certain tag values. + # + # If you are using this operation to update an existing alarm, any tags + # you specify in this parameter are ignored. To change the tags of an + # existing alarm, use [TagResource][1] or [UntagResource][2]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html + # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html # @option options [String] :threshold_metric_id # If this is an alarm based on an anomaly detection model, make this # value match the ID of the `ANOMALY_DETECTION_BAND` function. # # For an example of how to use this parameter, see the **Anomaly