public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonLambdaConfig config = new AmazonLambdaConfig(); config.RegionEndpoint = region; ConfigureClient(config); AmazonLambdaClient client = new AmazonLambdaClient(creds, config); ListCodeSigningConfigsResponse resp = new ListCodeSigningConfigsResponse(); do { ListCodeSigningConfigsRequest req = new ListCodeSigningConfigsRequest { Marker = resp.NextMarker , MaxItems = maxItems }; resp = client.ListCodeSigningConfigs(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.CodeSigningConfigs) { AddObject(obj); } } while (!string.IsNullOrEmpty(resp.NextMarker)); }