Queries notification policies.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| edas:ReadSchedulerxNotificationPolicy | list | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The region ID. | cn-hangzhou |
| PolicyName | string | No | The name of the notification policy. Supports fuzzy matching. | test-weekdays |
| MaxResults | integer | No | The maximum number of entries returned. Default value: 20. | 10 |
| NextToken | string | No | The cursor for pagination. Leave this parameter empty for the first request. When the returned value is empty, all data has been retrieved. | O39nXKu5XafATl3/cJjSJw== |
Response parameters
Examples
Sample success responses
JSONformat
{
"Code": 200,
"Message": "unknown exception occurred",
"RequestId": "71BCC0E3-64B2-4B63-A870-AFB64EBCB5A7",
"Success": true,
"AccessDeniedDetail": {
"AuthAction": "edas:ReadSchedulerxNotificationPolicy",
"AuthPrincipalDisplayName": "209312833131416xxx",
"AuthPrincipalOwnerId": "1827811800526xxx",
"AuthPrincipalType": "SubUser",
"EncodedDiagnosticMessage": "AQFn/cLPZ/3Cz0YxQkZBMjVGLTY0REUtNTlGNS05NzUwLTgyMUE4M0MwMTFDRQ==",
"NoPermissionType": "ImplicitDeny",
"PolicyType": "AccountLevelIdentityBasedPolicy"
},
"Data": {
"Records": [
{
"PolicyName": "test-weekdays",
"Description": "Monday-Friday only\n",
"Creator": 201576653956616960,
"Updater": 1144881807903942,
"CreateTime": "2025-09-17 11:21:01",
"UpdateTime": "2025-09-17 11:21:01",
"ChannelTimeRange": {
"isUnifiedSetting": false,
"timezone": "GMT+8",
"webhookIsAtAll": false,
"timeRanges": {
"webhook": [
{
"startTime": "08:00",
"endTime": "18:00",
"daysOfWeek": [
1,
2,
3,
4,
5
]
}
],
"sms": [
{
"startTime": "08:00",
"endTime": "18:00",
"daysOfWeek": [
1,
2,
3,
4,
5
]
}
],
"mail": [
{
"startTime": "08:00",
"endTime": "18:00",
"daysOfWeek": [
1,
2,
3,
4,
5
]
}
],
"phone": [
{
"startTime": "08:00",
"endTime": "18:00",
"daysOfWeek": [
1,
2,
3,
4,
5
]
}
]
}
},
"ReferenceApps": [
{
"AppGroupId": 123,
"GroupId": "test-app",
"NamespaceUid": "18271388-aa16-4eab-9a6f-55f65d7e4391",
"NamespaceName": "Notification strategy testing namespace"
}
]
}
],
"NextToken": "O39nXKu5XafATl3/cJjSJw==\n",
"Total": 42,
"MaxResults": 10
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-10-29 | Add Operation | View Change Details |
