The ruling shielded police from the risk of paying money damages for failing to advise criminal suspects of their rights before obtaining statements later used against them in court.

https://www.reuters.com/world/us/us-supreme-court-protects-police-miranda-lawsuits-2022-06-23/