def iter_list_auto_scaling_configurations(
self,
*,
config_overrides: Optional[AppRunnerClientConfig] = None,
auto_scaling_configuration_name: Optional[
"capo_apprunner.types.auto_scaling_configuration_name.AutoScalingConfigurationName"
] = None,
latest_only: Optional["capo_apprunner.types.boolean.Boolean"] = None,
max_results: Optional["capo_apprunner.types.max_results.MaxResults"] = None,
next_token: Optional["capo_apprunner.types.next_token.NextToken"] = None,
) -> "Iterator[capo_apprunner.types.list_auto_scaling_configurations_response.ListAutoScalingConfigurationsResponse]":
_token = next_token
while True:
_response = self.list_auto_scaling_configurations(
config_overrides=config_overrides,
auto_scaling_configuration_name=auto_scaling_configuration_name,
latest_only=latest_only,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break