MCPcopy Index your code
hub / github.com/zappa/Zappa / remove_lambda_function_logs

Method remove_lambda_function_logs

zappa/core.py:3697–3701  ·  view source on GitHub ↗

Remove all logs that are assigned to a given lambda function id.

(self, lambda_function_name)

Source from the content-addressed store, hash-verified

3695 logger.exception(f"Couldn't remove '{group_name}' because of: {e}")
3696
3697 def remove_lambda_function_logs(self, lambda_function_name):
3698 """
3699 Remove all logs that are assigned to a given lambda function id.
3700 """
3701 self.remove_log_group("/aws/lambda/{}".format(lambda_function_name))
3702
3703 def remove_api_gateway_logs(self, project_name):
3704 """

Callers 1

undeployMethod · 0.80

Calls 1

remove_log_groupMethod · 0.95

Tested by

no test coverage detected