private async Task SendMessageInternal(AmazonSqsBookMessage message, string url)
        {
            var request = new SendMessageRequest();

            request.QueueUrl    = url;
            request.MessageBody = JsonSerializer.Serialize(message);
            await _amazonService.SendMessageAsync(request);
        }
 public async Task SendBookMessage(AmazonSqsBookMessage message)
 {
     await _amazonService.GetQueueUrlAsync(SQS_NAME).ContinueWith(async(t1) =>
     {
         if (t1.IsCompleted && !t1.IsFaulted && !t1.IsCanceled)
         {
             await SendMessageInternal(message, t1.Result.QueueUrl);
         }
     });
 }