Wait until lambda State=Active
(self, function_name)
| 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 | """ |
no outgoing calls
no test coverage detected