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

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

            DescribeDBClustersResponse resp = new DescribeDBClustersResponse();

            do
            {
                DescribeDBClustersRequest req = new DescribeDBClustersRequest
                {
                    Marker = resp.Marker
                    ,
                    MaxRecords = maxItems
                };

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

                foreach (var obj in resp.DBClusters)
                {
                    AddObject(obj);
                }
            }while (!string.IsNullOrEmpty(resp.Marker));
        }
        protected IAmazonDocDB CreateClient(AWSCredentials credentials, RegionEndpoint region)
        {
            var config = new AmazonDocDBConfig {
                RegionEndpoint = region
            };

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

            client.BeforeRequestEvent += RequestEventHandler;
            client.AfterResponseEvent += ResponseEventHandler;
            return(client);
        }
        public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems)
        {
            AmazonDocDBConfig config = new AmazonDocDBConfig();

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

            ListTagsForResourceResponse resp = new ListTagsForResourceResponse();
            ListTagsForResourceRequest  req  = new ListTagsForResourceRequest
            {
            };

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

            foreach (var obj in resp.TagList)
            {
                AddObject(obj);
            }
        }