Last Modified: Oct 06, 2020
Opened: Jul 02, 2018
You might get a 400 error if you delete an alert rule for your service scaling group and then create another one with the same name.
Nominal, these APIs are unpublished so updating through the API is unsupported and the time it takes you to manually call them through the UI will be enough to not see this issue
This happens when you delete an alert rule then attempt to create a new one immediately afterward with the same name
To work around this issue, wait a few seconds between deleting and creating alert rules.