Skip to content

iter_describe_matchmaking_configurations

iter_describe_matchmaking_configurations(
    *,
    config_overrides: Optional[GameLiftClientConfig] = None,
    names: Optional[MatchmakingConfigurationNameList] = None,
    rule_set_name: Optional[MatchmakingRuleSetName] = None,
    limit: Optional[PositiveInteger] = None,
    next_token: Optional[NonZeroAndMaxString] = None,
) -> Iterator[MatchmakingConfiguration]
Source code in docs_src/capo_gamelift/_services/game_lift.py
def iter_describe_matchmaking_configurations(
    self,
    *,
    config_overrides: Optional[GameLiftClientConfig] = None,
    names: Optional[
        "capo_gamelift.types.matchmaking_configuration_name_list.MatchmakingConfigurationNameList"
    ] = None,
    rule_set_name: Optional[
        "capo_gamelift.types.matchmaking_rule_set_name.MatchmakingRuleSetName"
    ] = None,
    limit: Optional["capo_gamelift.types.positive_integer.PositiveInteger"] = None,
    next_token: Optional[
        "capo_gamelift.types.non_zero_and_max_string.NonZeroAndMaxString"
    ] = None,
) -> "Iterator[capo_gamelift.types.matchmaking_configuration.MatchmakingConfiguration]":
    _token = next_token
    while True:
        _response = self.describe_matchmaking_configurations(
            config_overrides=config_overrides,
            names=names,
            rule_set_name=rule_set_name,
            limit=limit,
            next_token=_token,
        )
        _page = _resolve_path(_response, ("configurations",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break