public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonDynamoDBConfig config = new AmazonDynamoDBConfig(); config.RegionEndpoint = region; ConfigureClient(config); AmazonDynamoDBClient client = new AmazonDynamoDBClient(creds, config); ListContributorInsightsResponse resp = new ListContributorInsightsResponse(); do { ListContributorInsightsRequest req = new ListContributorInsightsRequest { NextToken = resp.NextToken , MaxResults = maxItems }; resp = client.ListContributorInsights(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.ContributorInsightsSummaries) { AddObject(obj); } }while (!string.IsNullOrEmpty(resp.NextToken)); }
Task <ListContributorInsightsResponse> IAmazonDynamoDB.ListContributorInsightsAsync(ListContributorInsightsRequest request, CancellationToken cancellationToken) { throw new NotSupportedException(); }
public Task <ListContributorInsightsResponse> ListContributorInsightsAsync(ListContributorInsightsRequest request, CancellationToken cancellationToken = default) { throw new NotImplementedException(); }