async def iter_describe_launch_configurations(
self,
*,
config_overrides: Optional[AsyncAutoScalingClientConfig] = None,
launch_configuration_names: Optional[
"capo_auto_scaling.types.launch_configuration_names.LaunchConfigurationNames"
] = None,
next_token: Optional["capo_auto_scaling.types.xml_string.XmlString"] = None,
max_records: Optional["capo_auto_scaling.types.max_records.MaxRecords"] = None,
) -> "AsyncIterator[capo_auto_scaling.types.launch_configuration.LaunchConfiguration]":
_token = next_token
while True:
_response = await self.describe_launch_configurations(
config_overrides=config_overrides,
launch_configuration_names=launch_configuration_names,
next_token=_token,
max_records=max_records,
)
_page = _resolve_path(_response, ("launch_configurations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break