All Products
Search
Document Center

Auto Scaling:DescribeNotificationTypes

Last Updated:Jul 09, 2024

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

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

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.

  • AUTOSCALING:SCALE_OUT_SUCCESS: a successful scale-out event

  • AUTOSCALING:SCALE_IN_SUCCESS: a successful scale-in event

  • AUTOSCALING:SCALE_OUT_ERROR: a failed scale-out event

  • AUTOSCALING:SCALE_IN_ERROR: a failed scale-in event

  • AUTOSCALING:SCALE_REJECT: a rejected scaling request

  • AUTOSCALING:SCALE_OUT_START: a started scale-out event

  • AUTOSCALING:SCALE_IN_START: a started scale-in event

  • AUTOSCALING:SCHEDULE_TASK_EXPIRING: an expiring scheduled task

  • SCALING_GROUP_DIAGNOSE: a scaling group diagnosis

  • AUTOSCALING:SCALE_OUT_WARN: a partially successful scale-out event

  • AUTOSCALG:SCALE_IN_WARN: a partially successful scale-in event

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.