If you are using the versioning feature and you don't specify a function version in
DeleteFunction request, AWS Lambda will delete the function, including
all its versions, and any aliases pointing to the function versions. To delete a specific
function version, you must provide the function version via the
parameter. For information about function versioning, see AWS
Lambda Function Versioning and Aliases.
When you delete a function the associated resource policy is also deleted. You will need to delete the event source mappings explicitly.
This operation requires permission for the
Version: (assembly version)
public class DeleteFunctionRequest : AmazonLambdaRequest IRequestEvents
The DeleteFunctionRequest type exposes the following members
Gets and sets the property FunctionName.
The Lambda function to delete.
You can specify the function name (for example,
Gets and sets the property Qualifier.
Using this optional parameter you can specify a function version (but not the
You can only specify a function version, not an alias name, using this parameter. You cannot delete a function version using its alias.
If you don't specify this parameter, AWS Lambda will delete the function, including all of its versions and aliases.
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8