boto3 icon indicating copy to clipboard operation
boto3 copied to clipboard

Valid values for CloudWatch put_metric_alarm are not correctly rendered in the docs

Open BastianZim opened this issue 3 years ago • 6 comments

Hi, at https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cloudwatch.html#CloudWatch.Client.put_metric_alarm the parameter fields OKActions, AlarmActions, and InsufficientDataActions have incorrectly rendered examples.

Screenshot:

Screenshot 2021-04-29 at 15 53 54

The part after :ec2:reboot should probably be also rendered in red.

BastianZim avatar Apr 29 '21 13:04 BastianZim

Thanks again for the report @BastianZim! I've been working on some similar issues this week, so this is a huge help.

stobrien89 avatar Apr 30 '21 22:04 stobrien89

Happy to help! From the docs I assumed that this is something that needs to be fixed on AWS side, is that correct? Otherwise, I'd be happy to take a look as well.

BastianZim avatar May 01 '21 11:05 BastianZim

Hi @BastianZim,

You're correct— The service teams generate the information in the SDK reference guides, so I'll be contacting them to get this corrected.

stobrien89 avatar May 03 '21 16:05 stobrien89

P46992647

stobrien89 avatar May 03 '21 17:05 stobrien89

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

github-actions[bot] avatar Jun 03 '22 23:06 github-actions[bot]

Still happening

BastianZim avatar Jun 04 '22 11:06 BastianZim