Skip to content

iter_list_integration_connections

iter_list_integration_connections(
    *,
    config_overrides: Optional[AmplifyGen3ClientConfig] = None,
    integration_arn: Optional[IntegrationArn] = None,
    environment_arn: Optional[EnvironmentArn] = None,
    max_results: Optional[MaxResults] = None,
    next_token: Optional[NextToken] = None,
) -> Iterator[IntegrationConnectionSummary]
Source code in docs_src/capo_amplifygen3/_services/amplify_gen3.py
def iter_list_integration_connections(
    self,
    *,
    config_overrides: Optional[AmplifyGen3ClientConfig] = None,
    integration_arn: Optional[
        "capo_amplifygen3.types.integration_arn.IntegrationArn"
    ] = None,
    environment_arn: Optional[
        "capo_amplifygen3.types.environment_arn.EnvironmentArn"
    ] = None,
    max_results: Optional["capo_amplifygen3.types.max_results.MaxResults"] = None,
    next_token: Optional["capo_amplifygen3.types.next_token.NextToken"] = None,
) -> "Iterator[capo_amplifygen3.types.integration_connection_summary.IntegrationConnectionSummary]":
    _token = next_token
    while True:
        _response = self.list_integration_connections(
            config_overrides=config_overrides,
            integration_arn=integration_arn,
            environment_arn=environment_arn,
            max_results=max_results,
            next_token=_token,
        )
        _page = _resolve_path(_response, ("integration_connections",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break