get_ipam_resource_cidrs
¶
get_ipam_resource_cidrs(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
max_results: Optional[IpamMaxResults] = None,
next_token: Optional[NextToken] = None,
ipam_scope_id: Optional[IpamScopeId] = None,
ipam_pool_id: Optional[IpamPoolId] = None,
resource_id: Optional[String] = None,
resource_type: Optional[IpamResourceType] = None,
resource_tag: Optional[RequestIpamResourceTag] = None,
resource_owner: Optional[String] = None,
) -> GetIpamResourceCidrsResult
Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
Parameters:
-
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. -
filters(Optional[FilterList], default:None) –One or more filters for the request. For more information about filtering, see Filtering CLI output.
-
max_results(Optional[IpamMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
-
ipam_scope_id(Optional[IpamScopeId], default:None) –The ID of the scope that the resource is in.
-
ipam_pool_id(Optional[IpamPoolId], default:None) –The ID of the IPAM pool that the resource is in.
-
resource_id(Optional[String], default:None) –The ID of the resource.
-
resource_type(Optional[IpamResourceType], default:None) –The resource type.
-
resource_tag(Optional[RequestIpamResourceTag], default:None) –The resource tag.
-
resource_owner(Optional[String], default:None) –The ID of the Amazon Web Services account that owns the resource.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
45373 45374 45375 45376 45377 45378 45379 45380 45381 45382 45383 45384 45385 45386 45387 45388 45389 45390 45391 45392 45393 45394 45395 45396 45397 45398 45399 45400 45401 45402 45403 45404 45405 45406 45407 45408 45409 45410 45411 45412 45413 45414 45415 45416 45417 45418 45419 45420 45421 45422 45423 45424 45425 45426 45427 45428 45429 45430 45431 45432 45433 45434 45435 45436 45437 45438 45439 45440 45441 45442 45443 45444 45445 45446 45447 45448 45449 45450 45451 45452 45453 45454 45455 | |