List User 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 |
|---|---|---|---|---|
| yundun-sas:ListCheckPolicies | list | *CustomCheckStandardPolicy acs:yundun-sas:{#regionId}:{#accountId}:customcheckstandardpolicy/* |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| PolicyType | string | Yes | Policy type of the custom check item rule:
| STANDARD |
| PolicyId | long | No | ID of the newly added classification setting. | 1000000000001 |
| PolicyShowName | string | No | Name of the newly added classification setting. | testPolicyName |
| DependentPolicyId | long | No | ID of the associated parent policy. (The specific dependency relationship from low to high is: Section -> Requirement -> Standard) | 1000000000002 |
| CheckTypes | array | No | The types of policies to be queried (default queries both custom and system predefined policies). | |
| string | No | Type of the policy (indicates whether the policy is a system policy or a user policy):
| CUSTOM | |
| Type | string | No | Name of the associated major policy category (required when PolicyType is STANDARD):
| AISPM |
| PageSize | integer | No | Number of check item information entries displayed per page during pagination. The default value is 50, indicating 50 entries per page. | 20 |
| CurrentPage | integer | No | Specifies the page number from which to start displaying the query results. The starting value is 1. The default value is 1, indicating that the display starts from the 1st page. | 1 |
| Lang | string | No | Language type for request and response messages, with a default value of zh. Possible values:
| zh |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "ADE57832-9666-511C-9A80-B87DE2E8****",
"Policies": [
{
"PolicyId": 100000000001,
"PolicyType": "STANDARD",
"PolicyShowName": "testPolicyName",
"CheckType": "CUSTOM",
"Type": "AISPM\n",
"DependentPolicyId": 100000000002
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 69,
"Count": 20
}
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | ParamIllegal.%s | The parameter %s is invalid, please fill it in again. | Invalid parameter, please fill in again |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-11-13 | Add Operation | View Change Details |
