ListProcessDefinitions - ListProcessDefinitions
Queries approval process definitions by type.
Operation description
Request description
-
Queries approval process definitions based on a specified policy type (PolicyType).
-
Supports paginated queries. Use the
PageSizeandPageNumberparameters to control the page size and page number. -
The
NextTokenandMaxResultsparameters are also available for paging through large result sets. -
The response includes the total count (TotalCount), page size (PageSize), page number (PageNumber), and a list of process definitions.
-
Each process definition includes key attributes, such as its ID, enabled status (Enabled), and priority (Priority).
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of the process definition. Valid values:
|
MaxCompute |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
| RequestId |
string |
The request ID. |
0bc5df3a17***903790e8e8a |
| PagingInfo |
object |
The list of process definitions. For more information, see ProcessDefinition. |
|
| TotalCount |
integer |
The total number of entries. |
100 |
| ProcessDefinitions |
array |
The list of process definitions. For more information, see ProcessDefinition. |
|
|
object |
The summary of the process definition. |
||
| Id |
string |
The process definition ID. |
10354346 |
| Name |
string |
The name of the process definition. |
MaxCompute Table Approval |
| Description |
string |
The description of the process definition. |
The MaxCompute table approval policy for the lwt_ide_simple project. |
| Type |
string |
The type of the process definition. Valid values:
|
MaxCompute |
| SubType |
string |
The subtype. Valid values:
|
Table |
| IsSystem |
boolean |
Indicates whether the process definition is a system default. For system policies, only the notification service can be updated. |
false |
| Enabled |
boolean |
Indicates whether the process definition is enabled. |
true |
| Priority |
string |
The priority. A smaller value indicates a higher priority. |
1 |
| Scopes |
array |
The stages in which the rule takes effect. Valid values:
|
|
|
string |
The stage in which the rule takes effect. |
Deployment |
Examples
Success response
JSON format
{
"RequestId": "0bc5df3a17***903790e8e8a",
"PagingInfo": {
"TotalCount": 100,
"ProcessDefinitions": [
{
"Id": "10354346",
"Name": "MaxCompute Table Approval",
"Description": "The MaxCompute table approval policy for the lwt_ide_simple project.",
"Type": "MaxCompute",
"SubType": "Table",
"IsSystem": false,
"Enabled": true,
"Priority": "1",
"Scopes": [
"Deployment"
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.