delete_message Method
Deletes the message specified.
Syntax
def delete_message(queue_id: str, receipt_handle: str) -> None: ...
Remarks
Deletes the message specified by ReceiptHandle from the queue specified by QueueId.
Note: Unlike messages received from standard queues, messages received from FIFO queues can only be deleted within their visibility_timeout. Attempting to call on_delete_message for a message received from a FIFO queue after its visibility_timeout has expired will cause the server to return an error.