Undersea beaked creature

A massive beaked creature lived on a planet located in the galaxy. During 22 BBY, one attacked the Jedi Knights Obi-Wan Kenobi and Anakin Skywalker after they had escaped into an ocean after nearly being killed by a large pterosaur. Using tentacles, it attempted to eat Kenobi, but Skywalker managed to sever the tentacles with his lightsaber, saving Kenobi.