sudo pip3 install awscli
# Upgrade Amplify amplify upgrade # View existing routes and end points amplify status
# Adding or Modifying existing API route amplify add api
amplify push
"amplify push" will build all your local backend resources and provision it in the cloud
amplify publish
"amplify publish" will build all your local backend and frontend resources (if you have hosting category added) and provision it in the cloud
Select from one of the below mentioned services: REST Would you like to add a new path to an existing REST API? Yes What would you like to do? · Update path
sudo amplify add auth
amplify mock function <function name>