Queries notification types. You can call the DescribeNotificationTypes operation to query the types of notifications that are sent by Auto Scaling when successful scale-out and scale-in events, expiration of scheduled tasks, and partially successful scaling events occur within your scaling group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | DescribeNotificationTypes | The operation that you want to perform. Set the value to DescribeNotificationTypes. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** | The request ID. |
NotificationTypes | Array of String | AUTOSCALING:SCALE_OUT_SUCCESS | The notification types.
|
Examples
Sample requests
http(s)://ess.aliyuncs.com/?Action=DescribeNotificationTypes
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeNotificationTypesResponse>
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
<NotificationTypes>AUTOSCALING:SCALE_OUT_SUCCESS</NotificationTypes>
</DescribeNotificationTypesResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"NotificationTypes" : [ "AUTOSCALING:SCALE_OUT_SUCCESS" ]
}
Error codes
For a list of error codes, see Service error codes.