docs: function getFunction(name) {
      return new Promise((resolve, reject) => {
          lambda.getFunctionConfiguration({
              FunctionName: name
          }, function(err, data) {
              if (err) return reject(err);
              resolve(data);
          });
      });
  }