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); DescribeDBClusterEndpointsResponse resp = new DescribeDBClusterEndpointsResponse(); do { DescribeDBClusterEndpointsRequest req = new DescribeDBClusterEndpointsRequest { Marker = resp.Marker , MaxRecords = maxItems }; resp = client.DescribeDBClusterEndpoints(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.DBClusterEndpoints) { AddObject(obj); } }while (!string.IsNullOrEmpty(resp.Marker)); }