protected override async Task FailActivityAsync(string taskToken, string error) { var activityFailedRequest = new RespondActivityTaskFailedRequest { TaskToken = taskToken, Details = error, Reason = error }; await _amazonSimpleWorkflowClient.RespondActivityTaskFailedAsync(activityFailedRequest); }