def iter_describe_custom_domain_associations(
self,
*,
config_overrides: Optional[RedshiftClientConfig] = None,
custom_domain_name: Optional[
"capo_redshift.types.custom_domain_name_string.CustomDomainNameString"
] = None,
custom_domain_certificate_arn: Optional[
"capo_redshift.types.custom_domain_certificate_arn_string.CustomDomainCertificateArnString"
] = None,
max_records: Optional[
"capo_redshift.types.integer_optional.IntegerOptional"
] = None,
marker: Optional["capo_redshift.types.string.String"] = None,
) -> "Iterator[capo_redshift.types.association.Association]":
_token = marker
while True:
_response = self.describe_custom_domain_associations(
config_overrides=config_overrides,
custom_domain_name=custom_domain_name,
custom_domain_certificate_arn=custom_domain_certificate_arn,
max_records=max_records,
marker=_token,
)
_page = _resolve_path(_response, ("associations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("marker",))
if not _token:
break