delete_local_gateway_route
¶
delete_local_gateway_route(
*,
config_overrides: Optional[EC2ClientConfig] = None,
destination_cidr_block: Optional[String] = None,
local_gateway_route_table_id: Optional[LocalGatewayRoutetableId] = None,
dry_run: Optional[Boolean] = None,
destination_prefix_list_id: Optional[PrefixListResourceId] = None,
) -> DeleteLocalGatewayRouteResult
Deletes the specified route from the specified local gateway route table.
Parameters:
-
destination_cidr_block(Optional[String], default:None) –The CIDR range for the route. This must match the CIDR for the route exactly.
-
local_gateway_route_table_id(Optional[LocalGatewayRoutetableId], default:None) –The ID of the local gateway route table.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
destination_prefix_list_id(Optional[PrefixListResourceId], default:None) –Use a prefix list in place of
DestinationCidrBlock. You cannot useDestinationPrefixListIdandDestinationCidrBlockin the same request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 | |