async def iter_list_email_identity_certificates(
self,
email_identity: "capo_sesv2.types.identity.Identity",
*,
config_overrides: Optional[AsyncSESv2ClientConfig] = None,
next_token: Optional["capo_sesv2.types.next_token.NextToken"] = None,
page_size: Optional["capo_sesv2.types.max_items.MaxItems"] = None,
) -> "AsyncIterator[capo_sesv2.types.identity_certificate.IdentityCertificate]":
_token = next_token
while True:
_response = await self.list_email_identity_certificates(
email_identity,
config_overrides=config_overrides,
next_token=_token,
page_size=page_size,
)
_page = _resolve_path(_response, ("certificates",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break