Memanggil GetBucketAcl untuk mengambil izin akses bucket.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:GetBucketAcl |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BucketName |
string |
Yes |
Nama bucket. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
5C881388-2D4B-46F4-A96B-D4E6BD0886A2 |
| BucketAcl |
string |
Izin baca dan tulis bucket. |
private |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5C881388-2D4B-46F4-A96B-D4E6BD0886A2",
"BucketAcl": "private"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid%s | Specified parameter %s is not valid. | |
| 400 | InvalidBucketName | Specified parameter BucketName is not valid. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 403 | AccessDenied | auth is not valid | |
| 403 | UserDisable | The user has been disabled due to arrears. | |
| 404 | NoSuchBucket | The specified bucket does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.