How to create update the AWS Lambda function?

AWS Lambda function creation using AWS CLI or AMW Console.

Lambda Creation:
aws lambda create-function –function-name TEST_PROCESS –runtime java8 –role arn:aws:iam::123456789010:role/TestExecution –handler com.rrmaha.lambda.TestServicePipeline –zip-file fileb://TestLambdas.jar –memory-size 512 –timeout 300

Lambda Update:
aws lambda update-function-code –function-name TEST_PROCESS –zip-file fileb://TEST_PROCESS.jar

Lambda Backup:
aws lambda get-function  –function-name TEST_PROCESS  > TEST_PROCESS.jar

Lambda Delete:

aws lambda delete-function –function-name TEST_PROCESS