Amazon SQS - Delete messages

The SQS connector supports two kinds of delete message actions:

Delete message action

The Delete message action deletes a single message in a queue defined by the message's receipt handle.

Input

Input fieldDescription
QueueEnter the Queue URL of the queue. Avoid selecting from the list in production environments. Selecting from the list stores the full Queue URL, including the AWS account ID, which may not update correctly when deploying across environments.
Receipt handleEnter the receipt handle associated with the message to delete. You can find receipt handles from trigger output or actions that retrieve messages.

Output

Field nameDescription
Request IDThe unique ID of the request.

Delete messages (batch)

The Delete messages (Batch) action deletes a batch of messages in a queue defined by the message receipt handles.

Input

Output fieldDescription
QueueEnter the Queue URL of the queue. Avoid selecting from the list in production environments. Selecting from the list stores the full Queue URL, including the AWS account ID, which may not update correctly when deploying across environments.
Receipt handleEnter a list of receipt handles of messages to delete. You can find receipt handles from trigger output or actions that retrieve messages.

Output

Output fieldDescription
SuccessfulA list of successfully deleted messages.
FailedA list of messages that failed to deleted. You can store these messages or attempt to delete them again.

Last updated: