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

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

            GetExecutionHistoryResponse resp = new GetExecutionHistoryResponse();

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

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

                foreach (var obj in resp.Events)
                {
                    AddObject(obj);
                }
            }while (!string.IsNullOrEmpty(resp.NextToken));
        }