code: private void deleteMessageAfterProcessSource(ProgressState progressState, CloudTrailSource source) {
          ProgressStatus deleteMessageStatus = new ProgressStatus(progressState, new BasicProcessSourceInfo(source, false));
          sqsManager.deleteMessageFromQueue(((SQSBasedSource)source).getSqsMessage(), deleteMessageStatus);
      }
docs: Delete SQS message after processing source.
  
  @param progressState {@link ProgressState} either {@link ProgressState#deleteMessage}, or {@link ProgressState#deleteFilteredMessage}
  @param source {@link CloudTrailSource} that contains the SQS message that will be deleted.