sdk.api.publishVersion({ FunctionName: functionName }, function(err, data) { if (err !== null) reject(err); else { if (notify !== undefined && notify !== null) notify(data.Version); resolve(data); } });
sdk.api.publishVersion({ FunctionName: functionName }, function(err, data) { if (err !== null) reject(err); else { if (notify !== undefined && notify !== null) notify(data.Version); resolve(data); } });