Menampilkan kebijakan yang dilampirkan pada role Resource Access Management (RAM).
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 role RAM. |
AdminRole |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Policies |
object |
||
| Policy |
array<object> |
Informasi mengenai kebijakan. |
|
|
object |
Informasi mengenai kebijakan. |
||
| DefaultVersion |
string |
Versi default dari kebijakan. |
v1 |
| Description |
string |
Deskripsi kebijakan. |
OSS管理员权限 |
| PolicyName |
string |
Nama kebijakan. |
OSS-Administrator |
| AttachDate |
string |
Waktu saat kebijakan dilampirkan pada role RAM. |
2015-01-23T12:33:18Z |
| PolicyType |
string |
Jenis kebijakan. |
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.