public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonIoTConfig config = new AmazonIoTConfig(); config.RegionEndpoint = region; ConfigureClient(config); AmazonIoTClient client = new AmazonIoTClient(creds, config); ListAuthorizersResponse resp = new ListAuthorizersResponse(); do { ListAuthorizersRequest req = new ListAuthorizersRequest { Marker = resp.NextMarker , PageSize = maxItems }; resp = client.ListAuthorizers(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.Authorizers) { AddObject(obj); } }while (!string.IsNullOrEmpty(resp.NextMarker)); }