Mendaftarkan kebijakan akses yang dilampirkan pada peran.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListPoliciesForRole |
get |
*Role
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RoleName |
string |
No |
Nama peran. |
AdminRole |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Policies |
object |
||
| Policy |
array<object> |
Informasi kebijakan akses. |
|
|
object |
Informasi kebijakan akses. |
||
| DefaultVersion |
string |
Versi default. |
v1 |
| Description |
string |
Deskripsi kebijakan akses. |
Izin administrator OSS |
| PolicyName |
string |
Nama kebijakan akses. |
OSS-Administrator |
| AttachDate |
string |
Waktu saat kebijakan dilampirkan. Waktu dalam UTC. Format: |
2015-01-23T12:33:18Z |
| PolicyType |
string |
Tipe kebijakan akses. |
Custom |
| RequestId |
string |
ID permintaan. |
7B8A4E7D-6CFF-471D-84DF-195A7A241ECB |
Contoh
Respons sukses
JSONformat
{
"Policies": {
"Policy": [
{
"DefaultVersion": "v1",
"Description": "OSS管理员权限",
"PolicyName": "OSS-Administrator",
"AttachDate": "2015-01-23T12:33:18Z",
"PolicyType": "Custom"
}
]
},
"RequestId": "7B8A4E7D-6CFF-471D-84DF-195A7A241ECB"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.