MRE_Lambda/mre_lambda.py

15 lines
471 B
Python

import boto3
from typing import Dict, Any
from aws_lambda_typing.events import S3Event
from aws_lambda_typing.context import Context
from .mre import compute_mre
def lambda_handler(event: S3Event, context: Context) -> Dict[str, Any]:
# get the arguments out of the S3Event object
home_value = event['home_value']
#consumer_income = event['consumer_income']
down_payment = event['down_payment']
consumer_fico = event['consumer_fico']
return None