get_ipam_discovered_routes
async
¶
get_ipam_discovered_routes(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
45185 45186 45187 45188 45189 45190 45191 45192 45193 45194 45195 45196 45197 45198 45199 45200 45201 45202 45203 45204 45205 45206 45207 45208 45209 45210 45211 45212 45213 45214 45215 45216 45217 45218 45219 45220 45221 45222 45223 45224 45225 45226 45227 45228 45229 45230 45231 45232 45233 45234 45235 45236 45237 45238 45239 45240 45241 45242 45243 45244 45245 45246 45247 45248 45249 45250 45251 45252 | |