Skip to content

iter_list_inbound_connectors async

iter_list_inbound_connectors(
    aws_account_id: AwsAccountId,
    *,
    config_overrides: Optional[AsyncQuickSightClientConfig] = None,
    max_results: Optional[ListInboundConnectorsRequestMaxResultsInteger] = None,
    next_token: Optional[str] = None,
    type: Optional[InboundConnectorTypeFilterList] = None,
) -> AsyncIterator[InboundConnectorSummary]
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
async def iter_list_inbound_connectors(
    self,
    aws_account_id: "capo_quicksight.types.aws_account_id.AwsAccountId",
    *,
    config_overrides: Optional[AsyncQuickSightClientConfig] = None,
    max_results: Optional[
        "capo_quicksight.types.list_inbound_connectors_request_max_results_integer.ListInboundConnectorsRequestMaxResultsInteger"
    ] = None,
    next_token: Optional[str] = None,
    type: Optional[
        "capo_quicksight.types.inbound_connector_type_filter_list.InboundConnectorTypeFilterList"
    ] = None,
) -> "AsyncIterator[capo_quicksight.types.inbound_connector_summary.InboundConnectorSummary]":
    _token = next_token
    while True:
        _response = await self.list_inbound_connectors(
            aws_account_id,
            config_overrides=config_overrides,
            max_results=max_results,
            next_token=_token,
            type=type,
        )
        _page = _resolve_path(_response, ("inbound_connector_summaries",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break