get_ipam_resource_cidrs
async
¶
get_ipam_resource_cidrs(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
45998 45999 46000 46001 46002 46003 46004 46005 46006 46007 46008 46009 46010 46011 46012 46013 46014 46015 46016 46017 46018 46019 46020 46021 46022 46023 46024 46025 46026 46027 46028 46029 46030 46031 46032 46033 46034 46035 46036 46037 46038 46039 46040 46041 46042 46043 46044 46045 46046 46047 46048 46049 46050 46051 46052 46053 46054 46055 46056 46057 46058 46059 46060 46061 46062 46063 46064 46065 46066 46067 46068 46069 46070 46071 46072 46073 46074 46075 46076 46077 46078 46079 46080 46081 | |