Skip to content

iter_list_custom_verification_email_templates async

iter_list_custom_verification_email_templates(
    *,
    config_overrides: Optional[AsyncSESv2ClientConfig] = None,
    next_token: Optional[NextToken] = None,
    page_size: Optional[MaxItems] = None,
) -> AsyncIterator[ListCustomVerificationEmailTemplatesResponse]
Source code in docs_src/capo_sesv2/_services/async_se_sv2.py
async def iter_list_custom_verification_email_templates(
    self,
    *,
    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.list_custom_verification_email_templates_response.ListCustomVerificationEmailTemplatesResponse]":
    _token = next_token
    while True:
        _response = await self.list_custom_verification_email_templates(
            config_overrides=config_overrides,
            next_token=_token,
            page_size=page_size,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break