ListApplicationRoles
Queries a list of application roles by using a cursor.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListApplicationRoles |
list |
*ApplicationRole
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
No |
The pagination token for the next page. Set this parameter to the NextToken value returned from the previous API call. Leave this parameter empty for the first call. |
NTxxxxexample |
| ApplicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| MaxResults |
integer |
No |
The number of entries per page for paging in a paged query. |
20 |
| Filter |
array<object> |
No |
The list of filter conditions. |
|
|
object |
No |
The filter condition. |
||
| Name |
string |
No |
The name of the filter condition. Valid values:
|
ApplicationRoleNameStartsWith |
| Value |
array |
No |
The list of filter condition values. |
|
|
string |
No |
The filter condition value. |
Admin Role |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries. |
100 |
| NextToken |
string |
The pagination token for the next page. |
NTxxxxexample |
| ApplicationRoles |
array<object> |
The list of application roles. |
|
|
object |
|||
| InstanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationId |
string |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ApplicationRoleId |
string |
The application role ID. |
approle_01kh2vuo8v9splv8maak1d22rxxxx |
| ApplicationRoleName |
string |
The application role name. |
Admin Role |
| ApplicationRoleValue |
string |
The application role value. |
admin_role |
| Description |
string |
The description of the application role. |
Admin Role Description |
| MaxResults |
integer |
The number of entries per page for paging in a paged query. |
20 |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxxexample",
"ApplicationRoles": [
{
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx\n",
"ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
"ApplicationRoleId": "approle_01kh2vuo8v9splv8maak1d22rxxxx",
"ApplicationRoleName": "Admin Role",
"ApplicationRoleValue": "admin_role",
"Description": "Admin Role Description\n"
}
],
"MaxResults": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.