Mengambil daftar anggota di workspace.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr-serverless-spark:ListMembers |
list |
*All Resource
|
None | None |
Sintaks permintaan
GET /api/v1/auth/{workspaceId}/members HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceId |
string |
Yes |
ID workspace. |
w-975bcfda9625**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| nextToken |
string |
No |
Token yang menandai awal halaman hasil berikutnya. |
1 |
| maxResults |
integer |
No |
Jumlah maksimum entri yang dikembalikan per halaman. |
20 |
| regionId |
string |
No |
ID region. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| members |
array<object> |
Daftar anggota. |
|
|
array<object> |
Seorang anggota. |
||
| memberArn |
string |
Alibaba Cloud Resource Name (ARN) dari pengguna. |
acs:emr::w-1234****abcd:member/202265*****276 |
| userName |
string |
Nama pengguna. |
jia***test@195*****7311.onaliyun.com |
| displayName |
string |
Nama tampilan pengguna. |
jia***test |
| userType |
string |
Tipe pengguna. |
MEMBER |
| roles |
array<object> |
Daftar peran di workspace. |
|
|
array<object> |
Peran pengguna. |
||
| roleArn |
string |
The ARN of the role. |
acs:emr::w-1234****abcd:role/DataScience |
| roleName |
string |
The name of the role. |
DataScience |
| description |
string |
The description. |
DataScience |
| createTime |
integer |
The time when the role was created. |
1753412502000 |
| actions |
array<object> |
The list of permissions. |
|
|
object |
|||
| actionArn |
string |
The ARN of the action. |
acs:emr::w-1234****abcd:action/add_MEMBER |
| actionName |
string |
The name of the permission. |
add |
| displayName |
string |
The display name of the permission. |
add members |
| description |
string |
The description of the action. |
add members |
| dependencies |
array |
The list of action dependencies. |
["view"] |
|
string |
A dependency. |
VIEW |
|
| actions |
array<object> |
Daftar operasi yang diizinkan untuk pengguna ini. |
|
|
object |
|||
| actionArn |
string |
The ARN of the action. |
acs:emr::w-1234****abcd:action/add_MEMBER |
| actionName |
string |
The name of the permission. |
add |
| displayName |
string |
The display name of the permission. |
add members |
| description |
string |
The description of the action. |
add members |
| dependencies |
array |
The list of action dependencies. |
["view"] |
|
string |
A dependency. |
VIEW |
|
| visible |
boolean |
Menunjukkan apakah anggota terlihat. |
true |
| createTime |
string |
Waktu anggota dibuat. |
1753412502000 |
| requestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| nextToken |
string |
Token untuk halaman hasil berikutnya. |
1 |
| maxResults |
integer |
Jumlah maksimum entri yang dikembalikan per halaman. |
20 |
| totalCount |
integer |
Jumlah total entri. |
200 |
Contoh
Respons sukses
JSONformat
{
"members": [
{
"memberArn": "acs:emr::w-1234****abcd:member/202265*****276",
"userName": "jia***test@195*****7311.onaliyun.com",
"displayName": "jia***test",
"userType": "MEMBER",
"roles": [
{
"roleArn": "acs:emr::w-1234****abcd:role/DataScience",
"roleName": "DataScience",
"description": "DataScience",
"createTime": 1753412502000,
"actions": [
{
"actionArn": "acs:emr::w-1234****abcd:action/add_MEMBER",
"actionName": "add",
"displayName": "add members",
"description": "add members\n",
"dependencies": [
"VIEW"
]
}
]
}
],
"actions": [
{
"actionArn": "acs:emr::w-1234****abcd:action/add_MEMBER",
"actionName": "add",
"displayName": "add members",
"description": "add members",
"dependencies": [
"VIEW"
]
}
],
"visible": true,
"createTime": "1753412502000"
}
],
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"nextToken": "1",
"maxResults": 20,
"totalCount": 200
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.