Mengkueri semua kebijakan izin di region saat ini.
Deskripsi operasi
Untuk informasi selengkapnya tentang kebijakan akses yang diperlukan oleh pengguna RAM atau peran RAM untuk memanggil API ini, lihat Resource Access Management.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai yang valid: 1 hingga 100. Nilai default: 20. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
b66ad557-9c00-4064-9c8d-b621c3263308 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
1 |
| Policies |
object |
||
| Policy |
array<object> |
Daftar kebijakan izin. |
|
|
object |
Daftar kebijakan izin. |
||
| Name |
string |
The name of the permission policy. |
policy_test |
Contoh
Respons sukses
JSONformat
{
"RequestId": "b66ad557-9c00-4064-9c8d-b621c3263308",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"Policies": {
"Policy": [
{
"Name": "policy_test"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.