def iter_list_configuration_profiles(
self,
application_id: "capo_appconfig.types.name.Name",
*,
config_overrides: Optional[AppConfigClientConfig] = None,
max_results: Optional["capo_appconfig.types.max_results.MaxResults"] = None,
next_token: Optional["capo_appconfig.types.next_token.NextToken"] = None,
type: Optional[
"capo_appconfig.types.configuration_profile_type.ConfigurationProfileType"
] = None,
) -> "Iterator[capo_appconfig.types.configuration_profile_summary.ConfigurationProfileSummary]":
_token = next_token
while True:
_response = self.list_configuration_profiles(
application_id,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
type=type,
)
_page = _resolve_path(_response, ("items",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break