CancelMessageMoveTask
Source:
src/AWS/SQS/CancelMessageMoveTask.ts
Runtime binding for sqs:CancelMessageMoveTask (dead-letter queue
redrive).
Bind this operation to the dead-letter Queue whose move task
should be cancellable. Cancellation only stops messages that have not been
moved yet; a task that already finished fails with the typed
ResourceNotFoundException. The binding grants the host function
sqs:CancelMessageMoveTask on the queue. Provide the
CancelMessageMoveTaskHttp layer on the Function to implement the
binding.
Dead-Letter Queue Redrive
Section titled “Dead-Letter Queue Redrive”// init (provide SQS.CancelMessageMoveTaskHttp on the Function)const cancelMessageMoveTask = yield* SQS.CancelMessageMoveTask(dlq);
// runtimeyield* cancelMessageMoveTask({ TaskHandle: taskHandle });