LambdaWeb / Client / delete_web_function
delete_web_function¶
- LambdaWeb.Client.delete_web_function(**kwargs)¶
Deletes a web function and all of its associated revisions and endpoints.
To use this operation, you must have the
DeleteWebFunctionpermission on the web function. You don’t need theDeleteWebFunctionRevisionorDeleteWebFunctionEndpointpermission.See also: AWS API Documentation
Request Syntax
response = client.delete_web_function( functionName='string' )
- Parameters:
functionName (string) –
[REQUIRED]
The web function to delete.
You can specify either of the following:
The function name, for example
my-function.The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Returns:
None
Exceptions
LambdaWeb.Client.exceptions.AccessDeniedExceptionLambdaWeb.Client.exceptions.ConflictExceptionLambdaWeb.Client.exceptions.InternalServerExceptionLambdaWeb.Client.exceptions.ValidationExceptionLambdaWeb.Client.exceptions.ResourceNotFoundExceptionLambdaWeb.Client.exceptions.ThrottlingException