code: public void deleteMessageFromQueue(Message sqsMessage, ProgressStatus progressStatus) {
          final Object reportObject = progressReporter.reportStart(progressStatus);
          boolean deleteMessageSuccess = false;
          try {
              sqsClient.deleteMessage(new DeleteMessageRequest(config.getSqsUrl(), sqsMessage.getReceiptHandle()));
              deleteMessageSuccess = true;
          } catch (AmazonServiceException e) {
              LibraryUtils.handleException(exceptionHandler, progressStatus, e, "Failed to delete sqs message.");
          }
          LibraryUtils.endToProcess(progressReporter, deleteMessageSuccess, progressStatus, reportObject);
      }
docs: Delete a message from the SQS queue that you specified in the configuration file.
  
  @param sqsMessage the {@link Message} that you want to delete.
  @param progressStatus {@link ProgressStatus} tracks the start and end status.