public async Task ChangeVisibilityTimeout(VQSqsQueueResponse receipt, TimeSpan visibilityTimeout) { var client = GetClient; var obj = new ChangeMessageVisibilityRequest { ReceiptHandle = receipt.Receipt, QueueUrl = await GetQueueUrl(client, receipt.QueueName), VisibilityTimeout = Convert.ToInt32(visibilityTimeout.TotalSeconds), }; var response = await client.ChangeMessageVisibilityAsync(obj); }
public async Task Confirm(VQSqsQueueResponse response) { await Confirm(response.Receipt, response.QueueName); }