Queries process definitions of a specified type.
Operation description
Description
Queries process definitions of a specified policy type.
This operation supports paginated queries. You can use the
PageSizeandPageNumberparameters to control the page size and page number.You can also use the
NextTokenandMaxResultsparameters to page through large result sets.The response includes the total count, page size, current page number, and a list of process definitions.
Each process definition includes key attributes, such as its ID, enabled status, and 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:
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
| RequestId |
string |
The request ID. |
|
| PagingInfo |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries. |
|
| ProcessDefinitions |
array<object> |
A list of process definitions. For more information, see the |
|
|
object |
A summary of a process definition. |
||
| Id |
string |
The ID of the process definition. |
|
| Name |
string |
The name of the process definition. |
|
| Description |
string |
The description of the process definition. |
|
| Type |
string |
The type of the process definition. Valid values:
|
|
| SubType |
string |
The subtype. Valid values:
|
|
| IsSystem |
boolean |
Indicates whether this is a default system policy. System policies have restricted update capabilities. |
|
| Enabled |
boolean |
Indicates whether the process definition is enabled. |
|
| Priority |
string |
The priority. A smaller value indicates a higher priority. |
|
| Scopes |
array |
The phases in which the rule is effective. Valid values:
|
|
|
string |
A phase in which the rule is effective. |
Examples
Success response
JSON format
{
"RequestId": "",
"PagingInfo": {
"TotalCount": 0,
"ProcessDefinitions": [
{
"Id": "",
"Name": "",
"Description": "",
"Type": "",
"SubType": "",
"IsSystem": true,
"Enabled": true,
"Priority": "",
"Scopes": [
""
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.