Return the ami instead of the link