lib/plugins/platform/platform.js/Platform/getFunctionData
class Platform:  getFunctionData(fn) {
    const fnData = {
      functionId: this.serverless.service.getFunction(fn).name,
      details: {
        runtime: this.serverless.service.functions[fn].runtime,
        memory: this.serverless.service.functions[fn].memory,
        timeout: this.serverless.service.functions[fn].timeout,
      },
      package: {
        handler: this.serverless.service.functions[fn].handler,
        name: this.serverless.service.functions[fn].name,
        arn: `arn:aws:lambda:${this.serverless.service.provider.region}:${
          this.data.service.provider.accountId}:function:${
          this.serverless.service.getFunction(fn).name}`,
      },
    };
    return fnData;
  }