public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonGameLiftConfig config = new AmazonGameLiftConfig(); config.RegionEndpoint = region; ConfigureClient(config); AmazonGameLiftClient client = new AmazonGameLiftClient(creds, config); DescribeFleetUtilizationResponse resp = new DescribeFleetUtilizationResponse(); do { DescribeFleetUtilizationRequest req = new DescribeFleetUtilizationRequest { NextToken = resp.NextToken , Limit = maxItems }; resp = client.DescribeFleetUtilization(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.FleetUtilization) { AddObject(obj); } }while (!string.IsNullOrEmpty(resp.NextToken)); }