'Given a bucket and key of a valid Lambda-zip, a function name and a handler, update that Lambda function\'s code.'

def update_lambda_function(self, bucket, s3_key, function_name, publish=True):

    print('Updating    Lambda    function    code..')
    response = self.lambda_client.update_function_code(FunctionName=function_name, S3Bucket=bucket, S3Key=s3_key, Publish=publish)
    return response['FunctionArn']
