ModifyAlertConfiguration
When a scaling activity succeeds, fails, or is rejected, Auto Scaling can send notifications through SMS or email. You must handle the related events after receiving the notifications. You can call the ModifyAlertConfiguration operation to set the scaling activity statuses for which SMS and email notifications are sent in a scaling group. This helps you stay informed about scaling activity changes and respond promptly to improve scaling efficiency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:ModifyAlertConfiguration |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ScalingGroupId |
string |
Yes |
The ID of the scaling group. |
asg-bp1eyv4qn8ssgv43**** |
| RegionId |
string |
Yes |
The region ID of the scaling group. |
cn-hangzhou |
| ScaleStatus |
array |
No |
The scaling activity statuses for which SMS and email notifications are sent in the scaling group. |
|
|
string |
No |
The scaling activity statuses for which SMS and email notifications are sent in the scaling group. Valid values:
Note
If you do not set this parameter (leave it empty), all SMS and email notifications are canceled. |
ScaleSuccessful |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
73469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
Examples
Success response
JSON format
{
"RequestId": "73469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.