Domain name for API request: as.intl.tencentcloudapi.com.
This API (DescribeNotificationConfigurations) is used to query the information of one or more notifications.
You can query the details of notifications based on information such as notification ID and auto scaling group ID. For more information on filters, see Filter.
If the parameter is empty, a certain number (specified by Limit and 20 by default) of notifications of the current user will be returned.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeNotificationConfigurations. |
| Version | Yes | String | Common Params. The value used for this API: 2018-04-19. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| AutoScalingNotificationIds.N | No | Array of String | Query by one or more notification ids. the list length limit is 100. you can obtain the notification ID by logging in to the console (https://console.tencentcloud.com/autoscaling/group). parameters AutoScalingNotificationIds and Filters must not be specified simultaneously. |
| Filters.N | No | Array of Filter | Filter criteria The maximum number of Filters per request is 10, and that of Filter.Values is 5. the AutoScalingNotificationIds and Filters parameters cannot be specified simultaneously. |
| Limit | No | Integer | Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit, see the relevant section in the API overview. |
| Offset | No | Integer | Offset. Default value: 0. For more information on Offset, see the relevant section in the API overview. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Number of eligible notifications. |
| AutoScalingNotificationSet | Array of AutoScalingNotification | List of AS event notification details. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: as.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeNotificationConfigurations
<Common request parameters>
{
"AutoScalingNotificationIds": [
"asn-9bhwvxqh"
]
}{
"Response": {
"TotalCount": 1,
"AutoScalingNotificationSet": [
{
"TargetType": "USER_GROUP",
"TopicName": "topicname",
"QueueName": "queuename",
"AutoScalingGroupId": "asg-2umy3jbd",
"NotificationUserGroupIds": [
"1678"
],
"NotificationTypes": [
"SCALE_OUT_SUCCESSFUL"
],
"AutoScalingNotificationId": "asn-9bhwvxqh"
}
],
"RequestId": "0539a5fc-14b8-4591-9fe2-faee32031a64"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InvalidParameter.ActionNotFound | Invalid Action request. |
| InvalidParameterConflict | The two parameters specified conflict and cannot co-exist. |
| InvalidParameterValue.InvalidAutoScalingGroupId | Invalid scaling group ID. |
| InvalidParameterValue.InvalidAutoScalingNotificationId | Invalid notification ID. |
| InvalidParameterValue.InvalidFilter | Invalid filter condition. |
文档反馈