Queries event notifications.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | DescribeNotificationConfigurations | The operation that you want to perform. Set the value to DescribeNotificationConfigurations. |
ScalingGroupId | String | Yes | asg-bp1igpak5ft1flyp**** | The ID of the scaling group. |
RegionId | String | No | cn-beijing | The ID of the region where the scaling group resides. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E | The ID of the request. |
NotificationConfigurationModels | Array of NotificationConfigurationModel | The details of the notifications for scaling activities or resource changes. |
|
NotificationConfigurationModel | |||
NotificationArn | String | acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo**** | The Alibaba Cloud Resource Name (ARN) of the notified party. The following list describes the value formats of this parameter:
The variables in the preceding formats have the following meanings:
|
ScalingGroupId | String | asg-bp1igpak5ft1flyp**** | The ID of the scaling group. |
NotificationTypes | Array of String | AUTOSCALING:SCALE_IN_SUCCESS | The types of notifications for scaling activities or resource changes. |
Examples
Sample requests
http(s)://ess.aliyuncs.com/?Action=DescribeNotificationConfigurations
&ScalingGroupId=asg-bp1igpak5ft1flyp****
&RegionId=cn-beijing
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeNotificationConfigurationsResponse>
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
<NotificationConfigurationModels>
<NotificationArn>acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****</NotificationArn>
<ScalingGroupId>asg-bp1igpak5ft1flyp****</ScalingGroupId>
<NotificationTypes>AUTOSCALING:SCALE_IN_SUCCESS</NotificationTypes>
</NotificationConfigurationModels>
</DescribeNotificationConfigurationsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"NotificationConfigurationModels" : [ {
"NotificationArn" : "acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****",
"ScalingGroupId" : "asg-bp1igpak5ft1flyp****",
"NotificationTypes" : [ "AUTOSCALING:SCALE_IN_SUCCESS" ]
} ]
}
Error codes
For a list of error codes, visit the API Error Center.
HTTP status code |
Error code |
Error message |
Description |
404 |
InvalidScalingGroupId.NotFound |
The specified scaling group does not exist. |
The error message returned because the specified scaling group does not exist. |