Menarik entri rute yang dipublikasikan VPC.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:WithdrawVpcPublishedRouteEntries |
update |
*RouteTable
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah instans. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| RegionId |
string |
No |
Daftar entri rute yang akan ditarik. Anda dapat menentukan hingga 50 entri rute. |
cn-hangzhou |
| RouteEntries |
array<object> |
No |
Tipe target publikasi entri rute. |
|
|
object |
No |
Daftar entri rute yang akan ditarik. |
||
| RouteTableId |
string |
Yes |
ID tabel rute entri rute. |
vtb-bp145q7glnuzd**** |
| DestinationCidrBlock |
string |
Yes |
Blok CIDR tujuan entri rute. |
10.0.0.0/24 |
| TargetType |
string |
Yes |
ID instans target publikasi entri rute. |
ECR |
| TargetInstanceId |
string |
Yes |
Apakah akan menjalankan dry run. Nilai valid:
|
ecr-dhw2xsds5**** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run. Nilai valid:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.Vpc | The status of %s [%s] is incorrect. | VPC yang ditentukan tidak berada dalam status yang stabil. |
| 400 | ResourceNotFound.RouteEntry | The specified resource routeEntry is not found. | Entri rute yang ditentukan tidak ada. |
| 400 | IncorrectStatus.RouteEntry | The status of %s [%s] is incorrect. | Entri rute berada dalam status sementara. |
| 400 | IncorrectStatus.RouteEntryPublishStatus | Route entry publish status is incorrect. | Status publikasi rute dari entri rute salah. |
| 400 | Forbidden.OperateCustomRouteTable | The operation is forbidden because publish route entry in custom route table. | Operasi dilarang karena penerbitan entri rute dari tabel rute kustom tidak diizinkan. |
| 400 | ResourceNotAssociated.TargetInstance | The target instance is not associated with vpc. | |
| 400 | OperationDenied.UnsupportedTargetType | The operation is not allowed because the target type is not supported. | Operasi ditolak karena tipe target pengumuman rute saat ini tidak didukung. |
| 400 | IncorrectStatus.RouteTable | The route table is in an invalid state. | Status tabel rute yang ditentukan salah. |
| 400 | OperationUnsupported.PublishSystemRouteEntry | Publishing system route entry is unsupported. | Publikasi entri rute sistem tidak didukung. |
| 400 | OperationUnsupported.UnsupportedNextHop | Unsupported nexthop type for route entry publish operation. | Tipe lompatan berikutnya entri rute tidak mendukung publikasi. |
| 400 | OperationUnsupported.PublishPrefixListRouteEntry | Publishing prefix list route entry is unsupported. | Operasi publikasi entri rute daftar awalan rute tidak didukung. |
| 400 | MissingParam.RouteEntries | The parameter RouteEntries is missing. | Parameter RouteEntries tidak ada. |
| 400 | InvalidRouteTableId.NotFound | Specified route table does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.