disable_vgw_route_propagation
async
¶
disable_vgw_route_propagation(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
gateway_id: Optional[VpnGatewayId] = None,
route_table_id: Optional[RouteTableId] = None,
dry_run: Optional[Boolean] = None,
) -> None
Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.
Parameters:
-
gateway_id(Optional[VpnGatewayId], default:None) –The ID of the virtual private gateway.
-
route_table_id(Optional[RouteTableId], default:None) –The ID of the 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To disable route propagation This example disables the specified virtual private gateway from propagating static routes to the specified route table.
>>> await client.disable_vgw_route_propagation(route_table_id='rtb-22574640', gateway_id='vgw-9a4cacf3')
Source code in docs_src/capo_ec2/_services/async_ec2.py
40090 40091 40092 40093 40094 40095 40096 40097 40098 40099 40100 40101 40102 40103 40104 40105 40106 40107 40108 40109 40110 40111 40112 40113 40114 40115 40116 40117 40118 40119 40120 40121 40122 40123 40124 40125 40126 40127 40128 40129 40130 40131 40132 40133 40134 40135 40136 40137 40138 40139 40140 40141 40142 40143 40144 40145 | |