Memanggil operasi DeleteBucketLifecycle untuk menghapus aturan siklus hidup objek di bucket.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DeleteBucketLifecycle |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BucketName |
string |
Yes |
Nama bucket. |
test |
| RuleId |
string |
No |
ID aturan. Jika parameter ini tidak ditentukan, semua aturan siklus hidup akan dihapus. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
C6583E8B-B930-4F59-ADC0-0E209A45E860 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C6583E8B-B930-4F59-ADC0-0E209A45E860"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidBucketName | Specified parameter BucketName is not valid. | |
| 400 | AccessDenied | auth is not valid | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 403 | UserDisable | The user has been disabled due to arrears. | |
| 404 | NoSuchBucket | The specified bucket does not exist. | |
| 404 | NoSuchLifecycle | The bucket lifecycle does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.