disassociate_route_server
¶
disassociate_route_server(
*,
config_overrides: Optional[EC2ClientConfig] = None,
route_server_id: Optional[RouteServerId] = None,
vpc_id: Optional[VpcId] = None,
dry_run: Optional[Boolean] = None,
) -> DisassociateRouteServerResult
Disassociates a route server from a VPC.
A route server association is the connection established between a route server and a VPC.
For more information see Dynamic routing in your VPC with VPC Route Server in the Amazon VPC User Guide.
Parameters:
-
route_server_id(Optional[RouteServerId], default:None) –The ID of the route server to disassociate.
-
vpc_id(Optional[VpcId], default:None) –The ID of the VPC to disassociate from the route server.
-
dry_run(Optional[Boolean], default:None) –A check for 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.
Source code in docs_src/capo_ec2/_services/ec2.py
40277 40278 40279 40280 40281 40282 40283 40284 40285 40286 40287 40288 40289 40290 40291 40292 40293 40294 40295 40296 40297 40298 40299 40300 40301 40302 40303 40304 40305 40306 40307 40308 40309 40310 40311 40312 40313 40314 40315 40316 40317 40318 40319 40320 40321 40322 40323 40324 40325 40326 40327 40328 40329 40330 40331 | |