Mendaftar izin cakupan (dalam OAuth) yang diberikan oleh Resource Server ke akun pengguna menggunakan paginasi berbasis kursor.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListUsersForResourceServer |
list |
*Application
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
No |
Token untuk halaman berikutnya. Atur parameter ini ke nilai NextToken yang dikembalikan oleh panggilan API sebelumnya. |
NTxxxxxexample |
| ApplicationId |
string |
Yes |
ID aplikasi Resource Server. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| MaxResults |
integer |
No |
Jumlah entri per halaman untuk kueri berhalaman. |
20 |
| Filter |
array<object> |
No |
Daftar kondisi filter. |
|
|
object |
No |
A filter condition. |
||
| Name |
string |
No |
The name of the filter condition. |
UserIds |
| Value |
array |
No |
A list of values for the filter condition. |
|
|
string |
No |
A value for the filter condition. |
user_mkv7rgt4d7i4u7zqtzev2mxxxx |
|
| ResourceServerScopeId |
string |
No |
Pengenal unik izin. |
ress_nbte4bb3qqqnaq73rlmkqixxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries in the list. |
100 |
| NextToken |
string |
The token for the next page. |
NTxxxexample |
| Users |
array<object> |
A list of user accounts. |
|
|
array<object> |
Information about a user account. |
||
| InstanceId |
string |
The ID of the instance. |
idaas_qsw77zl5vrllwzyrrfwbmpxxxx |
| UserId |
string |
The ID of the user account. |
user_nbsomva32b6utec3hgi7scxxxx |
| ResourceServerScopes |
array<object> |
A list of granted scope permissions. |
|
|
object |
Information about a scope permission. |
||
| ResourceServerScopeId |
string |
The ID of the scope permission. |
ress_nbte4bb3qqqnaq73rlmkqixxxx |
| ResourceServerScopeName |
string |
The name of the scope permission. |
Read All User |
| MaxResults |
integer |
The number of entries per page for paged queries. |
20 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"Users": [
{
"InstanceId": "idaas_qsw77zl5vrllwzyrrfwbmpxxxx",
"UserId": "user_nbsomva32b6utec3hgi7scxxxx",
"ResourceServerScopes": [
{
"ResourceServerScopeId": "ress_nbte4bb3qqqnaq73rlmkqixxxx",
"ResourceServerScopeName": "Read All User"
}
]
}
],
"MaxResults": 20
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.