You can call this operation to query the types of notifications for scaling events and resource changes.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DescribeNotificationTypes

The operation that you want to perform. Set the value to DescribeNotificationTypes.

Response parameters

Parameter Type Example Description
NotificationTypes AUTOSCALING:SCALE_OUT_SUCCESS

The list of different types of notifications for scaling events and resource changes.

RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.

Examples

Sample requests


http://ess.aliyuncs.com/?Action=DescribeNotificationTypes
&<Common request parameters>

Sample success responses

XML format

<DescribeNotificationTypesResponse>
    <RequestId>66046F31-AF8C-44B4-9992-453F33CF179E</RequestId>
    <NotificationTypes>
        <NotificationType>AUTOSCALING:SCALE_OUT_SUCCESS</NotificationType>
        <NotificationType>AUTOSCALING:SCALE_IN_SUCCESS</NotificationType>
        <NotificationType>AUTOSCALING:SCALE_OUT_ERROR</NotificationType>
        <NotificationType>AUTOSCALING:SCALE_IN_ERROR</NotificationType>
        <NotificationType>AUTOSCALING:SCALE_REJECT</NotificationType>
        <NotificationType>AUTOSCALING:SCALE_OUT_START</NotificationType>
        <NotificationType>AUTOSCALING:SCALE_IN_START</NotificationType>
        <NotificationType>AUTOSCALING:SCHEDULE_TASK_EXPIRING</NotificationType>
    </NotificationTypes>
</DescribeNotificationTypesResponse>

JSON format

{
	"RequestId":"66046F31-AF8C-44B4-9992-453F33CF179E",
	"NotificationTypes":{
		"NotificationType":[
			"AUTOSCALING:SCALE_OUT_SUCCESS",
			"AUTOSCALING:SCALE_IN_SUCCESS",
			"AUTOSCALING:SCALE_OUT_ERROR",
			"AUTOSCALING:SCALE_IN_ERROR",
			"AUTOSCALING:SCALE_REJECT",
			"AUTOSCALING:SCALE_OUT_START",
			"AUTOSCALING:SCALE_IN_START",
			"AUTOSCALING:SCHEDULE_TASK_EXPIRING"
		]
	}
}

Error codes

For more information about error codes, visit API Error Center.