All Products
Search
Document Center

SchedulerX:ReadSchedulerxNotificationPolicy

Last Updated:Nov 20, 2025

Queries notification policies.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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 Resources is 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.
OperationAccess levelResource typeCondition keyAssociated operation
edas:ReadSchedulerxNotificationPolicylist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
PolicyNamestringNo

The name of the notification policy. Supports fuzzy matching.

test-weekdays
MaxResultsintegerNo

The maximum number of entries returned. Default value: 20.

10
NextTokenstringNo

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

ParameterTypeDescriptionExample
object
Codeinteger

The status code.

200
Messagestring

The error message.

unknown exception occurred
RequestIdstring

The unique request ID.

71BCC0E3-64B2-4B63-A870-AFB64EBCB5A7
Successboolean

Indicates whether the request was successful.

true
AccessDeniedDetailobject

The access denial details.

AuthActionstring

The authentication operation.

edas:ReadSchedulerxNotificationPolicy
AuthPrincipalDisplayNamestring

The principal name.

209312833131416xxx
AuthPrincipalOwnerIdstring

The account of the principal.

1827811800526xxx
AuthPrincipalTypestring

The principal type.

SubUser
EncodedDiagnosticMessagestring

The encoded diagnostic message.

AQFn/cLPZ/3Cz0YxQkZBMjVGLTY0REUtNTlGNS05NzUwLTgyMUE4M0MwMTFDRQ==
NoPermissionTypestring

The permission denial type.

ImplicitDeny
PolicyTypestring

The policy type.

AccountLevelIdentityBasedPolicy
Dataobject
Recordsarray<object>

The data records.

Recordobject

The record.

PolicyNamestring

The name of the notification policy.

test-weekdays
Descriptionstring

The description of the notification policy.

Monday-Friday only
Creatorstring

The creator.

201576653956616970
Updaterstring

The updater.

1144881807903942
CreateTimestring

The creation time.

2025-09-17 11:21:01
UpdateTimestring

The update time.

2025-09-17 11:21:01
ChannelTimeRangestring

The configuration of the notification policy.

{ "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 ] } ] } }
ReferenceAppsarray<object>

The list of applications associated with the notification policy.

referencedAppobject

The information about an associated application.

AppGroupIdlong

The ID of the task group.

123
GroupIdstring

The ID of the application.

test-app
NamespaceUidstring

The unique identifier of the namespace.

18271388-aa16-4eab-9a6f-55f65d7e4391
NamespaceNamestring

The name of the namespace.

Notification strategy testing namespace
NextTokenstring

When data that matches the query conditions has not been fully retrieved, the server returns nextToken. You can then use nextToken to continue retrieving the remaining data.

O39nXKu5XafATl3/cJjSJw==
Totallong

The total number of records.

42
MaxResultsinteger

The maximum number of entries returned.

10

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 timeSummary of changesOperation
2025-10-29Add OperationView Change Details