get_ipam_discovered_routes
¶
get_ipam_discovered_routes(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_resource_discovery_id: Optional[IpamResourceDiscoveryId] = None,
resource_region: Optional[String] = None,
filters: Optional[FilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[IpamMaxResults] = None,
) -> GetIpamDiscoveredRoutesResult
Retrieves Border Gateway Protocol (BGP) routes discovered by IPAM resource discovery for a specified Region. Use this operation to view the Bring Your Own IP (BYOIP) address ranges that are currently advertised through BGP. We recommend using pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
ipam_resource_discovery_id(Optional[IpamResourceDiscoveryId], default:None) –The ID of the IPAM resource discovery.
-
resource_region(Optional[String], default:None) –The Amazon Web Services Region to retrieve discovered routes for.
-
filters(Optional[FilterList], default:None) –One or more filters to apply to the results.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
-
max_results(Optional[IpamMaxResults], default:None) –The maximum number of results to return in a single call. If not specified, all available results are returned. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
44570 44571 44572 44573 44574 44575 44576 44577 44578 44579 44580 44581 44582 44583 44584 44585 44586 44587 44588 44589 44590 44591 44592 44593 44594 44595 44596 44597 44598 44599 44600 44601 44602 44603 44604 44605 44606 44607 44608 44609 44610 44611 44612 44613 44614 44615 44616 44617 44618 44619 44620 44621 44622 44623 44624 44625 44626 44627 44628 44629 44630 44631 44632 44633 44634 44635 44636 | |