Memanggil operasi DeleteVpcPrefixList untuk menghapus daftar prefiks.
Deskripsi operasi
Operasi DeleteVpcPrefixList tidak mendukung penghapusan bersamaan dari instance daftar prefiks yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteVpcPrefixList |
delete |
*PrefixList
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PrefixListId |
string |
Yes |
ID dari daftar prefiks yang ingin Anda hapus. |
pl-0b78hw45f**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilainya, tetapi Anda harus memastikan bahwa nilainya unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem akan secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-426655440000 |
| DryRun |
boolean |
No |
Menentukan apakah hanya melakukan dry run, tanpa melakukan permintaan yang sebenarnya. Nilai yang valid:
|
false |
| RegionId |
string |
Yes |
ID dari region tempat daftar prefiks yang ingin Anda hapus berada. Anda dapat memanggil operasi DescribeRegions untuk membuat kueri daftar region terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
64B48E3D-DF70-471B-AA93-08E683A1B45 |
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.PrefixList | The specified resource of prefixList is not found. | |
| 400 | IncorrectStatus.SystemPrefixList | This is not allowed to operate system prefixList. | |
| 400 | OperationDenied.DeleteShareResource | This is not allowed to delete shared prefixList. | |
| 400 | IncorrectStatus.PrefixList | The status of prefixList is incorrect. | The prefix list is in an unstable state. |
| 400 | DependencyViolation.PrefixListRelation | The specified resource of prefixList depends on prefixList relation, so the operation cannot be completed. | |
| 400 | DependencyViolation.ShareResource | The specified resource of prefixList depends on share resource, so the operation cannot be completed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.