I tried to update my aws lambda function code ,my command is :
aws lambda update-function-code --function-name GmobiLambdaFunction / --region ap-southeast-1 \ --zip-file fileb://home/user/Documents/projects/analytics/git_repo/gmobiLambda_function/GmobiLambda/target/GmobiLambda-0.0.1-SNAPSHOT.jar / --s3-bucket gmobilambdafunctn.s3-website.ap-south-1.amazonaws.com / --s3-key /UPLOAD --s3-object-version 2.0
But i am recieving following error:
aws: error: argument operation: Invalid choice, valid choices are:
add-event-source | delete-function
get-event-source | get-function
get-function-configuration | invoke-async
list-event-sources | list-functions
remove-event-source | update-function-configuration
upload-function | help
Why aws cli does not even show update-function-code?