Melakukan kueri berhalaman untuk mencantumkan organisasi yang diberi akses ke suatu aplikasi. Respons mengembalikan ID organisasi. Untuk memperoleh informasi rinci tentang organisasi tertentu, panggil operasi GetOrganizationalUnit.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListOrganizationalUnitsForApplication |
list |
*Application
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instance. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
20 |
| ApplicationId |
string |
Yes |
ID aplikasi. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| OrganizationalUnitIds |
array |
No |
Daftar ID organisasi. Satu permintaan dapat berisi hingga 100 ID organisasi. |
ou_wovwffm62xifdziem7an7xxxxx |
|
string |
No |
ID organisasi. |
ou_wovwffm62xifdziem7an7xxxxx |
|
| ApplicationRoleId |
string |
No |
应用角色 ID。 |
app_role_mkv7rgt4ds8d8v0qtzev2mxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| RequestId |
string |
ID permintaan. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
Jumlah total entri. |
100 |
| OrganizationalUnits |
array<object> |
Daftar organisasi. |
|
|
array<object> |
ID organisasi. |
||
| OrganizationalUnitId |
string |
ID organisasi. |
ou_wovwffm62xifdziem7an7xxxxx |
| ApplicationRoles |
array<object> |
Daftar peran aplikasi. |
|
|
object |
|||
| ApplicationRoleId |
string |
应用角色标识。 |
app_role_mkv7rgt4ds8d8v0qtzev2mxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"OrganizationalUnits": [
{
"OrganizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
"ApplicationRoles": [
{
"ApplicationRoleId": "app_role_mkv7rgt4ds8d8v0qtzev2mxxxx"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.