Run amplify add function
and go thru the manual configuration and add access to other resources. Add API here.
Run amplify update api
if you have a project already setup and configure IAM as an additional auth mode.
Add the authorization as following to your type definition: