LambdaWeb / Client / delete_web_function_revision
delete_web_function_revision¶
- LambdaWeb.Client.delete_web_function_revision(**kwargs)¶
Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.
See also: AWS API Documentation
Request Syntax
response = client.delete_web_function_revision( functionName='string', revisionId='string' )
- Parameters:
functionName (string) –
[REQUIRED]
The web function.
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.
revisionId (string) –
[REQUIRED]
The revision to delete.
You can specify either of the following:
The revision identifier.
The revision ARN.
The length constraint applies only to the full ARN.
- Returns:
None
Exceptions
LambdaWeb.Client.exceptions.AccessDeniedExceptionLambdaWeb.Client.exceptions.ConflictExceptionLambdaWeb.Client.exceptions.InternalServerExceptionLambdaWeb.Client.exceptions.ValidationExceptionLambdaWeb.Client.exceptions.ResourceNotFoundExceptionLambdaWeb.Client.exceptions.ThrottlingException