Skip to content

iter_list_client_metadata_ur_ls

iter_list_client_metadata_ur_ls(
    user_pool_id: UserPoolIdType,
    cimd_policy_id: CIMDPolicyIdType,
    *,
    config_overrides: Optional[CognitoIdentityProviderClientConfig] = None,
    next_token: Optional[PaginationKeyType] = None,
    max_results: Optional[PoolQueryLimitType] = None,
) -> Iterator[ClientMetadataURLType]
Source code in docs_src/capo_cognito_identity_provider/_services/cognito_identity_provider.py
def iter_list_client_metadata_ur_ls(
    self,
    user_pool_id: "capo_cognito_identity_provider.types.user_pool_id_type.UserPoolIdType",
    cimd_policy_id: "capo_cognito_identity_provider.types.cimd_policy_id_type.CIMDPolicyIdType",
    *,
    config_overrides: Optional[CognitoIdentityProviderClientConfig] = None,
    next_token: Optional[
        "capo_cognito_identity_provider.types.pagination_key_type.PaginationKeyType"
    ] = None,
    max_results: Optional[
        "capo_cognito_identity_provider.types.pool_query_limit_type.PoolQueryLimitType"
    ] = None,
) -> "Iterator[capo_cognito_identity_provider.types.client_metadata_url_type.ClientMetadataURLType]":
    _token = next_token
    while True:
        _response = self.list_client_metadata_ur_ls(
            user_pool_id,
            cimd_policy_id,
            config_overrides=config_overrides,
            next_token=_token,
            max_results=max_results,
        )
        _page = _resolve_path(_response, ("client_metadata_ur_ls",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break