公開済みの Virtual Private Cloud (VPC) ルートを撤回します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:WithdrawVpcPublishedRouteEntries |
update |
*RouteTable
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID です。この値は、DescribeRegions 操作を呼び出して取得できます。 |
cn-hangzhou |
| RegionId |
string |
任意 |
リージョン ID です。この値は、DescribeRegions 操作を呼び出して取得できます。 |
cn-hangzhou |
| RouteEntries |
array<object> |
任意 |
撤回するルートエントリです。最大値:50。 |
|
|
object |
任意 |
撤回するルートエントリのリストです。 |
||
| RouteTableId |
string |
必須 |
ルートテーブルの ID です。 |
vtb-bp145q7glnuzd**** |
| DestinationCidrBlock |
string |
必須 |
宛先 CIDR ブロックです。 |
10.0.0.0/24 |
| TargetType |
string |
必須 |
ターゲットインスタンスのタイプです。 |
ECR |
| TargetInstanceId |
string |
必須 |
ターゲットインスタンス ID です。 |
ecr-dhw2xsds5**** |
| DryRun |
boolean |
任意 |
ドライランのみを実行するかどうかを指定します。実際のリクエストは実行されません。有効な値は次のとおりです。
|
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマです。 |
||
| RequestId |
string |
リクエスト ID です。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectStatus.Vpc | The status of %s [%s] is incorrect. | |
| 400 | ResourceNotFound.RouteEntry | The specified resource routeEntry is not found. | |
| 400 | IncorrectStatus.RouteEntry | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.RouteEntryPublishStatus | Route entry publish status is incorrect. | |
| 400 | Forbidden.OperateCustomRouteTable | The operation is forbidden because publish route entry in custom route table. | |
| 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. | |
| 400 | IncorrectStatus.RouteTable | The route table is in an invalid state. | |
| 400 | OperationUnsupported.PublishSystemRouteEntry | Publishing system route entry is unsupported. | |
| 400 | OperationUnsupported.UnsupportedNextHop | Unsupported nexthop type for route entry publish operation. | |
| 400 | OperationUnsupported.PublishPrefixListRouteEntry | Publishing prefix list route entry is unsupported. | |
| 400 | MissingParam.RouteEntries | The parameter RouteEntries is missing. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。