public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonRDSConfig config = new AmazonRDSConfig(); config.RegionEndpoint = region; ConfigureClient(config); AmazonRDSClient client = new AmazonRDSClient(creds, config); DescribeDBProxiesResponse resp = new DescribeDBProxiesResponse(); do { DescribeDBProxiesRequest req = new DescribeDBProxiesRequest { Marker = resp.Marker , MaxRecords = maxItems }; resp = client.DescribeDBProxies(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.DBProxies) { AddObject(obj); } }while (!string.IsNullOrEmpty(resp.Marker)); }