async def iter_describe_delivery_sources(
self,
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = None,
next_token: Optional["capo_cloudwatch_logs.types.next_token.NextToken"] = None,
limit: Optional[
"capo_cloudwatch_logs.types.describe_limit.DescribeLimit"
] = None,
) -> "AsyncIterator[capo_cloudwatch_logs.types.delivery_source.DeliverySource]":
_token = next_token
while True:
_response = await self.describe_delivery_sources(
config_overrides=config_overrides,
next_token=_token,
limit=limit,
)
_page = _resolve_path(_response, ("delivery_sources",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break