CLI
AWS Cli Installation
sudo pip3 install awscli
Cli
# Upgrade Amplify amplify upgrade # View existing routes and end points amplify status
API
# Adding or Modifying existing API route amplify add api
Push current changes
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
Auth
sudo amplify add auth
Lambda Function
Testing Locally
amplify mock function <function name>