def iter_list_security_configurations(
self,
*,
config_overrides: Optional[EMRcontainersClientConfig] = None,
created_after: Optional["capo_emr_containers.types.date.Date"] = None,
created_before: Optional["capo_emr_containers.types.date.Date"] = None,
max_results: Optional[
"capo_emr_containers.types.java_integer.JavaInteger"
] = None,
next_token: Optional["capo_emr_containers.types.next_token.NextToken"] = None,
) -> "Iterator[capo_emr_containers.types.security_configuration.SecurityConfiguration]":
_token = next_token
while True:
_response = self.list_security_configurations(
config_overrides=config_overrides,
created_after=created_after,
created_before=created_before,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("security_configurations",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break