Forrest logo
back to the aws tool

aws-sqs:tldr:f9663

aws-sqs: Delete the specified message from a queue.
$ aws sqs delete-message --queue-url ${https:--queue_url} --receipt-handle ${receipt_handle}
try on your machine

This command is used to delete a specific message from an Amazon Simple Queue Service (SQS) queue.

Here's a breakdown of the command:

  • aws sqs delete-message is the AWS command-line interface (CLI) command for interacting with SQS and deleting a message.
  • --queue-url is an option that specifies the URL of the SQS queue from which the message should be deleted. The ${https:--queue_url} is a placeholder that should be replaced with the actual URL of the queue.
  • --receipt-handle is another option that specifies the receipt handle of the message to be deleted. The ${receipt_handle} is a placeholder that should be replaced with the actual receipt handle of the message.

In summary, this command will delete a specific message from an SQS queue identified by its URL and receipt handle.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aws tool