def iter_list_contact_flow_module_aliases(
self,
instance_id: "capo_connect.types.instance_id_or_arn.InstanceIdOrArn",
contact_flow_module_id: "capo_connect.types.arn.ARN",
*,
config_overrides: Optional[ConnectClientConfig] = None,
next_token: Optional["capo_connect.types.next_token.NextToken"] = None,
max_results: Optional["capo_connect.types.max_result1000.MaxResult1000"] = None,
) -> "Iterator[capo_connect.types.contact_flow_module_alias_summary.ContactFlowModuleAliasSummary]":
_token = next_token
while True:
_response = self.list_contact_flow_module_aliases(
instance_id,
contact_flow_module_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(
_response, ("contact_flow_module_alias_summary_list",)
)
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break