disassociate_route_server
async
¶
disassociate_route_server(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
40819 40820 40821 40822 40823 40824 40825 40826 40827 40828 40829 40830 40831 40832 40833 40834 40835 40836 40837 40838 40839 40840 40841 40842 40843 40844 40845 40846 40847 40848 40849 40850 40851 40852 40853 40854 40855 40856 40857 40858 40859 40860 40861 40862 40863 40864 40865 40866 40867 40868 40869 40870 40871 40872 40873 40874 | |