Hi@akhtar,
You can delete a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. The following delete-function example deletes the Lambda function named my-function.
$ aws lambda delete-function --function-name my-function