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); DescribeFleetAttributesResponse resp = new DescribeFleetAttributesResponse(); do { DescribeFleetAttributesRequest req = new DescribeFleetAttributesRequest { NextToken = resp.NextToken , Limit = maxItems }; resp = client.DescribeFleetAttributes(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.FleetAttributes) { AddObject(obj); } }while (!string.IsNullOrEmpty(resp.NextToken)); }
public void DescribeFleetAttributesAsync(DescribeFleetAttributesRequest request, AmazonServiceCallback <DescribeFleetAttributesRequest, DescribeFleetAttributesResponse> callback, AsyncOptions options = null) { throw new System.NotImplementedException(); }