AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
If you are using the versioning feature and you don't specify a function version in
your 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 Qualifier
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 lambda:DeleteFunction
action.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DeleteFunctionRequest : AmazonLambdaRequest IRequestEvents
The DeleteFunctionRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteFunctionRequest() |
Name | Type | Description | |
---|---|---|---|
FunctionName | System.String |
Gets and sets the property FunctionName.
The Lambda function to delete.
You can specify the function name (for example, |
|
Qualifier | System.String |
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. |
.NET Framework:
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