def iter_describe_notification_configurations(
self,
*,
config_overrides: Optional[AutoScalingClientConfig] = None,
auto_scaling_group_names: Optional[
"capo_auto_scaling.types.auto_scaling_group_names.AutoScalingGroupNames"
] = None,
next_token: Optional["capo_auto_scaling.types.xml_string.XmlString"] = None,
max_records: Optional["capo_auto_scaling.types.max_records.MaxRecords"] = None,
) -> "Iterator[capo_auto_scaling.types.notification_configuration.NotificationConfiguration]":
_token = next_token
while True:
_response = self.describe_notification_configurations(
config_overrides=config_overrides,
auto_scaling_group_names=auto_scaling_group_names,
next_token=_token,
max_records=max_records,
)
_page = _resolve_path(_response, ("notification_configurations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break