describe_route_server_peers
async
¶
describe_route_server_peers(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
route_server_peer_ids: Optional[RouteServerPeerIdsList] = None,
next_token: Optional[String] = None,
max_results: Optional[RouteServerMaxResults] = None,
filters: Optional[FilterList] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeRouteServerPeersResult
Describes one or more route server peers.
A route server peer is a session between a route server endpoint and the device deployed in Amazon Web Services (such as a firewall appliance or other network security function running on an EC2 instance). The device must meet these requirements:
-
Have an elastic network interface in the VPC
-
Support BGP (Border Gateway Protocol)
-
Can initiate BGP sessions
For more information see Dynamic routing in your VPC with VPC Route Server in the Amazon VPC User Guide.
Parameters:
-
route_server_peer_ids(Optional[RouteServerPeerIdsList], default:None) –The IDs of the route server peers to describe.
-
next_token(Optional[String], default:None) –The token for the next page of results.
-
max_results(Optional[RouteServerMaxResults], default:None) –The maximum number of results to return with a single call.
-
filters(Optional[FilterList], default:None) –One or more filters to apply to the describe request.
-
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
32342 32343 32344 32345 32346 32347 32348 32349 32350 32351 32352 32353 32354 32355 32356 32357 32358 32359 32360 32361 32362 32363 32364 32365 32366 32367 32368 32369 32370 32371 32372 32373 32374 32375 32376 32377 32378 32379 32380 32381 32382 32383 32384 32385 32386 32387 32388 32389 32390 32391 32392 32393 32394 32395 32396 32397 32398 32399 32400 32401 32402 32403 32404 32405 | |