modify_local_gateway_route
async
¶
modify_local_gateway_route(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
destination_cidr_block: Optional[String] = None,
local_gateway_route_table_id: Optional[LocalGatewayRoutetableId] = None,
local_gateway_virtual_interface_group_id: Optional[
LocalGatewayVirtualInterfaceGroupId
] = None,
network_interface_id: Optional[NetworkInterfaceId] = None,
dry_run: Optional[Boolean] = None,
destination_prefix_list_id: Optional[PrefixListResourceId] = None,
) -> ModifyLocalGatewayRouteResult
Modifies the specified local gateway route.
Parameters:
-
destination_cidr_block(Optional[String], default:None) –The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.
-
local_gateway_route_table_id(Optional[LocalGatewayRoutetableId], default:None) –The ID of the local gateway route table.
-
local_gateway_virtual_interface_group_id(Optional[LocalGatewayVirtualInterfaceGroupId], default:None) –The ID of the virtual interface group.
-
network_interface_id(Optional[NetworkInterfaceId], default:None) –The ID of the network interface.
-
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) –The ID of the prefix list. 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/async_ec2.py
52454 52455 52456 52457 52458 52459 52460 52461 52462 52463 52464 52465 52466 52467 52468 52469 52470 52471 52472 52473 52474 52475 52476 52477 52478 52479 52480 52481 52482 52483 52484 52485 52486 52487 52488 52489 52490 52491 52492 52493 52494 52495 52496 52497 52498 52499 52500 52501 52502 52503 52504 52505 52506 52507 52508 52509 52510 52511 52512 52513 52514 52515 52516 52517 52518 52519 52520 52521 52522 52523 52524 52525 52526 52527 52528 52529 | |