Updating AWS Lambda code from the command line. Using command
aws lambda update-function-code --function-name LAMBDA_FUNCTION_NAME \
--zip-file fileb://lambdaFunc.zip --publish
Returns
Connection was closed before we received a valid response from endpoint URL: "https://lambda.us-east-2.amazonaws.com/XX/code"
It used to work, and other aws lambda
commands still work fine.