async def iter_list_ingestion_destinations(
self,
app_bundle_identifier: "capo_appfabric.types.identifier.Identifier",
ingestion_identifier: "capo_appfabric.types.identifier.Identifier",
*,
config_overrides: Optional[AsyncAppFabricClientConfig] = None,
max_results: Optional["capo_appfabric.types.max_results.MaxResults"] = None,
next_token: Optional[str] = None,
) -> "AsyncIterator[capo_appfabric.types.ingestion_destination_summary.IngestionDestinationSummary]":
_token = next_token
while True:
_response = await self.list_ingestion_destinations(
app_bundle_identifier,
ingestion_identifier,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("ingestion_destinations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break