def iter_describe_instance_properties(
self,
*,
config_overrides: Optional[SSMClientConfig] = None,
instance_property_filter_list: Optional[
"capo_ssm.types.instance_property_filter_list.InstancePropertyFilterList"
] = None,
filters_with_operator: Optional[
"capo_ssm.types.instance_property_string_filter_list.InstancePropertyStringFilterList"
] = None,
max_results: Optional[
"capo_ssm.types.describe_instance_properties_max_results.DescribeInstancePropertiesMaxResults"
] = None,
next_token: Optional["capo_ssm.types.next_token.NextToken"] = None,
) -> "Iterator[capo_ssm.types.instance_property.InstanceProperty]":
_token = next_token
while True:
_response = self.describe_instance_properties(
config_overrides=config_overrides,
instance_property_filter_list=instance_property_filter_list,
filters_with_operator=filters_with_operator,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("instance_properties",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break