There's both. Amazon has a feature for law enforcement to ask the owner nicely, but since these things upload to the cloud they can also get a warrant to get it from Amazon directly.
A system that requires warrants would be superior, even warrants are often rubber stamped. Just giving whatever law enforcement wants, even audio recorded in your own home, without even a shred of oversight is the literal definition of a police state.