def iter_get_instrumentation_configuration_status(
self,
instrumentation_type: "capo_application_signals.types.instrumentation_type.InstrumentationType",
service: str,
environment: str,
signal_type: "capo_application_signals.types.dynamic_instrumentation_signal_type.DynamicInstrumentationSignalType",
location_identifier: "capo_application_signals.types.location_identifier.LocationIdentifier",
*,
config_overrides: Optional[ApplicationSignalsClientConfig] = None,
status: Optional[
"capo_application_signals.types.instrumentation_configuration_status.InstrumentationConfigurationStatus"
] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
max_results: Optional[int] = None,
next_token: Optional[
"capo_application_signals.types.next_token.NextToken"
] = None,
) -> "Iterator[capo_application_signals.types.instrumentation_status_event.InstrumentationStatusEvent]":
_token = next_token
while True:
_response = self.get_instrumentation_configuration_status(
instrumentation_type,
service,
environment,
signal_type,
location_identifier,
config_overrides=config_overrides,
status=status,
start_time=start_time,
end_time=end_time,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("events",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break