Nevermind!
I missed this bit on the documentation: https://docs.amplify.aws/vue/build-a-backend/functions/set-up-function/
Setting up my mutation function following that guide worked. The client is properly generated in the function like that!