lib/plugins/aws/package/compile/functions/index.js/AwsCompileFunctions/compileFunctions
class AwsCompileFunctions:  compileFunctions() {
    const allFunctions = this.serverless.service.getAllFunctions();
    return BbPromise.each(
      allFunctions,
      functionName => this.compileFunction(functionName)
    );
  }