Retrieve a resource policy

Returns a policy attached to the specified data stream or consumer.