1. Interface Description
Interface request domain name: as.api3.convergecloud.com.
This API (CreateNotificationConfiguration) is used to create a notification.
Default interface request rate limit: 20 times per second.
Interface update time: 2019-10-31 18:35:51.
The interface only verifies the signature but does not authenticate.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: CreateNotificationConfiguration |
| Version | Yes | No | String | Public parameter, The value of this interface: 2018-04-19 |
| Region | No | No | String | Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface |
| AutoScalingGroupId | Yes | No | String | ID of the scaling group. Example: asg-12wjuh0s |
| NotificationTypes | Yes | No | Array of String | Notification types you want to subscribe to. Valid values: Example: ["SCALE_OUT_SUCCESSFUL\n","SCALE_OUT_FAILED\n"] |
| NotificationUserGroupIds | Yes | No | Array of String | Notification group ID, a collection of user group IDs. User group IDs can be queried through DescribeUserGroup. Example: ["1678\n"] |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| AutoScalingNotificationId | String | Notification ID. Example: asn-2sestqbr |
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| ResourceNotFound.AutoScalingGroupIdNotFound | The scaling group does not exist. |
| MissingParameter | Parameter missing. |
| LimitExceeded | The quota limit is exceeded. |
| ResourceNotFound.AutoScalingNotificationNotFound | The notification does not exist. |
| InvalidParameterValue.UserGroupIdNotFound | The user group does not exist. |