Mengkueri kelompok pengguna Resource Access Management (RAM).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListGroups |
get |
*Group
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Marker |
string |
No |
Token paginasi yang digunakan di permintaan berikutnya untuk mengambil halaman hasil baru. Anda tidak perlu menentukan parameter ini untuk permintaan pertama. Saat Anda memanggil operasi untuk pertama kali, jika jumlah total entri yang dikembalikan melebihi nilai |
EXAMPLE |
| MaxItems |
integer |
No |
Jumlah entri per halaman. Nilai valid: 1 hingga 100. Nilai default: 100. |
100 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
065527AA-2F2E-AD7C-7484-F2626CFE4934 |
| Groups |
object |
||
| Group |
array<object> |
The information about the RAM user groups. |
|
|
object |
The information about the RAM user group. |
||
| GroupId |
string |
The ID of the RAM user group. |
g-FpMEHiMysofp**** |
| UpdateDate |
string |
The update time. |
2015-01-23T12:33:18Z |
| GroupName |
string |
The name of the RAM user group. |
Dev-Team |
| Comments |
string |
The description. |
开发团队 |
| CreateDate |
string |
The creation time. |
2015-01-23T12:33:18Z |
| IsTruncated |
boolean |
Indicates whether the response is truncated. Valid values:
|
true |
| Marker |
string |
The pagination token that is used in the next request to retrieve a new page of results. Catatan
This parameter is returned only when |
EXAMPLE |
Contoh
Respons sukses
JSONformat
{
"RequestId": "065527AA-2F2E-AD7C-7484-F2626CFE4934",
"Groups": {
"Group": [
{
"GroupId": "g-FpMEHiMysofp****",
"UpdateDate": "2015-01-23T12:33:18Z",
"GroupName": "Dev-Team",
"Comments": "开发团队",
"CreateDate": "2015-01-23T12:33:18Z"
}
]
},
"IsTruncated": true,
"Marker": "EXAMPLE"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.