Melakukan kueri berhalaman untuk menampilkan daftar kelompok yang diizinkan mengakses aplikasi. Tanggapan mengembalikan ID kelompok. Untuk mendapatkan informasi detail tentang kelompok, panggil operasi GetGroup.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListGroupsForApplication |
list |
*Application
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
20 |
| ApplicationId |
string |
Yes |
ID aplikasi. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| GroupIds |
array |
No |
Daftar ID kelompok. Anda dapat menentukan hingga 100 ID kelompok dalam satu permintaan. |
group_miu8e4t4d7i4u7uwezgr54xxxx |
|
string |
No |
The group ID. |
group_miu8e4t4d7i4u7uwezgr54xxxx |
|
| ApplicationRoleId |
string |
No |
ID peran aplikasi. |
app_role_mkv7rgt4ds8d8v0qtzev2mxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| Groups |
array<object> |
The list of groups. |
|
|
array<object> |
The group information. |
||
| GroupId |
string |
The group ID. |
group_miu8e4t4d7i4u7uwezgr54xxxx |
| ApplicationRoles |
array<object> |
The list of application roles. This parameter is not returned for SAML applications. |
|
|
object |
The application role. |
||
| ApplicationRoleId |
string |
The ID of the application role. |
app_role_mkv7rgt4ds8d8v0qtzev2mxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"Groups": [
{
"GroupId": "group_miu8e4t4d7i4u7uwezgr54xxxx",
"ApplicationRoles": [
{
"ApplicationRoleId": "app_role_mkv7rgt4ds8d8v0qtzev2mxxxx"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.