UNPKG

serverless-prune-versions

Version:

Serverless plugin to delete old versions of deployed functions from AWS

17 lines (16 loc) 476 B
/// <reference types="serverless" /> import { Settings } from './settings'; export declare class LambdaLayer { private name; private settings; private serverless; private provider; constructor(name: string, settings: Settings, serverless: Serverless); deleteVersions(): Promise<boolean>; private getVersionsToDelete; private deleteVersion; private getVersions; private errorIsFromLayerNotDeployed; private log; private debug; }