public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems)
        {
            AmazonCodeGuruReviewerConfig config = new AmazonCodeGuruReviewerConfig();

            config.RegionEndpoint = region;
            ConfigureClient(config);
            AmazonCodeGuruReviewerClient client = new AmazonCodeGuruReviewerClient(creds, config);

            ListRepositoryAssociationsResponse resp = new ListRepositoryAssociationsResponse();

            do
            {
                ListRepositoryAssociationsRequest req = new ListRepositoryAssociationsRequest
                {
                    NextToken = resp.NextToken
                    ,
                    MaxResults = maxItems
                };

                resp = client.ListRepositoryAssociations(req);
                CheckError(resp.HttpStatusCode, "200");

                foreach (var obj in resp.RepositoryAssociationSummaries)
                {
                    AddObject(obj);
                }
            }while (!string.IsNullOrEmpty(resp.NextToken));
        }
        protected IAmazonCodeGuruReviewer CreateClient(AWSCredentials credentials, RegionEndpoint region)
        {
            var config = new AmazonCodeGuruReviewerConfig {
                RegionEndpoint = region
            };

            Amazon.PowerShell.Utils.Common.PopulateConfig(this, config);
            this.CustomizeClientConfig(config);
            var client = new AmazonCodeGuruReviewerClient(credentials, config);

            client.BeforeRequestEvent += RequestEventHandler;
            client.AfterResponseEvent += ResponseEventHandler;
            return(client);
        }