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

Method wait_until_lambda_function_is_active

zappa/core.py:1513–1520  ·  view source on GitHub ↗

Wait until lambda State=Active

(self, function_name)

Source from the content-addressed store, hash-verified

1511 return response["FunctionArn"]
1512
1513 def wait_until_lambda_function_is_active(self, function_name):
1514 """
1515 Wait until lambda State=Active
1516 """
1517 # https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html#waiters
1518 waiter = self.lambda_client.get_waiter("function_active")
1519 logger.info(f"Waiting for lambda function [{function_name}] to become active...")
1520 waiter.wait(FunctionName=function_name)
1521
1522 def wait_until_lambda_function_is_updated(self, function_name):
1523 """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected