def iter_list_data_automation_projects(
self,
*,
config_overrides: Optional[BedrockDataAutomationClientConfig] = None,
max_results: Optional[
"capo_bedrock_data_automation.types.max_results.MaxResults"
] = None,
next_token: Optional[
"capo_bedrock_data_automation.types.next_token.NextToken"
] = None,
project_stage_filter: Optional[
"capo_bedrock_data_automation.types.data_automation_project_stage_filter.DataAutomationProjectStageFilter"
] = None,
blueprint_filter: Optional[
"capo_bedrock_data_automation.types.blueprint_filter.BlueprintFilter"
] = None,
resource_owner: Optional[
"capo_bedrock_data_automation.types.resource_owner.ResourceOwner"
] = None,
library_filter: Optional[
"capo_bedrock_data_automation.types.data_automation_library_filter.DataAutomationLibraryFilter"
] = None,
) -> "Iterator[capo_bedrock_data_automation.types.data_automation_project_summary.DataAutomationProjectSummary]":
_token = next_token
while True:
_response = self.list_data_automation_projects(
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
project_stage_filter=project_stage_filter,
blueprint_filter=blueprint_filter,
resource_owner=resource_owner,
library_filter=library_filter,
)
_page = _resolve_path(_response, ("projects",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break