Skip to content

iter_describe_fleet_location_attributes

iter_describe_fleet_location_attributes(
    *,
    config_overrides: Optional[GameLiftClientConfig] = None,
    fleet_id: Optional[FleetIdOrArn] = None,
    locations: Optional[LocationList] = None,
    limit: Optional[PositiveInteger] = None,
    next_token: Optional[NonZeroAndMaxString] = None,
) -> Iterator[DescribeFleetLocationAttributesOutput]
Source code in docs_src/capo_gamelift/_services/game_lift.py
def iter_describe_fleet_location_attributes(
    self,
    *,
    config_overrides: Optional[GameLiftClientConfig] = None,
    fleet_id: Optional["capo_gamelift.types.fleet_id_or_arn.FleetIdOrArn"] = None,
    locations: Optional["capo_gamelift.types.location_list.LocationList"] = 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.describe_fleet_location_attributes_output.DescribeFleetLocationAttributesOutput]":
    _token = next_token
    while True:
        _response = self.describe_fleet_location_attributes(
            config_overrides=config_overrides,
            fleet_id=fleet_id,
            locations=locations,
            limit=limit,
            next_token=_token,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break