public async Task StopFunction(string stateMachineArn, string error, string cause = null)
 {
     await amazonStepFunctionsClient.StopExecutionAsync(new StopExecutionRequest()
     {
         ExecutionArn = stateMachineArn,
         Error        = error,
         Cause        = cause
     });
 }