async def iter_list_available_resource_dimensions(
self,
service_type: "capo_pi.types.service_type.ServiceType",
identifier: "capo_pi.types.identifier_string.IdentifierString",
metrics: "capo_pi.types.dimensions_metric_list.DimensionsMetricList",
*,
config_overrides: Optional[AsyncPIClientConfig] = None,
max_results: Optional["capo_pi.types.max_results.MaxResults"] = None,
next_token: Optional["capo_pi.types.next_token.NextToken"] = None,
authorized_actions: Optional[
"capo_pi.types.authorized_actions_list.AuthorizedActionsList"
] = None,
) -> "AsyncIterator[capo_pi.types.list_available_resource_dimensions_response.ListAvailableResourceDimensionsResponse]":
_token = next_token
while True:
_response = await self.list_available_resource_dimensions(
service_type,
identifier,
metrics,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
authorized_actions=authorized_actions,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break