Try using this.
Unless you’re trying to do it client-side, then you’d need to disable it through Lambda as that’s a resource.