MCPcopy Create free account
hub / github.com/zappa/Zappa / get_lambda_function_versions

Method get_lambda_function_versions

zappa/core.py:1539–1547  ·  view source on GitHub ↗

Simply returns the versions available for a Lambda function, given a function name.

(self, function_name)

Source from the content-addressed store, hash-verified

1537 return response["Configuration"]["FunctionArn"]
1538
1539 def get_lambda_function_versions(self, function_name):
1540 """
1541 Simply returns the versions available for a Lambda function, given a function name.
1542 """
1543 try:
1544 response = self.lambda_client.list_versions_by_function(FunctionName=function_name)
1545 return response.get("Versions", [])
1546 except Exception:
1547 return []
1548
1549 def delete_lambda_function(self, function_name):
1550 """

Callers 3

deployMethod · 0.45
statusMethod · 0.45
certifyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected