async def iter_describe_maintenance_window_schedule(
self,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
window_id: Optional[
"capo_ssm.types.maintenance_window_id.MaintenanceWindowId"
] = None,
targets: Optional["capo_ssm.types.targets.Targets"] = None,
resource_type: Optional[
"capo_ssm.types.maintenance_window_resource_type.MaintenanceWindowResourceType"
] = None,
filters: Optional[
"capo_ssm.types.patch_orchestrator_filter_list.PatchOrchestratorFilterList"
] = None,
max_results: Optional[
"capo_ssm.types.maintenance_window_search_max_results.MaintenanceWindowSearchMaxResults"
] = None,
next_token: Optional["capo_ssm.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_ssm.types.scheduled_window_execution.ScheduledWindowExecution]":
_token = next_token
while True:
_response = await self.describe_maintenance_window_schedule(
config_overrides=config_overrides,
window_id=window_id,
targets=targets,
resource_type=resource_type,
filters=filters,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("scheduled_window_executions",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break